Home
last modified time | relevance | path

Searched refs:atom_table (Results 1 – 6 of 6) sorted by relevance

/external/libxkbcommon/src/
Datom.h31 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);
Datom.c115 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()
Dcontext-priv.c56 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()
Dcontext.h46 struct atom_table *atom_table; member
Dcontext.c215 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/
Datom.c71 struct atom_table *table; in test_random_strings()
156 struct atom_table *table; in main()