Searched refs:atom_intern (Results 1 – 4 of 4) sorted by relevance
/external/libxkbcommon/test/ |
D | atom.c | 32 atom_intern(table, literal, sizeof(literal) - 1, true) 35 atom_intern(table, literal, sizeof(literal) - 1, false) 90 atom = atom_intern(table, arr[i].string, arr[i].len, false); in test_random_strings() 112 arr[i].atom = atom_intern(table, arr[i].string, arr[i].len, true); in test_random_strings() 163 assert(atom_intern(table, NULL, 0, false) == XKB_ATOM_NONE); in main() 170 atom2 = atom_intern(table, "hello", 3, true); in main() 178 atom3 = atom_intern(table, "", 0, true); in main()
|
/external/libxkbcommon/src/ |
D | context-priv.c | 56 return atom_intern(ctx->atom_table, string, strlen(string), false); in xkb_atom_lookup() 62 return atom_intern(ctx->atom_table, string, len, true); in xkb_atom_intern()
|
D | atom.h | 40 atom_intern(struct atom_table *table, const char *string, size_t len, bool add);
|
D | atom.c | 155 atom_intern(struct atom_table *table, const char *string, size_t len, bool add) in atom_intern() function
|