/external/libxkbcommon/xkbcommon/src/xkbcomp/ |
D | types.c | 45 xkb_mod_mask_t mods; member 56 struct xkb_mod_set mods; member 66 return ModMaskText(info->ctx, &info->mods, entry->mods.mods); in MapEntryTxt() 78 return ModMaskText(info->ctx, &info->mods, type->mods); in TypeMaskTxt() 101 const struct xkb_mod_set *mods) in InitKeyTypesInfo() argument 105 info->mods = *mods; in InitKeyTypesInfo() 184 into->mods = from->mods; in MergeIncludedKeyTypes() 212 InitKeyTypesInfo(&included, info->ctx, &info->mods); in HandleIncludeKeyTypes() 227 InitKeyTypesInfo(&next_incl, info->ctx, &included.mods); in HandleIncludeKeyTypes() 249 xkb_mod_mask_t mods; in SetModifiers() local [all …]
|
D | keymap.c | 33 ComputeEffectiveMask(struct xkb_keymap *keymap, struct xkb_mods *mods) in ComputeEffectiveMask() argument 35 mods->mask = mod_mask_get_effective(keymap, mods->mods); in ComputeEffectiveMask() 46 if (act->mods.flags & ACTION_MODS_LOOKUP_MODMAP) in UpdateActionMods() 47 act->mods.mods.mods = modmap; in UpdateActionMods() 48 ComputeEffectiveMask(keymap, &act->mods.mods); in UpdateActionMods() 59 .mods = 0, 90 xkb_mod_mask_t mods; in FindInterpForKey() local 98 mods = 0; in FindInterpForKey() 100 mods = key->modmap; in FindInterpForKey() 104 found = !(interp->mods & mods); in FindInterpForKey() [all …]
|
D | vmod.c | 33 HandleVModDef(struct xkb_context *ctx, struct xkb_mod_set *mods, in HandleVModDef() argument 48 if (!ExprResolveModMask(ctx, stmt->value, MOD_REAL, mods, &mapping)) { in HandleVModDef() 59 xkb_mods_enumerate(i, mod, mods) { in HandleVModDef() 82 ModMaskText(ctx, mods, use), in HandleVModDef() 83 ModMaskText(ctx, mods, ignore)); in HandleVModDef() 93 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()
|
D | keymap-dump.c | 129 xkb_mods_foreach(mod, &keymap->mods) { in write_vmods() 208 ModMaskText(keymap->ctx, &keymap->mods, type->mods.mods)); in write_types() 218 if (entry->level == 0 && entry->preserve.mods == 0) in write_types() 221 str = ModMaskText(keymap->ctx, &keymap->mods, entry->mods.mods); in write_types() 225 if (entry->preserve.mods) in write_types() 227 str, ModMaskText(keymap->ctx, &keymap->mods, in write_types() 228 entry->preserve.mods)); in write_types() 265 ModMaskText(keymap->ctx, &keymap->mods, led->mods.mods)); in write_led_map() 310 if (action->mods.flags & ACTION_MODS_LOOKUP_MODMAP) in write_action() 313 args = ModMaskText(keymap->ctx, &keymap->mods, in write_action() [all …]
|
D | compat.c | 93 struct xkb_mod_set mods; member 109 ModMaskText(info->ctx, &info->mods, si->interp.mods)); in siText() 147 ActionsInfo *actions, const struct xkb_mod_set *mods) in InitCompatInfo() argument 152 info->mods = *mods; in InitCompatInfo() 172 old->interp.mods == new->interp.mods && in FindMatchingInterp() 283 return ExprResolveModMask(info->ctx, expr, MOD_REAL, &info->mods, in ResolveStateAndPredicate() 320 if (old->led.mods.mods == new->led.mods.mods && in AddLedMap() 342 old->led.mods = new->led.mods; in AddLedMap() 387 into->mods = from->mods; in MergeIncludedCompatMaps() 429 InitCompatInfo(&included, info->ctx, info->actions, &info->mods); in HandleIncludeCompatMap() [all …]
|
D | action.c | 224 HandleNoAction(struct xkb_context *ctx, const struct xkb_mod_set *mods, in HandleNoAction() argument 255 CheckModifierField(struct xkb_context *ctx, const struct xkb_mod_set *mods, in CheckModifierField() argument 274 if (!ExprResolveModMask(ctx, value, MOD_BOTH, mods, mods_rtrn)) in CheckModifierField() 310 HandleSetLatchLockMods(struct xkb_context *ctx, const struct xkb_mod_set *mods, in HandleSetLatchLockMods() argument 314 struct xkb_mod_action *act = &action->mods; in HandleSetLatchLockMods() 318 return CheckModifierField(ctx, mods, action->type, array_ndx, value, in HandleSetLatchLockMods() 319 &act->flags, &act->mods.mods); in HandleSetLatchLockMods() 377 HandleSetLatchLockGroup(struct xkb_context *ctx, const struct xkb_mod_set *mods, in HandleSetLatchLockGroup() argument 402 HandleMovePtr(struct xkb_context *ctx, const struct xkb_mod_set *mods, in HandleMovePtr() argument 450 HandlePtrBtn(struct xkb_context *ctx, const struct xkb_mod_set *mods, in HandlePtrBtn() argument [all …]
|
/external/libxkbcommon/xkbcommon/src/ |
D | state.c | 87 xkb_mod_mask_t mods; /**< effective */ member 124 xkb_mod_mask_t active_mods = state->components.mods & type->mods.mask; in get_entry_for_key_state() 132 if (type->entries[i].mods.mods != 0 && type->entries[i].mods.mask == 0) in get_entry_for_key_state() 135 if (type->entries[i].mods.mask == active_mods) in get_entry_for_key_state() 334 filter->action.mods.flags &= ~ACTION_LOCK_CLEAR; in xkb_filter_mod_set_func() 346 state->clear_mods = filter->action.mods.mods.mask; in xkb_filter_mod_set_func() 347 if (filter->action.mods.flags & ACTION_LOCK_CLEAR) in xkb_filter_mod_set_func() 348 state->components.locked_mods &= ~filter->action.mods.mods.mask; in xkb_filter_mod_set_func() 357 state->set_mods = filter->action.mods.mods.mask; in xkb_filter_mod_set_new() 376 state->clear_mods |= filter->action.mods.mods.mask; in xkb_filter_mod_lock_func() [all …]
|
D | keymap.h | 181 xkb_mod_mask_t mods; /* original real+virtual mods in definition */ member 188 struct xkb_mods mods; member 236 struct xkb_mod_action mods; member 248 struct xkb_mods mods; member 254 struct xkb_mods mods; member 264 xkb_mod_mask_t mods; member 276 struct xkb_mods mods; member 356 struct xkb_mod mods[XKB_MAX_MODS]; member 384 struct xkb_mod_set mods; member 407 for ((iter) = (mods_)->mods; \ [all …]
|
D | keymap-priv.c | 45 keymap->mods.mods[i].name = xkb_atom_intern(keymap->ctx, in update_builtin_keymap_fields() 48 keymap->mods.mods[i].type = MOD_REAL; in update_builtin_keymap_fields() 50 keymap->mods.num_mods = ARRAY_SIZE(builtin_mods); in update_builtin_keymap_fields() 128 XkbModNameToIndex(const struct xkb_mod_set *mods, xkb_atom_t name, in XkbModNameToIndex() argument 134 xkb_mods_enumerate(i, mod, mods) in XkbModNameToIndex()
|
D | text.c | 210 ModIndexText(struct xkb_context *ctx, const struct xkb_mod_set *mods, in ModIndexText() argument 216 if (ndx >= mods->num_mods) in ModIndexText() 219 return xkb_atom_text(ctx, mods->mods[ndx].name); in ModIndexText() 254 ModMaskText(struct xkb_context *ctx, const struct xkb_mod_set *mods, in ModMaskText() argument 268 xkb_mods_enumerate(i, mod, mods) { in ModMaskText()
|
/external/openssh/regress/ |
D | modpipe.c | 88 struct modification mods[MAX_MODIFICATIONS]; in main() local 96 parse_modification(optarg, &(mods[num_mods++])); in main() 116 if (mods[i].offset < total || in main() 117 mods[i].offset >= total + s) in main() 119 switch (mods[i].what) { in main() 121 buf[mods[i].offset - total] ^= mods[i].m1; in main() 124 buf[mods[i].offset - total] &= mods[i].m1; in main() 125 buf[mods[i].offset - total] |= mods[i].m2; in main() 144 if (mods[i].offset < total) in main()
|
/external/selinux/semodule-utils/semodule_link/ |
D | semodule_link.c | 81 sepol_module_package_t *base, **mods; in main() local 126 mods = in main() 129 if (!mods) { in main() 133 memset(mods, 0, sizeof(sepol_module_package_t *) * num_mods); in main() 136 mods[i] = load_module(argv[optind]); in main() 137 if (!mods[i]) { in main() 145 if (sepol_link_packages(NULL, base, mods, num_mods, verbose)) { in main() 173 sepol_module_package_free(mods[i]); in main() 174 free(mods); in main()
|
/external/libxkbcommon/xkbcommon/src/x11/ |
D | keymap.c | 138 action->mods.mods.mods = translate_mods(wire->setmods.realMods, in translate_action() 141 action->mods.mods.mask = translate_mods(wire->setmods.mask, 0, 0); in translate_action() 144 action->mods.flags |= ACTION_LOCK_CLEAR; in translate_action() 146 action->mods.flags |= ACTION_LATCH_TO_LOCK; in translate_action() 148 action->mods.flags |= ACTION_MODS_LOOKUP_MODMAP; in translate_action() 154 action->mods.mods.mods = translate_mods(wire->latchmods.realMods, in translate_action() 157 action->mods.mods.mask = translate_mods(wire->latchmods.mask, 0, 0); in translate_action() 160 action->mods.flags |= ACTION_LOCK_CLEAR; in translate_action() 162 action->mods.flags |= ACTION_LATCH_TO_LOCK; in translate_action() 164 action->mods.flags |= ACTION_MODS_LOOKUP_MODMAP; in translate_action() [all …]
|
/external/icu/android_icu4j/src/main/java/android/icu/impl/number/ |
D | AdoptingModifierStore.java | 18 final Modifier[] mods; field in AdoptingModifierStore 31 this.mods = null; in AdoptingModifierStore() 46 this.mods = new Modifier[3 * StandardPlural.COUNT]; in AdoptingModifierStore() 52 mods[getModIndex(signum, plural)] = mod; in setModifier() 61 assert mods == null; in getModifierWithoutPlural() 68 return mods[getModIndex(signum, plural)]; in getModifier()
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | AdoptingModifierStore.java | 16 final Modifier[] mods; field in AdoptingModifierStore 29 this.mods = null; in AdoptingModifierStore() 44 this.mods = new Modifier[3 * StandardPlural.COUNT]; in AdoptingModifierStore() 50 mods[getModIndex(signum, plural)] = mod; in setModifier() 59 assert mods == null; in getModifierWithoutPlural() 66 return mods[getModIndex(signum, plural)]; in getModifier()
|
/external/python/cpython2/Tools/freeze/ |
D | checkextensions.py | 20 (mods, vars), liba = edict[e] 21 if not mods.has_key(mod): 31 for m in mods.keys(): 32 files = files + select(e, mods, vars, 35 files = files + select(e, mods, vars, mod, 0) 39 def select(e, mods, vars, mod, skipofiles): argument 41 for w in mods[mod]:
|
/external/python/cpython3/Tools/freeze/ |
D | checkextensions.py | 20 (mods, vars), liba = edict[e] 21 if mod not in mods: 31 for m in list(mods.keys()): 32 files = files + select(e, mods, vars, 35 files = files + select(e, mods, vars, mod, 0) 39 def select(e, mods, vars, mod, skipofiles): argument 41 for w in mods[mod]:
|
/external/apache-harmony/jdwp/src/test/java/org/apache/harmony/jpda/tests/framework/jdwp/ |
D | Event.java | 44 public final List<EventMod> mods; field in Event 49 Event(byte eventKind, byte suspendPolicy, List<EventMod> mods) { in Event() argument 52 this.mods = Collections.unmodifiableList(mods); in Event()
|
/external/python/cpython3/Modules/ |
D | makesetup | 154 mods= 190 [a-zA-Z_]*) mods="$mods $arg";; 198 MODS="$MODS $mods" 199 BUILT="$BUILT $mods" 202 BUILT="$BUILT $mods" 205 DISABLED="$DISABLED $mods" 244 for mod in $mods
|
/external/turbine/java/com/google/turbine/tree/ |
D | Tree.java | 659 private final ImmutableSet<TurbineModifier> mods; field in Tree.VarDecl 667 Set<TurbineModifier> mods, in VarDecl() argument 673 this.mods = ImmutableSet.copyOf(mods); in VarDecl() 690 public ImmutableSet<TurbineModifier> mods() { in mods() method in Tree.VarDecl 691 return mods; in mods() 713 private final ImmutableSet<TurbineModifier> mods; field in Tree.MethDecl 724 Set<TurbineModifier> mods, in MethDecl() argument 733 this.mods = ImmutableSet.copyOf(mods); in MethDecl() 753 public ImmutableSet<TurbineModifier> mods() { in mods() method in Tree.MethDecl 754 return mods; in mods() [all …]
|
/external/mesa3d/src/panfrost/bifrost/test/ |
D | bi_test_pack.c | 408 for (unsigned mods = 0; mods < max_mods; ++mods) { in bit_fcmp_helper() local 413 ins.swizzle[i][0] = ((mods >> (i * 2)) & 1) ? 1 : 0; in bit_fcmp_helper() 414 ins.swizzle[i][1] = ((mods >> (i * 2)) & 2) ? 1 : 0; in bit_fcmp_helper() 417 ins.src_abs[0] = (mods & 16) ? true : false; in bit_fcmp_helper() 418 ins.src_abs[1] = (mods & 32) ? true : false; in bit_fcmp_helper() 425 ins.src_abs[0] = (mods & 1) ? true : false; in bit_fcmp_helper() 426 ins.src_abs[1] = (mods & 2) ? true : false; in bit_fcmp_helper() 427 ins.src_neg[0] = (mods & 4) ? true : false; in bit_fcmp_helper() 428 ins.src_neg[1] = (mods & 8) ? true : false; in bit_fcmp_helper() 551 for (unsigned mods = 0; mods < 4; ++mods) { in bit_bitwise_helper() local [all …]
|
/external/mesa3d/src/intel/tools/imgui/ |
D | imgui_impl_gtk3.cpp | 137 } mods[] = { in ImGui_ImplGtk3_HandleEvent() local 147 for (unsigned i = 0; i < ARRAY_SIZE(mods); i++) in ImGui_ImplGtk3_HandleEvent() 149 *mods[i].var = (mods[i].modifier & e->state); in ImGui_ImplGtk3_HandleEvent() 152 for (int j = 0; mods[i].keyvals[j] != 0; j++) in ImGui_ImplGtk3_HandleEvent() 153 if (e->keyval == mods[i].keyvals[j]) in ImGui_ImplGtk3_HandleEvent() 157 *mods[i].var = type == GDK_KEY_PRESS; in ImGui_ImplGtk3_HandleEvent()
|
/external/icu/icu4c/source/i18n/ |
D | number_modifiers.h | 293 U_ASSERT(mods[getModIndex(signum, plural)] == nullptr); in adoptModifier() 294 mods[getModIndex(signum, plural)] = mod; in adoptModifier() 302 U_ASSERT(mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)] == nullptr); in adoptModifierWithoutPlural() 303 mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)] = mod; in adoptModifierWithoutPlural() 308 const Modifier* modifier = mods[getModIndex(signum, plural)]; in getModifier() 310 modifier = mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)]; in getModifier() 317 return mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)]; in getModifierWithoutPlural() 322 const Modifier *mods[3 * StandardPlural::COUNT] = {};
|
/external/cldr/tools/java/org/unicode/cldr/util/ |
D | BoilerplateUtilities.java | 14 int mods = fields[i].getModifiers(); in toStringHelper() local 15 if (Modifier.isStatic(mods)) continue; in toStringHelper() 52 int mods = fields[i].getModifiers(); in compareToHelper() local 53 if (Modifier.isStatic(mods)) continue; in compareToHelper()
|
/external/u-boot/board/nokia/rx51/ |
D | rx51.c | 552 static void rx51_kp_fill(u8 k, u8 mods) in rx51_kp_fill() argument 555 if (!(mods & 2) && (k == 18 || k == 31 || k == 33 || k == 34)) { in rx51_kp_fill() 572 if (mods & 2) { /* fn meta key was pressed */ in rx51_kp_fill() 576 if (mods & 1) { /* ctrl key was pressed */ in rx51_kp_fill() 580 if (mods & 4) { /* shift key was pressed */ in rx51_kp_fill() 601 u8 mods; in rx51_kp_tstc() local 623 mods = keys[4] >> 4; in rx51_kp_tstc() 635 rx51_kp_fill((c*8)+r, mods); in rx51_kp_tstc()
|