Home
last modified time | relevance | path

Searched refs:num_mods (Results 1 – 11 of 11) sorted by relevance

/external/libxkbcommon/xkbcommon/src/xkbcomp/
Dvmod.c93 if (mods->num_mods >= XKB_MAX_MODS) { in HandleVModDef()
100 mods->mods[mods->num_mods].name = stmt->name; in HandleVModDef()
101 mods->mods[mods->num_mods].type = MOD_VIRT; in HandleVModDef()
102 mods->mods[mods->num_mods].mapping = mapping; in HandleVModDef()
103 mods->num_mods++; in HandleVModDef()
/external/selinux/semodule-utils/semodule_link/
Dsemodule_link.c79 int ch, i, show_version = 0, verbose = 0, num_mods; in main() local
125 num_mods = argc - optind; in main()
128 * num_mods); in main()
133 memset(mods, 0, sizeof(sepol_module_package_t *) * num_mods); in main()
145 if (sepol_link_packages(NULL, base, mods, num_mods, verbose)) { in main()
172 for (i = 0; i < num_mods; i++) in main()
/external/openssh/regress/
Dmodpipe.c89 u_int i, wflag = 0, num_mods = 0; in main() local
94 if (num_mods >= MAX_MODIFICATIONS) in main()
96 parse_modification(optarg, &(mods[num_mods++])); in main()
115 for (i = 0; i < num_mods; i++) { in main()
143 for (i = 0; wflag && i < num_mods; i++) { in main()
/external/libxkbcommon/xkbcommon/src/
Dkeymap.h357 unsigned int num_mods; member
408 (iter) < (mods_)->mods + (mods_)->num_mods; \
413 (idx) < (mods_)->num_mods; \
Dkeymap-priv.c50 keymap->mods.num_mods = ARRAY_SIZE(builtin_mods); in update_builtin_keymap_fields()
Dkeymap.c264 return keymap->mods.num_mods; in xkb_keymap_num_mods()
273 if (idx >= keymap->mods.num_mods) in xkb_keymap_mod_get_name()
Dtext.c216 if (ndx >= mods->num_mods) in ModIndexText()
Dstate.c1169 xkb_mod_index_t num_mods = xkb_keymap_num_mods(state->keymap); in xkb_state_mod_indices_are_active() local
1176 if (idx >= num_mods) { in xkb_state_mod_indices_are_active()
/external/adhd/cras/src/server/
Dcras_alsa_ucm.c112 int num_mods; in modifier_enabled() local
114 num_mods = snd_use_case_get_list(mgr->mgr, "_enamods", &list); in modifier_enabled()
115 if (num_mods <= 0) in modifier_enabled()
118 for (mod_idx = 0; mod_idx < (unsigned int)num_mods; mod_idx++) in modifier_enabled()
122 snd_use_case_free_list(list, num_mods); in modifier_enabled()
123 return (mod_idx < (unsigned int)num_mods); in modifier_enabled()
/external/mesa3d/src/mesa/drivers/dri/i965/
Dintel_screen.c1283 int num_mods = 0, i; in intel_query_dma_buf_modifiers() local
1294 num_mods++; in intel_query_dma_buf_modifiers()
1298 modifiers[num_mods - 1] = modifier; in intel_query_dma_buf_modifiers()
1299 if (num_mods >= max) in intel_query_dma_buf_modifiers()
1304 for (i = 0; i < num_mods && i < max; i++) { in intel_query_dma_buf_modifiers()
1316 *count = num_mods; in intel_query_dma_buf_modifiers()
/external/libxkbcommon/xkbcommon/src/x11/
Dkeymap.c525 keymap->mods.num_mods = in get_vmods()
936 keymap->mods.num_mods = in get_vmod_names()