Searched refs:uuid_string (Results 1 - 3 of 3) sorted by relevance

/system/bt/btcore/include/
H A Duuid.h32 // |uuid_string| may be NULL.
33 void uuid_string_free(uuid_string_t *uuid_string);
36 // entry. |uuid_string| must not be NULL.
37 const char *uuid_string_data(const uuid_string_t *uuid_string);
40 // |uuid_string|. The caller takes ownership of the uuid
42 // |uuid_string| must not be NULL.
44 // Returns NULL if |uuid_string| is malformed or no memory.
48 bt_uuid_t *uuid_new(const char *uuid_string);
67 // |uuid_string| using numbers and lower case letter. |uuid|
68 // and |uuid_string| mus
[all...]
/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...]
/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);

Completed in 40 milliseconds