Home
last modified time | relevance | path

Searched refs:XKB_ATOM_NONE (Results 1 – 17 of 17) sorted by relevance

/external/libxkbcommon/xkbcommon/src/
Datom.c121 if (atom == XKB_ATOM_NONE || atom >= darray_size(table->table)) in atom_text()
140 while (*atomp != XKB_ATOM_NONE) { in find_atom_pointer()
178 return XKB_ATOM_NONE; in atom_lookup()
181 return XKB_ATOM_NONE; in atom_lookup()
200 return XKB_ATOM_NONE; in atom_intern()
214 return XKB_ATOM_NONE; in atom_intern()
217 node.left = node.right = XKB_ATOM_NONE; in atom_intern()
Dkeymap-priv.c86 if (new_name != XKB_ATOM_NONE) in XkbKeyByName()
100 return XKB_ATOM_NONE; in XkbResolveKeyAlias()
Dkeymap.c288 if (atom == XKB_ATOM_NONE) in xkb_keymap_mod_get_index()
324 if (atom == XKB_ATOM_NONE) in xkb_keymap_layout_get_index()
400 if (atom == XKB_ATOM_NONE) in xkb_keymap_led_get_index()
Datom.h29 #define XKB_ATOM_NONE 0 macro
Dstate.c1290 state->keymap->leds[idx].name == XKB_ATOM_NONE) in xkb_state_led_index_is_active()
/external/libxkbcommon/xkbcommon/test/
Datom.c88 if (atom != XKB_ATOM_NONE) { in test_random_strings()
109 if (arr[i].atom == XKB_ATOM_NONE) { in test_random_strings()
156 assert(atom_text(table, XKB_ATOM_NONE) == NULL); in main()
157 assert(atom_lookup(table, NULL, 0) == XKB_ATOM_NONE); in main()
160 assert(atom1 != XKB_ATOM_NONE); in main()
165 assert(atom2 != XKB_ATOM_NONE); in main()
169 assert(LOOKUP_LITERAL(table, "hell") == XKB_ATOM_NONE); in main()
173 assert(atom3 != XKB_ATOM_NONE); in main()
Dcontext.c42 assert(atom != XKB_ATOM_NONE); in main()
46 assert(atom != XKB_ATOM_NONE); in main()
/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dkeycodes.c126 if (old->name != XKB_ATOM_NONE) { in AddLedName()
195 if (old_name != XKB_ATOM_NONE) { in AddKeyName()
219 darray_item(info->key_names, kc) = XKB_ATOM_NONE; in AddKeyName()
229 darray_item(info->key_names, old_kc) = XKB_ATOM_NONE; in AddKeyName()
280 if (name == XKB_ATOM_NONE) in MergeIncludedKeycodes()
319 if (ledi->name == XKB_ATOM_NONE) in MergeIncludedKeycodes()
575 alias->real = XKB_ATOM_NONE; in CopyKeyAliasesToKeymap()
586 alias->real = XKB_ATOM_NONE; in CopyKeyAliasesToKeymap()
603 if (alias->real != XKB_ATOM_NONE) { in CopyKeyAliasesToKeymap()
622 if (ledi->name == XKB_ATOM_NONE) in CopyLedNamesToKeymap()
Dparser.y594 { $$ = XKB_ATOM_NONE; }
596 { $$ = XKB_ATOM_NONE; }
598 { $$ = XKB_ATOM_NONE; }
600 { $$ = XKB_ATOM_NONE; }
680 { $$ = ExprCreateArrayRef(XKB_ATOM_NONE, $1, $3); }
Dsymbols.c242 if (from->type == XKB_ATOM_NONE) { in MergeGroups()
244 else if (into->type == XKB_ATOM_NONE) { in MergeGroups()
441 if (real_name != XKB_ATOM_NONE) in AddKeySymbols()
1346 return XKB_ATOM_NONE; in FindAutomaticType()
1361 if (type_name == XKB_ATOM_NONE) { in FindTypeForGroup()
1362 if (keyi->default_type != XKB_ATOM_NONE) { in FindTypeForGroup()
1367 if (type_name != XKB_ATOM_NONE) in FindTypeForGroup()
1372 if (type_name == XKB_ATOM_NONE) { in FindTypeForGroup()
1560 if (key->name == XKB_ATOM_NONE) in CopySymbolsToKeymap()
Dkeymap-dump.c168 if (key->name == XKB_ATOM_NONE) in write_keycodes()
176 if (led->name != XKB_ATOM_NONE) in write_keycodes()
Dparser.c2771 { (yyval.atom) = XKB_ATOM_NONE; } in yyparse()
2777 { (yyval.atom) = XKB_ATOM_NONE; } in yyparse()
2783 { (yyval.atom) = XKB_ATOM_NONE; } in yyparse()
2789 { (yyval.atom) = XKB_ATOM_NONE; } in yyparse()
2983 { (yyval.expr) = ExprCreateArrayRef(XKB_ATOM_NONE, (yyvsp[-3].atom), (yyvsp[-1].expr)); } in yyparse()
Dexpr.c70 if (!priv || field == XKB_ATOM_NONE || type != EXPR_TYPE_INT) in SimpleLookup()
Dtypes.c495 if (darray_item(type->level_names, level) != XKB_ATOM_NONE) { in AddLevelName()
Dcompat.c842 if (led->name == XKB_ATOM_NONE) in CopyLedMapDefsToKeymap()
/external/libxkbcommon/xkbcommon/src/x11/
Dutil.c179 to[i] = XKB_ATOM_NONE; in adopt_atoms()
192 if (to[i] == XKB_ATOM_NONE) in adopt_atoms()
Dkeymap.c994 *key_name = XKB_ATOM_NONE; in get_key_names()