/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;
|
vec3.h | 81 float difference = 0.f; local 82 difference = static_cast<float>(mRed - param.r()) * 88 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/apache-http/src/org/apache/commons/codec/language/ |
RefinedSoundex.java | 97 * MS T-SQL DIFFERENCE</a> 103 public int difference(String s1, String s2) throws EncoderException { method in class:RefinedSoundex 104 return SoundexUtils.difference(this, s1, s2);
|
SoundexUtils.java | 83 * MS T-SQL DIFFERENCE</a> 88 static int difference(StringEncoder encoder, String s1, String s2) throws EncoderException { method in class:SoundexUtils 110 * MS T-SQL DIFFERENCE</a>
|
/external/libevent/sample/ |
time-test.c | 45 struct timeval newtime, difference; local 50 evutil_timersub(&newtime, &lasttime, &difference); 51 elapsed = difference.tv_sec + 52 (difference.tv_usec / 1.0e6);
|
/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/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...] |
/frameworks/support/wear/src/main/java/androidx/wear/widget/ |
BezierSCurveInterpolator.java | 77 float difference = input - quantized; local 78 float weight = difference / STEP_SIZE;
|
/hardware/qcom/gps/msm8909w_3100/core/data-items/common/ |
ClientIndex.cpp | 145 list <DIT> difference; local 151 inserter (difference,difference.begin ())); 152 if (!difference.empty ()) { 153 difference.sort (); 154 out = difference; 155 dicIter->second.merge (difference);
|
DataItemIndex.cpp | 144 list <CT> difference; local 150 inserter (difference, difference.begin ())); 151 if (!difference.empty ()) { 152 difference.sort (); 153 out = difference; 154 cdiIter->second.merge (difference);
|
/packages/apps/Camera2/src/com/android/camera/util/ |
Gusterpolator.java | 77 float difference = input - quantized; local 78 float weight = difference / STEP_SIZE;
|
/packages/apps/PackageInstaller/src/android/support/wearable/view/ |
Gusterpolator.java | 79 float difference = input - quantized; local 80 float weight = difference / STEP_SIZE;
|
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/ |
TimeStatusChecker.java | 32 long difference = device.getDeviceTimeOffset(new Date()); local 33 if (difference > 5000L) { 36 "Found a difference of '%s' between the host and device clock, " 38 TimeUtil.formatElapsedTime(difference));
|
/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/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 | 84 int difference = Water::allocated() - initially_allocated_; local 89 EXPECT_LE(difference, 0) << "Leaked " << difference << " unit(s) of Water!";
|
/external/libchrome/base/ |
stl_util.h | 104 // Returns a new ResultType containing the difference of two sorted containers. 109 ResultType difference; local 112 std::inserter(difference, difference.end())); 113 return difference;
|
/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/python/cpython2/Modules/_multiprocessing/ |
pipe_connection.c | 96 int difference, res; local 120 difference = deadline - GetTickCount(); 121 if (difference < 0) 123 if ((int)delay > difference) 124 delay = difference;
|
/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!";
|