/foundation/ability/ability_base/interfaces/kits/native/extractortool/src/ |
H A D | zip_file_reader_io.cpp | 27 std::string ZipFileReaderIo::ReadBuffer(size_t startPos, size_t bufferSize) in ReadBuffer() function in OHOS::AbilityBase::ZipFileReaderIo 37 if (!ReadBuffer((uint8_t*)result.data(), startPos, bufferSize)) { in ReadBuffer() 44 bool ZipFileReaderIo::ReadBuffer(uint8_t *dst, size_t startPos, size_t bufferSize) in ReadBuffer() function in OHOS::AbilityBase::ZipFileReaderIo
|
H A D | zip_file.cpp | 150 if (!zipFileReader_->ReadBuffer(reinterpret_cast<uint8_t*>(&endDir_), eocdPos, sizeof(EndDir))) { in ParseEndDirectory() 220 auto centralData = zipFileReader_->ReadBuffer(static_cast<size_t>(centralDirPos_), in ParseAllEntries() 621 if (!zipFileReader_->ReadBuffer(reinterpret_cast<uint8_t*>(&dataDesc), descPos, sizeof(DataDesc))) { in CheckDataDesc() 622 ABILITYBASE_LOGE("ReadBuffer failed"); in CheckDataDesc() 660 auto buff = zipFileReader_->ReadBuffer(startPos, buffSize); in CheckCoherencyLocalHeader() 948 if (!zipFileReader_->ReadBuffer(dataTmp.get(), offset, length)) { in ExtractToBufByName()
|
H A D | file_mapper.cpp | 98 if (!fileReader->ReadBuffer(dataPtr_.get(), offset, len)) { in CreateFileMapper()
|
/foundation/ability/ability_base/interfaces/kits/native/extractortool/include/ |
H A D | zip_file_reader_io.h | 30 std::string ReadBuffer(size_t startPos, size_t bufferSize) override; 31 bool ReadBuffer(uint8_t *dst, size_t startPos, size_t bufferSize) override;
|
H A D | zip_file_reader.h | 36 virtual std::string ReadBuffer(size_t startPos, size_t bufferSize) = 0; 37 virtual bool ReadBuffer(uint8_t *dst, size_t startPos, size_t bufferSize) = 0;
|
/foundation/communication/dsoftbus/sdk/frame/small/src/ |
H A D | bus_center_client_stub.c | 39 void *addr = (void *)ReadBuffer(data, addrSize); in ClientOnJoinLNNResult() 114 void *info = (void *)ReadBuffer(data, infoSize); in ClientOnNodeOnlineStateChanged() 143 void *info = (void *)ReadBuffer(data, infoSize); in ClientOnNodeBasicInfoChanged() 170 void *info = (void *)ReadBuffer(data, infoSize); in ClientOnTimeSyncResult() 225 void *info = (void *)ReadBuffer(data, infoSize); in ClientOnRefreshDeviceFound()
|
H A D | trans_client_stub.c | 39 channel.sessionKey = (char *)ReadBuffer(data, channel.keyLen); in ClientOnChannelOpened() 118 const uint8_t *data2 = ReadBuffer(data, dataLen); in ClientOnChannelMsgreceived()
|
/foundation/multimedia/image_framework/mock/native/include/ |
H A D | parcel.h | 54 const uint8_t *ReadBuffer(size_t length);
|
/foundation/multimedia/image_framework/mock/native/src/ |
H A D | parcel.cpp | 54 const uint8_t *Parcel::ReadBuffer(size_t length) in ReadBuffer() function in OHOS::Parcel
|
/foundation/communication/ipc/ipc/native/c/ipc/src/liteos_m/ |
H A D | serializer_inner.c | 43 SvcIdentity *svcId = ReadBuffer(io, sizeof(SvcIdentity)); in ReadRemoteObject()
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/ |
H A D | mock_parcel_test.cpp | 92 * @tc.desc: test ReadBuffer
100 const uint8_t *rbuffer = parcel.ReadBuffer(length);
in HWTEST_F()
|
/foundation/CastEngine/castengine_cast_framework/client/src/ |
H A D | cast_session_listener_impl_stub.cpp | 76 const uint8_t *buf = data.ReadBuffer(static_cast<size_t>(len)); in DoOnRemoteCtrlEventTask()
|
/foundation/ability/ability_runtime/services/dataobsmgr/src/ |
H A D | dataobs_mgr_changeinfo.cpp | 85 const uint8_t *data = size > 0 ? parcel.ReadBuffer(size) : nullptr; in Unmarshalling()
|
/foundation/communication/dsoftbus/core/frame/small/init/src/ |
H A D | trans_server_stub.c | 134 pGetArr = (LinkType *)ReadBuffer(req, sizeof(LinkType) * getAttr->linkTypeNum); in ServerReadSessionAttrs() 187 const QosTV *qosInfo = (QosTV *)ReadBuffer(req, sizeof(QosTV) * param->qosCount); in ReadQosInfo() 354 const void *data = (const void *)ReadBuffer(req, size); in ServerSendSessionMsg()
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/local/include/ |
H A D | local_data_source.h | 85 int32_t ReadBuffer(uint8_t *data, uint32_t length, int64_t pos);
|
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/include/ |
H A D | local_data_source.h | 85 int32_t ReadBuffer(uint8_t *data, uint32_t length, int64_t pos);
|
/foundation/multimedia/media_foundation/engine/include/foundation/utils/ |
H A D | ring_buffer.h | 44 size_t ReadBuffer(void* ptr, size_t readSize, int waitTimes = 0) in ReadBuffer() function in OHOS::Media::RingBuffer 52 MEDIA_LOG_DD("ReadBuffer wait , waitTimes is " PUBLIC_LOG_U64, waitTimes); in ReadBuffer() 71 MEDIA_LOG_DD("ReadBuffer finish available is " PUBLIC_LOG_ZU ", mediaOffset_ " PUBLIC_LOG_U64, available, in ReadBuffer()
|
/foundation/ai/intelligent_voice_framework/services/intell_voice_engine/proxy/ |
H A D | intell_voice_engine_proxy.cpp | 203 const uint8_t *buff = reply.ReadBuffer(size); in Read() 250 const uint8_t *buff = reply.ReadBuffer(size); in GetWakeupPcm()
|
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/src/ |
H A D | local_data_source.cpp | 109 return ReadBuffer(mem->GetBase(), length, pos); in ReadAt() 122 int32_t LocalDataSource::ReadBuffer(uint8_t *data, uint32_t length, int64_t pos) in ReadBuffer() function in OHOS::CastEngine::CastEngineService::LocalDataSource 124 CLOGD("ReadBuffer length = %{public}d pos = %{public}lld", length, pos); in ReadBuffer()
|
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/local/src/ |
H A D | local_data_source.cpp | 109 return ReadBuffer(mem->GetBase(), length, pos); in ReadAt() 122 int32_t LocalDataSource::ReadBuffer(uint8_t *data, uint32_t length, int64_t pos) in ReadBuffer() function in OHOS::CastEngine::CastEngineService::LocalDataSource
|
/foundation/multimedia/audio_lite/services/server/src/ |
H A D | audio_capturer_server.cpp | 186 void *bufferAdd = (void*)ReadBuffer(req, size); in SetInfo() 261 AudioCodecFormat *audioFormat = (AudioCodecFormat *)ReadBuffer(req, size); in GetMiniFrameCount()
|
/foundation/communication/ipc/interfaces/innerkits/rust/src/cxx/ |
H A D | parcel_wrapper.cpp | 96 bool ReadBuffer(MessageParcel &msgParcel, size_t len, rust::vec<uint8_t> &buffer) in ReadBuffer() function 101 const uint8_t *data = msgParcel.ReadBuffer(len); in ReadBuffer()
|
/foundation/communication/bluetooth/frameworks/inner/ipc/parcel/ |
H A D | bluetooth_ble_advertiser_data.cpp | 116 const uint8_t *buffer = parcel.ReadBuffer(static_cast<size_t>(Uuid::UUID128_BYTES_TYPE)); in ReadServiceUuids() 118 HILOGE("ReadBuffer failed"); in ReadServiceUuids()
|
/foundation/multimedia/av_codec/test/moduletest/audio_decoder/Avbuffer/include/ |
H A D | avcodec_audio_avbuffer_decoder_demo.h | 276 bool ReadBuffer(OH_AVBuffer *buffer, uint32_t index);
|
/foundation/multimedia/media_foundation/engine/plugin/plugins/source/http_source/http/ |
H A D | http_media_downloader.cpp | 109 realReadLength = buffer_->ReadBuffer(buff, wantReadLength, 2); // wait 2 times in Read()
|