/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/codec/ |
H A D | byte_buffer_operator.h | 35 bool ReadData(uint8_t& value) const in ReadData() function 39 bool ReadData(int32_t& value) const in ReadData() function 43 bool ReadData(int64_t& value) const in ReadData() function 47 bool ReadData(double& value) const in ReadData() function 51 bool ReadData(std::string& value) const in ReadData() function 56 bool ReadData(std::vector<int8_t>& dst) const in ReadData() function 60 bool ReadData(std::vector<int16_t>& dst) const in ReadData() function 64 bool ReadData(std::vector<int32_t>& dst) const in ReadData() function 69 bool ReadData(std::map<std::string, std::string>& dst) const; 70 bool ReadData(std::set<std::string>& dst) const; [all …]
|
H A D | byte_buffer_operator.cpp | 20 bool ByteBufferReader::ReadData(std::map<std::string, std::string>& mapValue) const in ReadData() function in OHOS::Ace::Framework::ByteBufferReader 23 if (!ReadData(size) || size < 0) { in ReadData() 33 if (!ReadData(key) || !ReadData(value)) { in ReadData() 42 bool ByteBufferReader::ReadData(std::set<std::string>& setValue) const in ReadData() function in OHOS::Ace::Framework::ByteBufferReader 45 if (!ReadData(size) || size < 0) { in ReadData() 54 if (!ReadData(value)) { in ReadData()
|
H A D | standard_codec_buffer_operator.cpp | 35 if (buffer.ReadData(data)) { in ReadDataFromByteBuffer() 47 if (byteBufferReader_.ReadData(uint8Type)) { in ReadType() 62 byteBufferReader_.ReadData(data); in ReadMapSize() 72 if (!byteBufferReader_.ReadData(size)) { in ReadDataList() 79 if (!ReadData(data)) { in ReadDataList() 89 bool StandardCodecBufferReader::ReadData(CodecData& resultData) in ReadData() function in OHOS::Ace::Framework::StandardCodecBufferReader
|
H A D | standard_function_codec.cpp | 39 if (!bufferReader.ReadData(funcName)) { in DecodeFunctionCall() 58 if (!bufferReader.ReadData(platformMessage)) { in DecodePlatformMessage()
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/sharedata/ |
H A D | js_share_data.cpp | 80 byteBufferPtr_->ReadData(data); in ReadInt32() 92 byteBufferPtr_->ReadData(data); in ReadInt64() 104 byteBufferPtr_->ReadData(data); in ReadDouble() 116 byteBufferPtr_->ReadData(data); in ReadString() 127 byteBufferPtr_->ReadData(data); in ReadBoolean() 143 byteBufferPtr_->ReadData(key); in ReadObject() 146 byteBufferPtr_->ReadData(value); in ReadObject()
|
/ohos5.0/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksbnexpmod_fuzzer/ |
H A D | hksbnexpmod_fuzzer.cpp | 39 struct HksBlob x = { BN_SIZE, ReadData<uint8_t *>(data, size, BN_SIZE) }; in DoSomethingInterestingWithMyAPI() 40 struct HksBlob a = { BN_SIZE, ReadData<uint8_t *>(data, size, BN_SIZE) }; in DoSomethingInterestingWithMyAPI() 41 struct HksBlob e = { BN_SIZE, ReadData<uint8_t *>(data, size, BN_SIZE) }; in DoSomethingInterestingWithMyAPI() 42 struct HksBlob n = { BN_SIZE, ReadData<uint8_t *>(data, size, BN_SIZE) }; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksimportwrappedkey_fuzzer/ |
H A D | hksimportwrappedkey_fuzzer.cpp | 39 struct HksBlob keyAlias = { ALIAS_SIZE, ReadData<uint8_t *>(data, size, ALIAS_SIZE) }; in DoSomethingInterestingWithMyAPI() 40 struct HksBlob wrappingKeyAlias = { ALIAS_SIZE, ReadData<uint8_t *>(data, size, ALIAS_SIZE) }; in DoSomethingInterestingWithMyAPI() 41 uint32_t wrappedKeySize = *ReadData<uint32_t *>(data, size, sizeof(uint32_t)); in DoSomethingInterestingWithMyAPI() 45 …struct HksBlob wrappedKeyData = { wrappedKeySize, ReadData<uint8_t *>(data, size, wrappedKeySize) … in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksimportkey_fuzzer/ |
H A D | hksimportkey_fuzzer.cpp | 38 struct HksBlob keyAlias = { ALIAS_SIZE, ReadData<uint8_t *>(data, size, ALIAS_SIZE) }; in DoSomethingInterestingWithMyAPI() 39 uint32_t pubKeySize = *ReadData<uint32_t *>(data, size, sizeof(uint32_t)); in DoSomethingInterestingWithMyAPI() 43 struct HksBlob pubKey = { pubKeySize, ReadData<uint8_t *>(data, size, pubKeySize) }; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/drivers/peripheral/camera/interfaces/hdi_ipc/utils/src/ |
H A D | utils_data_stub.cpp | 132 ReadData<uint8_t>(entry.data.u8[i], index, cameraAbility); in ReadMetadataDataFromVec() 139 ReadData<int32_t>(entry.data.i32[i], index, cameraAbility); in ReadMetadataDataFromVec() 146 ReadData<float>(entry.data.f[i], index, cameraAbility); in ReadMetadataDataFromVec() 160 ReadData<double>(entry.data.d[i], index, cameraAbility); in ReadMetadataDataFromVec() 184 ReadData<uint32_t>(tagCount, index, cameraAbility); in ConvertVecToMetadata() 189 ReadData<uint32_t>(itemCapacity, index, cameraAbility); in ConvertVecToMetadata() 194 ReadData<uint32_t>(dataCapacity, index, cameraAbility); in ConvertVecToMetadata() 203 ReadData<uint32_t>(item.index, index, cameraAbility); in ConvertVecToMetadata() 204 ReadData<uint32_t>(item.item, index, cameraAbility); in ConvertVecToMetadata() 205 ReadData<uint32_t>(item.data_type, index, cameraAbility); in ConvertVecToMetadata() [all …]
|
/ohos5.0/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksfinish_fuzzer/ |
H A D | hksfinish_fuzzer.cpp | 36 struct HksBlob handle = { sizeof(uint64_t), ReadData<uint8_t *>(data, size, sizeof(uint64_t)) }; in DoSomethingInterestingWithMyAPI() 37 uint32_t inDataSize = *ReadData<uint32_t *>(data, size, sizeof(uint32_t)); in DoSomethingInterestingWithMyAPI() 41 struct HksBlob inData = { inDataSize, ReadData<uint8_t *>(data, size, inDataSize) }; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksupdate_fuzzer/ |
H A D | hksupdate_fuzzer.cpp | 37 struct HksBlob handle = { sizeof(uint64_t), ReadData<uint8_t *>(data, size, sizeof(uint64_t)) }; in DoSomethingInterestingWithMyAPI() 38 uint32_t inDataSize = *ReadData<uint32_t *>(data, size, sizeof(uint32_t)); in DoSomethingInterestingWithMyAPI() 42 struct HksBlob inData = { inDataSize, ReadData<uint8_t *>(data, size, inDataSize) }; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/update/updater/services/diffpatch/patch/ |
H A D | blocks_patch.cpp | 165 int32_t ret = controlDataReader_->ReadData(info); in ReadControlData() 171 ret = controlDataReader_->ReadData(info); in ReadControlData() 177 ret = controlDataReader_->ReadData(info); in ReadControlData() 204 int32_t ret = diffDataReader_->ReadData(diffData); in RestoreDiffData() 224 int32_t ret = extraDataReader_->ReadData(extraData); in RestoreExtraData() 239 int32_t ret = diffDataReader_->ReadData(diffBuffer); in RestoreDiffData() 281 int32_t ret = extraDataReader_->ReadData(extraBuffer); in RestoreExtraData()
|
/ohos5.0/foundation/multimedia/av_codec/test/unittest/demuxer_test/ |
H A D | demuxer_hevc_unit_test.cpp | 514 ReadData(); 551 ReadData(); 589 ReadData(); 624 ReadData(); 659 ReadData(); 697 ReadData(); 739 ReadData(); 781 ReadData(); 816 ReadData(); 851 ReadData(); [all …]
|
H A D | demuxer_uri_unit_test.cpp | 599 ReadData(); 686 ReadData(); 723 ReadData(); 757 ReadData(); 788 ReadData(); 819 ReadData(); 850 ReadData(); 881 ReadData(); 913 ReadData(); 944 ReadData(); [all …]
|
H A D | demuxer_func_unit_test.cpp | 441 ReadData(); 473 ReadData(); 508 ReadData(); 547 ReadData(); 586 ReadData(); 623 ReadData(); 662 ReadData(); 699 ReadData(); 738 ReadData(); 777 ReadData(); [all …]
|
H A D | demuxer_video_mpg_unit_test.cpp | 314 ReadData(); 351 ReadData(); 388 ReadData(); 426 ReadData(); 463 ReadData(); 500 ReadData(); 537 ReadData(); 574 ReadData();
|
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libpngplugin/src/ |
H A D | png_decoder.cpp | 882 DataStreamBuffer ReadData; in PushAllToDecode() local 891 ret = IncrementalRead(stream, CHUNK_SIZE, ReadData); in PushAllToDecode() 896 png_byte *chunk = const_cast<png_byte *>(ReadData.inputStreamBuffer); in PushAllToDecode() 978 DataStreamBuffer ReadData; in PushCurrentToDecode() local 982 ret = IncrementalRead(stream, targetSize, ReadData); in PushCurrentToDecode() 987 incrementalLength_ += ReadData.dataSize; in PushCurrentToDecode() 988 …png_process_data(pngStructPtr_, pngInfoPtr_, (png_bytep)ReadData.inputStreamBuffer, ReadData.dataS… in PushCurrentToDecode() 992 ret = IncrementalRead(stream, CHUNK_SIZE, ReadData); in PushCurrentToDecode() 1008 ret = IncrementalRead(stream, targetSize, ReadData); in PushCurrentToDecode() 1013 incrementalLength_ += ReadData.dataSize; in PushCurrentToDecode() [all …]
|
/ohos5.0/drivers/interface/camera/metadata/src/ |
H A D | metadata_utils.cpp | 160 MetadataUtils::ReadData<uint8_t>(entry.data.u8[i], index, cameraAbility); in ReadMetadataDataFromVecUInt8() 171 MetadataUtils::ReadData<int32_t>(entry.data.i32[i], index, cameraAbility); in ReadMetadataDataFromVecInt32() 193 MetadataUtils::ReadData<float>(entry.data.f[i], index, cameraAbility); in ReadMetadataDataFromVecFloat() 215 MetadataUtils::ReadData<double>(entry.data.d[i], index, cameraAbility); in ReadMetadataDataFromVecDouble() 272 ReadData<uint32_t>(tagCount, index, cameraAbility); in ConvertVecToMetadata() 277 ReadData<uint32_t>(itemCapacity, index, cameraAbility); in ConvertVecToMetadata() 282 ReadData<uint32_t>(dataCapacity, index, cameraAbility); in ConvertVecToMetadata() 291 ReadData<uint32_t>(item.index, index, cameraAbility); in ConvertVecToMetadata() 292 ReadData<uint32_t>(item.item, index, cameraAbility); in ConvertVecToMetadata() 293 ReadData<uint32_t>(item.data_type, index, cameraAbility); in ConvertVecToMetadata() [all …]
|
/ohos5.0/docs/zh-cn/device-dev/reference/hdi-apis/sensor/ |
H A D | interface_i_sensor_interface_v11.md | 30 | [ReadData](#readdata) ([in] int sensorId, [out] struct [HdfSensorEvents](_hdf_sensor_events_v11.m… 114 ### ReadData() 117 ISensorInterface::ReadData ([in] int sensorId, [out] struct HdfSensorEvents[] event )
|
H A D | interface_i_sensor_interface_v20.md | 30 | [ReadData](#readdata) ([in] int sensorId, [out] struct [HdfSensorEvents](_hdf_sensor_events_v20.m… 114 ### ReadData() 117 ISensorInterface::ReadData ([in] int sensorId, [out] struct HdfSensorEvents[] event )
|
/ohos5.0/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksrename_fuzzer/ |
H A D | hksrename_fuzzer.cpp | 38 struct HksBlob oldKey = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI() 39 struct HksBlob newKey = { sizeof(uint32_t), ReadData<uint8_t *>(data, size, sizeof(uint32_t)) }; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/security/huks/test/fuzz_test/innerapi_fuzzer/hksinit_fuzzer/ |
H A D | hksinit_fuzzer.cpp | 38 struct HksBlob keyAlias = { ALIAS_SIZE, ReadData<uint8_t *>(data, size, ALIAS_SIZE) }; in DoSomethingInterestingWithMyAPI() 39 struct HksBlob handle = { sizeof(uint64_t), ReadData<uint8_t *>(data, size, sizeof(uint64_t)) }; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/security/huks/test/fuzz_test/innerapi_fuzzer/hkshash_fuzzer/ |
H A D | hkshash_fuzzer.cpp | 37 uint32_t srcDataSize = *ReadData<uint32_t *>(data, size, sizeof(uint32_t)); in DoSomethingInterestingWithMyAPI() 41 struct HksBlob srcData = { srcDataSize, ReadData<uint8_t *>(data, size, srcDataSize) }; in DoSomethingInterestingWithMyAPI()
|
/ohos5.0/base/update/updater/services/package/pkg_algorithm/ |
H A D | pkg_algorithm.cpp | 25 int32_t PkgAlgorithm::ReadData(const PkgStreamPtr inStream, size_t offset, PkgBuffer &buffer, in ReadData() function in Hpackage::PkgAlgorithm 76 ret = ReadData(inStream, srcOffset, buffer, remainSize, readLen); in Pack() 122 ret = ReadData(inStream, srcOffset, buffer, remainSize, readLen); in Unpack() 169 ret = ReadData(inStream, srcOffset, buffer, remainSize, readLen); in UnpackWithVerify()
|
/ohos5.0/base/security/huks/test/fuzz_test/innerapi_fuzzer/ |
H A D | hks_fuzz_util.cpp | 25 HksParam *p = ReadData<HksParam *>(data, size, sizeof(HksParam)); in ConstructHksParams() 33 p->blob.data = ReadData<uint8_t *>(data, size, p->blob.size); in ConstructHksParams()
|