/tools/repohooks/rh/ |
git.py | 121 # RawDiffEntry represents a line of raw formatted git diff output. 128 # This regular expression pulls apart a line of raw formatted git diff output. 137 """Return the parsed raw format diff of target 140 path: Path to the git repository to diff in. 141 target: The target to diff. 148 cmd = ['git', 'diff', '--no-ext-diff', '-M', '--raw', target] 149 diff = rh.utils.run_command(cmd, cwd=path, capture_output=True).output 150 diff_lines = diff.strip().splitlines() 154 raise ValueError('Failed to parse diff output: %s' % line [all...] |
/device/linaro/bootloader/edk2/StdLib/LibC/Stdio/ |
fgetstr.c | 146 size_t diff;
local 165 diff = p - fp->_p;
166 len += diff;
170 diff);
171 fp->_r -= (int)diff;
|
/external/annotation-tools/annotation-file-utilities/tests/ |
Makefile | 4 # myClass.diff file in this directory. 6 # To test just one file, use (for example) 'make myClass.diff'. 26 DIFFS := $(patsubst %.goal, %.diff, $(FILTERED)) 53 # Display results of all .diff files. 93 %.diff: %.goal %.output 94 -diff -u $*.goal $*.output >& $*.diff 96 # Remove all .diff, .log files from the tests directory. 100 rm -f *.diff
|
/external/annotation-tools/annotation-file-utilities/tests/source-extension/ |
Makefile | 4 # myClass.diff file in this directory. 6 # To test just one file, use (for example) 'make myClass.diff'. 25 DIFFS := $(patsubst %.goal, %.diff, $(FILTERED)) 38 # Display results of all .diff files. 78 %.diff: %.goal %.output 79 -diff -u $*.goal $*.output >& $*.diff 81 # Remove all .diff, .log files from the tests directory. 85 rm -f *.diff
|
/external/clang/utils/check_cfc/ |
obj_diff.py | 41 diff can be very slow with large objects and the most interesting changes 45 # Find first diff 56 # Diff to first line of diff plus some lines 58 diff = difflib.unified_diff(a[:first_diff_idx+context], 62 difference = "\n".join(diff) 64 difference += "\n*** Diff truncated ***" 98 diff = compare_object_files(args.objfilea[0], args.objfileb[0]) 99 if diff: 102 print(diff) [all...] |
/external/dng_sdk/source/ |
dng_point.h | 171 dng_point_real64 diff = a - b; local 173 return (diff.v * diff.v) + (diff.h * diff.h);
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
posix_timers.c | 65 long long diff; local 67 diff = end.tv_usec - start.tv_usec; 68 diff += (end.tv_sec - start.tv_sec) * USECS_PER_SEC; 70 if (abs(diff - DELAY * USECS_PER_SEC) > USECS_PER_SEC / 2) { 71 printf("Diff too high: %lld..", diff);
|
/toolchain/binutils/binutils-2.27/ld/testsuite/ld-arm/ |
ifunc-10.s | 40 .macro diff,name 87 alldirs diff,f1 88 alldirs diff,f2 89 alldirs diff,f3 90 alldirs diff,f4
|
ifunc-4.s | 40 .macro diff,name 92 alldirs diff,f1 93 alldirs diff,f2 94 alldirs diff,f3 95 alldirs diff,f4
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/utils/ |
FlingAnimationUtils.java | 126 float diff = Math.abs(endValue - currValue); local 128 float durationSeconds = LINEAR_OUT_SLOW_IN_START_GRADIENT * diff / velAbs; 136 new VelocityInterpolator(durationSeconds, velAbs, diff); 198 float diff = Math.abs(endValue - currValue); local 204 float durationSeconds = startGradient * diff / velAbs; 213 new VelocityInterpolator(durationSeconds, velAbs, diff); 273 private float diff; field in class:FlingAnimationUtils.VelocityInterpolator 275 private VelocityInterpolator(float durationSeconds, float velocity, float diff) { 278 this.diff = diff; [all...] |
/external/libcups/cups/ |
array.c | 446 diff, /* Difference */ local 491 current = cups_array_find(a, e, current, &diff); 492 if (!diff) 889 int diff; /* Difference */ local 906 current = cups_array_find(a, e, a->current, &diff); 907 if (diff) 1024 int diff; /* Comparison with current element */ local 1094 current = cups_array_find(a, e, a->insert, &diff); 1096 if (diff > 0) 1104 else if (!diff) 1204 diff; \/* Comparison with current element *\/ local [all...] |
/external/libmpeg2/common/x86/ |
ideint_spatial_filter_ssse3.c | 106 __m128i diff, diffs[3]; local 144 diff = _mm_sad_epu8(row1_0, row2_0); 145 diffs[0] = _mm_add_epi64(diffs[0], diff); 147 diff = _mm_sad_epu8(row1_m1, row2_p1); 148 diffs[1] = _mm_add_epi64(diffs[1], diff); 150 diff = _mm_sad_epu8(row1_p1, row2_m1); 151 diffs[2] = _mm_add_epi64(diffs[2], diff); 172 /* Applying bias, to make the diff comparision more robust. */
|
/external/libnl/lib/fib_lookup/ |
request.c | 61 int diff = 0; local 65 diff |= REQ_DIFF(FWMARK, a->lr_fwmark != b->lr_fwmark); 66 diff |= REQ_DIFF(TOS, a->lr_tos != b->lr_tos); 67 diff |= REQ_DIFF(SCOPE, a->lr_scope != b->lr_scope); 68 diff |= REQ_DIFF(TABLE, a->lr_table != b->lr_table); 69 diff |= REQ_DIFF(ADDR, nl_addr_cmp(a->lr_addr, b->lr_addr)); 73 return diff;
|
/frameworks/base/tools/aapt/ |
ResourceFilter.cpp | 39 entry.second = mDefault.diff(entry.first); 100 uint32_t mask = mDefault.diff(config); 110 uint32_t diff = entry.first.diff(config); local 111 if ((diff & entry.second) == 0) { 114 } else if ((diff & entry.second) == ResTable_config::CONFIG_LOCALE) { 132 } else if ((diff & entry.second) == ResTable_config::CONFIG_SMALLEST_SCREEN_SIZE) {
|
/prebuilts/go/darwin-x86/src/net/ |
dnsclient_test.go | 31 diff := float64(actual) - expected 32 t.Logf("actual: %v diff: %v e: %v m: %v", actual, diff, expected, margin) 33 if diff < 0 { 34 diff = -diff 36 if diff > (expected * margin) {
|
/prebuilts/go/linux-x86/src/net/ |
dnsclient_test.go | 31 diff := float64(actual) - expected 32 t.Logf("actual: %v diff: %v e: %v m: %v", actual, diff, expected, margin) 33 if diff < 0 { 34 diff = -diff 36 if diff > (expected * margin) {
|
/external/icu/icu4c/source/test/cintltst/ |
bocu1tst.c | 226 int32_t prev, count, diff; member in struct:Bocu1Rx 235 packDiff(int32_t diff); 279 * @param diff difference value -0x10ffff..0x10ffff 287 packDiff(int32_t diff) { 290 if(diff>=BOCU1_REACH_NEG_1) { 292 if(diff<=BOCU1_REACH_POS_1) { 294 return 0x01000000|(BOCU1_MIDDLE+diff); 295 } else if(diff<=BOCU1_REACH_POS_2) { 297 diff-=BOCU1_REACH_POS_1+1; 300 } else if(diff<=BOCU1_REACH_POS_3) [all...] |
/frameworks/base/core/java/android/text/format/ |
Time.java | 1009 int diff = julianDay - approximateDay; local 1033 int diff = THURSDAY - firstDayOfWeek; local 1209 int diff = aObject.wallTime.getYear() - bObject.wallTime.getYear(); local 1246 long diff = am - bm; local [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/model/ |
RawContactModifierTests.java | 383 // Build diff, expecting insert for data row and update enforcement 384 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); local 385 state.buildDiffWrapper(diff); 386 assertEquals("Unexpected operations", 3, diff.size()); 388 final CPOWrapper cpoWrapper = diff.get(0); 394 final CPOWrapper cpoWrapper = diff.get(1); 400 final CPOWrapper cpoWrapper = diff.get(2); 408 diff.clear(); 409 state.buildDiffWrapper(diff); 410 assertEquals("Unexpected operations", 1, diff.size()) 487 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); local 512 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); local 566 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); local 596 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); local 643 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); local 715 final ArrayList<CPOWrapper> diff = Lists.newArrayList(); local [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
ComposingText.java | 219 int diff = mod_len - org_len; local 232 ss.to = (last_to < mod_to)? mod_to : (last_to + diff); 238 ss.from += diff; 239 ss.to += diff; 250 ss.from += diff; 251 ss.to += diff; 383 int diff = to - from + 1; local 386 deleteStrSegment0(lv, fromL[lv], toL[lv], diff); 412 deleteStrSegment0(lv, fromL[lv] + 1, toL[lv], diff); 413 boundary_to -= diff; [all...] |
/external/icu/icu4c/source/i18n/ |
japancal.cpp | 411 int32_t diff = year - kEraInfo[i].year; local 415 diff,low, high, i, kEraInfo[i].month-1, kEraInfo[i].day, kEraInfo[i].year, internalGet(UCAL_MONTH), internalGet(UCAL_DATE),year); 421 if (diff == 0) { 422 diff = internalGet(UCAL_MONTH) - (kEraInfo[i].month - 1); 424 fprintf(stderr, "diff now %d (M) = %d - %d - 1\n", diff, internalGet(UCAL_MONTH), kEraInfo[i].month); 426 if (diff == 0) { 427 diff = internalGet(UCAL_DATE) - kEraInfo[i].day; 429 fprintf(stderr, "diff now %d (D)\n", diff); [all...] |
/external/e2fsprogs/misc/ |
findsuper.c | 198 time_t now, diff; local 201 diff = now - last; 203 if (diff > 0) { 207 (((sk - skl)) / diff) >> 10, s); 210 if (diff < 5) 212 else if (diff > 20)
|
/external/icu/android_icu4j/src/main/java/android/icu/util/ |
JapaneseCalendar.java | 284 int diff = year - ERAS[i*3]; local 289 if (diff == 0) { 290 diff = internalGet(MONTH) - (ERAS[i*3 + 1] - 1); 291 if (diff == 0) { 292 diff = internalGet(DAY_OF_MONTH) - ERAS[i*3 + 2]; 295 if (diff >= 0) {
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/ |
JapaneseCalendar.java | 298 int diff = year - ERAS[i*3]; local 303 if (diff == 0) { 304 diff = internalGet(MONTH) - (ERAS[i*3 + 1] - 1); 305 if (diff == 0) { 306 diff = internalGet(DAY_OF_MONTH) - ERAS[i*3 + 2]; 309 if (diff >= 0) {
|
/external/libnl/lib/netfilter/ |
queue_obj.c | 169 int diff = 0; local 176 diff |= NFNL_QUEUE_DIFF_VAL(GROUP, queue_group); 177 diff |= NFNL_QUEUE_DIFF_VAL(MAXLEN, queue_maxlen); 178 diff |= NFNL_QUEUE_DIFF_VAL(COPY_MODE, queue_copy_mode); 179 diff |= NFNL_QUEUE_DIFF_VAL(COPY_RANGE, queue_copy_range); 184 return diff;
|