| /external/toybox/toys/pending/ |
| last.c | 75 double diff = difftime(tm1, tm0); local 77 diff = (diff > 0) ? (tm1 - tm0) : 0; 81 days = (mins = diff/60)/(24*60);
|
| /external/v8/src/compiler/ |
| pipeline-statistics.h | 40 CompilationStatistics::BasicStats* diff);
|
| /frameworks/av/media/libstagefright/ |
| MediaClock.cpp | 268 double diff = it->mAdjustRealUs * (double)mPlaybackRate local 271 if (diff > (double)INT64_MAX) { 273 } else if (diff < (double)INT64_MIN) { 276 diffMediaUs = diff;
|
| /frameworks/base/tools/aapt2/link/ |
| NoDefaultResourceRemover.cpp | 29 if (ConfigDescription::DefaultConfig().diff(config) == ConfigDescription::CONFIG_LOCALE) {
|
| /hardware/qcom/display/msm8226/libhwcomposer/ |
| hwc_delta_panel.cpp | 63 int64_t diff; local
|
| /prebuilts/go/darwin-x86/src/cmd/fix/ |
| doc.go | 21 If the -diff flag is set, no files are rewritten. Instead fix prints 33 Instead, use a version control system's ``diff'' functionality to inspect
|
| /prebuilts/go/linux-x86/src/cmd/fix/ |
| doc.go | 21 If the -diff flag is set, no files are rewritten. Instead fix prints 33 Instead, use a version control system's ``diff'' functionality to inspect
|
| /prebuilts/tools/common/m2/repository/com/googlecode/java-diff-utils/diffutils/1.3.0/ |
| diffutils-1.3.0.jar | |
| /art/tools/ahat/src/main/com/android/ahat/ |
| ObjectHandler.java | 126 boolean diff = array.getBaseline() != array && !base.isPlaceHolder(); 130 new Column("?", Column.Align.LEFT, diff)); 137 if (diff) { 154 * @param diff - whether a diff should be shown for the fields. 156 * @param baseline - the baseline fields to diff against if diff is true, 159 private static void printFields(Doc doc, Query query, String id, boolean diff, 162 if (!diff) { 163 // To avoid having to special case when diff is disabled, always dif [all...] |
| /external/harfbuzz_ng/util/ |
| ansi-print.cc | 82 color_diff_t diff (const color_t &o) function in struct:color_t 201 color_diff_t diff = fgc.diff (bgc); 202 int dd = diff.dot (diff); 205 int d = diff.dot (image (x, y).diff (bgc));
|
| /art/runtime/ |
| entrypoints_order_test.cc | 39 #define EXPECT_OFFSET_DIFF(first_type, first_field, second_type, second_field, diff, name) \ 41 - OFFSETOF_MEMBER(first_type, first_field) == (diff), name) 44 #define EXPECT_OFFSET_DIFFNP(type, first_field, second_field, diff) \ 45 EXPECT_OFFSET_DIFF(type, first_field, type, second_field, diff, \ 50 #define EXPECT_OFFSET_DIFFP(type, prefix, first_field, second_field, diff) \ 51 EXPECT_OFFSET_DIFF(type, prefix . first_field, type, prefix . second_field, diff, /* NOLINT */ \ 56 #define EXPECT_OFFSET_DIFF_GT(first_type, first_field, second_type, second_field, diff, name) \ 58 - OFFSETOF_MEMBER(first_type, first_field) >= (diff), name) 61 #define EXPECT_OFFSET_DIFF_GT3(type, first_field, second_field, diff, name) \ 62 EXPECT_OFFSET_DIFF_GT(type, first_field, type, second_field, diff, name [all...] |
| /device/google/marlin/camera/usbcamcore/src/ |
| QCameraMjpegDecode.cpp | 478 int diff; local 480 if (mjpegd_timer_get_elapsed(&os_timer, &diff, 0) < 0) { 485 ALOGI("%s: decoder_test: decoding aborted successfully after %d ms", __func__, diff); 491 "decode time: %d ms", __func__, diff); 496 total_time += diff; 498 __func__, diff, i+1, total_time, total_time/(i+1)); 665 long diff; local 671 diff = (long)(now.tv_sec - p_timer->tv_sec) * 1000; 672 diff += (long)(now.tv_nsec - p_timer->tv_nsec) / 1000000; 673 *elapsed_in_ms = (int)diff; [all...] |
| /external/libvncserver/libvncclient/ |
| sockets.c | 114 struct timeval diff; local 115 diff.tv_sec = tv.tv_sec - rec->tv.tv_sec; 116 diff.tv_usec = tv.tv_usec - rec->tv.tv_usec; 117 if(diff.tv_usec<0) { 118 diff.tv_sec--; 119 diff.tv_usec+=1000000; 122 sleep (diff.tv_sec); 123 usleep (diff.tv_usec); 125 Sleep (diff.tv_sec * 1000 + diff.tv_usec/1000) [all...] |
| /hardware/qcom/camera/msm8998/usbcamcore/src/ |
| QCameraMjpegDecode.cpp | 478 int diff; local 480 if (mjpegd_timer_get_elapsed(&os_timer, &diff, 0) < 0) { 485 ALOGI("%s: decoder_test: decoding aborted successfully after %d ms", __func__, diff); 491 "decode time: %d ms", __func__, diff); 496 total_time += diff; 498 __func__, diff, i+1, total_time, total_time/(i+1)); 665 long diff; local 671 diff = (long)(now.tv_sec - p_timer->tv_sec) * 1000; 672 diff += (long)(now.tv_nsec - p_timer->tv_nsec) / 1000000; 673 *elapsed_in_ms = (int)diff; [all...] |
| /system/core/libpixelflinger/codeflinger/ |
| blending.cpp | 445 integer_t diff(fragment.flags & CORRUPTIBLE ? 448 if (shift>0) RSB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSR, shift)); 449 else if (shift<0) RSB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSL,-shift)); 450 else RSB(AL, 0, diff.reg, fb.reg, fragment.reg); 451 mul_factor_add(temp, diff, factor, component_t(fb)); 463 integer_t diff(fb.flags & CORRUPTIBLE ? 466 if (shift>0) SUB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSR, shift)); 467 else if (shift<0) SUB(AL, 0, diff.reg, fb.reg, reg_imm(fragment.reg, LSL,-shift)); 468 else SUB(AL, 0, diff.reg, fb.reg, fragment.reg); 469 mul_factor_add(temp, diff, factor, component_t(fragment)) [all...] |
| /external/icu/icu4c/source/i18n/ |
| scriptset.cpp | 300 int32_t diff = s0->countMembers() - s1->countMembers(); local 301 if (diff != 0) return diff; 304 while ((diff = i0-i1) == 0 && i0 > 0) { 308 return (int8_t)diff;
|
| /external/python/cpython3/Tools/scripts/ |
| reindent.py | 253 diff = want - have 254 if diff == 0 or have == 0: 258 if diff > 0: 262 after.append(" " * diff + line) 264 remove = min(getlspace(line), -diff)
|
| /frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/ |
| SearchFragment.java | 47 // The diff callback which defines the standard to judge if two items are the same or if 68 Bundle diff = new Bundle(); 71 diff.putLong(IMAGE, newItem.getImageResourceId()); 76 diff.putString(TITLE, newItem.getTitle()); 81 diff.putString(CONTENT, newItem.getContent()); 83 return diff;
|
| SearchSupportFragment.java | 50 // The diff callback which defines the standard to judge if two items are the same or if 71 Bundle diff = new Bundle(); 74 diff.putLong(IMAGE, newItem.getImageResourceId()); 79 diff.putString(TITLE, newItem.getTitle()); 84 diff.putString(CONTENT, newItem.getContent()); 86 return diff;
|
| /external/opencv/cv/src/ |
| cvstereobm.cpp | 232 int diff = abs(lval - rptr[d]); local 233 cbuf[d] = (uchar)diff; 234 hsad[d] = (ushort)(hsad[d] + diff); 271 __m128i diff = _mm_adds_epu8(_mm_subs_epu8(lv, rv), _mm_subs_epu8(rv, lv)); local 272 __m128i diff_h = _mm_sub_epi16(_mm_unpackhi_epi8(diff, z), _mm_unpackhi_epi8(cbs, z)); 273 _mm_store_si128((__m128i*)(cbuf + d), diff); 274 diff = _mm_sub_epi16(_mm_unpacklo_epi8(diff, z), _mm_unpacklo_epi8(cbs, z)); 276 hsad_l = _mm_add_epi16(hsad_l, diff); 438 int diff = abs(lval - rptr[d]) local 472 int diff = abs(lval - rptr[d]); local [all...] |
| /external/icu/icu4c/source/tools/genrb/ |
| reslist.cpp | 202 int diff; local 208 diff = uprv_strcmp(currentKeyString, resKeyString); 210 diff = uprv_compareInvCharsAsAscii(currentKeyString, resKeyString); 212 if (diff < 0) { 215 } else if (diff > 0) { 1307 int32_t diff; local 1464 int32_t diff; local 1480 int32_t diff; local [all...] |
| /external/libnl/lib/route/ |
| route_obj.c | 352 int i, diff = 0, found; local 356 diff |= ROUTE_DIFF(FAMILY, a->rt_family != b->rt_family); 357 diff |= ROUTE_DIFF(TOS, a->rt_tos != b->rt_tos); 358 diff |= ROUTE_DIFF(TABLE, a->rt_table != b->rt_table); 359 diff |= ROUTE_DIFF(PROTOCOL, a->rt_protocol != b->rt_protocol); 360 diff |= ROUTE_DIFF(SCOPE, a->rt_scope != b->rt_scope); 361 diff |= ROUTE_DIFF(TYPE, a->rt_type != b->rt_type); 362 diff |= ROUTE_DIFF(PRIO, a->rt_prio != b->rt_prio); 363 diff |= ROUTE_DIFF(DST, nl_addr_cmp(a->rt_dst, b->rt_dst)); 364 diff |= ROUTE_DIFF(SRC, nl_addr_cmp(a->rt_src, b->rt_src)) [all...] |
| /external/libvpx/libvpx/test/ |
| variance_test.cc | 74 * Our codebase calculates the "diff" value in the variance algorithm by 87 int diff; local 89 diff = src[y * src_stride + x] - ref[y * ref_stride + x]; 90 se += diff; 91 sse += diff * diff; 94 diff = CONVERT_TO_SHORTPTR(src)[y * src_stride + x] - 96 se += diff; 97 sse += diff * diff; 137 const int diff = r - src[w * y + x]; local 151 const int diff = r - src16[w * y + x]; local 189 const int diff = local 205 const int diff = ((r + sec16[w * y + x] + 1) >> 1) - src16[w * y + x]; local [all...] |
| /external/python/cpython3/Lib/test/ |
| test_difflib.py | 90 diff = list(difflib.Differ().compare(["\tI am a buggy"],["\t\tI am a bug"])) 91 self.assertEqual("- \tI am a buggy", diff[0]) 92 self.assertEqual("? --\n", diff[1]) 93 self.assertEqual("+ \t\tI am a bug", diff[2]) 94 self.assertEqual("? +\n", diff[3]) 197 '<h2>Context (first diff within numlines=5(default))</h2>', 199 '<h2>Context (first diff after numlines=5(default))</h2>', 284 # Per the diff spec at http://www.unix.org/single_unix_specification/ 301 # Per the diff spec at http://www.unix.org/single_unix_specification/ 328 def check(self, diff) [all...] |
| /external/tensorflow/tensorflow/compiler/jit/ |
| encapsulate_subgraphs_pass_test.cc | 39 const string& map_name, string* diff) { 43 if (diff) { 44 *diff = strings::StrCat( 51 if (diff) { 52 *diff = strings::StrCat(map_name, " expected: element with key '", 63 if (diff) { 64 *diff = strings::StrCat(map_name, " got: contains element with key '", 75 const string& diff_preamble, string* diff) { 77 if (diff) { 78 *diff = strings::StrCat(diff_preamble, " mismatch for node ", a.name() 134 diff); member in namespace:tensorflow::__anon38703 [all...] |