/external/icu4c/i18n/ |
bocsu.c | 29 u_writeDiff(int32_t diff, uint8_t *p) { 30 if(diff>=SLOPE_REACH_NEG_1) { 31 if(diff<=SLOPE_REACH_POS_1) { 32 *p++=(uint8_t)(SLOPE_MIDDLE+diff); 33 } else if(diff<=SLOPE_REACH_POS_2) { 34 *p++=(uint8_t)(SLOPE_START_POS_2+(diff/SLOPE_TAIL_COUNT)); 35 *p++=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); 36 } else if(diff<=SLOPE_REACH_POS_3) { 37 p[2]=(uint8_t)(SLOPE_MIN+diff%SLOPE_TAIL_COUNT); 38 diff/=SLOPE_TAIL_COUNT [all...] |
/external/webkit/WebKitTools/Scripts/webkitpy/ |
diff_parser_unittest.py | 36 _PATCH = '''diff --git a/WebCore/rendering/style/StyleFlexibleBoxData.h b/WebCore/rendering/style/StyleFlexibleBoxData.h 48 diff --git a/WebCore/rendering/style/StyleRareInheritedData.cpp b/WebCore/rendering/style/StyleRareInheritedData.cpp 78 diff --git a/LayoutTests/platform/mac/fast/flexbox/box-orient-button-expected.checksum b/LayoutTests/platform/mac/fast/flexbox/box-orient-button-expected.checksum 94 diff = parser.files['WebCore/rendering/style/StyleFlexibleBoxData.h'] 95 self.assertEquals(7, len(diff.lines)) 97 self.assertEquals((47, 47), diff.lines[0][0:2]) 98 self.assertEquals('', diff.lines[0][2]) 99 self.assertEquals((48, 48), diff.lines[1][0:2]) 100 self.assertEquals(' unsigned align : 3; // EBoxAlignment', diff.lines[1][2]) 102 self.assertEquals((50, 0), diff.lines[3][0:2] [all...] |
/external/stlport/test/unit/ |
setdiff_test.cpp | 63 vector<int> diff; local 64 set_symmetric_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); 65 CPPUNIT_ASSERT( diff.size() == 14 ); 68 CPPUNIT_ASSERT( diff[i] == int_res[i] ); 77 string diff; local 79 back_inserter(diff), less<char>()); 80 CPPUNIT_ASSERT( diff.size() == 22 ); 83 CPPUNIT_ASSERT( diff[i] == char_res[i] ); 115 vector<int> diff; local 116 set_difference(v1.begin(), v1.end(), v2.begin(), v2.end(), back_inserter(diff)); 128 string diff; local [all...] |
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
|
bzdiff | 4 # Bzcmp/diff wrapped for bzip2, 7 # Bzcmp and bzdiff are used to invoke the cmp or the diff pro- 9 # directly to cmp or diff. If only 1 file is specified, then 12 # necessary) and fed to cmp or diff. The exit status from cmp 13 # or diff is preserved. 19 *) comp=${DIFF-diff} ;;
|
/external/icu4c/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...] |
/packages/apps/Contacts/tests/src/com/android/contacts/ |
EntityModifierTests.java | 341 // Build diff, expecting insert for data row and update enforcement 342 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 343 state.buildDiff(diff); 344 assertEquals("Unexpected operations", 3, diff.size()); 346 final ContentProviderOperation oper = diff.get(0); 351 final ContentProviderOperation oper = diff.get(1); 356 final ContentProviderOperation oper = diff.get(2); 363 diff.clear(); 364 state.buildDiff(diff); 365 assertEquals("Unexpected operations", 1, diff.size()) 439 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 464 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 513 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 541 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 585 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 650 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local [all...] |
EntityDeltaTests.java | 44 * correctly build expected "diff" operations. 212 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 213 source.buildDiff(diff); 215 assertTrue("Created changes when none needed", (diff.size() == 0)); 230 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 231 source.buildAssert(diff); 232 source.buildDiff(diff); 233 assertEquals("Unexpected operations", 4, diff.size()); 235 final ContentProviderOperation oper = diff.get(0); 239 final ContentProviderOperation oper = diff.get(1) 270 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 309 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 342 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 367 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local 395 final ArrayList<ContentProviderOperation> diff = Lists.newArrayList(); local [all...] |
/packages/apps/Camera/src/com/android/camera/ |
RotateImageView.java | 59 int diff = mTargetDegree - mCurrentDegree; local 60 diff = diff >= 0 ? diff : 360 + diff; // make it in range [0, 359] 64 diff = diff > 180 ? diff - 360 : diff; 66 mClockwise = diff >= 0 [all...] |
/external/tcpdump/tests/ |
bgp_vpn_attrset.sh | 4 if (../tcpdump -t -n -v -r bgp_vpn_attrset.pcap | diff -w - bgp_vpn_attrset.out)
|
eapon1.sh | 7 if diff eapon1.new eapon1.out
|
esp0.sh | 5 if (../tcpdump -t -n -r 02-sunrise-sunset-esp.pcap | diff - esp0.out)
|
espudp1.sh | 7 if diff espudp1.new espudp1.out
|
isakmp1.sh | 6 if (../tcpdump -t -n -r isakmp-delete-segfault.pcap | diff - isakmp1.out)
|
isakmp2.sh | 6 if (../tcpdump -t -n -r isakmp-pointer-loop.pcap | diff - isakmp2.out)
|
isakmp3.sh | 7 if diff isakmp3.new isakmp3.out
|
isakmp4.sh | 7 if diff isakmp4.new isakmp4.out
|
lmp.sh | 7 if diff lmp.new lmp.out
|
ospf-gmpls.sh | 7 if diff ospf-gmpls.new ospf-gmpls.out
|
esp1.sh | 7 if diff esp1.new esp1.out
|
esp3.sh | 6 if diff esp3.new esp1.out
|
esp4.sh | 7 if diff esp4.new esp2.out
|
esp5.sh | 7 if diff esp5.new esp5.out
|
/external/iptables/extensions/ |
rename-dups.sh | 8 for f in `diff $t1 $t2 | grep "< " | awk -F"< " '{print $2}'`; do
|