/cts/suite/cts/deviceTests/opengl/assets/fragment/ |
water | 22 float weight = abs(mod(float(u_Time), 101.0) - 50.0) / 50.0;// loop between 0.0 and 1.0
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/engines/ |
RSABlindedEngine.java | 108 BigInteger blindedInput = r.modPow(e, m).multiply(input).mod(m); 112 result = blindedResult.multiply(rInv).mod(m);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/math/ |
BigIntegerModPowTest.java | 107 BigInteger[] mod = new BigInteger[] {new BigInteger("2"), new BigInteger("10"), new BigInteger("2147483648")}; local 110 for (int j = 0; j < mod.length; ++j) { 111 assertEquals(base[i] + " modePow(" + exp + ", " + mod[j] 113 base[i].modPow(exp, mod[j])); 117 mod = new BigInteger[] {new BigInteger("1")}; 119 for (int j = 0; j < mod.length; ++j) { 120 assertEquals(base[i] + " modePow(" + exp + ", " + mod[j] 122 base[i].modPow(exp, mod[j]));
|
/development/tools/idegen/src/com/android/idegen/ |
IntellijProject.java | 88 for (Module mod : modules) { 89 mod.buildImlFile(); 118 for (Module mod : modules) { 119 File iml = mod.getImlFile(); 135 for (Module mod : modules) { 136 File dir = mod.getDir();
|
/external/linux-tools-perf/src/tools/perf/util/ |
parse-events.c | 699 static int get_event_modifier(struct event_modifier *mod, char *str, 714 memset(mod, 0, sizeof(*mod)); 765 mod->eu = eu; 766 mod->ek = ek; 767 mod->eh = eh; 768 mod->eH = eH; 769 mod->eG = eG; 770 mod->precise = precise; 771 mod->exclude_GH = exclude_GH 802 struct event_modifier mod; local [all...] |
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
nv50_ir_emit_nv50.cpp | 193 code[1] |= i->src(0).mod.neg() << 26; 194 code[1] |= i->src(1).mod.neg() << 27; 303 if (i->src(s).mod & Modifier(NV50_IR_MOD_NOT)) 855 code[1] |= i->src(0).mod.abs() << 20; 856 code[1] |= i->src(1).mod.abs() << 19; 864 const int neg_mul = i->src(0).mod.neg() ^ i->src(1).mod.neg(); 865 const int neg_add = i->src(2).mod.neg(); 884 const int neg0 = i->src(0).mod.neg(); 885 const int neg1 = i->src(1).mod.neg() ^ ((i->op == OP_SUB) ? 1 : 0) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_zipimport.py | 92 mod = __import__(".".join(modules), globals(), locals(), 97 call(mod) 100 file = mod.get_file() 219 mod = zi.load_module(TESTPACK) 220 self.assertEqual(zi.get_filename(TESTPACK), mod.__file__) 229 mod = sys.modules[mod_name] 232 self.assertEqual(zi.get_filename(mod_path), mod.__file__) 234 loader = mod.__loader__ 236 self.assertEqual(loader.get_filename(mod_name), mod.__file__) 264 mod = zi.load_module(TESTPACK2 [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_zipimport.py | 92 mod = __import__(".".join(modules), globals(), locals(), 97 call(mod) 100 file = mod.get_file() 219 mod = zi.load_module(TESTPACK) 220 self.assertEqual(zi.get_filename(TESTPACK), mod.__file__) 229 mod = sys.modules[mod_name] 232 self.assertEqual(zi.get_filename(mod_path), mod.__file__) 234 loader = mod.__loader__ 236 self.assertEqual(loader.get_filename(mod_name), mod.__file__) 264 mod = zi.load_module(TESTPACK2 [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/lang/reflect/ |
ConstructorTest.java | 221 int mod = 0; local 225 mod = ctor.getModifiers(); 227 ((mod & Modifier.PUBLIC) == Modifier.PUBLIC) 228 && ((mod & Modifier.PRIVATE) == 0)); 236 mod = ctor.getModifiers(); 238 ((mod & Modifier.PRIVATE) == Modifier.PRIVATE) 239 && ((mod & Modifier.PUBLIC) == 0)); 247 mod = ctor.getModifiers(); 249 ((mod & Modifier.PROTECTED) == Modifier.PROTECTED) 250 && ((mod & Modifier.PUBLIC) == 0)) [all...] |
/external/valgrind/coregrind/m_gdbserver/ |
target.c | 343 Bool mod; local 347 valgrind_to_gdbserver, size, &mod); 348 // Note: the *mod received from transfer_register is not interesting. 350 supply_register (regno, buf, &mod); 351 if (mod && VG_(debugLog_getLevel)() > 1) { 392 Bool mod; local 410 valgrind_to_gdbserver, size, &mod); 416 gdbserver_to_valgrind, size, &mod); 417 if (mod && VG_(debugLog_getLevel)() > 1) { 774 void* VG_(dmemcpy) ( void *d, const void *s, SizeT sz, Bool *mod ) [all...] |
/external/boringssl/src/crypto/bn/ |
montgomery.c | 173 int BN_MONT_CTX_set(BN_MONT_CTX *mont, const BIGNUM *mod, BN_CTX *ctx) { 185 if (!BN_copy(&mont->N, mod)) { 195 mont->ri = (BN_num_bits(mod) + (BN_BITS2 - 1)) / BN_BITS2 * BN_BITS2; 209 if ((buf[0] = mod->d[0])) { 212 if ((buf[1] = mod->top > 1 ? mod->d[1] : 0)) { 227 /* if N mod word size == 1 */ 231 /* Ri-- (mod double word size) */ 251 buf[0] = mod->d[0]; /* tmod = N mod word size * [all...] |
/external/toybox/kconfig/ |
conf.c | 132 if (sym_tristate_within_range(sym, mod)) { 159 case mod: line[0] = 'm'; break; 223 case mod: 232 if (oldval != mod && sym_tristate_within_range(sym, mod)) 251 newval = mod; 295 case mod: 304 case mod: 445 if (sym->curr.tri != mod)
|
/external/javassist/sample/evolve/ |
Evolution.java | 133 int mod = c.getModifiers();
local 134 if (Modifier.isPublic(mod)) {
146 int mod = m.getModifiers();
local 147 if (Modifier.isPublic(mod))
148 if (Modifier.isStatic(mod))
|
/system/core/libmincrypt/tools/ |
DumpPublicKey.java | 125 BigInteger N0inv = B.subtract(N.modInverse(B)); // -1 / N[0] mod 2^32 131 BigInteger RR = R.multiply(R).mod(N); // 2^4096 mod N 136 long n = N.mod(B).longValue(); 150 long rr = RR.mod(B).longValue(); 192 long n = X.mod(B).longValue(); 206 long n = Y.mod(B).longValue();
|
/system/extras/tests/lib/testUtil/ |
testUtil.c | 200 * Pseudo randomly returns unsigned integer in the range [0, mod). 205 uint32_t testRandMod(uint32_t mod) 211 uint32_t val = (mod <= lrand48maxVal) ? (uint32_t) lrand48() : testRand(); 217 * least significant bits. For small mod values this can produce 218 * noticably non-random sequnces. For mod values of less than 2 221 if (mod <= 0x10000) { 224 // If mod less than a byte, can further combine down to 226 if (mod <= 0x100) { 231 return val % mod;
|
/external/mesa3d/src/gallium/auxiliary/rtasm/ |
rtasm_x86sse.c | 45 if (reg.mod != mod_REG) 72 if (reg.mod == mod_DISP8 || 73 reg.mod == mod_DISP32) 76 if (reg.mod != mod_REG) 233 assert(reg.mod == mod_REG); 239 val |= regmem.mod << 6; /* mod field */ 249 regmem.mod != mod_REG) { 253 switch (regmem.mod) { 290 switch (dst.mod) { [all...] |
/bionic/libc/upstream-openbsd/lib/libc/net/ |
res_random.c | 43 * g = g0^j mod n will be a generator again. 46 * X[n] = a*X[n-1]+b mod m is a Linear Congruential Generator 47 * with a = 7^(even random) mod m, 52 * id[n] = seed xor (g^X[n] mod n) 110 * of 0 - (mod-1) 113 pmod(u_int16_t gen, u_int16_t exp, u_int16_t mod) 123 s = (s * t) % mod; 125 t = (t * t) % mod; 198 * RU_GEN^j mod RU_N
|
/external/elfutils/src/tests/ |
dwfllines.c | 48 Dwfl_Module *mod = dwfl_cumodule (cu); local 49 const char *modname = (dwfl_module_info (mod, NULL, NULL, NULL, 54 printf ("mod: %s CU: [%" PRIx64 "] %s\n", modname, 155 assert (mod == linemod);
|
run-dwfllines.sh | 23 mod: CU: [b] m.c 34 mod: CU: [ca] b.c 43 mod: CU: [15fc] f.c 55 mod: CU: [b] b.c 64 mod: CU: [97d] f.c 73 mod: CU: [9e4] m.c
|
/external/mesa3d/src/gallium/winsys/sw/android/ |
android_sw_winsys.cpp | 237 const hw_module_t *mod; local 243 if (hw_get_module(GRALLOC_HARDWARE_MODULE_ID, &mod)) { 248 droid->grmod = (const gralloc_module_t *) mod;
|
/external/mesa3d/src/mesa/swrast/ |
s_atifragshader.c | 127 apply_src_mod(GLint optype, GLuint mod, GLfloat * val) 132 if (!mod) 139 if (mod & GL_COMP_BIT_ATI) 142 if (mod & GL_BIAS_BIT_ATI) 145 if (mod & GL_2X_BIT_ATI) 148 if (mod & GL_NEGATE_BIT_ATI) 154 apply_dst_mod(GLuint optype, GLuint mod, GLfloat * val) 157 GLint has_sat = mod & GL_SATURATE_BIT_ATI; 160 mod &= ~GL_SATURATE_BIT_ATI; 166 switch (mod) { [all...] |
/external/nist-sip/java/gov/nist/javax/sip/header/ims/ |
SecurityAgree.java | 181 * Set Mode (mod parameter) 182 * @param mod - mode value 185 public void setMode(String mod) throws ParseException { 186 if (mod == null) 190 setParameter(ParameterNamesIms.MOD, mod); 298 * @return mod parameter value 301 return getParameter(ParameterNamesIms.MOD);
|
/external/skia/include/core/ |
SkMath.h | 211 * Stores numer/denom and numer%denom into div and mod respectively. 214 inline void SkTDivMod(In numer, In denom, Out* div, Out* mod) { 224 *mod = static_cast<Out>(numer-d*denom); 228 *mod = static_cast<Out>(numer%denom);
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/ |
macresource.py | 55 mod = sys.modules[modname] 56 if hasattr(mod, '__file__'): 57 searchdirs = [os.path.dirname(mod.__file__)]
|
/system/gatekeeper/tests/ |
gatekeeper_device_test.cpp | 39 const hw_module_t *mod; local 40 ret = hw_get_module_by_class(GATEKEEPER_HARDWARE_MODULE_ID, NULL, &mod); 44 ret = gatekeeper_open(mod, dev);
|