Home
last modified time | relevance | path

Searched refs:HEXIFY_LEN (Results 1 - 9 of 9) sorted by relevance

/foundation/communication/dsoftbus/adapter/common/include/
H A Dsoftbus_adapter_range.h32 #define SOFTBUS_MODEL_ID_LEN (HEXIFY_LEN(3))
33 #define SOFTBUS_SUB_MODEL_ID_LEN (HEXIFY_LEN(1))
34 #define SOFTBUS_NEW_MODEL_ID_LEN (HEXIFY_LEN(4))
/foundation/communication/dsoftbus/core/common/utils/
H A Dsoftbus_utils.c158 if ((outBuf == NULL) || (inBuf == NULL) || (outBufLen < HEXIFY_LEN(inLen))) { in ConvertBytesToUpperCaseHexString()
228 if ((outBuf == NULL) || (inBuf == NULL) || (outBufLen < HEXIFY_LEN(inLen))) { in ConvertBytesToHexString()
600 if (hashStrLen < HEXIFY_LEN(len / HEXIFY_UNIT_LEN)) { in GenerateStrHashAndConvertToHexString()
/foundation/communication/dsoftbus/core/connection/ble/src/
H A Dsoftbus_conn_ble_manager.c794 char leftHashStr[HEXIFY_LEN(SHORT_UDID_HASH_LEN)] = { 0 }; in IsSameDevice()
795 char rightHashStr[HEXIFY_LEN(SHORT_UDID_HASH_LEN)] = { 0 }; in IsSameDevice()
796 if (ConvertBytesToHexString(leftHashStr, HEXIFY_LEN(SHORT_UDID_HASH_LEN), leftHash, SHORT_UDID_HASH_LEN) != in IsSameDevice()
798 ConvertBytesToHexString(rightHashStr, HEXIFY_LEN(SHORT_UDID_HASH_LEN), rightHash, SHORT_UDID_HASH_LEN) != in IsSameDevice()
830 char udidHashStr[HEXIFY_LEN(SHORT_UDID_HASH_LEN)] = { 0 }; in BleServerAccepted()
832 udidHashStr, HEXIFY_LEN(SHORT_UDID_HASH_LEN), (unsigned char *)info.bleInfo.deviceIdHash, SHORT_UDID_HASH_LEN); in BleServerAccepted()
891 char udidHashStr[HEXIFY_LEN(UDID_HASH_LEN)] = { 0 }; in BleConnectionClosed()
893 udidHashStr, HEXIFY_LEN(UDID_HASH_LEN), (unsigned char *)info.bleInfo.deviceIdHash, UDID_HASH_LEN); in BleConnectionClosed()
1748 char udidHashStr[HEXIFY_LEN(SHORT_UDID_HASH_LEN)] = { 0 }; in BleConnectDevice()
1749 int32_t status = ConvertBytesToHexString(udidHashStr, HEXIFY_LEN(SHORT_UDID_HASH_LE in BleConnectDevice()
[all...]
/foundation/communication/dsoftbus/core/common/include/
H A Dsoftbus_utils.h29 #define HEXIFY_LEN(len) ((len) * HEXIFY_UNIT_LEN + 1) macro
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/adapter/ble/src/
H A Dsoftbus_ble_utils.c335 uint32_t hexLen = HEXIFY_LEN(len); in DumpBleScanFilter()
525 int32_t hexLen = HEXIFY_LEN(len); in DumpSoftbusAdapterData()
/foundation/communication/dsoftbus/core/discovery/ble/softbus_ble/src/
H A Ddisc_ble_utils.c300 int32_t custLen = HEXIFY_LEN(len); in ParseCustData()
/foundation/communication/dsoftbus/tests/core/connection/ble/
H A Dconnection_ble_manager_test.cpp527 char hashStr[HEXIFY_LEN(SHORT_UDID_HASH_LEN)] = { 0 }; in HWTEST_F()
529 hashStr, HEXIFY_LEN(SHORT_UDID_HASH_LEN), (unsigned char *)option.bleOption.deviceIdHash, SHORT_UDID_HASH_LEN); in HWTEST_F()
/foundation/communication/dsoftbus/core/transmission/trans_channel/proxy/src/
H A Dsoftbus_proxychannel_manager.c2095 char udidHashStr[HEXIFY_LEN(SHORT_UDID_HASH_LEN)] = { 0 }; in TransProxyGetConnOptionByChanId()
2096 ret = ConvertBytesToHexString(udidHashStr, HEXIFY_LEN(SHORT_UDID_HASH_LEN), in TransProxyGetConnOptionByChanId()
/foundation/communication/dsoftbus/adapter/common/net/bluetooth/broadcast/manager/src/
H A Dsoftbus_broadcast_mgr.c509 int32_t hexLen = HEXIFY_LEN(len); in DumpSoftbusData()

Completed in 15 milliseconds