Home
last modified time | relevance | path

Searched refs:typeLength (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/foundation/communication/nfc/interfaces/inner_api/common/
H A Dndef_message.cpp249 layout.typeLength = NfcSdkCommon::GetByteFromHexStr(data, parsedDataIndex++) & 0xFF; in ParseRecordLayoutLength()
271 if (isChunkFound && layout.typeLength != 0) { in IsRecordLayoutLengthInvalid()
278 if (layout.typeLength == 0 && layout.tnf != TNF_UNKNOWN) { in IsRecordLayoutLengthInvalid()
293 if (layout.typeLength <= 0) { in ParseRecordType()
297 if (NfcSdkCommon::GetHexStrBytesLen(data) < parsedDataIndex + layout.typeLength) { in ParseRecordType()
299 NfcSdkCommon::GetHexStrBytesLen(data), parsedDataIndex, layout.typeLength); in ParseRecordType()
302 … std::string type = data.substr(parsedDataIndex * HEX_BYTE_LEN, layout.typeLength * HEX_BYTE_LEN); in ParseRecordType()
303 parsedDataIndex += layout.typeLength; in ParseRecordType()
H A Dndef_message.h41 uint16_t typeLength; member
/ohos5.0/foundation/ability/ability_base/interfaces/kits/native/want/src/
H A Dskills.cpp801 size_t typeLength = type.length(); in FindMimeType() local
802 if (typeLength == LENGTH_FOR_FINDMINETYPE && type == "*/*") { in FindMimeType()
827 if (typeLength == slashpos + posOffset && type.at(slashpos + posNext) == '*') { in FindMimeType()