Home
last modified time | relevance | path

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

/external/libxkbcommon/xkbcommon/src/
Datom.h31 struct atom_table;
33 struct atom_table *
37 atom_table_free(struct atom_table *table);
40 atom_lookup(struct atom_table *table, const char *string, size_t len);
43 atom_intern(struct atom_table *table, const char *string, size_t len,
47 atom_text(struct atom_table *table, xkb_atom_t atom);
Datom.c83 struct atom_table { struct
88 struct atom_table * argument
91 struct atom_table *table; in atom_table_new()
105 atom_table_free(struct atom_table *table) in atom_table_free()
119 atom_text(struct atom_table *table, xkb_atom_t atom) in atom_text()
128 find_atom_pointer(struct atom_table *table, const char *string, size_t len, in find_atom_pointer()
173 atom_lookup(struct atom_table *table, const char *string, size_t len) in atom_lookup()
192 atom_intern(struct atom_table *table, const char *string, size_t len, in atom_intern()
Dcontext-priv.c55 return atom_lookup(ctx->atom_table, string, strlen(string)); in xkb_atom_lookup()
61 return atom_intern(ctx->atom_table, string, len, false); in xkb_atom_intern()
67 return atom_intern(ctx->atom_table, string, strlen(string), true); in xkb_atom_steal()
73 return atom_text(ctx->atom_table, atom); in xkb_atom_text()
Dcontext.c167 atom_table_free(ctx->atom_table); in xkb_context_unref()
273 ctx->atom_table = atom_table_new(); in xkb_context_new()
274 if (!ctx->atom_table) { in xkb_context_new()
Dcontext.h46 struct atom_table *atom_table; member
/external/libxkbcommon/xkbcommon/test/
Datom.c69 struct atom_table *table; in test_random_strings()
150 struct atom_table *table; in main()