/third_party/node/deps/npm/test/tap/ |
D | unit-deps-replaceModule.js | 11 var mods = [] 13 mods.push({package: {name: String(ii)}, path: '/path/to/' + ii}) 17 test.A = mods.slice(0, 4) 18 replaceModuleByName(test, 'A', mods[2]) 19 t.isDeeply(test.A, mods.slice(0, 4), 'replacing an existing module leaves the order alone') 20 replaceModuleByName(test, 'A', mods[7]) 21 t.isDeeply(test.A, mods.slice(0, 4).concat(mods[7]), 'replacing a new module appends') 23 test.B = mods.slice(0, 4) 26 …t.isDeeply(test.B, [mods[0], replacement, mods[2], mods[3]], 'replacing existing module swaps out … 28 replaceModuleByName(test, 'C', mods[7]) [all …]
|
/third_party/openssl/crypto/bn/ |
D | bn_prime.c | 22 static int probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods, 24 static int probable_prime_dh(BIGNUM *rnd, int bits, int safe, prime_t *mods, 130 prime_t *mods = NULL; in BN_generate_prime_ex2() local 147 mods = OPENSSL_zalloc(sizeof(*mods) * NUMPRIMES); in BN_generate_prime_ex2() 148 if (mods == NULL) { in BN_generate_prime_ex2() 160 if (!probable_prime(ret, bits, safe, mods, ctx)) in BN_generate_prime_ex2() 163 if (!probable_prime_dh(ret, bits, safe, mods, add, rem, ctx)) in BN_generate_prime_ex2() 206 OPENSSL_free(mods); in BN_generate_prime_ex2() 478 static int probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods, in probable_prime() argument 497 mods[i] = (prime_t) mod; in probable_prime() [all …]
|
/third_party/python/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]:
|
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/ |
D | AdoptingModifierStore.java | 18 final Modifier[] mods; field in AdoptingModifierStore 32 this.mods = null; in AdoptingModifierStore() 48 this.mods = new Modifier[4 * StandardPlural.COUNT]; in AdoptingModifierStore() 54 mods[getModIndex(signum, plural)] = mod; in setModifier() 63 assert mods == null; in getModifierWithoutPlural() 83 return mods[getModIndex(signum, plural)]; in getModifier()
|
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/number/ |
D | AdoptingModifierStore.java | 20 final Modifier[] mods; field in AdoptingModifierStore 34 this.mods = null; in AdoptingModifierStore() 50 this.mods = new Modifier[4 * StandardPlural.COUNT]; in AdoptingModifierStore() 56 mods[getModIndex(signum, plural)] = mod; in setModifier() 65 assert mods == null; in getModifierWithoutPlural() 85 return mods[getModIndex(signum, plural)]; in getModifier()
|
/third_party/flutter/glfw/tests/ |
D | events.c | 230 static const char* get_mods_name(int mods) in get_mods_name() argument 234 if (mods == 0) in get_mods_name() 239 if (mods & GLFW_MOD_SHIFT) in get_mods_name() 241 if (mods & GLFW_MOD_CONTROL) in get_mods_name() 243 if (mods & GLFW_MOD_ALT) in get_mods_name() 245 if (mods & GLFW_MOD_SUPER) in get_mods_name() 328 static void mouse_button_callback(GLFWwindow* window, int button, int action, int mods) in mouse_button_callback() argument 334 get_mods_name(mods), in mouse_button_callback() 360 static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) in key_callback() argument 371 get_mods_name(mods), in key_callback() [all …]
|
D | clipboard.c | 54 static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) in key_callback() argument 66 if (mods == MODIFIER) in key_callback() 79 if (mods == MODIFIER) in key_callback()
|
/third_party/python/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
|
/third_party/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[4 * StandardPlural::COUNT] = {};
|
/third_party/skia/third_party/externals/icu/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[4 * StandardPlural::COUNT] = {};
|
/third_party/node/deps/icu-small/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[4 * StandardPlural::COUNT] = {};
|
/third_party/flutter/skia/third_party/externals/icu/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] = {};
|
/third_party/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()
|
/third_party/flutter/glfw/src/ |
D | win32_window.c | 308 int mods = 0; in getKeyMods() local 311 mods |= GLFW_MOD_SHIFT; in getKeyMods() 313 mods |= GLFW_MOD_CONTROL; in getKeyMods() 315 mods |= GLFW_MOD_ALT; in getKeyMods() 317 mods |= GLFW_MOD_SUPER; in getKeyMods() 319 return mods; in getKeyMods() 326 int mods = 0; in getAsyncKeyMods() local 329 mods |= GLFW_MOD_SHIFT; in getAsyncKeyMods() 331 mods |= GLFW_MOD_CONTROL; in getAsyncKeyMods() 333 mods |= GLFW_MOD_ALT; in getAsyncKeyMods() [all …]
|
D | mir_window.c | 117 static int mirModToGLFWMod(uint32_t mods) in mirModToGLFWMod() argument 121 if (mods & mir_input_event_modifier_alt) in mirModToGLFWMod() 123 else if (mods & mir_input_event_modifier_shift) in mirModToGLFWMod() 125 else if (mods & mir_input_event_modifier_ctrl) in mirModToGLFWMod() 127 else if (mods & mir_input_event_modifier_meta) in mirModToGLFWMod() 149 const int mods = mirModToGLFWMod(modifiers); in handleKeyEvent() local 151 const int plain = !(mods & (GLFW_MOD_CONTROL | GLFW_MOD_ALT)); in handleKeyEvent() 153 _glfwInputKey(window, toGLFWKeyCode(scan_code), scan_code, pressed, mods); in handleKeyEvent() 156 _glfwInputChar(window, text, mods, plain); in handleKeyEvent() 163 int mods = mir_pointer_event_modifiers(pointer_event); in handlePointerButton() local [all …]
|
D | x11_window.c | 184 int mods = 0; in translateState() local 187 mods |= GLFW_MOD_SHIFT; in translateState() 189 mods |= GLFW_MOD_CONTROL; in translateState() 191 mods |= GLFW_MOD_ALT; in translateState() 193 mods |= GLFW_MOD_SUPER; in translateState() 195 return mods; in translateState() 990 const int mods = translateState(event->xkey.state); in processEvent() local 991 const int plain = !(mods & (GLFW_MOD_CONTROL | GLFW_MOD_ALT)); in processEvent() 1002 _glfwInputKey(window, key, keycode, GLFW_PRESS, mods); in processEvent() 1035 _glfwInputChar(window, decodeUTF8(&c), mods, plain); in processEvent() [all …]
|
/third_party/selinux/libsepol/tests/ |
D | test-deps.c | 144 policydb_t *mods[] = { &mod }; in do_deps_modreq_global() local 168 ret = link_modules(h, base, mods, 1, 0); in do_deps_modreq_global() 227 policydb_t *mods[] = { &mod }; in do_deps_modreq_opt() local 249 ret = link_modules(h, base, mods, 1, 0); in do_deps_modreq_opt()
|
/third_party/flutter/skia/third_party/externals/imgui/examples/ |
D | imgui_impl_freeglut.cpp | 92 int mods = glutGetModifiers(); in ImGui_ImplFreeGLUT_UpdateKeyboardMods() local 93 io.KeyCtrl = (mods & GLUT_ACTIVE_CTRL) != 0; in ImGui_ImplFreeGLUT_UpdateKeyboardMods() 94 io.KeyShift = (mods & GLUT_ACTIVE_SHIFT) != 0; in ImGui_ImplFreeGLUT_UpdateKeyboardMods() 95 io.KeyAlt = (mods & GLUT_ACTIVE_ALT) != 0; in ImGui_ImplFreeGLUT_UpdateKeyboardMods()
|
D | imgui_impl_glfw.h | 30 … void ImGui_ImplGlfw_MouseButtonCallback(GLFWwindow* window, int button, int action, int mods); 32 …id ImGui_ImplGlfw_KeyCallback(GLFWwindow* window, int key, int scancode, int action, int mods);
|
/third_party/flutter/glfw/examples/ |
D | boing.c | 53 void key_callback( GLFWwindow* window, int key, int scancode, int action, int mods ); 54 void mouse_button_callback( GLFWwindow* window, int button, int action, int mods ); 238 void key_callback( GLFWwindow* window, int key, int scancode, int action, int mods ) in key_callback() argument 243 if (key == GLFW_KEY_ESCAPE && mods == 0) in key_callback() 245 if ((key == GLFW_KEY_ENTER && mods == GLFW_MOD_ALT) || in key_callback() 246 (key == GLFW_KEY_F11 && mods == GLFW_MOD_ALT)) in key_callback() 274 void mouse_button_callback( GLFWwindow* window, int button, int action, int mods ) in mouse_button_callback() argument
|
/third_party/skia/third_party/externals/imgui/backends/ |
D | imgui_impl_glut.cpp | 116 int mods = glutGetModifiers(); in ImGui_ImplGLUT_UpdateKeyboardMods() local 117 io.KeyCtrl = (mods & GLUT_ACTIVE_CTRL) != 0; in ImGui_ImplGLUT_UpdateKeyboardMods() 118 io.KeyShift = (mods & GLUT_ACTIVE_SHIFT) != 0; in ImGui_ImplGLUT_UpdateKeyboardMods() 119 io.KeyAlt = (mods & GLUT_ACTIVE_ALT) != 0; in ImGui_ImplGLUT_UpdateKeyboardMods()
|
D | imgui_impl_glfw.h | 37 … void ImGui_ImplGlfw_MouseButtonCallback(GLFWwindow* window, int button, int action, int mods); 39 …id ImGui_ImplGlfw_KeyCallback(GLFWwindow* window, int key, int scancode, int action, int mods);
|
/third_party/ltp/tools/sparse/sparse-src/ |
D | parse.c | 116 static void asm_modifier(struct token *token, unsigned long *mods, unsigned long mod) in asm_modifier() argument 118 if (*mods & mod) in asm_modifier() 120 *mods |= mod; in asm_modifier() 455 unsigned long mods; member 466 N("auto", &auto_op, .mods = MOD_AUTO), 467 N("register", ®ister_op, .mods = MOD_REGISTER), 468 N("static", &static_op, .mods = MOD_STATIC), 469 N("extern", &extern_op, .mods = MOD_EXTERN), 473 A("inline", &inline_op, .mods = MOD_INLINE), 476 N("typedef", &typedef_op, .mods = MOD_USERTYPE), [all …]
|
/third_party/mesa3d/src/amd/vulkan/ |
D | radv_formats.c | 1261 uint64_t *mods = malloc(mod_count * sizeof(uint64_t)); in radv_list_drm_format_modifiers() local 1262 if (!mods) { in radv_list_drm_format_modifiers() 1268 vk_format_to_pipe_format(format), &mod_count, mods); in radv_list_drm_format_modifiers() 1272 radv_get_modifier_flags(dev, format, mods[i], format_props); in radv_list_drm_format_modifiers() 1275 if (ac_modifier_has_dcc_retile(mods[i])) in radv_list_drm_format_modifiers() 1277 else if (ac_modifier_has_dcc(mods[i])) in radv_list_drm_format_modifiers() 1286 .drmFormatModifier = mods[i], in radv_list_drm_format_modifiers() 1293 free(mods); in radv_list_drm_format_modifiers() 1318 uint64_t *mods = malloc(mod_count * sizeof(uint64_t)); in radv_list_drm_format_modifiers_2() local 1319 if (!mods) { in radv_list_drm_format_modifiers_2() [all …]
|
/third_party/flutter/skia/src/sksl/ |
D | SkSLContext.h | 415 Modifiers mods(Layout(), Modifiers::kConst_Flag); in fp_type() 417 Type::Field(mods, "numTextureSamplers", intType), in fp_type() 418 Type::Field(mods, "numCoordTransforms", intType), in fp_type() 419 Type::Field(mods, "numChildProcessors", intType), in fp_type() 420 Type::Field(mods, "usesLocalCoords", boolType), in fp_type() 421 Type::Field(mods, "compatibleWithCoverageAsAlpha", boolType), in fp_type() 422 Type::Field(mods, "preservesOpaqueInput", boolType), in fp_type() 423 Type::Field(mods, "hasConstantOutputForConstantInput", boolType) in fp_type()
|