Home
last modified time | relevance | path

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

123

/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/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/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()
DNegatedFloatValue.java44 public FloatValue negate() in negate() method in NegatedFloatValue
DNegatedDoubleValue.java44 public DoubleValue negate() in negate() method in NegatedDoubleValue
DNegatedIntegerValue.java44 public IntegerValue negate() in negate() method in NegatedIntegerValue
DNegatedLongValue.java44 public LongValue negate() in negate() method in NegatedLongValue
/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()
Dneq_test.cpp36 transform((int*)input, (int*)input + 3, (int*)output, negate<int>()); in negate0()
/external/skia/src/core/
DSkStrokerPriv.cpp118 after.negate(); in BluntJoiner()
142 before.negate(); in RoundJoiner()
143 after.negate(); in RoundJoiner()
196 before.negate(); in MiterJoiner()
197 after.negate(); in MiterJoiner()
233 mid.negate(); in MiterJoiner()
DSk64.cpp130 void Sk64::negate() in negate() function in Sk64
205 this->negate(); in setMul()
238 this->negate(); in div()
283 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/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()
DECFieldElement.java17 public abstract ECFieldElement negate(); in negate() method in ECFieldElement
90 public ECFieldElement negate() in negate() method in ECFieldElement.Fp
92 return new Fp(q, x.negate().mod(q)); in negate()
1025 public ECFieldElement negate() in negate() method in ECFieldElement.F2m
/external/guava/src/com/google/common/base/
DCharMatcher.java288 @Override public CharMatcher negate() {
352 @Override public CharMatcher negate() {
383 @Override public CharMatcher negate() { in is() method in CharMatcher
413 @Override public CharMatcher negate() {
466 return anyOf(sequence).negate();
529 public CharMatcher negate() {
545 @Override public CharMatcher negate() {
867 return negate().removeFrom(sequence);
1081 int first = negate().indexIn(sequence);
/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/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/
DBigDecimalCompareTest.java424 assertEquals("incorrect value", cNumber, aNumber.negate()); in testNegatePositive()
439 BigDecimal res = aNumber.negate(mc); in testNegateMathContextPositive()
454 assertEquals("incorrect value", cNumber, aNumber.negate()); in testNegateNegative()
469 BigDecimal res = aNumber.negate(mc); in testNegateMathContextNegative()

123