Searched refs:atom_table (Results 1 – 6 of 6) sorted by relevance
/external/libxkbcommon/src/ |
D | atom.h | 31 struct atom_table; 33 struct atom_table * 37 atom_table_free(struct atom_table *table); 40 atom_intern(struct atom_table *table, const char *string, size_t len, bool add); 43 atom_text(struct atom_table *table, xkb_atom_t atom);
|
D | atom.c | 115 struct atom_table { struct 120 struct atom_table * argument 123 struct atom_table *table = calloc(1, sizeof(*table)); in atom_table_new() 135 atom_table_free(struct atom_table *table) in atom_table_free() 148 atom_text(struct atom_table *table, xkb_atom_t atom) in atom_text() 155 atom_intern(struct atom_table *table, const char *string, size_t len, bool add) in atom_intern()
|
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() 68 return atom_text(ctx->atom_table, atom); in xkb_atom_text()
|
D | context.h | 46 struct atom_table *atom_table; member
|
D | context.c | 215 atom_table_free(ctx->atom_table); in xkb_context_unref() 321 ctx->atom_table = atom_table_new(); in xkb_context_new() 322 if (!ctx->atom_table) { in xkb_context_new()
|
/external/libxkbcommon/test/ |
D | atom.c | 71 struct atom_table *table; in test_random_strings() 156 struct atom_table *table; in main()
|