/cts/libs/view/src/com/android/view/ |
Position.java | 66 double difference = originToOtherAngle - originToThisAngle; local 68 // If the difference exceeds PI or is less then -PI, then we should compensate to 70 if (difference < -Math.PI) { 71 difference += 2 * Math.PI; 72 } else if (difference > Math.PI){ 73 difference -= 2 * Math.PI; 75 return difference;
|
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ |
count_instructions.c | 32 s64 difference, expected; local 46 difference = events[0].result.value - expected; 47 percentage = (double)difference / events[0].result.value * 100; 56 printf("Delta %lld, %f%%\n", difference, percentage); 62 if (difference < 0) 63 difference = -difference; 65 /* Tolerate a difference below 0.0001 % */ 66 difference *= 10000 * 100; 67 if (difference / events[0].result.value [all...] |
/external/linux-kselftest/tools/testing/selftests/powerpc/pmu/ebb/ |
instruction_count_test.c | 28 int64_t difference, expected; local 47 difference = event->result.value - expected; 48 percentage = (double)difference / event->result.value * 100; 54 printf("Delta %ld, %f%%\n", difference, percentage); 58 if (difference < 0) 59 difference = -difference; 61 /* Tolerate a difference of up to 0.0001 % */ 62 difference *= 10000 * 100; 63 if (difference / event->result.value [all...] |
/external/apache-commons-math/src/main/java/org/apache/commons/math/optimization/ |
SimpleRealPointChecker.java | 28 * difference between each point coordinate are smaller than a threshold 29 * or if either the absolute difference between the point coordinates are 78 final double difference = FastMath.abs(p[i] - c[i]); local 80 if ((difference > (size * relativeThreshold)) && (difference > absoluteThreshold)) {
|
SimpleScalarValueChecker.java | 28 * difference between the objective function values is smaller than a 29 * threshold or if either the absolute difference between the objective 77 final double difference = FastMath.abs(p - c); local 79 return (difference <= (size * relativeThreshold)) || (difference <= absoluteThreshold);
|
SimpleVectorialPointChecker.java | 28 * difference between each point coordinate are smaller than a threshold 29 * or if either the absolute difference between the point coordinates are 80 final double difference = FastMath.abs(pi - ci); local 82 if ((difference > (size * relativeThreshold)) && 83 (difference > absoluteThreshold)) {
|
SimpleVectorialValueChecker.java | 28 * difference between the objective function values is smaller than a 29 * threshold or if either the absolute difference between the objective 80 final double difference = FastMath.abs(pi - ci); local 82 if ((difference > (size * relativeThreshold)) && 83 (difference > absoluteThreshold)) {
|
/external/libchrome/base/ |
stl_util_unittest.cc | 81 std::set<int> difference; local 82 difference.insert(1); 83 difference.insert(2); 84 EXPECT_EQ(difference, STLSetDifference<std::set<int> >(a1, a2)); 88 std::set<int> difference; local 89 difference.insert(5); 90 difference.insert(6); 91 difference.insert(7); 92 EXPECT_EQ(difference, STLSetDifference<std::set<int> >(a2, a1)); 96 std::vector<int> difference; local 103 std::vector<int> difference; local [all...] |
/external/webrtc/webrtc/system_wrappers/source/ |
stl_util_unittest.cc | 88 std::set<int> difference; local 89 difference.insert(1); 90 difference.insert(2); 91 EXPECT_EQ(difference, STLSetDifference<std::set<int> >(a1, a2)); 95 std::set<int> difference; local 96 difference.insert(5); 97 difference.insert(6); 98 difference.insert(7); 99 EXPECT_EQ(difference, STLSetDifference<std::set<int> >(a2, a1)); 103 std::vector<int> difference; local 110 std::vector<int> difference; local [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/site-packages/setools/diff/ |
conditional.py | 19 from .difference import Wrapper
|
/tools/tradefederation/core/prod-tests/src/com/android/framework/tests/ |
BandwidthStats.java | 45 * Compute percent difference between a and b. 48 * @return % difference of a and b. 103 float difference = BandwidthStats.computePercentDifference( local 107 difference); 113 float difference = BandwidthStats.computePercentDifference( local 117 difference); 123 float difference = BandwidthStats.computePercentDifference( local 127 difference); 133 float difference = BandwidthStats.computePercentDifference( local 137 difference); [all...] |
/prebuilts/misc/windows/sdl2/test/ |
testautomation_timer.c | 75 Uint32 difference; local 93 /* Delay a bit longer and measure ticks and verify difference */ 99 difference = result2 - result; 100 SDLTest_AssertCheck(difference > (testDelay - marginOfError), "Check difference, expected: >%d, got: %d", testDelay - marginOfError, difference); 101 SDLTest_AssertCheck(difference < (testDelay + marginOfError), "Check difference, expected: <%d, got: %d", testDelay + marginOfError, difference); local
|
/cts/apps/CtsVerifier/include/colorchecker/ |
vec2.h | 51 int difference = 0.f; local 52 difference = (static_cast<float>(mX) - static_cast<float>(param.x())) * 56 return difference;
|
/external/google-breakpad/src/testing/gtest/samples/ |
sample10_unittest.cc | 87 int difference = Water::allocated() - initially_allocated_; local 92 EXPECT_LE(difference, 0) << "Leaked " << difference << " unit(s) of Water!";
|
/external/googletest/googletest/samples/ |
sample10_unittest.cc | 87 int difference = Water::allocated() - initially_allocated_; local 92 EXPECT_LE(difference, 0) << "Leaked " << difference << " unit(s) of Water!";
|
/external/protobuf/gtest/samples/ |
sample10_unittest.cc | 87 int difference = Water::allocated() - initially_allocated_; local 92 EXPECT_TRUE(difference <= 0) 93 << "Leaked " << difference << " unit(s) of Water!";
|
/external/v8/testing/gtest/samples/ |
sample10_unittest.cc | 87 int difference = Water::allocated() - initially_allocated_; local 92 EXPECT_LE(difference, 0) << "Leaked " << difference << " unit(s) of Water!";
|
/external/vulkan-validation-layers/tests/gtest-1.7.0/samples/ |
sample10_unittest.cc | 87 int difference = Water::allocated() - initially_allocated_; local 92 EXPECT_LE(difference, 0) << "Leaked " << difference << " unit(s) of Water!";
|
/prebuilts/ndk/r11/sources/third_party/googletest/googletest/samples/ |
sample10_unittest.cc | 87 int difference = Water::allocated() - initially_allocated_; local 92 EXPECT_LE(difference, 0) << "Leaked " << difference << " unit(s) of Water!";
|
/prebuilts/ndk/r13/sources/third_party/googletest/googletest/samples/ |
sample10_unittest.cc | 87 int difference = Water::allocated() - initially_allocated_; local 92 EXPECT_LE(difference, 0) << "Leaked " << difference << " unit(s) of Water!";
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
AnglesClassifier.java | 29 * the last three points. After that, it calculates the difference between this angle and the 31 * To the differences there is artificially added value 0.0 and the difference between the first 141 float difference = angle - mPreviousAngle; local 154 mSecondSum += difference; 155 mSecondSumSquares += difference * difference; 159 mSum += difference; 160 mSumSquares += difference * difference;
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
AnglesClassifier.java | 29 * last three points. After that, it calculates the difference between this angle and the previously 31 * differences there is artificially added value 0.0 and the difference between the first angle and 144 float difference = angle - mPreviousAngle; local 157 mSecondSum += difference; 158 mSecondSumSquares += difference * difference; 162 mSum += difference; 163 mSumSquares += difference * difference;
|
/bionic/libc/tools/ |
check-symbols-glibc.py | 214 for symbol in sorted((glibc - posix).difference(bionic)): 219 for symbol in sorted((posix.intersection(glibc)).difference(bionic)): 227 for symbol in sorted((bionic - allowed_stuff).difference(glibc)):
|
/external/autotest/client/site_tests/platform_LibCBench/ |
platform_LibCBench.py | 67 difference = maximum - minimum 68 percent_difference = difference / average * 100 72 (benchmark, minimum, maximum, difference, average,
|
/external/autotest/client/site_tests/security_SysVIPC/ |
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)
|