| /external/ltp/testcases/kernel/fs/lftest/ |
| lftest.c | 49 int writecnt = 0, seekcnt = 0, diff; local 87 diff = time2 - time1; 91 writecnt, seekcnt, diff / 60, diff % 60);
|
| /external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cancel/ |
| 2-3.c | 99 double diff; local 135 diff = destructor_time.tv_sec - cleanup_time.tv_sec; 136 diff += 139 if (diff < 0) {
|
| /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
| ShadowProgressBar.java | 70 public void incrementProgressBy(int diff) { 71 if (!isIndeterminate()) setProgress(progress + diff); 75 public void incrementSecondaryProgressBy(int diff) { 76 if (!isIndeterminate()) setSecondaryProgress(secondaryProgress + diff);
|
| /external/valgrind/auxprogs/ |
| posixtestsuite-1.5.1-diff-results | 20 diff -U2 tmptmp_1 tmptmp_2;
|
| /libcore/ojluni/src/main/native/ |
| PollArrayWrapper.c | 47 int diff; local 58 diff = now - start; 59 remaining -= diff; 60 if (diff < 0 || remaining <= 0) {
|
| /external/autotest/server/site_tests/power_USBHotplugInSuspend/ |
| power_USBHotplugInSuspend.py | 86 diff = after_suspend ^ before_suspend 87 if not diff: 94 diff = after_hotplug ^ after_suspend 95 if not diff: 120 diff = after_insert - before_insert 121 logging.info('Inserted USB device(s): %s' % (",".join(diff))) 122 if not diff:
|
| /external/libvpx/libvpx/test/ |
| vp9_subtract_test.cc | 44 int16_t *diff = reinterpret_cast<int16_t *>( local 45 vpx_memalign(16, sizeof(*diff) * block_width * block_height * 2)); 59 GetParam()(block_height, block_width, diff, block_width, src, block_width, 64 EXPECT_EQ(diff[r * block_width + c], 70 GetParam()(block_height, block_width, diff, block_width * 2, src, 76 diff[r * block_width * 2 + c], 82 vpx_free(diff);
|
| /external/ltp/testcases/realtime/func/thread_clock/ |
| tc-2.c | 137 float diff, threadstime = 0; local 159 diff = proctime - threadstime; 160 if (diff < 0) 161 diff = -diff; 164 printf("Delta: %.4f s\n", diff); 169 if (diff > pass_criteria) {
|
| /tools/repohooks/rh/ |
| hooks.py | 49 def __init__(self, diff=()): 53 diff: The list of files that changed. 55 self.diff = diff 118 return [x.file for x in self.diff if x.status != 'D'] 147 def expand_vars(args, diff=()): 149 replacer = Placeholders(diff=diff) 152 def args(self, default_args=(), diff=()): 157 diff: The list of files that changed in the current commit [all...] |
| /cts/tests/tests/content/src/android/content/pm/cts/ |
| FeatureGroupInfoTest.java | 134 int diff = sFeatureInfoComparator.compare(a[i], b[i]); local 135 if (diff != 0) { 136 return diff; 158 final int diff; 160 diff = -1; 162 diff = 1; 164 diff = Integer.compare(o1.reqGlEsVersion, o2.reqGlEsVersion); 166 diff = o1.name.compareTo(o2.name); 169 if (diff == 0) { 172 return diff; [all...] |
| /cts/tests/tests/graphics/src/android/graphics/cts/ |
| VulkanPreTransformTest.java | 128 int diff = 0; local 130 diff += pixelDiff(bitmap.getPixel(0, 0), 0, 255, 0); 131 diff += pixelDiff(bitmap.getPixel(width - 1, 0), 255, 255, 0); 132 diff += pixelDiff(bitmap.getPixel(0, height - 1), 255, 0, 0); 133 diff += pixelDiff(bitmap.getPixel(width - 1, height - 1), 0, 0, 255); 135 diff += pixelDiff(bitmap.getPixel(0, 0), 255, 0, 0); 136 diff += pixelDiff(bitmap.getPixel(width - 1, 0), 0, 255, 0); 137 diff += pixelDiff(bitmap.getPixel(0, height - 1), 0, 0, 255); 138 diff += pixelDiff(bitmap.getPixel(width - 1, height - 1), 255, 255, 0); 141 return diff < 10 [all...] |
| /packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
| EntityDiff.java | 48 final EntityDiff diff = new EntityDiff(); local 57 diff.add(builder.build()); 66 diff.add(builder.build()); 74 diff.add(builder.build()); 79 diff.add(builder.build()); 89 diff.add(builder.build()); 105 diff.add(builder.build()); 112 diff.add(builder.build()); 123 diff.add(builder.build()); 127 return diff; [all...] |
| EntitySet.java | 115 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 122 delta.buildAssert(diff); 125 final int assertMark = diff.size(); 132 final int firstBatch = diff.size(); 134 delta.buildDiff(diff); 147 diff.add(builder.build()); 158 diff.add(builder.build()); 163 buildSplitContactDiff(diff, backRefs); 167 if (diff.size() == assertMark) { 168 diff.clear() [all...] |
| /art/compiler/linker/x86/ |
| relative_patcher_x86.cc | 53 uint32_t diff = target_offset - anchor_offset; local 54 (*code)[literal_offset + 0u] = static_cast<uint8_t>(diff >> 0); 55 (*code)[literal_offset + 1u] = static_cast<uint8_t>(diff >> 8); 56 (*code)[literal_offset + 2u] = static_cast<uint8_t>(diff >> 16); 57 (*code)[literal_offset + 3u] = static_cast<uint8_t>(diff >> 24);
|
| relative_patcher_x86_test.cc | 100 uint32_t diff = kTrampolineOffset - (result.second + kCallCode.size()); local 103 static_cast<uint8_t>(diff), 104 static_cast<uint8_t>(diff >> 8), 105 static_cast<uint8_t>(diff >> 16), 106 static_cast<uint8_t>(diff >> 24) 131 uint32_t diff = bss_begin_ + kStringEntryOffset - (result.second + anchor_offset); local 135 0x8b, 0x83, // mov eax, [ebx + diff] 136 static_cast<uint8_t>(diff), 137 static_cast<uint8_t>(diff >> 8), 138 static_cast<uint8_t>(diff >> 16) 163 uint32_t diff = kStringOffset - (result.second + anchor_offset); local [all...] |
| /bionic/libc/upstream-openbsd/lib/libc/stdio/ |
| fgetln.c | 106 size_t diff; local 125 diff = p - fp->_p; 126 len += diff; 130 diff); 131 fp->_r -= diff;
|
| /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/scripts/ |
| diff.py | 16 parser.add_option("-c", action="store_true", default=False, help='Produce a context format diff (default)')
17 parser.add_option("-u", action="store_true", default=False, help='Produce a unified format diff')
18 parser.add_option("-m", action="store_true", default=False, help='Produce HTML side by side diff (can use -c and -l in conjunction)')
19 parser.add_option("-n", action="store_true", default=False, help='Produce a ndiff format diff')
38 diff = difflib.unified_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n)
40 diff = difflib.ndiff(fromlines, tolines)
42 diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n)
44 diff = difflib.context_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n)
46 sys.stdout.writelines(diff)
|
| /external/annotation-tools/annotation-file-utilities/tests/abbreviated/ |
| 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)) 40 # Display results of all .diff files. 76 %.diff: %.goal %.output 77 -diff -u $*.goal $*.output >& $*.diff 79 # Remove all .diff, .log files from the tests directory. 83 rm -f *.diff
|
| /external/python/cpython2/Tools/scripts/ |
| diff.py | 17 parser.add_option("-c", action="store_true", default=False, help='Produce a context format diff (default)') 18 parser.add_option("-u", action="store_true", default=False, help='Produce a unified format diff') 19 parser.add_option("-m", action="store_true", default=False, help='Produce HTML side by side diff (can use -c and -l in conjunction)') 20 parser.add_option("-n", action="store_true", default=False, help='Produce a ndiff format diff') 39 diff = difflib.unified_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n) 41 diff = difflib.ndiff(fromlines, tolines) 43 diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n) 45 diff = difflib.context_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n) 47 sys.stdout.writelines(diff)
|
| /external/python/cpython3/Tools/scripts/ |
| diff.py | 23 help='Produce a context format diff (default)') 25 help='Produce a unified format diff') 27 help='Produce HTML side by side diff ' 30 help='Produce a ndiff format diff') 49 diff = difflib.unified_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n) 51 diff = difflib.ndiff(fromlines, tolines) 53 diff = difflib.HtmlDiff().make_file(fromlines,tolines,fromfile,tofile,context=options.c,numlines=n) 55 diff = difflib.context_diff(fromlines, tolines, fromfile, tofile, fromdate, todate, n=n) 57 sys.stdout.writelines(diff)
|
| /art/compiler/linker/x86_64/ |
| relative_patcher_x86_64_test.cc | 120 uint32_t diff = kTrampolineOffset - (result.second + kCallCode.size()); local 123 static_cast<uint8_t>(diff), 124 static_cast<uint8_t>(diff >> 8), 125 static_cast<uint8_t>(diff >> 16), 126 static_cast<uint8_t>(diff >> 24) 144 uint32_t diff = bss_begin_ + kStringEntryOffset - (result.second + kDexCacheLoadCode.size()); local 147 static_cast<uint8_t>(diff), 148 static_cast<uint8_t>(diff >> 8), 149 static_cast<uint8_t>(diff >> 16), 150 static_cast<uint8_t>(diff >> 24 168 uint32_t diff = kStringOffset - (result.second + kStringReferenceCode.size()); local [all...] |
| /external/libvpx/libvpx/vpx_dsp/mips/ |
| sad_msa.c | 30 v16u8 diff; local 42 diff = __msa_asub_u_b(src, ref); 43 sad += __msa_hadd_u_h(diff, diff); 169 v16u8 ref0, ref1, ref2, ref3, diff; local 182 diff = __msa_asub_u_b(src, ref); 183 sad0 += __msa_hadd_u_h(diff, diff); 188 diff = __msa_asub_u_b(src, ref); 189 sad1 += __msa_hadd_u_h(diff, diff) 242 v16u8 src, ref, ref0, ref1, diff; local 291 v16u8 ref0, ref1, ref2, ref3, diff; local 442 v16u8 diff; local 546 v16u8 diff; local 654 v16u8 src, ref0, ref1, ref2, ref3, diff; local 829 v16u8 diff, pred, comp; local [all...] |
| variance_msa.c | 36 #define VARIANCE_WxH(sse, diff, shift) sse - (((uint32_t)diff * diff) >> shift) 38 #define VARIANCE_LARGE_WxH(sse, diff, shift) \ 39 sse - (((int64_t)diff * diff) >> shift) 43 int32_t height, int32_t *diff) { 64 *diff = HADD_SW_S32(vec); 71 int32_t height, int32_t *diff) { 91 *diff = HADD_SW_S32(vec) 551 int32_t diff; local 561 int32_t diff; local 571 int32_t diff; local [all...] |
| /art/compiler/linker/mips/ |
| relative_patcher_mips32r6_test.cc | 47 0x34, 0x12, 0x5E, 0xEE, // auipc s2, high(diff); placeholder = 0x1234 48 0x78, 0x56, 0x52, 0x26, // addiu s2, s2, low(diff); placeholder = 0x5678 49 0x78, 0x56, 0x52, 0x8E, // lw s2, (low(diff))(s2) ; placeholder = 0x5678 66 uint32_t diff = target_offset - (result.second + kAnchorOffset); local 67 diff += (diff & 0x8000) << 1; // Account for sign extension in addiu/lw. 70 static_cast<uint8_t>(diff >> 16), static_cast<uint8_t>(diff >> 24), 0x5E, 0xEE, 71 static_cast<uint8_t>(diff), static_cast<uint8_t>(diff >> 8), 0x52, 0x26 [all...] |
| relative_patcher_mips_test.cc | 49 0x34, 0x12, 0x12, 0x3C, // lui s2, high(diff); placeholder = 0x1234 51 0x78, 0x56, 0x52, 0x26, // addiu s2, s2, low(diff); placeholder = 0x5678 52 0x78, 0x56, 0x52, 0x8E, // lw s2, (low(diff))(s2) ; placeholder = 0x5678 69 uint32_t diff = target_offset - (result.second + kAnchorOffset); local 70 diff += (diff & 0x8000) << 1; // Account for sign extension in addiu/lw. 74 static_cast<uint8_t>(diff >> 16), static_cast<uint8_t>(diff >> 24), 0x12, 0x3C, 76 static_cast<uint8_t>(diff), static_cast<uint8_t>(diff >> 8), 0x52, 0x26 [all...] |