/libcore/benchmarks/src/benchmarks/regression/ |
EqualsHashCodeBenchmark.java | 49 Object c2; field in class:EqualsHashCodeBenchmark 60 c2 = type.newInstance("http://developer.android.com/query?q=" + QUERY.substring(0, QUERY.length() - 3) + "%AF"); 80 c1.equals(c2);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/text/ |
CollatorTest.java | 28 Collator c2 = (Collator) c.clone(); local 29 assertTrue("Clones answered false to equals", c.equals(c2)); 30 assertTrue("Clones were equivalent", c != c2); 118 Collator c2 = (Collator) c.clone(); local 119 assertTrue("Cloned collators not equal", c.equals(c2)); 120 c2.setStrength(Collator.SECONDARY); 121 assertTrue("Collators with different strengths equal", !c.equals(c2)); 200 Collator c2 = Collator.getInstance(Locale.getDefault()); local 201 assertTrue("Wrong locale", c1.equals(c2));
|
/libcore/ojluni/src/main/java/java/lang/ |
CharSequence.java | 191 char c2 = charAt(i); local 192 if (Character.isLowSurrogate(c2)) { 194 block.accept(Character.toCodePoint(c1, c2)); 217 char c2 = charAt(cur); local 218 if (Character.isLowSurrogate(c2)) { 220 return Character.toCodePoint(c1, c2);
|
/libcore/ojluni/src/main/java/sun/util/locale/ |
LocaleUtils.java | 62 char c2 = s2.charAt(i); local 63 if (c1 != c2 && toLower(c1) != toLower(c2)) {
|
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
SequentialOpTest.java | 125 UnaryOperator<Stream<Integer>> c2 = changers[c2Index]; local 129 UnaryOperator<Stream<Integer>> composed = s -> s2.apply(c2.apply(s1.apply(c1.apply(s))));
|
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/containers/sequences/deque/deque.modifiers/ |
insert_iter_iter.pass.cpp | 47 test(int P, C& c1, const C& c2) 53 CI i = c1.insert(c1.begin() + P, BCI(c2.begin()), BCI(c2.end())); 55 assert(c1.size() == c1_osize + c2.size()); 60 for (int j = 0; j < c2.size(); ++j, ++i) 77 C c2 = make<C>(M); local 78 test(i, c1, c2); 86 C c2 = make<C>(M); local 87 test(i, c1, c2); 95 C c2 = make<C>(M) local 104 C c2 = make<C>(M); local 113 C c2 = make<C>(M); local 122 C c2 = make<C>(M); local 160 C c2 = make<C>(M); local 169 C c2 = make<C>(M); local 178 C c2 = make<C>(M); local 187 C c2 = make<C>(M); local 196 C c2 = make<C>(M); local [all...] |
/ndk/sources/cxx-stl/llvm-libc++/libcxx/test/input.output/iostreams.base/ios/basic.ios.members/ |
swap.pass.cpp | 86 char c1, c2, c3; local 88 ios1.pword(1) = &c2; 158 assert(ios2.pword(1) == &c2);
|
/toolchain/binutils/binutils-2.25/ld/testsuite/ld-sh/sh64/ |
reldl-2.s | 31 .global c2 32 c2: label 134 .long c2
|
/external/guava/guava-gwt/test-super/com/google/common/base/super/com/google/common/base/ |
FunctionsTest.java | 204 Function<Float, Boolean> c2 = Functions.compose(h, Functions.compose(g, f)); local 207 // assertEquals(c1, c2); 210 assertEquals(c1.hashCode(), c2.hashCode()); 212 assertEquals(c1.apply(1.0f), c2.apply(1.0f)); 213 assertEquals(c1.apply(5.0f), c2.apply(5.0f));
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/ |
LocaleAliasTest.java | 72 Calendar c2 = Calendar.getInstance(newLoc); local 73 c1.setTime(c2.getTime()); 76 // int firstDayOfWeek2 = c2.getFirstDayOfWeek(); 85 ULocale l2 = c2.getLocale(ULocale.VALID_LOCALE); 92 if(!c1.equals(c2)){ 93 errln("CalendarTest: c1!=c2. newLoc= "+newLoc +" oldLoc= "+oldLoc);
|
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/ |
LocaleAliasTest.java | 68 Calendar c2 = Calendar.getInstance(newLoc); local 69 c1.setTime(c2.getTime()); 72 // int firstDayOfWeek2 = c2.getFirstDayOfWeek(); 81 ULocale l2 = c2.getLocale(ULocale.VALID_LOCALE); 88 if(!c1.equals(c2)){ 89 errln("CalendarTest: c1!=c2. newLoc= "+newLoc +" oldLoc= "+oldLoc);
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/internal/analysis/ |
CounterImplTest.java | 65 ICounter c2 = CounterImpl.getInstance(30, 30); local 66 assertSame(c1, c2); 72 ICounter c2 = CounterImpl.getInstance(31, 30); local 73 assertNotSame(c1, c2); 161 ICounter c2 = CounterImpl.getInstance(300, 123); local 162 assertEquals(c1, c2); 168 ICounter c2 = CounterImpl.getInstance(400, 123); local 169 assertFalse(c1.equals(c2)); 175 ICounter c2 = CounterImpl.getInstance(300, 124); local 176 assertFalse(c1.equals(c2)); 188 ICounter c2 = CounterImpl.getInstance(300, 123); local 195 ICounter c2 = CounterImpl.getInstance(400, 123); local 202 ICounter c2 = CounterImpl.getInstance(300, 124); local [all...] |
/external/mockito/cglib-and-asm/src/org/mockito/cglib/proxy/ |
MethodProxy.java | 48 public static MethodProxy create(Class c1, Class c2, String desc, String name1, String name2) { 52 proxy.createInfo = new CreateInfo(c1, c2); 76 fci.f2 = helper(ci, ci.c2); 96 Class c2; field in class:MethodProxy.CreateInfo 101 public CreateInfo(Class c1, Class c2) 104 this.c2 = c2; 117 g.setClassLoader(ci.c2.getClassLoader());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/util/ |
CurrencyTest.java | 64 Currency c2 = Currency.getInstance(new Locale("fr", "CA")); local 67 c2 == c0); 78 c2 = Currency.getInstance(new Locale("", "JP")); 81 c2 == c0); 317 Currency c2 = Currency.getInstance("EUR"); local 318 c2.getDefaultFractionDigits(); 319 assertEquals(" Currency.getInstance(\"" + c2 320 + "\") returned incorrect number of digits. ", 2, c2
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/common/ |
InputStreamProvider.java | 205 Matrix c2 = new Matrix(); local 206 c2.setConcat(m4, m3); 207 m.setConcat(c2, c1);
|
/libcore/luni/src/test/java/libcore/java/util/ |
CalendarTest.java | 296 FakeCalendar c2 = (FakeCalendar) c.clone(); local 298 assertFalse(c.getTimeZone() == c2.getTimeZone()); 299 assertEquals(c.getTimeZone(), c2.getTimeZone()); 303 assertFalse(c.getCalenderFields() == c2.getCalenderFields()); 305 assertSame(c.getSubclassFields(), c2.getSubclassFields());
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
CameraTest.java | 134 Canvas c2 = new Canvas(); local 137 c2.concat(m); 139 assertTrue(c1.getMatrix().equals(c2.getMatrix()));
|
/cts/tests/tests/widget/src/android/widget/cts/ |
AlphabetIndexerTest.java | 81 Cursor c2 = createCursor("Name", NAMES_LIST); local 83 indexer.setCursor(c2);
|
/development/perftests/panorama/feature_stab/db_vlvm/ |
db_utilities_poly.cpp | 97 double c0,c1,c2,c3; local 122 c2=c/a; 128 c3c3through4_min_c2=c3*c3through4-c2; 133 /*k2= -c2*/ 137 db_SolveCubic(c_roots,&nr_c_roots,1.0,-c2,k1,k0); 169 double c0,c1,c2,c3; local 194 c2=c/a; 200 c3c3through4_min_c2=c3*c3through4-c2; 205 /*k2= -c2*/ 209 db_SolveCubic(c_roots,&nr_c_roots,1.0,-c2,k1,k0) [all...] |
/external/android-clat/ |
config.c | 209 uint32_t c2 = ip_checksum_add(0, plat_subnet, sizeof(*plat_subnet)) + local 212 uint16_t delta = ip_checksum_adjust(middlebytes, c1, c2);
|
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/cert/ |
CertificateTest.java | 67 Certificate c2 = new MyCertificate("TEST_TYPE", testEncoding); local 69 assertTrue(c1.hashCode() == c2.hashCode()); 78 Certificate c2 = new MyCertificate("TEST_TYPE", testEncoding); local 80 assertTrue((c1.hashCode() == c2.hashCode()) && c1.equals(c2)); 109 Certificate c2 = new MyCertificate("TEST_TYPE", testEncoding); local 110 assertTrue(c1.equals(c2) && c2.equals(c1));
|
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
CipherSuiteTest.java | 30 CipherSuite c2 = new CipherSuite("CipherSuite2", false, 0, "", "", local 36 if (!c1.equals(c2) || c1.equals(c3) || c4.equals(c1) || c4.equals(c3)) { 92 CipherSuite c2 = new CipherSuite("CipherSuite2", false, local
|
/external/boringssl/src/crypto/bn/ |
mul.c | 318 int n = n2 / 2, c1, c2; local 342 c2 = bn_cmp_part_words(&(b[n]), b, tnb, tnb - n); 344 switch (c1 * 3 + c2) { 451 int c1, c2, neg; local 461 c2 = bn_cmp_part_words(&(b[n]), b, tnb, tnb - n); 463 switch (c1 * 3 + c2) {
|
/external/c-ares/ |
ares_getnameinfo.c | 400 const char *c1, *c2, *c1_begin; local 411 c2 = s2; 412 while (c2 < s2+s2_len) 415 lo2 = TOLOWER(*c2); 421 c2++; 424 if (c2 == c1 && c2 == NULL)
|
/external/clang/test/CXX/special/class.ctor/ |
p6-0x.cpp | 30 constexpr Constexpr2 c2 = Constexpr2(); // ok variable
|