Home
last modified time | relevance | path

Searched refs:ReadBytes (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/commonlibrary/ets_utils/js_api_module/buffer/
H A Djs_buffer.cpp223 ReadBytes(data_, offset, 4); in ReadInt32BE()
239 ReadBytes(data_, offset, 4); in ReadInt32LE()
255 ReadBytes(data_, offset, 4); in ReadUInt32BE()
271 ReadBytes(data_, offset, 4); in ReadUInt32LE()
291 void Buffer::ReadBytes(uint8_t *data, uint32_t offset, uint32_t length) in ReadBytes() function in OHOS::buffer::Buffer
501 ReadBytes(data, start, length); in ToBase64()
519 ReadBytes(data, start, length); in ToBase64Url()
536 ReadBytes(sData, offset, length_ - offset); in IndexOf()
560 ReadBytes(sData, offset, length_ - offset); in LastIndexOf()
H A Djs_blob.h39 void ReadBytes(uint8_t *data, int length);
H A Djs_blob.cpp116 void Blob::ReadBytes(uint8_t *data, int length) in ReadBytes() function in OHOS::buffer::Blob
H A Djs_buffer.h49 void ReadBytes(uint8_t *data, uint32_t offset, uint32_t length);
H A Dnative_module_buffer.cpp659 buf->ReadBytes(data, 0, length); in GetBufferData()
901 …buf->ReadBytes(const_cast<uint8_t *>(reinterpret_cast<const uint8_t *>(data.c_str())), start, leng… in ToUtf8()
1084 blob->ReadBytes(reinterpret_cast<uint8_t *>(bufdata), bufferSize); in ArrayBufferAsync()
/ohos5.0/commonlibrary/ets_utils/js_api_module/buffer/test/
H A Dtest_napi.cpp127 buf->ReadBytes(nullptr, 0, 0);
478 buf->ReadBytes(data, 0, length);
499 buf->ReadBytes(data, 0, 0);
532 buf->ReadBytes(data, 0, size);
553 buf->ReadBytes(data, 0, size);
574 buf->ReadBytes(data, 0, size);
595 buf->ReadBytes(data, 0, size);
618 buf->ReadBytes(data, 0, size);
653 buf2->ReadBytes(data, 0, 10);
676 buf2->ReadBytes(data, 0, 8);
[all …]
/ohos5.0/base/security/code_signature/utils/include/
H A Dfsverity_utils_helper.h92 return reader->ReadBytes(static_cast<uint8_t *>(buf), count); in ReadFileCallback()
96 int ReadBytes(uint8_t *buf, size_t count) in ReadBytes() function