Searched refs:uuid1 (Results 1 – 6 of 6) sorted by relevance
/AliOS-Things-master/components/ble_host/bt_host/host/ |
A D | uuid.c | 52 struct bt_uuid_128 uuid1, uuid2; in uuid128_cmp() local 54 uuid_to_uuid128(u1, &uuid1); in uuid128_cmp() 57 return memcmp(uuid1.val, uuid2.val, 16); in uuid128_cmp()
|
/AliOS-Things-master/components/ble_host/ble_profiles/ |
A D | uart_client.c | 298 static uint8_t UUID_EQUAL_LEN(uuid_t *uuid1, uuid_t *uuid2, uint8_t comp_len) in UUID_EQUAL_LEN() argument 300 if (UUID_TYPE(uuid1) != UUID_TYPE(uuid2)) { in UUID_EQUAL_LEN() 304 comp_len = comp_len < UUID_LEN(uuid1) ? comp_len : UUID_LEN(uuid1); in UUID_EQUAL_LEN() 305 …return (0 == memcmp(&((struct bt_uuid_128 *)uuid1)->val, &((struct bt_uuid_128 *)uuid2)->val, comp… in UUID_EQUAL_LEN()
|
/AliOS-Things-master/components/ucloud_ai/src/model/aliyun-openapi/test/core/ |
A D | utils_ut.cc | 16 const std::string uuid1 = GenerateUuid(); in TEST() local 18 EXPECT_TRUE(uuid1 != uuid2); in TEST()
|
/AliOS-Things-master/components/ble_host/bt_host/aos/ |
A D | ble.c | 99 uint8_t UUID_EQUAL(uuid_t *uuid1, uuid_t *uuid2) in UUID_EQUAL() argument 101 if (UUID_TYPE(uuid1) != UUID_TYPE(uuid2)) { in UUID_EQUAL() 105 if (uuid1->type == BT_UUID_TYPE_16) { in UUID_EQUAL() 106 …return (0 == memcmp(&((struct bt_uuid_16 *)uuid1)->val, &((struct bt_uuid_16 *)uuid2)->val, UUID_L… in UUID_EQUAL() 107 } else if (uuid1->type == BT_UUID_TYPE_32) { in UUID_EQUAL() 108 …return (0 == memcmp(&((struct bt_uuid_32 *)uuid1)->val, &((struct bt_uuid_32 *)uuid2)->val, UUID_L… in UUID_EQUAL() 109 } else if (uuid1->type == BT_UUID_TYPE_128) { in UUID_EQUAL() 110 …return (0 == memcmp(&((struct bt_uuid_128 *)uuid1)->val, &((struct bt_uuid_128 *)uuid2)->val, UUID… in UUID_EQUAL() 700 int uuid_compare(const uuid_t *uuid1, const uuid_t *uuid2) in uuid_compare() argument 702 return bt_uuid_cmp((struct bt_uuid *)uuid1, (struct bt_uuid *)uuid2); in uuid_compare()
|
/AliOS-Things-master/components/ble_host/bt_host/include/aos/ |
A D | uuid.h | 85 int uuid_compare(const uuid_t *uuid1, const uuid_t *uuid2); 87 uint8_t UUID_EQUAL(uuid_t *uuid1 , uuid_t *uuid2);
|
/AliOS-Things-master/components/ble_host/bt_shell/bt_host/test/ |
A D | gatt.c | 257 struct ut_uuid_16 uuid1 = {0}; in cmd_gatt_discover() local 258 uuid1.uuid.type = UUID_TYPE_16; in cmd_gatt_discover() 259 uuid1.val = strtoul(argv[1], NULL, 16); in cmd_gatt_discover() 260 uuid = *(struct ut_uuid_128 *)(&uuid1); in cmd_gatt_discover()
|
Completed in 10 milliseconds