/external/eigen/Eigen/src/Geometry/ |
ParametrizedLine.h | 84 VectorType diff = p - origin(); local 85 return (diff - direction().dot(diff) * direction()).squaredNorm();
|
/external/emma/core/java12/com/vladium/emma/report/ |
IItemAttribute.java | 186 final double diff = nil * dig - nig * dil; local 188 return diff > 0.0 ? +1 : (diff < 0.0 ? -1 : 0);
|
/external/jmonkeyengine/engine/src/core/com/jme3/bounding/ |
BoundingBox.java | 649 Vector3f diff = ray.origin.subtract(getCenter(vars.vect2), vars.vect1);
local 659 fDdU[0] = diff.dot(Vector3f.UNIT_X);
668 fDdU[1] = diff.dot(Vector3f.UNIT_Y);
677 fDdU[2] = diff.dot(Vector3f.UNIT_Z);
684 Vector3f wCrossD = ray.getDirection().cross(diff, vars.vect2);
717 Vector3f diff = vars.vect1.set(ray.origin).subtractLocal(center);
local 723 boolean notEntirelyClipped = clip(+direction.x, -diff.x - xExtent, t)
724 && clip(-direction.x, +diff.x - xExtent, t)
725 && clip(+direction.y, -diff.y - yExtent, t)
726 && clip(-direction.y, +diff.y - yExtent, t) [all...] |
/external/libvpx/libvpx/test/ |
variance_test.cc | 47 int diff = ref[w * y + x] - src[w * y + x]; local 48 se += diff; 49 sse += diff * diff; 72 int diff = r - src[w * y + x]; local 73 se += diff; 74 sse += diff * diff; 186 int diff = ((r + second_pred[w * y + x] + 1) >> 1) - src[w * y + x]; local 187 se += diff; [all...] |
/external/skia/src/views/animated/ |
SkWidgetViews.cpp | 298 SkAnimator::DifferenceType diff = fAnim.draw(canvas, &paint, SkTime::GetMSecs()); local 300 if (diff == SkAnimator::kDifferent) 302 else if (diff == SkAnimator::kPartiallyDifferent)
|
/external/srec/srec/clib/ |
voc_read.c | 185 int diff = kompare(label, middle); local 186 if (diff == 0) break; 199 if (diff > 0) low = middle;
|
/frameworks/av/media/libeffects/testlibs/ |
AudioBiquadFilter.cpp | 125 audio_coef_t diff = coefs[i] - mCoefs[i]; local 126 if (diff > maxDelta) { 128 } else if (diff < -maxDelta) {
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
AnotherPacketSource.cpp | 272 int64_t diff = duration - mLastQueuedTimeUs; local 273 if (diff < kNearEOSMarkUs && diff > -kNearEOSMarkUs) {
|
/frameworks/av/media/libstagefright/timedtext/ |
TimedTextSRTSource.cpp | 237 int diff = compareExtendedRangeAndTime(mid, seekTimeUs); local 238 if (diff == 0) { 240 } else if (diff < 0) {
|
/frameworks/base/packages/Keyguard/scripts/ |
new_merge.py | 27 DIFF_TOOLS=["meld", "kdiff3", "xdiff", "diffmerge.sh", "diff"] 76 print "Running diff for: %s" %(file) 77 diff(sourceFile, destFile) 81 diff(sourceFile, destFile) 96 pipe = Popen(['git', 'diff', '--name-only', argv[1]], stdout=PIPE).stdout 150 def diff(file1, file2): function
|
/ndk/tests/device/issue42891-boost-1_52/jni/boost/boost/test/ |
floating_point_comparison.hpp | 187 FPT diff = tt_detail::fpt_abs( left - right ); local 188 FPT d1 = tt_detail::safe_fpt_division( diff, tt_detail::fpt_abs( right ) ); 189 FPT d2 = tt_detail::safe_fpt_division( diff, tt_detail::fpt_abs( left ) );
|
/packages/apps/Calendar/src/com/android/calendar/ |
DayFragment.java | 183 int diff = currentView.compareToVisibleTimeRange(goToTime); local 185 if (diff == 0) { 190 if (diff > 0) {
|
CalendarViewAdapter.java | 392 int diff = dayOfWeek - firstDayOfWeek; local 393 if (diff != 0) { 394 if (diff < 0) { 395 diff += 7; 397 t.monthDay -= diff;
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
RotatableLayout.java | 95 int diff = (rotation - mPrevRotation + 360) % 360; local 96 if ( diff == 0) { 99 } else if (diff == 180) {
|
/packages/apps/Gallery2/jni/filters/ |
kmeans.h | 75 N diff = (N) val1[x] - (N) val2[x]; local 76 sum += diff * diff;
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/makedict/ |
BinaryDictDecoderEncoderTests.java | 183 long now = -1, diff = -1; local 193 diff = System.currentTimeMillis() - now; 200 return diff; 283 long now, diff = -1; local 291 diff = System.currentTimeMillis() - now; 299 return diff; 444 long now = -1, diff = -1; 450 diff = System.currentTimeMillis() - now; 466 return diff; 550 long diff = -1 [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gltrace/ |
TraceFileParserTask.java | 186 long diff = (c1.getStartTime() - c2.getStartTime()); 188 // We could return diff casted to an int. But in Java, casting 190 // the sign. So we resort to comparing the diff to 0 and returning 192 if (diff == 0) { 194 } else if (diff > 0) {
|
/external/valgrind/main/callgrind/ |
dump.c | 564 int diff = curr->addr - last->addr; local 566 (diff > -100) && (diff < 100)) { 567 if (diff >0) 568 p = VG_(sprintf)(outbuf, "+%d ", diff); 569 else if (diff==0) 572 p = VG_(sprintf)(outbuf, "%d ", diff); 579 int diff = curr->bb_addr - last->bb_addr; local 581 (diff > -100) && (diff < 100)) 594 int diff = curr->line - last->line; local [all...] |
/external/chromium_org/cc/trees/ |
layer_sorter.cc | 150 float diff = za - zb; local 151 if (diff > max_positive) 152 max_positive = diff; 153 if (diff < max_negative) 154 max_negative = diff;
|
/external/chromium_org/media/tools/layout_tests/ |
layouttest_analyzer_helpers.py | 80 """Get difference string out of diff map element. 104 diff = len(diff_map_element[0]) - len(diff_map_element[1]) 105 if diff > 0 and type_str != 'whole': 110 if diff > 0: 112 if not diff: 115 whole_str = '<font color="%s">%s%d</font>' % (color, diff_sign, diff) 213 '<b>Statistics (Diff Compared to %s):</b><ul>' 245 """Compare this result map with the other to see if there are any diff. 261 # Look into expectation to get diff only for non-skipped tests. 264 # Otherwise, only test names are compared to get diff [all...] |
/external/chromium_org/third_party/icu/source/tools/genrb/ |
reslist.c | 1261 int diff; local 1447 int32_t diff; local 1604 int32_t diff; local 1620 int32_t diff; local [all...] |
/external/icu4c/tools/genrb/ |
reslist.c | 1267 int diff; local 1453 int32_t diff; local 1610 int32_t diff; local 1626 int32_t diff; local [all...] |
/external/skia/tools/ |
render_pictures_main.cpp | 28 DEFINE_int32(maxComponentDiff, 256, "Maximum diff on a component, 0 - 256. Components that differ " 302 int diff = MaxByteDiff(*referenceBitmap->getAddr32(x, y), local 304 SkASSERT(diff >= 0 && diff <= 255); 305 diffs[diff]++; 307 if (diff > FLAGS_maxComponentDiff) { 309 "component diff of %i: 0x%x, actual 0x%x\n", 323 SkDebugf("Number of pixels with max diff of %i is %i\n", i, diffs[i]);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/ |
CustomContactListFilterActivity.java | 371 throw new IllegalStateException("Unexpected diff"); 439 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 441 account.buildDiff(diff); 443 return diff; 525 public void buildDiff(ArrayList<ContentProviderOperation> diff) { 528 if (oper != null) diff.add(oper); 532 if (oper != null) diff.add(oper); 838 final ArrayList<ContentProviderOperation> diff = mAdapter.mAccounts.buildDiff(); local 839 if (diff.isEmpty()) { 844 new UpdateTask(this).execute(diff); 881 final ArrayList<ContentProviderOperation> diff = params[0]; local [all...] |
/external/valgrind/main/VEX/switchback/ |
switchback.c | 446 Int diff = ((Int)where_to_go) - ((Int)addr_of_nop); local 451 printf("diff = 0x%x\n", diff); 457 Long diff = ((Long)where_to_go) - ((Long)addr_of_nop); local 462 printf("diff = 0x%llx\n", diff); 466 if (diff < -0x2000000 || diff >= 0x2000000) { 484 /* branch to diff */ 485 p[0] = ((18<<26) | (((diff >> 2) & 0xFFFFFF) << 2) | (0<<1) | (0<<0)) [all...] |