Home
last modified time | relevance | path

Searched refs:GetUInt16 (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/payload_data/
H A Dsend_object_info_data.cpp108 if (!MtpPacketTool::GetUInt16(buffer, offset, context_->format)) { in ParserData()
111 if (!MtpPacketTool::GetUInt16(buffer, offset, tmpUse16)) { // protection status in ParserData()
124 if (!MtpPacketTool::GetUInt16(buffer, offset, tmpUse16)) { in ParserData()
142 if (!MtpPacketTool::GetUInt16(buffer, offset, tmpUse16)) { // thumb format in ParserDataForImageInfo()
H A Dset_object_prop_value_data.cpp177 if (!MtpPacketTool::GetUInt16(buffer, offset, tmpVar)) { in ReadInt16Value()
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/test/unittest/src/
H A Dhap_byte_buffer_test.cpp101 ASSERT_FALSE(emptyBuffer.GetUInt16(0, dataUInt16));
113 ASSERT_FALSE(testBuffer.GetUInt16(1, dataUInt16));
144 ASSERT_TRUE(testBuffer2.GetUInt16(sizeof(char), dataUInt16));
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/src/
H A Dheader_data.cpp48 containerType_ = MtpPacketTool::GetUInt16(buffer[offset + OFFSET_4], buffer[offset + OFFSET_5]); in Parser()
49 code_ = MtpPacketTool::GetUInt16(buffer[offset + OFFSET_6], buffer[offset + OFFSET_7]); in Parser()
H A Dmtp_packet_tools.cpp427 uint16_t MtpPacketTool::GetUInt16(uint8_t numFirst, uint8_t numSecond) in GetUInt16() function in OHOS::Media::MtpPacketTool
584 uint16_t MtpPacketTool::GetUInt16(const std::vector<uint8_t> &buffer, size_t &offset) in GetUInt16() function in OHOS::Media::MtpPacketTool
611 bool MtpPacketTool::GetUInt16(const std::vector<uint8_t> &buffer, size_t &offset, uint16_t &value) in GetUInt16() function in OHOS::Media::MtpPacketTool
673 if (!GetUInt16(buffer, offset, uValue)) { in GetInt16()
720 if (!GetUInt16(buffer, offset, value)) { in GetAUInt16()
756 ch = GetUInt16(buffer, offset); in GetString()
778 if (!GetUInt16(buffer, offset, ch)) { in GetString()
976 uint16_t containerType = MtpPacketTool::GetUInt16(outBuffer[offset + OFFSET_4], in DumpPacket()
H A Dproperty.cpp174 CHECK_AND_RETURN_RET_LOG(MtpPacketTool::GetUInt16(buffer, offset, code_), false, in Read()
176 CHECK_AND_RETURN_RET_LOG(MtpPacketTool::GetUInt16(buffer, offset, type_), false, in Read()
374 CHECK_AND_RETURN_RET_LOG(MtpPacketTool::GetUInt16(buffer, offset, len), false, in ReadFormData()
455 if (!MtpPacketTool::GetUInt16(buffer, offset, value.bin_.ui16)) { in ReadValue()
/ohos5.0/foundation/multimedia/media_library/frameworks/services/media_mtp/include/
H A Dmtp_packet_tools.h56 static uint16_t GetUInt16(uint8_t numFirst, uint8_t numSecond);
76 static uint16_t GetUInt16(const std::vector<uint8_t> &buffer, size_t &offset);
81 static bool GetUInt16(const std::vector<uint8_t> &buffer, size_t &offset, uint16_t &value);
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/include/
H A Dexif_maker_note.h140 bool GetUInt16(uint32_t offset, uint16_t &value);
144 static bool GetUInt16(const std::vector<unsigned char> &buffer, ExifByteOrder order,
/ohos5.0/foundation/multimedia/image_framework/plugins/common/libs/image/libjpegplugin/src/
H A Dexif_maker_note.cpp584 if (GetUInt16(offset, value)) { in GetUInt16AndMove()
609 bool ExifMakerNote::GetUInt16(uint32_t offset, uint16_t &value) in GetUInt16() function in OHOS::ImagePlugin::ExifMakerNote
611 return ExifMakerNote::GetUInt16(makerNote_, order_, offset, value); in GetUInt16()
624 bool ExifMakerNote::GetUInt16(const std::vector<unsigned char> &buffer, ExifByteOrder order, in GetUInt16() function in OHOS::ImagePlugin::ExifMakerNote
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/include/common/
H A Dhap_byte_buffer.h48 DLL_EXPORT bool GetUInt16(int32_t index, uint16_t& value);
/ohos5.0/foundation/multimedia/image_framework/frameworks/innerkitsimpl/test/unittest/
H A Dexif_maker_note_test.cpp396 bool result = exifMakerNote.GetUInt16(buffer, order, offset, value);
412 bool result = exifMakerNote.GetUInt16(offset, value);
848 bool result = exifMakerNote.GetUInt16(buffer, order, offset, value);
/ohos5.0/foundation/multimedia/media_library/frameworks/innerkitsimpl/test/unittest/mtp_native_test/src/
H A Dmtp_test.cpp31 MtpPacketTool::GetUInt16(0, 0);
53 MtpPacketTool::GetUInt16(outBuffer, offset);
55 ret = MtpPacketTool::GetUInt16(outBuffer, offsetTest, numFirstTest);
57 ret = MtpPacketTool::GetUInt16(buffer, offsetTest, numFirstTest);
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/common/
H A Dhap_byte_buffer.cpp188 bool HapByteBuffer::GetUInt16(int32_t index, uint16_t& value) in GetUInt16() function in OHOS::Security::Verify::HapByteBuffer
/ohos5.0/base/security/appverify/interfaces/innerkits/appverify/src/util/
H A Dhap_signing_block_utils.cpp165 … if (searchBuffer.GetUInt16(currentOffset + ZIP_EOCD_COMMENT_LENGTH_OFFSET, commentLength) && in FindEocdInSearchBuffer()