/external/webrtc/webrtc/system_wrappers/source/ |
D | stl_util_unittest.cc | 88 std::set<int> difference; in TEST() local 89 difference.insert(1); in TEST() 90 difference.insert(2); in TEST() 91 EXPECT_EQ(difference, STLSetDifference<std::set<int> >(a1, a2)); in TEST() 95 std::set<int> difference; in TEST() local 96 difference.insert(5); in TEST() 97 difference.insert(6); in TEST() 98 difference.insert(7); in TEST() 99 EXPECT_EQ(difference, STLSetDifference<std::set<int> >(a2, a1)); in TEST() 103 std::vector<int> difference; in TEST() local [all …]
|
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ |
D | count_instructions.c | 32 s64 difference, expected; in do_count_loop() local 46 difference = events[0].result.value - expected; in do_count_loop() 47 percentage = (double)difference / events[0].result.value * 100; in do_count_loop() 56 printf("Delta %lld, %f%%\n", difference, percentage); in do_count_loop() 62 if (difference < 0) in do_count_loop() 63 difference = -difference; in do_count_loop() 66 difference *= 10000 * 100; in do_count_loop() 67 if (difference / events[0].result.value) in do_count_loop()
|
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
D | instruction_count_test.c | 28 int64_t difference, expected; in do_count_loop() local 47 difference = event->result.value - expected; in do_count_loop() 48 percentage = (double)difference / event->result.value * 100; in do_count_loop() 54 printf("Delta %ld, %f%%\n", difference, percentage); in do_count_loop() 58 if (difference < 0) in do_count_loop() 59 difference = -difference; in do_count_loop() 62 difference *= 10000 * 100; in do_count_loop() 63 if (difference / event->result.value) in do_count_loop()
|
/external/fonttools/Lib/fontTools/misc/ |
D | classifyTools.py | 35 difference = s 39 if difference: 40 things.update(difference) 41 sets.append(difference) 42 for thing in difference: 43 mapping[thing] = difference 44 del difference
|
/external/libchrome/base/ |
D | stl_util_unittest.cc | 328 std::set<int> difference; in TEST() local 329 difference.insert(1); in TEST() 330 difference.insert(2); in TEST() 331 EXPECT_EQ(difference, STLSetDifference<std::set<int> >(a1, a2)); in TEST() 335 std::set<int> difference; in TEST() local 336 difference.insert(5); in TEST() 337 difference.insert(6); in TEST() 338 difference.insert(7); in TEST() 339 EXPECT_EQ(difference, STLSetDifference<std::set<int> >(a2, a1)); in TEST() 343 std::vector<int> difference; in TEST() local [all …]
|
/external/crcalc/src/com/hp/creals/ |
D | UnaryCRFunction.java | 333 BigInteger difference = x.subtract(y); in sloppy_compare() local 334 if (difference.compareTo(big1) > 0) { in sloppy_compare() 337 if (difference.compareTo(bigm1) < 0) { in sloppy_compare() 431 BigInteger difference = h.subtract(l); in approximate() local 441 if (difference.compareTo(big6) < 0) { in approximate() 463 BigInteger t = arg_difference.multiply(difference); in approximate() 471 if (adj.compareTo(difference.shiftRight(10)) < 0) { in approximate() 474 } else if (adj.compareTo(difference.multiply(BIG1023) in approximate() 476 adj = difference.subtract(difference.subtract(adj) in approximate() 482 if (adj.compareTo(difference) >= 0) in approximate() [all …]
|
/external/javaparser/javaparser-core/src/main/java/com/github/javaparser/utils/ |
D | CodeGenerationUtils.java | 129 public static Path subtractPaths(Path full, Path difference) { in subtractPaths() argument 130 while (difference != null) { in subtractPaths() 131 if (difference.getFileName().equals(full.getFileName())) { in subtractPaths() 132 difference = difference.getParent(); in subtractPaths() 135 … throw new RuntimeException(f("'%s' could not be subtracted from '%s'", difference, full)); in subtractPaths()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | sets_test.py | 565 difference = self._set_difference(a, sp_b, True) 570 difference, 577 difference = self._set_difference(sp_a, sp_b, True) 582 difference, 594 difference = self._set_difference(a, sp_b, False) 599 difference, 605 difference = self._set_difference(sp_a, sp_b, False) 610 difference, 633 difference = self._set_difference(a, b, True) 638 difference, [all …]
|
/external/libevent/sample/ |
D | time-test.c | 45 struct timeval newtime, difference; in timeout_cb() local 50 evutil_timersub(&newtime, &lasttime, &difference); in timeout_cb() 51 elapsed = difference.tv_sec + in timeout_cb() 52 (difference.tv_usec / 1.0e6); in timeout_cb()
|
/external/python/cpython2/Modules/_multiprocessing/ |
D | pipe_connection.c | 96 int difference, res; in conn_poll() local 120 difference = deadline - GetTickCount(); in conn_poll() 121 if (difference < 0) in conn_poll() 123 if ((int)delay > difference) in conn_poll() 124 delay = difference; in conn_poll()
|
/external/libsrtp2/crypto/replay/ |
D | rdbx.c | 135 int32_t difference; in srtp_index_guess() local 140 difference = s - local_seq - seq_num_max; in srtp_index_guess() 143 difference = s - local_seq; in srtp_index_guess() 148 difference = s - local_seq + seq_num_max; in srtp_index_guess() 151 difference = s - local_seq; in srtp_index_guess() 163 return difference; in srtp_index_guess()
|
/external/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/ |
D | TimestampTest.cs | 99 …Duration difference = new Duration { Seconds = 1999, Nanos = Duration.NanosecondsPerSecond - 5000 … in Arithmetic() 100 Assert.AreEqual(difference, t1 - t2); in Arithmetic() 101 Assert.AreEqual(-difference, t2 - t1); in Arithmetic() 103 Assert.AreEqual(t1, t2 + difference); in Arithmetic() 104 Assert.AreEqual(t2, t1 - difference); in Arithmetic()
|
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/ |
D | SimpleScalarValueChecker.java | 77 final double difference = FastMath.abs(p - c); in converged() local 79 return (difference <= (size * relativeThreshold)) || (difference <= absoluteThreshold); in converged()
|
D | SimpleRealPointChecker.java | 78 final double difference = FastMath.abs(p[i] - c[i]); in converged() local 80 if ((difference > (size * relativeThreshold)) && (difference > absoluteThreshold)) { in converged()
|
D | SimpleVectorialPointChecker.java | 80 final double difference = FastMath.abs(pi - ci); in converged() local 82 if ((difference > (size * relativeThreshold)) && in converged() 83 (difference > absoluteThreshold)) { in converged()
|
D | SimpleVectorialValueChecker.java | 80 final double difference = FastMath.abs(pi - ci); in converged() local 82 if ((difference > (size * relativeThreshold)) && in converged() 83 (difference > absoluteThreshold)) { in converged()
|
/external/autotest/client/site_tests/security_SysVIPC/ |
D | security_SysVIPC.py | 79 missing = self.expected_shm.difference(observed_shm) 80 extra = observed_shm.difference(self.expected_shm) 91 missing = self.expected_sem.difference(observed_sem) 92 extra = observed_sem.difference(self.expected_sem)
|
/external/google-breakpad/src/testing/gtest/samples/ |
D | sample10_unittest.cc | 87 int difference = Water::allocated() - initially_allocated_; in OnTestEnd() local 92 EXPECT_LE(difference, 0) << "Leaked " << difference << " unit(s) of Water!"; in OnTestEnd()
|
/external/googletest/googletest/samples/ |
D | sample10_unittest.cc | 83 int difference = Water::allocated() - initially_allocated_; in OnTestEnd() local 88 EXPECT_LE(difference, 0) << "Leaked " << difference << " unit(s) of Water!"; in OnTestEnd()
|
/external/compiler-rt/lib/esan/ |
D | esan_flags.inc | 43 // This controls the difference in frequency between each successive series 53 // The difference information of a struct is reported if the struct's difference 55 ESAN_FLAG(int, report_threshold, 1<<10, "Cache-frag tool: the struct difference"
|
/external/guava/android/guava-tests/test/com/google/common/collect/ |
D | SetOperationsTest.java | 213 return Sets.difference(Sets.<String>newHashSet(), Sets.<String>newHashSet()); in suite() 226 return Sets.difference(Sets.newHashSet("a"), Sets.newHashSet("a")); in suite() 241 return Sets.difference(set, other); in suite() 258 return Sets.difference(set, other); in suite() 273 return Sets.difference(Sets.newHashSet(elements), Sets.newHashSet()); in suite() 286 return Sets.difference( in suite() 341 Set<String> goodFriends = Sets.difference(friends, enemies); in testDifference() 344 ImmutableSet<String> immut = Sets.difference(friends, enemies).immutableCopy(); in testDifference() 345 HashSet<String> mut = Sets.difference(friends, enemies).copyInto(new HashSet<String>()); in testDifference()
|
/external/guava/guava-tests/test/com/google/common/collect/ |
D | SetOperationsTest.java | 213 return Sets.difference(Sets.<String>newHashSet(), Sets.<String>newHashSet()); in suite() 226 return Sets.difference(Sets.newHashSet("a"), Sets.newHashSet("a")); in suite() 241 return Sets.difference(set, other); in suite() 258 return Sets.difference(set, other); in suite() 273 return Sets.difference(Sets.newHashSet(elements), Sets.newHashSet()); in suite() 286 return Sets.difference( in suite() 341 Set<String> goodFriends = Sets.difference(friends, enemies); in testDifference() 344 ImmutableSet<String> immut = Sets.difference(friends, enemies).immutableCopy(); in testDifference() 345 HashSet<String> mut = Sets.difference(friends, enemies).copyInto(new HashSet<String>()); in testDifference()
|
/external/skia/gn/ |
D | gn_to_bp.py | 405 android_srcs = android_srcs.difference(srcs) 406 linux_srcs = linux_srcs.difference(srcs) 407 mac_srcs = mac_srcs.difference(srcs) 408 win_srcs = win_srcs.difference(srcs) 437 p = sorted(platforms.difference({ desired }))
|
/external/v8/src/numbers/ |
D | bignum.cc | 192 Chunk difference = bigits_[i + offset] - other.bigits_[i] - borrow; in SubtractBignum() local 193 bigits_[i + offset] = difference & kBigitMask; in SubtractBignum() 194 borrow = difference >> (kChunkSize - 1); in SubtractBignum() 197 Chunk difference = bigits_[i + offset] - borrow; in SubtractBignum() local 198 bigits_[i + offset] = difference & kBigitMask; in SubtractBignum() 199 borrow = difference >> (kChunkSize - 1); in SubtractBignum() 698 Chunk difference = in SubtractTimes() local 700 bigits_[i + exponent_diff] = difference & kBigitMask; in SubtractTimes() 701 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) + in SubtractTimes() 706 Chunk difference = bigits_[i] - borrow; in SubtractTimes() local [all …]
|
/external/icu/icu4c/source/i18n/ |
D | double-conversion-bignum.cpp | 238 const Chunk difference = RawBigit(i + offset) - other.RawBigit(i) - borrow; in SubtractBignum() local 239 RawBigit(i + offset) = difference & kBigitMask; in SubtractBignum() 240 borrow = difference >> (kChunkSize - 1); in SubtractBignum() 243 const Chunk difference = RawBigit(i + offset) - borrow; in SubtractBignum() local 244 RawBigit(i + offset) = difference & kBigitMask; in SubtractBignum() 245 borrow = difference >> (kChunkSize - 1); in SubtractBignum() 793 const Chunk difference = RawBigit(i + exponent_diff) - (remove & kBigitMask); in SubtractTimes() local 794 RawBigit(i + exponent_diff) = difference & kBigitMask; in SubtractTimes() 795 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) + in SubtractTimes() 802 const Chunk difference = RawBigit(i) - borrow; in SubtractTimes() local [all …]
|