/development/samples/devbytes/graphics/FoldingLayout/src/com/example/android/foldinglayout/ |
FoldingLayout.java | 410 boolean isEven = (x % 2 == 0); 415 mDst[1] = isEven ? 0 : topScaledPoint; 417 mDst[3] = isEven ? mFoldDrawHeight: bottomScaledPoint; 420 mDst[5] = isEven ? topScaledPoint : 0; 422 mDst[7] = isEven ? bottomScaledPoint : mFoldDrawHeight; 425 mDst[0] = isEven ? 0 : leftScaledPoint; 428 mDst[2] = isEven ? leftScaledPoint: 0; 431 mDst[4] = isEven ? mFoldDrawWidth : rightScaledPoint; 433 mDst[6] = isEven ? rightScaledPoint : mFoldDrawWidth;
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_itertools.py | 29 def isEven(x): 502 self.assertEqual(list(ifilter(isEven, range(6))), [0,2,4]) 505 self.assertEqual(take(4, ifilter(isEven, count())), [0,2,4,6]) 509 self.assertRaises(TypeError, ifilter, isEven, 3) 513 self.assertEqual(list(ifilterfalse(isEven, range(6))), [1,3,5]) 516 self.assertEqual(take(4, ifilterfalse(isEven, count())), [1,3,5,7]) 520 self.assertRaises(TypeError, ifilterfalse, isEven, 3) [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_itertools.py | 29 def isEven(x): 502 self.assertEqual(list(ifilter(isEven, range(6))), [0,2,4]) 505 self.assertEqual(take(4, ifilter(isEven, count())), [0,2,4,6]) 509 self.assertRaises(TypeError, ifilter, isEven, 3) 513 self.assertEqual(list(ifilterfalse(isEven, range(6))), [1,3,5]) 516 self.assertEqual(take(4, ifilterfalse(isEven, count())), [1,3,5,7]) 520 self.assertRaises(TypeError, ifilterfalse, isEven, 3) [all...] |
/cts/suite/cts/deviceTests/browserbench/assets/octane/ |
crypto.js | 636 if(e < 256 || m.isEven()) z = new Classic(m); else z = new Montgomery(m); 654 BigInteger.prototype.isEven = bnpIsEven; 765 if(this.isEven()) this.dAddOffset(1,0); // force odd 1109 else if(m.isEven()) 1198 var ac = m.isEven(); 1199 if((this.isEven() && ac) || m.signum() == 0) return BigInteger.ZERO; 1203 while(u.isEven()) { [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v4/ |
v8-crypto.js | 628 if(e < 256 || m.isEven()) z = new Classic(m); else z = new Montgomery(m); 646 BigInteger.prototype.isEven = bnpIsEven; 757 if(this.isEven()) this.dAddOffset(1,0); // force odd 1101 else if(m.isEven()) 1190 var ac = m.isEven(); 1191 if((this.isEven() && ac) || m.signum() == 0) return BigInteger.ZERO; 1195 while(u.isEven()) { 1198 if(!a.isEven() || !b.isEven()) { a.addTo(this,a); b.subTo(m,b); } 1201 else if(!b.isEven()) b.subTo(m,b) [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v5/ |
v8-crypto.js | 628 if(e < 256 || m.isEven()) z = new Classic(m); else z = new Montgomery(m); 646 BigInteger.prototype.isEven = bnpIsEven; 757 if(this.isEven()) this.dAddOffset(1,0); // force odd 1101 else if(m.isEven()) 1190 var ac = m.isEven(); 1191 if((this.isEven() && ac) || m.signum() == 0) return BigInteger.ZERO; 1195 while(u.isEven()) { 1198 if(!a.isEven() || !b.isEven()) { a.addTo(this,a); b.subTo(m,b); } 1201 else if(!b.isEven()) b.subTo(m,b) [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/v8-v6/ |
v8-crypto.js | 628 if(e < 256 || m.isEven()) z = new Classic(m); else z = new Montgomery(m); 646 BigInteger.prototype.isEven = bnpIsEven; 757 if(this.isEven()) this.dAddOffset(1,0); // force odd 1101 else if(m.isEven()) 1190 var ac = m.isEven(); 1191 if((this.isEven() && ac) || m.signum() == 0) return BigInteger.ZERO; 1195 while(u.isEven()) { 1198 if(!a.isEven() || !b.isEven()) { a.addTo(this,a); b.subTo(m,b); } 1201 else if(!b.isEven()) b.subTo(m,b) [all...] |
/external/chromium_org/v8/benchmarks/ |
crypto.js | 636 if(e < 256 || m.isEven()) z = new Classic(m); else z = new Montgomery(m); 654 BigInteger.prototype.isEven = bnpIsEven; 765 if(this.isEven()) this.dAddOffset(1,0); // force odd 1109 else if(m.isEven()) 1198 var ac = m.isEven(); 1199 if((this.isEven() && ac) || m.signum() == 0) return BigInteger.ZERO; 1203 while(u.isEven()) { [all...] |
/external/v8/benchmarks/ |
crypto.js | 636 if(e < 256 || m.isEven()) z = new Classic(m); else z = new Montgomery(m); 654 BigInteger.prototype.isEven = bnpIsEven; 765 if(this.isEven()) this.dAddOffset(1,0); // force odd 1109 else if(m.isEven()) 1198 var ac = m.isEven(); 1199 if((this.isEven() && ac) || m.signum() == 0) return BigInteger.ZERO; 1203 while(u.isEven()) { [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
IteratorsTest.java | 273 final Predicate<Integer> isEven = new Predicate<Integer>() { 282 return Iterators.filter(list.iterator(), isEven); [all...] |
/external/clang/lib/AST/ |
Expr.cpp | [all...] |
/external/chromium_org/third_party/WebKit/PerformanceTests/Dromaeo/resources/dromaeo/web/lib/ |
dojo-1.6.1.js | [all...] |