/external/proguard/src/proguard/util/ |
D | ListMatcher.java | 34 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/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
D | CharMatcherTest.java | 59 assertSame(CharMatcher.ANY, CharMatcher.NONE.negate()); in testAnyAndNone_logicalOps() 60 assertSame(CharMatcher.NONE, CharMatcher.ANY.negate()); in testAnyAndNone_logicalOps() 109 reallyTestEmpty(matcher.negate()); in doTestEmpty() 148 doTestNoMatches(inRange('A', 'Z').and(inRange('F', 'K').negate()), "F1a"); in testNoMatches() 157 reallyTestAllMatches(matcher.negate(), s); in doTestNoMatches() 159 reallyTestAllMatches(matcher.negate().precomputed(), s); in doTestNoMatches() 160 reallyTestAllMatches(matcher.precomputed().negate(), s); in doTestNoMatches() 184 reallyTestNoMatches(matcher.negate(), s); in doTestAllMatches() 186 reallyTestNoMatches(matcher.negate().precomputed(), s); in doTestAllMatches() 187 reallyTestNoMatches(matcher.precomputed().negate(), s); in doTestAllMatches() [all …]
|
/external/guava/guava-tests/test/com/google/common/base/ |
D | CharMatcherTest.java | 70 assertSame(CharMatcher.ANY, CharMatcher.NONE.negate()); in testAnyAndNone_logicalOps() 71 assertSame(CharMatcher.NONE, CharMatcher.ANY.negate()); in testAnyAndNone_logicalOps() 129 doTestSetBits(inRange('A', 'Z').and(inRange('F', 'K').negate())); in testSetBits() 172 reallyTestEmpty(matcher.negate()); in doTestEmpty() 217 doTestNoMatches(inRange('A', 'Z').and(inRange('F', 'K').negate()), "F1a"); in testNoMatches() 226 reallyTestAllMatches(matcher.negate(), s); in doTestNoMatches() 228 reallyTestAllMatches(matcher.negate().precomputed(), s); in doTestNoMatches() 229 reallyTestAllMatches(matcher.precomputed().negate(), s); in doTestNoMatches() 253 reallyTestNoMatches(matcher.negate(), s); in doTestAllMatches() 255 reallyTestNoMatches(matcher.negate().precomputed(), s); in doTestAllMatches() [all …]
|
/external/llvm/utils/lit/lit/ |
D | ShCommands.py | 39 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 ((self.commands, self.negate, self.pipe_err) == 53 (other.commands, other.negate, self.pipe_err)) 58 if self.negate:
|
/external/crcalc/tests/src/com/hp/creals/ |
D | CRTest.java | 73 check(one.negate().signum() == -1, "signum(-1) failed"); in testCR() 83 check_eq(one.negate().abs(),one, "abs failed 2"); in testCR() 88 check_eq(one.negate().add(two), one, "negate failed"); in testCR() 89 check(one.negate().signum() == -1, "signum(-1) failed"); in testCR() 92 check_eq(two.divide(one.negate()), two.negate(), "divide(neg) failed"); in testCR() 117 check_eq(asin.execute(one.negate()), in testCR() 118 half_pi.negate(), "asin(-1) failed"); in testCR() 129 check_eq(atan.execute(tan.execute(one.negate())), one.negate(), in testCR()
|
D | SlowCRTest.java | 61 UnaryCRFunction.sinFunction.inverseMonotone(HALF_PI.negate(), 167 checkEq(ONE.negate().acos(), CR.PI, "acos(-1)"); in testSlowTrig() 170 checkEq(ONE.negate().asin(), CR.PI.divide(TWO).negate(), "asin(-1)"); in testSlowTrig() 174 checkTrig(BIG.negate()); in testSlowTrig() 176 checkTrig(SMALL.negate()); in testSlowTrig() 180 checkTrig(CR.PI.negate()); in testSlowTrig() 181 checkTrig(CR.PI.negate().subtract(SMALL)); in testSlowTrig() 182 checkTrig(CR.PI.negate().add(SMALL)); in testSlowTrig() 204 checkExpLn(BIG.negate()); in testSlowExpLn() 206 checkExpLn(SMALL.negate()); in testSlowExpLn() [all …]
|
/external/libcxx/test/std/utilities/function.objects/arithmetic.operations/ |
D | negate.pass.cpp | 20 typedef std::negate<int> F; in main() 26 typedef std::negate<> F2; in main() 32 constexpr int foo = std::negate<int> () (3); in main() 35 constexpr int bar = std::negate<> () (3.0); in main()
|
D | transparent.pass.cpp | 53 static_assert ( !is_transparent<std::negate<int>>::value, "" ); in main() 54 static_assert ( !is_transparent<std::negate<std::string>>::value, "" ); in main() 55 static_assert ( is_transparent<std::negate<void>>::value, "" ); in main() 56 static_assert ( is_transparent<std::negate<>>::value, "" ); in main()
|
/external/mesa3d/src/mesa/drivers/dri/i965/ |
D | brw_vec4_copy_propagation.cpp | 86 if (inst->src[arg].negate) { in try_constant_propagation() 178 value.negate != values[i]->negate || in try_copy_propagation() 201 value.negate = false; in try_copy_propagation() 204 if (inst->src[arg].negate) in try_copy_propagation() 205 value.negate = !value.negate; in try_copy_propagation() 219 value.negate && in try_copy_propagation()
|
D | brw_fs_copy_propagation.cpp | 46 entry->src.negate) in try_copy_propagate() 49 bool has_source_modifiers = entry->src.abs || entry->src.negate; in try_copy_propagate() 61 inst->src[arg].negate ^= entry->src.negate; in try_copy_propagate()
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
D | Tnaf.java | 14 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() 480 s = u1.negate(); in getLucas() 553 ui[0] = ui[0].negate(); in getSi() 554 ui[1] = ui[1].negate(); in getSi() 558 BigInteger dividend1 = ECConstants.ONE.add(ui[0]).shiftRight(shifts).negate(); in getSi() 571 ui[0] = ui[0].negate(); in getSi() 572 ui[1] = ui[1].negate(); in getSi() [all …]
|
/external/mesa3d/src/mesa/drivers/dri/i915/ |
D | i915_fragprog.c | 193 src = negate(src, in src_vector() 419 src0, negate(src0, 1, 1, 1, 1), 0); in upload_program() 465 negate(swizzle(tmp, ZERO, X, ZERO, ZERO), 0, 1, 0, 0), in upload_program() 491 negate(swizzle(tmp, ZERO, X, ZERO, ZERO), 0, 1, 0, 0), in upload_program() 500 negate(swizzle(tmp, ZERO, X, ZERO, ZERO), 0, 1, 0, 0)); in upload_program() 601 negate(swizzle(tmp, ONE, ONE, ONE, ONE), in upload_program() 648 negate(swizzle(tmp, ONE, ONE, X, ONE), 0, 0, 1, 0), in upload_program() 673 flags, 0, negate(src2, 1, 1, 1, 1), src0, tmp); in upload_program() 693 negate(src0, 1, 1, 1, 1), in upload_program() 694 negate(src1, 1, 1, 1, 1), 0); in upload_program() [all …]
|
/external/mesa3d/src/mesa/program/ |
D | ir_to_mesa.cpp | 80 this->negate = 0; in src_reg() 89 this->negate = 0; in src_reg() 98 int negate; /**< NEGATE_XYZW mask from mesa */ member in src_reg 138 this->negate = 0; in src_reg() 653 src.negate = 0; in get_temp() 902 b.negate = ~b.negate; in try_emit_mad_for_and_not() 982 bool negate[4] = { false }; in emit_swz() local 1003 negate[i] = true; in emit_swz() 1027 negate[i] = true; in emit_swz() 1069 src.negate = ((unsigned(negate[0]) << 0) in emit_swz() [all …]
|
/external/mesa3d/src/gallium/drivers/r300/compiler/ |
D | radeon_program_alu.c | 156 static struct rc_src_register negate(struct rc_src_register reg) in negate() function 253 emit1(c, inst->Prev, RC_OPCODE_FRC, 0, dst, negate(inst->U.I.SrcReg[0])); in transform_CEIL() 320 inst->U.I.SrcReg[0], negate(srcreg(RC_FILE_TEMPORARY, dst.Index))); in transform_FLR() 336 negate(srcreg(RC_FILE_TEMPORARY, dst.Index))); in transform_TRUNC() 338 negate(srcreg(RC_FILE_TEMPORARY, dst.Index)), srcreg(RC_FILE_TEMPORARY, dst.Index)); in transform_TRUNC() 396 negate(srcregswz(RC_FILE_CONSTANT, constant, constant_swizzle))); in transform_LIT() 413 negate(swizzle_xxxx(srctemp)), in transform_LIT() 432 inst->U.I.SrcReg[1], negate(inst->U.I.SrcReg[2])); in transform_LRP() 488 add_src, negate(frac_src)); in transform_ROUND() 503 emit2(c, inst->Prev, RC_OPCODE_ADD, 0, dst, inst->U.I.SrcReg[0], negate(inst->U.I.SrcReg[1])); in transform_SEQ() [all …]
|
D | radeon_optimize.c | 213 unsigned int negate= 0; in constant_folding_mad() local 215 if (is_src_uniform_constant(inst->U.I.SrcReg[2], &swz, &negate)) { in constant_folding_mad() 222 if (is_src_uniform_constant(inst->U.I.SrcReg[1], &swz, &negate)) { in constant_folding_mad() 225 if (negate) in constant_folding_mad() 236 if (is_src_uniform_constant(inst->U.I.SrcReg[0], &swz, &negate)) { in constant_folding_mad() 239 if (negate) in constant_folding_mad() 254 unsigned int negate = 0; in constant_folding_mul() local 256 if (is_src_uniform_constant(inst->U.I.SrcReg[0], &swz, &negate)) { in constant_folding_mul() 260 if (negate) in constant_folding_mul() 270 if (is_src_uniform_constant(inst->U.I.SrcReg[1], &swz, &negate)) { in constant_folding_mul() [all …]
|
/external/proguard/src/proguard/evaluation/value/ |
D | DoubleValue.java | 46 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()
|
D | FloatValue.java | 46 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()
|
D | LongValue.java | 46 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()
|
/external/mesa3d/src/mesa/drivers/dri/r200/ |
D | r200_vertprog.h | 126 #define MAKE_VSF_SOURCE(in_reg_index, comp_x, comp_y, comp_z, comp_w, class, negate) \ argument 132 | ((negate)<<25) | ((class))) 134 #define EASY_VSF_SOURCE(in_reg_index, comp_x, comp_y, comp_z, comp_w, class, negate) \ argument 140 VSF_IN_CLASS_##class, VSF_FLAG_##negate)
|
/external/skia/src/core/ |
D | SkStrokerPriv.cpp | 104 after.negate(); in BluntJoiner() 128 before.negate(); in RoundJoiner() 129 after.negate(); in RoundJoiner() 175 before.negate(); in MiterJoiner() 176 after.negate(); in MiterJoiner() 212 mid.negate(); in MiterJoiner()
|
/external/e2fsprogs/misc/ |
D | fsck.c | 733 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/apache-commons-math/src/main/java/org/apache/commons/math/dfp/ |
D | DfpMath.java | 555 return x.newInstance(zero.negate()); in pow() 572 x = x.negate(); in pow() 606 return x.newInstance(zero.negate()); in pow() 659 r = r.negate(); in pow() 683 x = x.negate(); in sinInternal() 715 x = x.negate(); in cosInternal() 745 x = x.negate(); in sin() 774 y = y.negate(); in sin() 796 x = x.negate(); in cos() 824 y = y.negate(); in cos() [all …]
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/fraction/ |
D | ProperBigFractionFormat.java | 104 num = num.negate(); in format() 217 whole = whole.negate(); in parse() 221 num = num.negate(); in parse()
|
/external/mesa3d/src/gallium/drivers/i915/ |
D | i915_fpc_translate.c | 114 negate(int reg, int x, int y, int z, int w) in negate() function 275 src = negate(src, n, n, n, n); in src_vector() 508 src0, negate(src0, 1, 1, 1, 1), 0); in i915_translate_instruction() 523 negate(src0, 1, 1, 1, 1), 0, 0); in i915_translate_instruction() 528 negate(tmp, 1, 1, 1, 1), 0, 0); in i915_translate_instruction() 689 negate(swizzle(0, ONE, ONE, ONE, ONE), 1, 1, 1, 1), /* coord */ in i915_translate_instruction() 731 negate(swizzle(tmp, ONE, ONE, X, ONE), 0, 0, 1, 0), in i915_translate_instruction() 756 flags, 0, negate(src2, 1, 1, 1, 1), src0, tmp); in i915_translate_instruction() 776 negate(src0, 1, 1, 1, 1), in i915_translate_instruction() 777 negate(src1, 1, 1, 1, 1), 0); in i915_translate_instruction() [all …]
|
/external/skia/src/ports/ |
D | SkFontMgr_android_parser.h | 165 bool negate = false; in parse_fixed() local 168 negate = true; in parse_fixed() 205 if (negate) { in parse_fixed()
|