Home
last modified time | relevance | path

Searched refs:srcIntValue (Results 1 - 2 of 2) sorted by relevance

/foundation/communication/nfc/interfaces/inner_api/common/
H A Dnfc_sdk_common.cpp75 unsigned int srcIntValue; in HexStringToBytes() local
78 if (sscanf_s(strByte.c_str(), "%x", &srcIntValue) <= 0) { in HexStringToBytes()
83 bytes.push_back(static_cast<unsigned char>(srcIntValue & 0xFF)); in HexStringToBytes()
109 unsigned int srcIntValue; in GetByteFromHexStr() local
110 if (sscanf_s(strByte.c_str(), "%x", &srcIntValue) <= 0) { in GetByteFromHexStr()
114 return static_cast<unsigned char>(srcIntValue & 0xFF); in GetByteFromHexStr()
/foundation/communication/nfc/frameworks/js/napi/common/
H A Dnfc_napi_common_utils.cpp402 unsigned int srcIntValue; in ConvertStringToNumberArray() local
406 if (sscanf_s(oneByte.c_str(), "%x", &srcIntValue) <= 0) { in ConvertStringToNumberArray()
410 unsigned char hexByte = static_cast<unsigned char>(srcIntValue & 0xFF); in ConvertStringToNumberArray()

Completed in 3 milliseconds