Searched defs:uuid_string (Results 1 - 2 of 2) sorted by relevance

/system/bt/btcore/test/
H A Duuid_test.cpp144 uuid_string_t *uuid_string = uuid_string_new(); local
145 EXPECT_TRUE(uuid_string != NULL);
149 uuid_to_string(uuid, uuid_string);
152 EXPECT_TRUE(!strcmp(UUID_BASE, uuid_string_data(uuid_string)));
157 uuid_to_string(uuid, uuid_string);
164 EXPECT_TRUE(!strcmp(lower_case_buf, uuid_string_data(uuid_string)));
165 uuid_string_free(uuid_string);
/system/bt/btcore/src/
H A Duuid.c48 void uuid_string_free(uuid_string_t *uuid_string) { argument
49 osi_free(uuid_string);
52 const char *uuid_string_data(const uuid_string_t *uuid_string) { argument
53 assert(uuid_string != NULL);
54 return (const char *)uuid_string->string;
57 bt_uuid_t *uuid_new(const char *uuid_string) { argument
58 assert(uuid_string != NULL);
60 if (strlen(uuid_string) < UUID_WELL_FORMED_STRING_LEN)
62 if (uuid_string[8] != '-' || uuid_string[1
130 uuid_to_string(const bt_uuid_t *uuid, uuid_string_t *uuid_string) argument
[all...]

Completed in 4 milliseconds