/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
UnicodeEscaper.java | 391 char c1 = seq.charAt(index++); local 392 if (c1 < Character.MIN_HIGH_SURROGATE || 393 c1 > Character.MAX_LOW_SURROGATE) { 395 return c1; 396 } else if (c1 <= Character.MAX_HIGH_SURROGATE) { 399 return -c1; 404 return Character.toCodePoint(c1, c2); 411 "Unexpected low surrogate character '" + c1 + 412 "' with value " + (int) c1 + " at index " + (index - 1));
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
UnicodeEscaper.java | 391 char c1 = seq.charAt(index++); local 392 if (c1 < Character.MIN_HIGH_SURROGATE || 393 c1 > Character.MAX_LOW_SURROGATE) { 395 return c1; 396 } else if (c1 <= Character.MAX_HIGH_SURROGATE) { 399 return -c1; 404 return Character.toCodePoint(c1, c2); 411 "Unexpected low surrogate character '" + c1 + 412 "' with value " + (int) c1 + " at index " + (index - 1));
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
CurrencyTest.java | 43 Currency c1 = Currency.getInstance(new Locale("en", "CA")); local 46 c1 == c0); 57 c1 = Currency.getInstance(new Locale("ja", "JP")); 60 c1 == c0); 303 Currency c1 = Currency.getInstance("EUR"); local 304 c1.getDefaultFractionDigits(); 305 assertEquals(" Currency.getInstance(\"" + c1 306 + "\") returned incorrect number of digits. ", 2, c1
|
/libcore/luni/src/test/java/tests/api/java/util/ |
CurrencyTest.java | 49 Currency c1 = Currency.getInstance(new Locale("en", "CA")); local 52 c1 == c0); 63 c1 = Currency.getInstance(new Locale("ja", "JP")); 66 c1 == c0); 300 Currency c1 = Currency.getInstance("TND"); local 301 c1.getDefaultFractionDigits(); 302 assertEquals(" Currency.getInstance(\"" + c1 303 + "\") returned incorrect number of digits. ", 3, c1
|
/external/guava/guava-tests/test/com/google/common/base/ |
FunctionsTest.java | 300 Function<Float, Boolean> c1 = Functions.compose(Functions.compose(h, g), f); local 304 // assertEquals(c1, c2); 307 assertEquals(c1.hashCode(), c2.hashCode()); 309 assertEquals(c1.apply(1.0f), c2.apply(1.0f)); 310 assertEquals(c1.apply(5.0f), c2.apply(5.0f));
|
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
WallpaperCropActivity.java | 727 Matrix c1 = new Matrix(); local 728 c1.setConcat(m2, m1); 731 m.setConcat(c2, c1); [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
ProviderTest.java | 241 Collection c1 = p.values(); local 243 assertNotSame(c, c1); 244 assertFalse(c1.isEmpty()); 245 assertEquals(8, c1.size()); 247 assertTrue(c1.contains("MyProvider")); 248 assertTrue(c1.contains("aaa.bbb.ccc.ddd")); 249 assertTrue(c1.contains("Provider for testing")); 250 assertTrue(c1.contains("1.0")); 251 assertTrue(c1.contains("SomeClassName")); 252 assertTrue(c1.contains("SHA-1")) [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
UtilityUnitTests.java | 320 final Cursor c1 = new MatrixCursorWithCachedColumns(new String[] {"col"}); local 321 final Cursor c2 = new CursorWrapper(c1); 327 assertFalse(TextUtils.isEmpty(Utility.dumpCursor(c1))); 333 c1.close(); 334 assertFalse(TextUtils.isEmpty(Utility.dumpCursor(c1)));
|
/art/runtime/verifier/ |
reg_type.cc | 897 mirror::Class* c1 = GetClass(); local 899 DCHECK(c1 != NULL && !c1->IsPrimitive()); 901 mirror::Class* join_class = ClassJoin(c1, c2); 902 if (c1 == join_class && !IsPreciseReference()) {
|
/bionic/libc/arch-arm/bionic/ |
strcmp.a15.S | 563 char c1, c2; 568 c1 = *s1++; define 570 if (c1 == 0 || c1 != c2) 571 return c1 - (int)c2; 592 c1 = (char) t1 >> 24; define 595 c1 = (char) t1; define 600 } while (c1 != 0 && c1 == c2); 601 return c1 - c2 [all...] |
/bionic/tests/ |
string_test.cpp | 716 int c1 = random() & 0xff; local 718 memset(state.ptr1, c1, state.MAX_LEN); 719 memset(state.ptr2, c1, state.MAX_LEN); 724 int expected = (static_cast<int>(c1) - static_cast<int>(c2)); 743 unsigned short c1 = rand() & mask; local 746 std::fill(state.ptr1, state.ptr1 + state.MAX_LEN, c1); 747 std::fill(state.ptr2, state.ptr2 + state.MAX_LEN, c1); 752 int expected = (static_cast<unsigned short>(c1) - static_cast<unsigned short>(c2)); 769 int c1 = rand() & mask; local 771 wmemset(state.ptr1, c1, state.MAX_LEN) [all...] |
/cts/tests/tests/webkit/src/android/webkit/cts/ |
CookieManagerTest.java | 53 CookieManager c1 = CookieManager.getInstance(); local 56 assertSame(c1, c2);
|
/dalvik/libdex/ |
DexProto.cpp | 420 char c1 = *(protoDesc++); local 423 if (c1 < c2) { 426 } else if (c1 > c2) { 429 } else if (c1 == '\0') {
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ColorPickerDialog.java | 130 int c1 = colors[i+1]; local 131 int a = ave(Color.alpha(c0), Color.alpha(c1), p); 132 int r = ave(Color.red(c0), Color.red(c1), p); 133 int g = ave(Color.green(c0), Color.green(c1), p); 134 int b = ave(Color.blue(c0), Color.blue(c1), p);
|
/device/google/accessory/demokit/app/src/com/google/android/DemoKit/ |
ColorWheel.java | 147 int c1 = colors[i+1]; local 148 int a = ave(Color.alpha(c0), Color.alpha(c1), p); 149 int r = ave(Color.red(c0), Color.red(c1), p); 150 int g = ave(Color.green(c0), Color.green(c1), p); 151 int b = ave(Color.blue(c0), Color.blue(c1), p);
|
/external/apache-harmony/security/src/test/api/java.injected/java/security/ |
IdentityTest.java | 120 CertificateStub c1 = new CertificateStub("fff", null, null, pk1); local 121 i.addCertificate(c1); 122 assertSame(c1, i.certificates()[0]); 137 CertificateStub c1 = new CertificateStub("fff", null, null, pk1); local 138 i.addCertificate(c1); 139 assertSame(c1, i.certificates()[0]); 163 // CertificateStub c1 = new CertificateStub("fff", null, null, pk1); 164 // i.addCertificate(c1); 165 // assertSame(c1, i.certificates()[0]); 166 // i.removeCertificate(c1); 188 CertificateStub c1 = new CertificateStub("fff", null, null, pk1); local 294 CertificateStub c1 = new CertificateStub("fff", null, null, pk1); local [all...] |
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/cert/ |
TestUtils.java | 100 X509Certificate c1 = (X509Certificate)cf.generateCertificate(bis); local 102 return new TrustAnchor(c1, null);
|
/external/apache-xml/src/main/java/org/apache/xpath/objects/ |
XStringForFSB.java | 484 char c1 = fsb.charAt(i); local 487 if (c1 != c2) 489 return c1 - c2; 530 char c1 = Character.toLowerCase(fsb.charAt(i)); local 533 if (c1 != c2) 535 return c1 - c2;
|
/external/chromium_org/base/ |
callback_list_unittest.cc | 105 CallbackList<void(int)> c1; local 107 c1.Add(Bind(&Summer::AddOneParam, Unretained(&s))); 109 c1.Notify(1);
|
/external/chromium_org/third_party/WebKit/Source/core/fetch/ |
TextResourceDecoder.cpp | 205 unsigned char c1 = buf1Len ? (--buf1Len, *buf1++) : buf2Len ? (--buf2Len, *buf2++) : 0; local 211 if (c1 == 0xFF && c2 == 0xFE) { 219 } else if (c1 == 0xEF && c2 == 0xBB && c3 == 0xBF) { 222 } else if (c1 == 0xFE && c2 == 0xFF) { 225 } else if (!c1 && !c2 && c3 == 0xFE && c4 == 0xFF) {
|
/external/chromium_org/third_party/WebKit/Source/wtf/text/ |
TextEncodingRegistry.cpp | 54 char c1; local 60 c1 = toASCIILower(*s1++); 62 if (c1 != c2) 65 c1 = *s1++; 67 if (toASCIILower(c1) != toASCIILower(c2)) 70 } while (c1 && c2); 71 return !c1 && !c2;
|
/external/chromium_org/third_party/icu/source/common/ |
uidna.cpp | 95 UChar c1,c2; local 105 c1 = s1[i]; 109 if(c1!=c2) { 110 rc=(int32_t)toASCIILower(c1)-(int32_t)toASCIILower(c2);
|
ustrcase.c | 672 UChar32 c1, c2, cp1, cp2; local 701 c1=c2=-1; 710 if(c1<0) { 713 if(s1==limit1 || ((c1=*s1)==0 && (limit1==NULL || (options&_STRNCMP_STYLE)))) { 715 c1=-1; 757 * compare c1 and c2 758 * either variable c1, c2 is -1 only if the corresponding string is finished 760 if(c1==c2) { 761 if(c1<0) { 762 return 0; /* c1==c2==-1 indicating end of strings * [all...] |
/external/chromium_org/third_party/icu/source/test/intltest/ |
idnaref.cpp | 76 UChar c1,c2; local 85 c1 = s1[i]; 89 if(c1!=c2) { 90 rc=(int32_t)toASCIILower(c1)-(int32_t)toASCIILower(c2);
|
itercoll.cpp | 95 RuleBasedCollator *c1 = NULL; local 96 c1 = new RuleBasedCollator( 99 if (c1 == NULL || U_FAILURE(status)) 102 delete c1; 107 iter = c1->createCollationElementIterator(source); 110 delete c1; 601 int32_t c1, c2, count = 0; local 606 c1 = i1.next(status); 609 if (c1 != c2) 611 errln(" %d: strength(0x%X) != strength(0x%X)", count, c1, c2) [all...] |