Searched refs:mod (Results 176 - 200 of 781) sorted by relevance

1234567891011>>

/external/llvm/include/llvm-c/
H A Dlto.h247 lto_module_dispose(lto_module_t mod);
255 lto_module_get_target_triple(lto_module_t mod);
263 lto_module_set_target_triple(lto_module_t mod, const char *triple);
271 lto_module_get_num_symbols(lto_module_t mod);
279 lto_module_get_symbol_name(lto_module_t mod, unsigned int index);
287 lto_module_get_symbol_attribute(lto_module_t mod, unsigned int index);
298 lto_module_get_linkeropts(lto_module_t mod);
372 * \c cg and \c mod must both be in the same context. See \a
379 lto_codegen_add_module(lto_code_gen_t cg, lto_module_t mod);
385 * \c cg and \c mod mus
[all...]
/external/elfutils/src/
H A Dstack.c110 get_addr_width (Dwfl_Module *mod) argument
114 if (width == 0 && mod)
117 Elf *elf = dwfl_module_getelf (mod, &bias);
133 module_callback (Dwfl_Module *mod, void **userdata __attribute__((unused)), argument
139 Elf *elf = dwfl_module_getelf (mod, &bias);
140 Dwarf *dwarf = dwfl_module_getdwarf (mod, &bias);
145 const char *modname = dwfl_module_info (mod, NULL, NULL, &end, NULL,
149 int width = get_addr_width (mod);
155 int id_len = dwfl_module_build_id (mod, &id, &id_vaddr);
217 Dwarf_Addr pc_adjusted, Dwfl_Module *mod,
216 print_frame(int nr, Dwarf_Addr pc, bool isactivation, Dwarf_Addr pc_adjusted, Dwfl_Module *mod, const char *symname, Dwarf_Die *cudie, Dwarf_Die *die) argument
319 print_inline_frames(int *nr, Dwarf_Addr pc, bool isactivation, Dwarf_Addr pc_adjusted, Dwfl_Module *mod, const char *symname, Dwarf_Die *cudie, Dwarf_Die *die) argument
375 Dwfl_Module *mod = dwfl_addrmodule (dwfl, pc_adjusted); local
432 Dwfl_Module *mod = dwfl_addrmodule (dwfl, pc_adjusted); local
[all...]
/external/python/cpython3/Lib/test/
H A Dtest_imp.py63 mod = importlib.import_module('test.encoded_modules')
64 self.test_strings = mod.test_strings
65 self.test_path = mod.__path__
69 mod = importlib.import_module('test.encoded_modules.'
71 self.assertEqual(teststr, mod.test)
74 for mod, encoding, _ in self.test_strings:
75 with imp.find_module('module_' + mod, self.test_path)[0] as fd:
83 for mod, encoding, _ in self.test_strings:
84 fp, filename, info = imp.find_module('module_' + mod,
170 mod
[all...]
/external/wycheproof/java/com/google/security/wycheproof/
H A DEcUtil.java158 * Compute the Legendre symbol of x mod p. This implementation is slow. Faster would be the
187 * @returns a value s such that s^2 mod p == x mod p
194 x = x.mod(p);
214 d = a.multiply(a).subtract(x).mod(p);
227 // a - sqrt(d) == (a+sqrt(d))^p (mod p),
229 // n == (a + sqrt(d))(a - sqrt(d) == (a+sqrt(d))^(p+1) (mod p).
230 // Thus if n is square then (a+sqrt(d))^((p+1)/2) (mod p) is a square root of n.
237 u = u.multiply(u).add(v.multiply(v).mod(p).multiply(d)).mod(
[all...]
/external/fsck_msdos/
H A Ddir.c536 int mod = FSOK; local
603 mod |= THISMOD|FSDIRMOD;
609 mod |= THISMOD|FSDIRMOD;
612 mod |= FSERROR;
714 mod |= removede(f, boot, fat,
753 mod |= k = removede(f, boot, fat,
757 if (mod & FSFATAL)
763 mod |= THISMOD;
779 mod |= THISMOD|FSDIRMOD|FSFATMOD;
781 mod |
980 int mod; local
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/signers/
H A DDSASigner.java99 BigInteger r = params.getG().modPow(k.add(getRandomizer(q, random)), params.getP()).mod(q);
103 BigInteger s = k.mod(q);
135 BigInteger u1 = m.multiply(w).mod(q);
136 BigInteger u2 = r.multiply(w).mod(q);
142 BigInteger v = u1.multiply(u2).mod(p).mod(q);
170 // Calculate a random multiple of q to add to k. Note that g^q = 1 (mod p), so adding multiple of q to k does not change r.
/external/javassist/src/main/javassist/
H A DCtMember.java43 public void setModifiers(int mod) {} argument
170 int mod = getModifiers();
171 if (Modifier.isPublic(mod))
173 else if (Modifier.isPrivate(mod))
184 if (!visible && Modifier.isProtected(mod))
205 public abstract void setModifiers(int mod); argument
H A DCtArray.java41 int mod = Modifier.FINAL;
43 mod |= getComponentType().getModifiers()
47 return mod;
/external/wycheproof/java/com/google/security/wycheproof/testcases/
H A DRsaKeyTest.java44 // some libraries compute d mod lambda(n)
1423 assertEquals(BigInteger.ONE, d.multiply(e).mod(order));
1424 assertEquals(d.mod(p1), dp.mod(p1));
1425 assertEquals(d.mod(q1), dq.mod(q1));
1426 assertEquals(q.multiply(crtCoeff).mod(p), BigInteger.ONE);
/external/elfutils/tests/
H A Dvdsosyms.c40 module_callback (Dwfl_Module *mod, void **userdata __attribute__((unused)), argument
48 vdso_syms = dwfl_module_getsymtab (mod);
57 const char *sname = dwfl_module_getsym_info (mod, i, &sym, &addr,
/external/kmod/testsuite/
H A Dtest-init.c51 struct kmod_module *mod; local
59 err = kmod_module_new_from_path(ctx, "/mod-simple.ko", &mod);
65 err = kmod_module_insert_module(mod, 0, NULL);
94 err = kmod_module_new_from_name(ctx, "mod-simple", &mod_simple);
127 "mod-simple:0:0:bla:-1:" STRINGIFY(ENOENT),
/external/kmod/tools/
H A Dmodinfo.c171 static int modinfo_do(struct kmod_module *mod) argument
178 printf("%s%c", kmod_module_get_path(mod), separator);
182 kmod_module_get_path(mod), separator);
185 err = kmod_module_get_info(mod, &list);
188 kmod_module_get_name(mod), strerror(-err));
266 struct kmod_module *mod; local
267 int err = kmod_module_new_from_path(ctx, path, &mod);
272 err = modinfo_do(mod);
273 kmod_module_unref(mod);
304 struct kmod_module *mod local
[all...]
H A Dinsmod.c68 struct kmod_module *mod; local
142 err = kmod_module_new_from_path(ctx, filename, &mod);
149 err = kmod_module_insert_module(mod, flags, opts);
154 kmod_module_unref(mod);
/external/python/cpython2/Lib/email/test/
H A Dtest_email_torture.py121 mod = sys.modules[__name__]
122 return [getattr(mod, name) for name in dir(mod) if name.startswith('Test')]
/external/skia/include/core/
H A DSkMath.h123 * Stores numer/denom and numer%denom into div and mod respectively.
126 inline void SkTDivMod(In numer, In denom, Out* div, Out* mod) { argument
136 *mod = static_cast<Out>(numer-d*denom);
140 *mod = static_cast<Out>(numer%denom);
/external/skqp/include/core/
H A DSkMath.h123 * Stores numer/denom and numer%denom into div and mod respectively.
126 inline void SkTDivMod(In numer, In denom, Out* div, Out* mod) { argument
136 *mod = static_cast<Out>(numer-d*denom);
140 *mod = static_cast<Out>(numer%denom);
/external/autotest/client/deps/glbench/src/
H A Dyuv2rgb_1.glslf143 if (mod(ypixel, 4.) < 2.) {
151 if (mod(imageHeight, 4.) == 0.) {
/external/libxkbcommon/xkbcommon/src/
H A Dkeymap-priv.c132 const struct xkb_mod *mod; local
134 xkb_mods_enumerate(i, mod, mods)
135 if ((mod->type & type) && name == mod->name)
/external/mesa3d/src/gallium/state_trackers/clover/llvm/
H A Dmetadata.hpp42 get_kernel_nodes(const ::llvm::Module &mod) { argument
44 mod.getNamedMetadata("opencl.kernels"))
116 /// module \p mod.
119 get_kernels(const ::llvm::Module &mod) { argument
122 for (auto &f : mod.getFunctionList()) {
/external/pdfium/third_party/agg23/
H A Dagg_rasterizer_scanline_aa.cpp170 int incr, lift, mod, rem; local
191 mod = p % dx;
192 if(mod < 0) {
194 mod += dx;
208 mod -= dx;
211 mod += rem;
212 if(mod >= 0) {
213 mod -= dx;
241 int rem, mod, lift, delta, first, incr; local
287 mod
[all...]
/external/python/cpython2/Modules/
H A Dmakesetup230 for mod in $mods
233 *$mod.o*) base=$mod;;
234 *) base=${mod}module;;
261 for mod in $MODS
263 EXTDECLS="${EXTDECLS}extern void init$mod(void);$NL"
264 INITBITS="${INITBITS} {\"$mod\", init$mod},$NL"
/external/google-breakpad/src/third_party/libdisasm/
H A Dia32_invariant.c25 #define MODRM_MOD_NODISP 0x00 /* mod == 00 */
26 #define MODRM_MOD_DISP8 0x01 /* mod == 01 */
27 #define MODRM_MOD_DISP32 0x02 /* mod == 10 */
28 #define MODRM_MOD_NOEA 0x03 /* mod == 11 */
51 unsigned int mod : 2; member in struct:modRM_byte
70 modrm->mod = b >> 6; /* top 2 bits */
95 modrm.mod != MODRM_MOD_NOEA ) {
105 if ( sib.base == SIB_BASE_EBP && ! modrm.mod ) {
112 if (! modrm.mod && modrm.rm == 101) {
120 } else if (modrm.mod
[all...]
/external/python/cpython2/Lib/test/
H A Dtest_import.py79 mod = __import__(TESTFN)
83 self.assertEqual(mod.a, a,
84 "module loaded (%s) but contents invalid" % mod)
85 self.assertEqual(mod.b, b,
86 "module loaded (%s) but contents invalid" % mod)
92 imp.reload(mod)
247 mod = __import__(TESTFN)
249 self.assertEqual(mod.a, 1, "module has wrong attribute values")
250 self.assertEqual(mod.b, 2, "module has wrong attribute values")
263 self.assertRaises(ZeroDivisionError, imp.reload, mod)
[all...]
/external/toybox/toys/pending/
H A Dmodprobe.c62 static char *path2mod(char *file, char *mod) argument
68 if (!mod) mod = xmalloc(MODNAME_LEN);
73 mod[i] = (from[i] == '-') ? '_' : from[i];
74 mod[i] = '\0';
75 return mod;
140 * if add - create module entry, add it to data base and return the same mod.
142 static struct module_s *get_mod(char *mod, uint8_t add) argument
149 path2mod(mod, name);
316 struct module_s *mod; local
398 struct module_s *mod = get_mod(name, 1); local
[all...]
/external/elfutils/libdwfl/
H A Dlinux-kernel-modules.c226 Dwfl_Module *mod = INTUSE(dwfl_report_elf) (dwfl, KERNEL_MODNAME, local
228 if (mod == NULL)
232 mod->e_type = ET_DYN;
514 check_notes (Dwfl_Module *mod, const char *notesfile, argument
555 (mod, NULL, mod->name, 0, secname, 0, NULL, &vaddr) != 0
561 return INTUSE(dwfl_module_report_build_id) (mod, bits,
578 check_module_notes (Dwfl_Module *mod) argument
581 if (asprintf (&dirs[0], MODNOTESFMT, mod->name) < 0)
600 result = check_notes (mod,
656 Dwfl_Module *mod = report (); local
694 dwfl_linux_kernel_find_elf(Dwfl_Module *mod, void **userdata __attribute__ ((unused)), const char *module_name, Dwarf_Addr base __attribute__ ((unused)), char **file_name, Elf **elfp) argument
939 Dwfl_Module *mod = INTUSE(dwfl_report_module) (dwfl, modname, local
[all...]

Completed in 912 milliseconds

1234567891011>>