Home
last modified time | relevance | path

Searched refs:negate (Results 1 – 25 of 123) sorted by relevance

12345

/external/proguard/src/proguard/util/
DListMatcher.java34 private final boolean[] negate; field in ListMatcher
43 public ListMatcher(StringMatcher[] matchers, boolean[] negate) in ListMatcher() argument
46 this.negate = negate; in ListMatcher()
60 return negate == null || in matches()
61 !negate[index]; in matches()
65 return negate != null && in matches()
66 negate[negate.length - 1]; in matches()
/external/apache-harmony/math/src/test/java/tests/api/java/math/
DBigIntegerTest.java153 .setBit(16).subtract(two).negate())); in test_ConstructorI$B()
249 assertTrue("bi3=copy of bi3", bi3.equals(bi3.negate().negate())); in test_equalsLjava_lang_Object()
261 two.negate().compareTo(one) < 0); in test_compareToLjava_math_BigInteger()
297 .add(aZillion.negate()).equals(aZillion)); in test_addLjava_math_BigInteger()
331 .negate().equals(zero)); in test_negate()
333 !aZillion.negate().equals(aZillion)); in test_negate()
335 aZillion.negate().negate().equals(aZillion)); in test_negate()
337 assertTrue("0.neg", zero.negate().equals(zero)); in test_negate()
338 assertTrue("1.neg", one.negate().equals(minusOne)); in test_negate()
339 assertTrue("2.neg", two.negate().equals(minusTwo)); in test_negate()
[all …]
DBigDecimalTest.java372 hash2 = new BigDecimal(value.negate(), 2); in test_hashCode()
400 BigDecimal long1 = new BigDecimal(value2.negate(), 0); in test_longValue()
453 movePtLeft = new BigDecimal(value2.negate(), 0); in test_movePointLeftI()
541 .negate().toString().equals("-1233.4560000")); in test_negate()
543 assertTrue("the negate of -23465839 is not 23465839", negate1.negate() in test_negate()
546 assertTrue("the negate of -3.456E6 is not 3.456E6", negate1.negate() in test_negate()
547 .negate().equals(negate1)); in test_negate()
616 BigDecimal setNeg = new BigDecimal(value.negate(), 4); in test_setScaleII()
754 result.equals(result2.negate())); in test_subtractLjava_math_BigDecimal()
/external/guava/guava-tests/test/com/google/common/base/
DCharMatcherTest.java61 assertSame(CharMatcher.ANY, CharMatcher.NONE.negate()); in testAnyAndNone_logicalOps()
62 assertSame(CharMatcher.NONE, CharMatcher.ANY.negate()); in testAnyAndNone_logicalOps()
128 reallyTestEmpty(matcher.negate()); in doTestEmpty()
173 doTestNoMatches(inRange('A', 'Z').and(inRange('F', 'K').negate()), "F1a"); in testNoMatches()
182 reallyTestAllMatches(matcher.negate(), s); in doTestNoMatches()
184 reallyTestAllMatches(matcher.negate().precomputed(), s); in doTestNoMatches()
185 reallyTestAllMatches(matcher.precomputed().negate(), s); in doTestNoMatches()
209 reallyTestNoMatches(matcher.negate(), s); in doTestAllMatches()
211 reallyTestNoMatches(matcher.negate().precomputed(), s); in doTestAllMatches()
212 reallyTestNoMatches(matcher.precomputed().negate(), s); in doTestAllMatches()
[all …]
/external/llvm/utils/lit/lit/
DShCommands.py39 def __init__(self, commands, negate=False, pipe_err=False): argument
41 self.negate = negate
45 return 'Pipeline(%r, %r, %r)' % (self.commands, self.negate,
52 return cmp((self.commands, self.negate, self.pipe_err),
53 (other.commands, other.negate, self.pipe_err))
58 if self.negate:
/external/stlport/test/unit/
Dunary_test.cpp79 …input, (int*)input + 3, output, unary_compose<square_root, negate<int> >(square_root(), negate<int… in ucompos1()
92 transform((int*)input, (int*)input + 3, output, compose1(square_root(), negate<int>())); in ucompos2()
/external/proguard/src/proguard/evaluation/value/
DDoubleValue.java46 public abstract DoubleValue negate(); in negate() method in DoubleValue
128 return compare(other).negate(); in compareReverse()
231 return compare(other).negate(); in compareReverse()
334 return compare(other).negate(); in compareReverse()
DFloatValue.java46 public abstract FloatValue negate(); in negate() method in FloatValue
128 return compare(other).negate(); in compareReverse()
231 return compare(other).negate(); in compareReverse()
334 return compare(other).negate(); in compareReverse()
DLongValue.java46 public abstract LongValue negate(); in negate() method in LongValue
217 return compare(other).negate(); in compareReverse()
373 return compare(other).negate(); in compareReverse()
529 return compare(other).negate(); in compareReverse()
DParticularDoubleValue.java52 public DoubleValue negate() in negate() method in ParticularDoubleValue
87 return value == 0.0 ? other.negate() : other.subtractFrom(this); in subtract()
DParticularFloatValue.java52 public FloatValue negate() in negate() method in ParticularFloatValue
87 return value == 0.0 ? other.negate() : other.subtractFrom(this); in subtract()
DNegatedLongValue.java44 public LongValue negate() in negate() method in NegatedLongValue
/external/skia/src/core/
DSkStrokerPriv.cpp110 after.negate(); in BluntJoiner()
134 before.negate(); in RoundJoiner()
135 after.negate(); in RoundJoiner()
188 before.negate(); in MiterJoiner()
189 after.negate(); in MiterJoiner()
225 mid.negate(); in MiterJoiner()
DSk64.cpp121 void Sk64::negate() in negate() function in Sk64
196 this->negate(); in setMul()
229 this->negate(); in div()
274 this->negate(); in div()
/external/skia/legacy/src/core/
DSkStrokerPriv.cpp110 after.negate(); in BluntJoiner()
134 before.negate(); in RoundJoiner()
135 after.negate(); in RoundJoiner()
188 before.negate(); in MiterJoiner()
189 after.negate(); in MiterJoiner()
225 mid.negate(); in MiterJoiner()
DSk64.cpp123 void Sk64::negate() in negate() function in Sk64
198 this->negate(); in setMul()
231 this->negate(); in div()
276 this->negate(); in div()
/external/e2fsprogs/misc/
Dfsck.c733 int negate; member
748 int negate, first_negate = 1; in compile_fs_type() local
766 cmp->negate = 0; in compile_fs_type()
775 negate = 0; in compile_fs_type()
778 negate = 1; in compile_fs_type()
781 negate = 1; in compile_fs_type()
789 cmp->type[num] = negate ? FS_TYPE_NEGOPT : FS_TYPE_OPT; in compile_fs_type()
792 cmp->negate = negate; in compile_fs_type()
795 if ((negate && !cmp->negate) || in compile_fs_type()
796 (!negate && cmp->negate)) { in compile_fs_type()
[all …]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
DECPoint.java115 public abstract ECPoint negate(); in negate() method in ECPoint
309 return add(b.negate()); in subtract()
312 public ECPoint negate() in negate() method in ECPoint.Fp
314 return new ECPoint.Fp(curve, this.x, this.y.negate(), this.withCompression); in negate()
529 return addSimple((ECPoint.F2m)b.negate()); in subtractSimple()
565 public ECPoint negate() in negate() method in ECPoint.F2m
DTnaf.java14 private static final BigInteger MINUS_ONE = ECConstants.ONE.negate();
15 private static final BigInteger MINUS_TWO = ECConstants.TWO.negate();
16 private static final BigInteger MINUS_THREE = ECConstants.THREE.negate();
375 r1 = t.shiftRight(1).negate(); in tauAdicNaf()
484 s = u1.negate(); in getLucas()
578 si[1] = dividend1.shiftRight(1).negate(); in getSi()
583 si[1] = dividend1.shiftRight(2).negate(); in getSi()
808 r1 = t.shiftRight(1).negate(); in tauAdicWNaf()
DSimpleBigDecimal.java99 public SimpleBigDecimal negate() in negate() method in SimpleBigDecimal
101 return new SimpleBigDecimal(bigInt.negate(), scale); in negate()
106 return add(b.negate()); in subtract()
/external/guava/guava/src/com/google/common/base/
DCharMatcher.java287 @Override public CharMatcher negate() {
363 @Override public CharMatcher negate() {
397 @Override public CharMatcher negate() { in is() method in CharMatcher
430 @Override public CharMatcher negate() {
486 return anyOf(sequence).negate();
556 public CharMatcher negate() {
575 @Override public CharMatcher negate() {
903 return negate().removeFrom(sequence);
1117 int first = negate().indexIn(sequence);
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/
DKnownHosts.java339 boolean negate = false; in hostnameMatches()
359 negate = true; in hostnameMatches()
364 negate = false; in hostnameMatches()
369 if ((isMatch) && (negate == false)) in hostnameMatches()
380 if (negate) in hostnameMatches()
395 if (negate) in hostnameMatches()
404 if (negate) in hostnameMatches()
/external/jmonkeyengine/engine/src/test/jme3test/bullet/
DTestPhysicsCharacter.java139 walkDirection.addLocal(camLeft.negate()); in simpleUpdate()
145 viewDirection.addLocal(camLeft.mult(0.02f).negate()); in simpleUpdate()
151 walkDirection.addLocal(camDir.negate()); in simpleUpdate()
/external/webkit/Source/WebCore/inspector/front-end/UglifyJS/
Dprocess.js612 function negate(c) { function
619 c[c.length - 1] = negate(c[c.length - 1]);
622 return best_of(not_c, [ "conditional", c[1], negate(c[2]), negate(c[3]) ]);
636 … case "&&" : return best_of(not_c, [ "binary", "||", negate(left), negate(right) ]);
637 … case "||" : return best_of(not_c, [ "binary", "&&", negate(left), negate(right) ]);
736 … a.push(make_if(negate(stat[1]), [ "block", statements.slice(i) ]));
759 c = negate(c);
768 var n = negate(c);
808 ret = [ [ "if", negate(c), e ] ];
902 ret = best_of(ret, negate(expr));
/external/jmonkeyengine/engine/src/test/jme3test/helloworld/
DHelloCollision.java172 if (right) { walkDirection.addLocal(camLeft.negate()); } in simpleUpdate()
174 if (down) { walkDirection.addLocal(camDir.negate()); } in simpleUpdate()

12345