Home
last modified time | relevance | path

Searched refs:c2 (Results 1 – 25 of 36) sorted by relevance

12

/art/libdexfile/dex/
Dutf-inl.h74 uint32_t c1, c2; in CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues() local
77 c2 = *utf8_2; in CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues()
80 return (c2 == 0) ? 0 : -1; in CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues()
81 } else if (c2 == 0) { in CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues()
86 c2 = GetUtf16FromUtf8(&utf8_2); in CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues()
87 } while (c1 == c2); in CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues()
89 const uint32_t leading_surrogate_diff = GetLeadingUtf16Char(c1) - GetLeadingUtf16Char(c2); in CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues()
94 return GetTrailingUtf16Char(c1) - GetTrailingUtf16Char(c2); in CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues()
Dart_dex_file_loader_test.cc170 const dex::ClassDef& c2 = raw->GetClassDef(2); in TEST_F() local
171 EXPECT_STREQ("LNested;", raw->GetClassDescriptor(c2)); in TEST_F()
/art/test/684-checker-simd-dotprod/src/other/
DTestCharShort.java568 private static void testDotProd(short[] s1, short[] s2, char[] c1, char[] c2, int[] results) { in testDotProd() argument
571 expectEquals(results[2], testDotProdSimpleUnsigned(c1, c2)); in testDotProd()
572 expectEquals(results[3], testDotProdComplexUnsigned(c1, c2)); in testDotProd()
573 expectEquals(results[4], testDotProdComplexUnsignedCastedToSigned(c1, c2)); in testDotProd()
577 expectEquals(results[8], testDotProdParamUnsigned(-32768, c2)); in testDotProd()
582 expectEquals(results[13], testDotProdSimpleUnsignedMulCastedToSigned(c1, c2)); in testDotProd()
583 expectEquals(results[14], testDotProdSimpleUnsignedMulCastedToUnsigned(c1, c2)); in testDotProd()
586 expectEquals(results[17], testDotProdSimpleUnsignedCastedToShort(c1, c2)); in testDotProd()
587 expectEquals(results[18], testDotProdSimpleUnsignedCastedToChar(c1, c2)); in testDotProd()
588 expectEquals(results[19], testDotProdSimpleUnsignedCastedToLong(c1, c2)); in testDotProd()
[all …]
DTestVarious.java541 char[] c2 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, MIN_S, MIN_S }; in run() local
551 expectEquals(-8519423, testDotProdByteToChar(c1, c2)); in run()
553 expectEquals(-8388351, testDotProdMixedSizeAndSign(b1, c2)); in run()
558 expectEquals(-262137, testDotProdBothSignedUnsignedChar(c1, c2)); in run()
/art/test/182-method-linking/src/
DMain.java66 C2 c2 = new C2(); in main() local
67 c2.callAFoo(); // pkg1.C2.foo (overriddes pkg1.A.foo) in main()
68 c2.callBFoo(); // pkg2.B.foo (not overridden by pkg1.C2.foo) in main()
69 c2.callC2Foo(); // pkg1.C2.foo in main()
/art/test/952-invoke-custom/src/
DTestBase.java33 static void assertEquals(char c1, char c2) { in assertEquals() argument
34 if (c1 == c2) { in assertEquals()
37 throw new AssertionError("assertEquals c1: " + c1 + ", c2: " + c2); in assertEquals()
/art/test/1933-monitor-current-contended/
Dexpected-stdout.txt4 c2 is contending for monitor: NamedLock[test testNormalContendedMonitor]
/art/test/168-vmstack-annotated/src/
DMain.java137 CyclicBarrier c2 = new CyclicBarrier(2); in testCluster1() local
140 b1.add(c2); in testCluster1()
143 b2.add(c2); in testCluster1()
/art/test/805-TooDeepClassInstanceOf/src/
DMain.java40 A c2 = new C2(); in main() local
/art/compiler/optimizing/
Dload_store_elimination_test.cc518 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F() local
529 HInstruction* load2 = AddArrayGet(entry_block_, array_, c2); in TEST_F()
546 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F() local
554 AddArraySet(entry_block_, array_, c2, c1); in TEST_F()
556 HInstruction* store2 = AddArraySet(entry_block_, array_, c1, c2); in TEST_F()
894 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F() local
901 HInstruction* store1 = AddArraySet(entry_block_, array_, c0, c2); in TEST_F()
910 HInstruction* store3 = AddArraySet(return_block_, array_, c0, c2); in TEST_F()
930 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F() local
936 HInstruction* store1 = AddArraySet(pre_header_, array_, c0, c2); in TEST_F()
[all …]
Dscheduler_test.cc101 HInstruction* c2 = graph_->GetIntConstant(10); in TestBuildDependencyGraphAndSchedule() local
102 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, c1, c2); in TestBuildDependencyGraphAndSchedule()
103 HInstruction* add2 = new (GetAllocator()) HAdd(DataType::Type::kInt32, add1, c2); in TestBuildDependencyGraphAndSchedule()
152 ASSERT_FALSE(scheduling_graph.HasImmediateDataDependency(add2, c2)); in TestBuildDependencyGraphAndSchedule()
Dinduction_var_range.cc30 static bool IsSafeAdd(int32_t c1, int32_t c2) { in IsSafeAdd() argument
31 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) + static_cast<int64_t>(c2)); in IsSafeAdd()
35 static bool IsSafeSub(int32_t c1, int32_t c2) { in IsSafeSub() argument
36 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) - static_cast<int64_t>(c2)); in IsSafeSub()
40 static bool IsSafeMul(int32_t c1, int32_t c2) { in IsSafeMul() argument
41 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) * static_cast<int64_t>(c2)); in IsSafeMul()
45 static bool IsSafeDiv(int32_t c1, int32_t c2) { in IsSafeDiv() argument
46 return c2 != 0 && CanLongValueFitIntoInt(static_cast<int64_t>(c1) / static_cast<int64_t>(c2)); in IsSafeDiv()
Dload_store_analysis_test.cc87 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F() local
90 HInstruction* array_get2 = new (GetAllocator()) HArrayGet(array, c2, DataType::Type::kInt32, 0); in TEST_F()
125 ref, type, field, c2, vec, class_def, is_vec_op); in TEST_F()
1781 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F() local
1843 HInstruction* mul_mid = new (GetAllocator()) HMul(DataType::Type::kInt32, read_mid, c2); in TEST_F()
/art/test/1940-ddms-ext/src-art/art/
DTest1940.java54 private static boolean chunkEq(Chunk c1, Chunk c2) { in chunkEq() argument
56 ChunkWrapper b = new ChunkWrapper(c2); in chunkEq()
/art/test/115-native-bridge/src/
DNativeBridgeMain.java142 native static char charMethod(char c1, char c2, char c3, char c4, char c5, char c6, char c7, in charMethod() argument
/art/test/dexdump/
Dstaticfields.txt118 0001c2: 0e00 |0003: return-void
Dinvoke-polymorphic.txt63 0001c2: 0e00 |0003: return-void
Dvalues.txt330 0003c2: 0e00 |0003: return-void
Dcheckers.txt142 00155a: 1300 c204 |001d: const/16 v0, #int 1218 // #4c2
180 0015c2: 1a00 8200 |000d: const-string v0, "Undo" // string@0082
354 00183e: 12c2 |0029: const/4 v2, #int -4 // #fc
899 001d80: 6900 6b00 |01c2: sput-object v0, Lcom/google/android/checkers/…
1500 0024c2: 0c00 |0065: move-result-object v0
1548 00257c: 7020 8f00 9200 |00c2: invoke-direct {v2, v9}, Lcom/google/android/c…
1565 0025c2: 1210 |00e5: const/4 v0, #int 1 // #1
1640 0026c2: 0175 |0165: move v5, v7
1689 00277c: 3360 0300 |01c2: if-ne v0, v6, 01c5 // +0003
1712 0027c2: 2900 52fe |01e5: goto/16 0037 // -01ae
[all …]
/art/test/912-classes/src-art/art/
DTest912.java462 public int compare(Class<?> c1, Class<?> c2) { in compare() argument
463 return c1.getName().compareTo(c2.getName()); in compare()
/art/test/115-native-bridge/
Dnativebridge.cc175 static jchar trampoline_Java_Main_charMethod(JNIEnv* env, jclass klass, jchar c1, jchar c2, in trampoline_Java_Main_charMethod() argument
182 return fnPtr(env, klass, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10); in trampoline_Java_Main_charMethod()
/art/test/004-JniTest/src/
DMain.java203 …private static native char charMethod(char c1, char c2, char c3, char c4, char c5, char c6, char c… in charMethod() argument
/art/test/806-TooWideClassInstanceOf/src/
DMain.java1240 A c2 = new C2(); in main() local
1263 expectFalse(c2 instanceof F1); in main()
1264 expectFalse(c2 instanceof F3); in main()
/art/runtime/verifier/
Dreg_type_test.cc1123 Handle<mirror::Class> c2(hs.NewHandle( in TestClassJoin() local
1126 ASSERT_TRUE(c2 != nullptr); in TestClassJoin()
1132 const RegType& c2_reg_type = *cache.InsertClass(in2, c2.Get(), false); in TestClassJoin()
/art/test/004-JniTest/
Djni_test.cc299 extern "C" jchar JNICALL Java_Main_charMethod(JNIEnv*, jclass, jchar c1, jchar c2, in Java_Main_charMethod() argument
303 CHECK_EQ(c2, 'a'); in Java_Main_charMethod()

12