/ndk/tests/device/test-stlport/unit/ |
setunion_test.cpp | 61 vector<int> diff; local 62 set_union(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); 63 CPPUNIT_ASSERT( diff.size() == 17 ); 65 CPPUNIT_ASSERT( diff[i] == i ); 74 string diff; local 76 back_inserter(diff), less<char>()); 77 CPPUNIT_ASSERT( diff.size() == 26 ); 79 CPPUNIT_ASSERT( diff[i] == ('A' + i) );
|
/external/bzip2/ |
bzdiff.1 | 21 .I diff 26 .IR diff "." 34 .IR diff "." 38 .I diff 41 cmp(1), diff(1), bzmore(1), bzless(1), bzgrep(1), bzip2(1) 46 .I diff
|
/external/icu4c/common/ |
ucnvbocu.cpp | 212 /* Faster versions of packDiff() for single-byte-encoded diff values. */ 214 /** Is a diff value encodable in a single byte? */ 215 #define DIFF_IS_SINGLE(diff) (BOCU1_REACH_NEG_1<=(diff) && (diff)<=BOCU1_REACH_POS_1) 217 /** Encode a diff value in a single byte. */ 218 #define PACK_SINGLE_DIFF(diff) (BOCU1_MIDDLE+(diff)) 220 /** Is a diff value encodable in two bytes? */ 221 #define DIFF_IS_DOUBLE(diff) (BOCU1_REACH_NEG_2<=(diff) && (diff)<=BOCU1_REACH_POS_2 398 int32_t prev, c, diff; local 651 int32_t prev, c, diff; local 867 int32_t diff, count; local 947 int32_t prev, count, diff, c; local 1169 int32_t prev, count, diff, c; local [all...] |
/external/chromium_org/third_party/icu/source/common/ |
ucnvbocu.c | 248 * mode decoder's incomplete (diff<<2)|count (ignored when toULength==0) 263 * @param diff difference value -0x10ffff..0x10ffff 271 packDiff(int32_t diff) { 274 if(diff>=BOCU1_REACH_NEG_1) { 277 if(diff<=BOCU1_REACH_POS_1) { 279 return 0x01000000|(BOCU1_MIDDLE+diff); 282 if(diff<=BOCU1_REACH_POS_2) { 284 diff-=BOCU1_REACH_POS_1+1; 287 m=diff%BOCU1_TRAIL_COUNT; 288 diff/=BOCU1_TRAIL_COUNT 393 int32_t prev, c, diff; local 646 int32_t prev, c, diff; local 862 int32_t diff, count; local 942 int32_t prev, count, diff, c; local 1164 int32_t prev, count, diff, c; local [all...] |
/external/skia/tools/ |
skdiff_html.cpp | 79 static void print_pixel_count(SkFILEWStream* stream, const DiffRecord& diff) { 81 stream->writeDecAsText(static_cast<int>(diff.fFractionDifference * 82 diff.fBase.fBitmap.width() * 83 diff.fBase.fBitmap.height())); 86 stream->writeDecAsText(diff.fWeightedFraction * 87 diff.fBaseWidth * 88 diff.fBaseHeight); 93 static void print_checkbox_cell(SkFILEWStream* stream, const DiffRecord& diff) { 95 stream->writeText(diff.fBase.fFilename.c_str()); 99 static void print_label_cell(SkFILEWStream* stream, const DiffRecord& diff) { 287 DiffRecord* diff = differences[i]; local [all...] |
/external/guava/guava-tests/test/com/google/common/cache/ |
CacheStatsTest.java | 64 CacheStats diff = two.minus(one); local 65 assertEquals(76, diff.requestCount()); 66 assertEquals(42, diff.hitCount()); 67 assertEquals(42.0/76, diff.hitRate()); 68 assertEquals(34, diff.missCount()); 69 assertEquals(34.0/76, diff.missRate()); 70 assertEquals(26, diff.loadSuccessCount()); 71 assertEquals(22, diff.loadExceptionCount()); 72 assertEquals(22.0/48, diff.loadExceptionRate()); 73 assertEquals(26 + 22, diff.loadCount()) [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
double_const.py | 23 diff = abs(x - x2) 24 # If diff is no larger than 3 ULP (wrt x2), then diff/8 is no larger 25 # than 0.375 ULP, so adding diff/8 to x2 should have no effect. 26 if x2 + (diff / 8.) != x2:
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
double_const.py | 23 diff = abs(x - x2) 24 # If diff is no larger than 3 ULP (wrt x2), then diff/8 is no larger 25 # than 0.375 ULP, so adding diff/8 to x2 should have no effect. 26 if x2 + (diff / 8.) != x2:
|
/cts/tools/cts-api-coverage/src/com/android/cts/apicoverage/ |
HasCoverage.java | 28 int diff = Math.round(entity.getCoveragePercentage()) local 30 return diff != 0 ? diff : entity.getName().compareTo(otherEntity.getName());
|
/external/chromium_org/tools/git/ |
mass-rename.sh | 7 # a rename. Expects "git diff --cached -M" to list a bunch of renames. 12 # 3) look at git diff (without --cached) to see what the damage is 14 # for f in $(git diff --name-only origin); do ./tools/sort-headers.py $f; done
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/checkout/ |
diff_parser_unittest.py | 45 diff = parser.files['WebCore/rendering/style/StyleFlexibleBoxData.h'] 46 self.assertEqual(7, len(diff.lines)) 48 self.assertEqual((47, 47), diff.lines[0][0:2]) 49 self.assertEqual('', diff.lines[0][2]) 50 self.assertEqual((48, 48), diff.lines[1][0:2]) 51 self.assertEqual(' unsigned align : 3; // EBoxAlignment', diff.lines[1][2]) 53 self.assertEqual((50, 0), diff.lines[3][0:2]) 54 self.assertEqual(' unsigned orient: 1; // EBoxOrient', diff.lines[3][2]) 58 diff = parser.files['WebCore/rendering/style/StyleRareInheritedData.cpp'] 60 self.assertEqual(7 + 7 + 9, len(diff.lines) [all...] |
/external/chromium_org/tools/site_compare/operators/ |
equals_with_mask.py | 41 diff = ImageChops.difference(im1, im2) 52 diff = ImageChops.multiply(diff, mask.convert(diff.mode)) 54 if max(diff.getextrema()) != (0, 0): 55 return ("The images differ", diff)
|
/external/smack/src/org/xbill/DNS/ |
Serial.java | 36 long diff = serial1 - serial2; local 37 if (diff >= MAX32) 38 diff -= (MAX32 + 1); 39 else if (diff < -MAX32) 40 diff += (MAX32 + 1); 41 return (int)diff;
|
/external/clang/utils/ABITest/layout/ |
Makefile | 29 test.%.report: test.%.x.diff test.%.y.diff 42 .PRECIOUS: test.%.x.diff 43 test.%.x.diff: test.%.ref.out test.%.x.out 44 -diff $^ > $@ 45 .PRECIOUS: test.%.y.diff 46 test.%.y.diff: test.%.ref.out test.%.y.out 47 -diff $^ > $@
|
/external/llvm/test/Analysis/BasicAA/ |
2003-09-19-LocalArgument.ll | 13 %Diff = sub i32 %V1, %V2 14 ret i32 %Diff
|
/external/llvm/tools/llvm-diff/ |
DiffLog.cpp | 34 Diff.push_back(DiffRecord(L, R)); 38 Diff.push_back(DiffRecord(L, DiffRecord::second_type(0))); 42 Diff.push_back(DiffRecord(DiffRecord::first_type(0), R)); 45 unsigned DiffLogBuilder::getNumLines() const { return Diff.size(); } 48 return (Diff[I].first ? (Diff[I].second ? DC_match : DC_left) 51 Instruction *DiffLogBuilder::getLeft(unsigned I) const { return Diff[I].first; } 52 Instruction *DiffLogBuilder::getRight(unsigned I) const { return Diff[I].second; }
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
RawContactDeltaTests.java | 45 * correctly build expected "diff" operations. 170 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 171 source.buildDiff(diff); 173 assertTrue("Created changes when none needed", (diff.size() == 0)); 188 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 189 source.buildAssert(diff); 190 source.buildDiff(diff); 191 assertEquals("Unexpected operations", 4, diff.size()); 193 final ContentProviderOperation oper = diff.get(0); 197 final ContentProviderOperation oper = diff.get(1) 228 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 267 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 300 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 325 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 353 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local [all...] |
/external/chromium_org/third_party/jemalloc/chromium/ |
crtsp1.diff | 8 diff -re crt/src/crt0.c crt-sp1/src/crt0.c 20 diff -re crt/src/_sample_.rc crt-sp1/src/_sample_.rc 40 diff -re crt/src/crt0dat.c crt-sp1/src/crt0dat.c 43 diff -re crt/src/crtexe.c crt-sp1/src/crtexe.c 45 diff -re crt/src/crtheap.c crt-sp1/src/crtheap.c 50 diff -re crt/src/crtlib.c crt-sp1/src/crtlib.c 74 diff -re crt/src/dllcrt0.c crt-sp1/src/dllcrt0.c 80 diff -re crt/src/intel/_sample_.def crt-sp1/src/intel/_sample_.def 99 diff -re crt/src/internal.h crt-sp1/src/internal.h 106 diff -re crt/src/makefile crt-sp1/src/makefil [all...] |
/external/chromium_org/third_party/jemalloc/vendor/ |
crtsp1.diff | 8 diff -re crt/src/crt0.c crt-sp1/src/crt0.c 20 diff -re crt/src/_sample_.rc crt-sp1/src/_sample_.rc 40 diff -re crt/src/crt0dat.c crt-sp1/src/crt0dat.c 43 diff -re crt/src/crtexe.c crt-sp1/src/crtexe.c 45 diff -re crt/src/crtheap.c crt-sp1/src/crtheap.c 50 diff -re crt/src/crtlib.c crt-sp1/src/crtlib.c 74 diff -re crt/src/dllcrt0.c crt-sp1/src/dllcrt0.c 80 diff -re crt/src/intel/_sample_.def crt-sp1/src/intel/_sample_.def 99 diff -re crt/src/internal.h crt-sp1/src/internal.h 106 diff -re crt/src/makefile crt-sp1/src/makefil [all...] |
/external/libvpx/libvpx/vp8/encoder/arm/armv6/ |
vp8_subtract_armv6.asm | 60 str r0, [r6, #0] ; diff 61 str r1, [r6, #4] ; diff 63 add r6, r6, r2, lsl #1 ; update diff pointer 72 ; r0 short *diff 83 add r0, r0, #512 ; set *diff point to Cb 107 str r8, [r0], #4 ; diff (A) 109 str r9, [r0], #4 ; diff (A) 124 str r8, [r0], #4 ; diff (B) 126 str r9, [r0], #4 ; diff (B) 152 str r8, [r0], #4 ; diff (A [all...] |
/external/libvpx/libvpx/vp9/decoder/x86/ |
vp9_dequantize_sse2.c | 18 void vp9_add_constant_residual_8x8_sse2(const int16_t diff, uint8_t *dest, 38 // Clip diff value to [0, 255] range. Then, do addition or subtraction 40 if (diff >= 0) { 41 abs_diff = (diff > 255) ? 255 : diff; 49 abs_diff = (diff < -255) ? 255 : -diff; 75 void vp9_add_constant_residual_16x16_sse2(const int16_t diff, uint8_t *dest, 98 // Clip diff value to [0, 255] range. Then, do addition or subtraction 100 if (diff >= 0) [all...] |
/external/chromium_org/printing/ |
printed_page.cc | 32 int diff = paper_size.width() - page_size().width(); local 33 content_rect->set_x(content_rect->x() + diff / 2); 36 int diff = paper_size.height() - page_size().height(); local 37 content_rect->set_y(content_rect->y() + diff / 2);
|
/external/llvm/test/Feature/ |
linker_private_linkages.ll | 3 ; RUN: diff %t1.ll %t2.ll
|
properties.ll | 3 ; RUN: diff %t1.ll %t2.ll
|
small.ll | 3 ; RUN: diff %t1.ll %t2.ll
|