Home
last modified time | relevance | path

Searched refs:mods (Results 1 - 25 of 82) sorted by relevance

1234

/third_party/node/deps/openssl/openssl/crypto/bn/
H A Dbn_prime.c22 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()
472 * |mods| i
478 probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods, BN_CTX *ctx) probable_prime() argument
536 probable_prime_dh(BIGNUM *rnd, int bits, int safe, prime_t *mods, const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx) probable_prime_dh() argument
[all...]
/third_party/openssl/crypto/bn/
H A Dbn_prime.c22 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()
472 * |mods| i
478 probable_prime(BIGNUM *rnd, int bits, int safe, prime_t *mods, BN_CTX *ctx) probable_prime() argument
536 probable_prime_dh(BIGNUM *rnd, int bits, int safe, prime_t *mods, const BIGNUM *add, const BIGNUM *rem, BN_CTX *ctx) probable_prime_dh() argument
[all...]
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/number/
H A DAdoptingModifierStore.java18 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/
H A DAdoptingModifierStore.java20 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/python/Tools/freeze/
H A Dcheckextensions.py20 (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):
41 for w in mods[mod]:
H A Dmakefreeze.py36 mods = sorted(dict.keys())
37 for mod in mods:
/third_party/node/deps/icu-small/source/i18n/
H A Dnumber_modifiers.h294 U_ASSERT(mods[signum] == nullptr); in adoptModifier()
295 mods[signum] = mod; in adoptModifier()
299 return mods[signum]; in operator []()
302 return mods[signum]; in operator []()
306 const Modifier* mods[SIGNUM_COUNT] = {}; member in number::impl::AdoptingSignumModifierStore
326 mods[plural] = std::move(other); in adoptSignumModifierStore()
331 mods[DEFAULT_STANDARD_PLURAL] = std::move(other); in adoptSignumModifierStoreNoPlural()
336 const Modifier* modifier = mods[plural][signum];
338 modifier = mods[DEFAULT_STANDARD_PLURAL][signum];
345 return mods[DEFAULT_STANDARD_PLURA in getModifierWithoutPlural()
350 AdoptingSignumModifierStore mods[StandardPlural::COUNT] = {}; global() member in number::impl::AdoptingModifierStore
[all...]
H A Dnumber_modifiers.cpp66 for (const Modifier *mod : mods) { in ~AdoptingSignumModifierStore()
74 this->mods[i] = other.mods[i];
75 other.mods[i] = nullptr;
/third_party/glfw/tests/
H A Devents.c232 static const char* get_mods_name(int mods) in get_mods_name() argument
236 if (mods == 0) in get_mods_name()
237 return " no mods"; in get_mods_name()
241 if (mods & GLFW_MOD_SHIFT) in get_mods_name()
243 if (mods & GLFW_MOD_CONTROL) in get_mods_name()
245 if (mods & GLFW_MOD_ALT) in get_mods_name()
247 if (mods & GLFW_MOD_SUPER) in get_mods_name()
249 if (mods & GLFW_MOD_CAPS_LOCK) in get_mods_name()
251 if (mods & GLFW_MOD_NUM_LOCK) in get_mods_name()
368 static void mouse_button_callback(GLFWwindow* window, int button, int action, int mods) in mouse_button_callback() argument
400 key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) key_callback() argument
[all...]
H A Dclipboard.c56 static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) in key_callback() argument
68 if (mods == MODIFIER) in key_callback()
81 if (mods == MODIFIER) in key_callback()
H A Dtearing.c97 static void key_callback(GLFWwindow* window, int key, int scancode, int action, int mods) in key_callback() argument
135 if (mods != GLFW_MOD_ALT) in key_callback()
/third_party/mesa3d/src/intel/tools/imgui/
H A Dimgui_impl_gtk3.cpp137 } 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/icu/icu4c/source/i18n/
H A Dnumber_modifiers.h293 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)];
310 modifier = mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)];
317 return mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)]; in getModifierWithoutPlural()
321 // NOTE: mods is zero-initialized (to nullptr)
322 const Modifier *mods[4 * StandardPlural::COUNT] = {}; member in number::impl::AdoptingModifierStore
/third_party/skia/third_party/externals/icu/source/i18n/
H A Dnumber_modifiers.h293 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)];
310 modifier = mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)];
317 return mods[getModIndex(signum, DEFAULT_STANDARD_PLURAL)]; in getModifierWithoutPlural()
321 // NOTE: mods is zero-initialized (to nullptr)
322 const Modifier *mods[4 * StandardPlural::COUNT] = {}; member in number::impl::AdoptingModifierStore
/third_party/selinux/libsepol/tests/
H A Dtest-deps.c144 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/glfw/examples/
H A Dboing.c55 void key_callback( GLFWwindow* window, int key, int scancode, int action, int mods );
56 void mouse_button_callback( GLFWwindow* window, int button, int action, int mods );
240 void key_callback( GLFWwindow* window, int key, int scancode, int action, int mods ) in key_callback()
245 if (key == GLFW_KEY_ESCAPE && mods == 0) in key_callback()
247 if ((key == GLFW_KEY_ENTER && mods == GLFW_MOD_ALT) || in key_callback()
248 (key == GLFW_KEY_F11 && mods == GLFW_MOD_ALT)) in key_callback()
276 void mouse_button_callback( GLFWwindow* window, int button, int action, int mods ) in mouse_button_callback()
/third_party/skia/third_party/externals/imgui/backends/
H A Dimgui_impl_glut.cpp116 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()
H A Dimgui_impl_glfw.cpp118 void ImGui_ImplGlfw_MouseButtonCallback(GLFWwindow* window, int button, int action, int mods) in ImGui_ImplGlfw_MouseButtonCallback() argument
122 bd->PrevUserCallbackMousebutton(window, button, action, mods); in ImGui_ImplGlfw_MouseButtonCallback()
139 void ImGui_ImplGlfw_KeyCallback(GLFWwindow* window, int key, int scancode, int action, int mods) in ImGui_ImplGlfw_KeyCallback() argument
143 bd->PrevUserCallbackKey(window, key, scancode, action, mods); in ImGui_ImplGlfw_KeyCallback()
/third_party/glfw/src/
H A Dinput.c272 void _glfwInputKey(_GLFWwindow* window, int key, int scancode, int action, int mods) in _glfwInputKey() argument
278 assert(mods == (mods & GLFW_MOD_MASK)); in _glfwInputKey()
300 mods &= ~(GLFW_MOD_CAPS_LOCK | GLFW_MOD_NUM_LOCK); in _glfwInputKey()
303 window->callbacks.key((GLFWwindow*) window, key, scancode, action, mods); in _glfwInputKey()
309 void _glfwInputChar(_GLFWwindow* window, uint32_t codepoint, int mods, GLFWbool plain) in _glfwInputChar() argument
312 assert(mods == (mods & GLFW_MOD_MASK)); in _glfwInputChar()
319 mods &= ~(GLFW_MOD_CAPS_LOCK | GLFW_MOD_NUM_LOCK); in _glfwInputChar()
322 window->callbacks.charmods((GLFWwindow*) window, codepoint, mods); in _glfwInputChar()
347 _glfwInputMouseClick(_GLFWwindow* window, int button, int action, int mods) _glfwInputMouseClick() argument
[all...]
H A Dx11_window.c218 int mods = 0; in translateState() local
221 mods |= GLFW_MOD_SHIFT; in translateState()
223 mods |= GLFW_MOD_CONTROL; in translateState()
225 mods |= GLFW_MOD_ALT; in translateState()
227 mods |= GLFW_MOD_SUPER; in translateState()
229 mods |= GLFW_MOD_CAPS_LOCK; in translateState()
231 mods |= GLFW_MOD_NUM_LOCK; in translateState()
233 return mods; in translateState()
1246 const int mods = translateState(event->xkey.state); in processEvent() local
1247 const int plain = !(mods in processEvent()
1318 const int mods = translateState(event->xkey.state); processEvent() local
1358 const int mods = translateState(event->xbutton.state); processEvent() local
1392 const int mods = translateState(event->xbutton.state); processEvent() local
[all...]
/third_party/ltp/tools/sparse/sparse-src/
H A Dparse.c116 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", &register_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
1118 apply_mod(struct position *pos, unsigned long *mods, unsigned long mod) apply_mod() argument
1351 unsigned long mods = ctx->ctype.modifiers & MOD_DECLARE; decl_modifiers() local
2037 unsigned long mods = 0; parse_asm_statement() local
[all...]
/third_party/mesa3d/src/amd/vulkan/
H A Dradv_formats.c1261 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/skia/src/sksl/
H A DSkSLDSLParser.h171 void globalVarDeclarationEnd(PositionInfo position, const dsl::DSLModifiers& mods,
174 dsl::DSLStatement localVarDeclarationEnd(PositionInfo position, const dsl::DSLModifiers& mods,
191 bool interfaceBlock(const dsl::DSLModifiers& mods);
/third_party/mesa3d/src/panfrost/bifrost/
H A Ddisassemble.c313 if (consts->mods[idx] != BI_CONSTMOD_NONE) in dump_fau_src()
314 dump_pc_imm(fp, imm, branch_offset, consts->mods[idx], high32); in dump_fau_src()
503 decode_M(&consts.mods[0], bits(words[2], 4, 8), bits(words[2], 8, 12), true); in dump_clause()
525 decode_M(&consts.mods[0], bits(words[2], 4, 8), bits(words[2], 8, 12), true); in dump_clause()
626 decode_M(&consts.mods[const_idx], M1, M2, false); in dump_clause()
/third_party/selinux/libsepol/include/sepol/policydb/
H A Dlink.h21 policydb_t * b, policydb_t ** mods, int len,

Completed in 21 milliseconds

1234