Searched refs:uuid_string (Results 1 – 4 of 4) sorted by relevance
48 void uuid_string_free(uuid_string_t* uuid_string) { osi_free(uuid_string); } in uuid_string_free() argument50 const char* uuid_string_data(const uuid_string_t* uuid_string) { in uuid_string_data() argument51 CHECK(uuid_string != NULL); in uuid_string_data()52 return (const char*)uuid_string->string; in uuid_string_data()55 bt_uuid_t* uuid_new(const char* uuid_string) { in uuid_new() argument56 CHECK(uuid_string != NULL); in uuid_new()58 if (strlen(uuid_string) < UUID_WELL_FORMED_STRING_LEN) return NULL; in uuid_new()59 if (uuid_string[8] != '-' || uuid_string[13] != '-' || in uuid_new()60 uuid_string[18] != '-' || uuid_string[23] != '-') in uuid_new()65 const char* s = uuid_string; in uuid_new()[all …]
33 void uuid_string_free(uuid_string_t* uuid_string);37 const char* uuid_string_data(const uuid_string_t* uuid_string);48 bt_uuid_t* uuid_new(const char* uuid_string);69 void uuid_to_string(const bt_uuid_t* uuid, uuid_string_t* uuid_string);
140 uuid_string_t* uuid_string = uuid_string_new(); in TEST_F() local141 EXPECT_TRUE(uuid_string != NULL); in TEST_F()145 uuid_to_string(uuid, uuid_string); in TEST_F()148 EXPECT_TRUE(!strcmp(UUID_BASE, uuid_string_data(uuid_string))); in TEST_F()153 uuid_to_string(uuid, uuid_string); in TEST_F()160 EXPECT_TRUE(!strcmp(lower_case_buf, uuid_string_data(uuid_string))); in TEST_F()161 uuid_string_free(uuid_string); in TEST_F()
158 std::string uuid_string = uuid.ToString(); in TEST() local159 EXPECT_EQ("0000180d-0000-1000-8000-00805f9b34fb", uuid_string); in TEST()