Home
last modified time | relevance | path

Searched refs:difference (Results 1 – 25 of 984) sorted by relevance

12345678910>>...40

/external/webrtc/webrtc/system_wrappers/source/
Dstl_util_unittest.cc88 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/
Dcount_instructions.c32 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/
Dinstruction_count_test.c28 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/
DclassifyTools.py35 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/
Dstl_util_unittest.cc328 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/
DUnaryCRFunction.java333 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/
DCodeGenerationUtils.java129 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/
Dsets_test.py565 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/
Dtime-test.c45 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/
Dpipe_connection.c96 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/
Drdbx.c135 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/
DTimestampTest.cs99 …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/
DSimpleScalarValueChecker.java77 final double difference = FastMath.abs(p - c); in converged() local
79 return (difference <= (size * relativeThreshold)) || (difference <= absoluteThreshold); in converged()
DSimpleRealPointChecker.java78 final double difference = FastMath.abs(p[i] - c[i]); in converged() local
80 if ((difference > (size * relativeThreshold)) && (difference > absoluteThreshold)) { in converged()
DSimpleVectorialPointChecker.java80 final double difference = FastMath.abs(pi - ci); in converged() local
82 if ((difference > (size * relativeThreshold)) && in converged()
83 (difference > absoluteThreshold)) { in converged()
DSimpleVectorialValueChecker.java80 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/
Dsecurity_SysVIPC.py79 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/
Dsample10_unittest.cc87 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/
Dsample10_unittest.cc83 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/
Desan_flags.inc43 // 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/
DSetOperationsTest.java213 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/
DSetOperationsTest.java213 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/
Dgn_to_bp.py405 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/
Dbignum.cc192 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/
Ddouble-conversion-bignum.cpp238 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 …]

12345678910>>...40