Home
last modified time | relevance | path

Searched refs:c2 (Results 1 – 25 of 35) 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.cc108 const dex::ClassDef& c2 = raw->GetClassDef(2); in TEST_F() local
109 EXPECT_STREQ("LNested;", raw->GetClassDescriptor(c2)); in TEST_F()
/art/test/684-checker-simd-dotprod/src/other/
DTestCharShort.java478 private static void testDotProd(short[] s1, short[] s2, char[] c1, char[] c2, int[] results) { in testDotProd() argument
481 expectEquals(results[2], testDotProdSimpleUnsigned(c1, c2)); in testDotProd()
482 expectEquals(results[3], testDotProdComplexUnsigned(c1, c2)); in testDotProd()
483 expectEquals(results[4], testDotProdComplexUnsignedCastedToSigned(c1, c2)); in testDotProd()
487 expectEquals(results[8], testDotProdParamUnsigned(-32768, c2)); in testDotProd()
492 expectEquals(results[13], testDotProdSimpleUnsignedMulCastedToSigned(c1, c2)); in testDotProd()
493 expectEquals(results[14], testDotProdSimpleUnsignedMulCastedToUnsigned(c1, c2)); in testDotProd()
496 expectEquals(results[17], testDotProdSimpleUnsignedCastedToShort(c1, c2)); in testDotProd()
497 expectEquals(results[18], testDotProdSimpleUnsignedCastedToChar(c1, c2)); in testDotProd()
498 expectEquals(results[19], testDotProdSimpleUnsignedCastedToLong(c1, c2)); in testDotProd()
[all …]
DTestVarious.java399 char[] c2 = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, MIN_S, MIN_S }; in run() local
409 expectEquals(-8519423, testDotProdByteToChar(c1, c2)); in run()
411 expectEquals(-8388351, testDotProdMixedSizeAndSign(b1, c2)); in run()
416 expectEquals(-262137, testDotProdBothSignedUnsignedChar(c1, c2)); in run()
/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/libartbase/base/
Ddata_hash.h50 static constexpr uint32_t c2 = 0x1b873593; in operator() local
66 k *= c2; in operator()
87 k1 *= c2; in operator()
/art/test/1933-monitor-current-contended/
Dexpected.txt4 c2 is contending for monitor: NamedLock[test testNormalContendedMonitor]
/art/test/1950-unprepared-transform/
Djvm-expected.patch1 2,3c2,3
/art/test/168-vmstack-annotated/src/
DMain.java133 CyclicBarrier c2 = new CyclicBarrier(2); in testCluster1() local
136 b1.add(c2); in testCluster1()
139 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.cc264 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F() local
275 HInstruction* load2 = AddArrayGet(entry_block_, array_, c2); in TEST_F()
292 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F() local
300 AddArraySet(entry_block_, array_, c2, c1); in TEST_F()
302 HInstruction* store2 = AddArraySet(entry_block_, array_, c1, c2); in TEST_F()
626 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F() local
633 AddArraySet(entry_block_, array_, c0, c2); in TEST_F()
642 HInstruction* store = AddArraySet(return_block_, array_, c0, c2); in TEST_F()
Dscheduler_test.cc100 HInstruction* c2 = graph_->GetIntConstant(10); in TestBuildDependencyGraphAndSchedule() local
101 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, c1, c2); in TestBuildDependencyGraphAndSchedule()
102 HInstruction* add2 = new (GetAllocator()) HAdd(DataType::Type::kInt32, add1, c2); in TestBuildDependencyGraphAndSchedule()
151 ASSERT_FALSE(scheduling_graph.HasImmediateDataDependency(add2, c2)); in TestBuildDependencyGraphAndSchedule()
Dinduction_var_range.cc29 static bool IsSafeAdd(int32_t c1, int32_t c2) { in IsSafeAdd() argument
30 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) + static_cast<int64_t>(c2)); in IsSafeAdd()
34 static bool IsSafeSub(int32_t c1, int32_t c2) { in IsSafeSub() argument
35 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) - static_cast<int64_t>(c2)); in IsSafeSub()
39 static bool IsSafeMul(int32_t c1, int32_t c2) { in IsSafeMul() argument
40 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) * static_cast<int64_t>(c2)); in IsSafeMul()
44 static bool IsSafeDiv(int32_t c1, int32_t c2) { in IsSafeDiv() argument
45 return c2 != 0 && CanLongValueFitIntoInt(static_cast<int64_t>(c1) / static_cast<int64_t>(c2)); in IsSafeDiv()
Dload_store_analysis_test.cc52 HInstruction* c2 = graph_->GetIntConstant(2); in TEST_F() local
55 HInstruction* array_get2 = new (GetAllocator()) HArrayGet(array, c2, DataType::Type::kInt32, 0); in TEST_F()
89 ref, type, field, c2, vec, class_def); in TEST_F()
/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.txt117 0001c2: 0e00 |0003: return-void
Dinvoke-polymorphic.txt62 0001c2: 0e00 |0003: return-void
Dvalues.txt329 0003c2: 0e00 |0003: return-void
/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/compiler/utils/
Dassembler_thumb_test_expected.cc.inc20 " 34: d9 f8 00 c2 ldr.w r12, [r9, #512]\n"
42 " 82: c9 f8 00 c2 str.w r12, [r9, #512]\n"
48 " 98: d9 f8 00 c2 ldr.w r12, [r9, #512]\n"
60 " c2: 0c bf ite eq\n"
/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.java198 …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/test/004-JniTest/
Djni_test.cc270 extern "C" jchar JNICALL Java_Main_charMethod(JNIEnv*, jclass, jchar c1, jchar c2, in Java_Main_charMethod() argument
274 CHECK_EQ(c2, 'a'); in Java_Main_charMethod()
/art/runtime/verifier/
Dreg_type_test.cc1118 Handle<mirror::Class> c2(hs.NewHandle( in TestClassJoin() local
1121 ASSERT_TRUE(c2 != nullptr); in TestClassJoin()
1127 const RegType& c2_reg_type = *cache.InsertClass(in2, c2.Get(), false); in TestClassJoin()

12