HomeSort by relevance Sort by last modified time
    Searched refs:difference (Results 1 - 25 of 519) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /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/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/v8/tools/
external-reference-check.py 38 difference = list(set(declarations) - set(registrations) - set(BLACKLISTED))
39 for reference in difference:
41 return len(difference) > 0
  /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
  /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/tests/tests/media/src/android/media/cts/
DecodeAccuracyTest.java 172 final BitmapCompare.Difference difference = BitmapCompare.computeMinimumDifference( local
175 + difference.bestMatchBorderCrop.first + ", "
176 + difference.bestMatchBorderCrop.second + "), "
177 + "greatest pixel difference is "
178 + difference.greatestPixelDifference
179 + (difference.greatestPixelDifferenceCoordinates != null
180 ? " at (" + difference.greatestPixelDifferenceCoordinates.first + ", "
181 + difference.greatestPixelDifferenceCoordinates.second + ")" : "")
182 + " which is over the allowed difference " + ALLOWED_GREATEST_PIXEL_DIFFERENCE
    [all...]
  /external/ceres-solver/internal/ceres/
canonical_views_clustering.cc 120 const double difference = local
122 if (difference > best_difference) {
123 best_difference = difference;
159 // Computes the difference in the quality score if 'candidate' were
165 double difference = local
179 difference += new_similarity - old_similarity;
184 difference -= options_.size_penalty_weight;
188 difference -= options_.similarity_penalty_weight *
192 return difference;
  /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/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/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!";
  /ndk/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!";
  /external/libvpx/libvpx/vpx_dsp/arm/
variance_media.asm 45 usub8 r6, r4, r5 ; calculate difference
47 sel r7, r6, lr ; select bytes with positive difference
48 usub8 r9, r5, r4 ; calculate difference with reversed operands
50 sel r6, r9, lr ; select bytes with negative difference
70 usub8 r6, r4, r5 ; calculate difference
71 sel r7, r6, lr ; select bytes with positive difference
72 usub8 r9, r5, r4 ; calculate difference with reversed operands
73 sel r6, r9, lr ; select bytes with negative difference
94 usub8 r6, r4, r5 ; calculate difference
95 sel r7, r6, lr ; select bytes with positive difference
    [all...]
  /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;
  /ndk/tests/device/test-gnustl-full/unit/
adj_test.cpp 88 int difference[5]; local
89 adjacent_difference(numbers, numbers + 5, (int*)difference);
90 CPPUNIT_ASSERT(difference[0]==1);
91 CPPUNIT_ASSERT(difference[1]==1);
92 CPPUNIT_ASSERT(difference[2]==2);
93 CPPUNIT_ASSERT(difference[3]==4);
94 CPPUNIT_ASSERT(difference[4]==8);
  /ndk/tests/device/test-stlport/unit/
adj_test.cpp 88 int difference[5]; local
89 adjacent_difference(numbers, numbers + 5, (int*)difference);
90 CPPUNIT_ASSERT(difference[0]==1);
91 CPPUNIT_ASSERT(difference[1]==1);
92 CPPUNIT_ASSERT(difference[2]==2);
93 CPPUNIT_ASSERT(difference[3]==4);
94 CPPUNIT_ASSERT(difference[4]==8);
  /external/srtp/crypto/replay/
rdbx.c 77 * returns the difference of the guess and the local value. The local
79 * index_advance(&guess, delta), where delta is the difference.
117 * and returns the difference between *guess and *local
143 int difference; local
148 // The return value is the relative difference from local_seq to s.
152 // will end up positive difference and rdbx_check would pass. Hence after
157 difference = s - local_seq - seq_num_max;
160 difference = s - local_seq;
165 difference = seq_num_max - local_seq + s;
167 difference = s - local_seq
    [all...]
  /bionic/libc/tools/
check-symbols-glibc.py 194 for symbol in sorted((glibc - posix).difference(bionic)):
199 for symbol in sorted((posix.intersection(glibc)).difference(bionic)):
207 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)

Completed in 935 milliseconds

1 2 3 4 5 6 7 8 91011>>