Home
last modified time | relevance | path

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

12345678910>>...23

/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/libchrome/base/
Dstl_util_unittest.cc81 std::set<int> difference; in TEST() local
82 difference.insert(1); in TEST()
83 difference.insert(2); in TEST()
84 EXPECT_EQ(difference, STLSetDifference<std::set<int> >(a1, a2)); in TEST()
88 std::set<int> difference; in TEST() local
89 difference.insert(5); in TEST()
90 difference.insert(6); in TEST()
91 difference.insert(7); in TEST()
92 EXPECT_EQ(difference, STLSetDifference<std::set<int> >(a2, a1)); in TEST()
96 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/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/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/protobuf/csharp/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/v8/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/vulkan-validation-layers/tests/gtest-1.7.0/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.cc87 int difference = Water::allocated() - initially_allocated_; in OnTestEnd() local
92 EXPECT_LE(difference, 0) << "Leaked " << difference << " unit(s) of Water!"; in OnTestEnd()
/external/protobuf/gtest/samples/
Dsample10_unittest.cc87 int difference = Water::allocated() - initially_allocated_; in OnTestEnd() local
92 EXPECT_TRUE(difference <= 0) in OnTestEnd()
93 << "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/guava-tests/test/com/google/common/collect/
DSetOperationsTest.java189 return Sets.difference( in suite()
200 return Sets.difference(Sets.newHashSet("a"), Sets.newHashSet("a")); in suite()
212 return Sets.difference(set, other); in suite()
226 return Sets.difference(set, other); in suite()
236 return Sets.difference( in suite()
247 return Sets.difference( in suite()
304 Set<String> goodFriends = Sets.difference(friends, enemies); in testDifference()
308 = Sets.difference(friends, enemies).immutableCopy(); in testDifference()
310 = Sets.difference(friends, enemies).copyInto(new HashSet<String>()); in testDifference()
/external/v8/src/
Dbignum.cc205 Chunk difference = bigits_[i + offset] - other.bigits_[i] - borrow; in SubtractBignum() local
206 bigits_[i + offset] = difference & kBigitMask; in SubtractBignum()
207 borrow = difference >> (kChunkSize - 1); in SubtractBignum()
210 Chunk difference = bigits_[i + offset] - borrow; in SubtractBignum() local
211 bigits_[i + offset] = difference & kBigitMask; in SubtractBignum()
212 borrow = difference >> (kChunkSize - 1); in SubtractBignum()
729 Chunk difference = in SubtractTimes() local
731 bigits_[i + exponent_diff] = difference & kBigitMask; in SubtractTimes()
732 borrow = static_cast<Chunk>((difference >> (kChunkSize - 1)) + in SubtractTimes()
737 Chunk difference = bigits_[i] - borrow; in SubtractTimes() local
[all …]
/external/autotest/server/site_tests/platform_GCC/
Dplatform_GCC.py114 for difference in differences:
116 (log_to, difference[0],
117 difference[1], difference[2]))
/external/autotest/client/site_tests/platform_LibCBench/
Dplatform_LibCBench.py67 difference = maximum - minimum
68 percent_difference = difference / average * 100
72 (benchmark, minimum, maximum, difference, average,
/external/mesa3d/src/gallium/drivers/swr/rasterizer/scripts/mako/
Dparsetree.py188 self.escapes_code.undeclared_identifiers.difference(
191 ).difference(self.code.declared_identifiers)
351 difference(set(["__DUMMY"])).\
352 difference(self.page_args.declared_identifiers)
397 difference(filters.DEFAULT_ESCAPES.keys()).union(
450 difference(filters.DEFAULT_ESCAPES.keys())
453 ).difference(
510 difference(filters.DEFAULT_ESCAPES.keys())
531 difference(self.code.declared_identifiers)
561 difference(self.code.declared_identifiers)
/external/clang/utils/check_cfc/
Dcheck_cfc.py267 difference = obj_diff.compare_object_files(self._output_file_a,
269 if difference:
271 "Code difference detected with -g\n{}".format(difference))
291 difference = obj_diff.compare_object_files(self._output_file_a,
293 if difference:
295 "Code difference detected with -S\n{}".format(difference))
Dobj_diff.py62 difference = "\n".join(diff)
64 difference += "\n*** Diff truncated ***"
65 return difference

12345678910>>...23