/art/libdexfile/dex/ |
D | utf-inl.h | 74 uint32_t c1, c2; in CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues() local 76 c1 = *utf8_1; in CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues() 79 if (c1 == 0) { in CompareModifiedUtf8ToModifiedUtf8AsUtf16CodePointValues() 85 c1 = GetUtf16FromUtf8(&utf8_1); 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()
|
D | art_dex_file_loader_test.cc | 154 const dex::ClassDef& c1 = raw->GetClassDef(1); in TEST_F() local 155 EXPECT_STREQ("LNested$Inner;", raw->GetClassDescriptor(c1)); in TEST_F()
|
/art/test/684-checker-simd-dotprod/src/other/ |
D | TestCharShort.java | 567 private static void testDotProd(short[] s1, short[] s2, char[] c1, char[] c2, int[] results) { in testDotProd() argument 570 expectEquals(results[2], testDotProdSimpleUnsigned(c1, c2)); in testDotProd() 571 expectEquals(results[3], testDotProdComplexUnsigned(c1, c2)); in testDotProd() 572 expectEquals(results[4], testDotProdComplexUnsignedCastToSigned(c1, c2)); in testDotProd() 581 expectEquals(results[13], testDotProdSimpleUnsignedMulCastToSigned(c1, c2)); in testDotProd() 582 expectEquals(results[14], testDotProdSimpleUnsignedMulCastToUnsigned(c1, c2)); in testDotProd() 585 expectEquals(results[17], testDotProdSimpleUnsignedCastToShort(c1, c2)); in testDotProd() 586 expectEquals(results[18], testDotProdSimpleUnsignedCastToChar(c1, c2)); in testDotProd() 587 expectEquals(results[19], testDotProdSimpleUnsignedCastToLong(c1, c2)); in testDotProd() 590 expectEquals(results[22], testDotProdUnsignedNarrowerSigned(c1, c2)); in testDotProd() [all …]
|
D | TestVarious.java | 540 char[] c1 = { 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() 558 expectEquals(-262137, testDotProdBothSignedUnsignedChar(c1, c2)); in run()
|
/art/test/952-invoke-custom/src/ |
D | TestBase.java | 33 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/527-checker-array-access-split/src/ |
D | Main.java | 675 char[] c1 = new char[ARRAY_SIZE]; in main() local 677 checkGVNForFatalChecks(1, 2, c1, i1); in main() 678 assertIntEquals('n', c1[2]); in main()
|
/art/compiler/optimizing/ |
D | load_store_elimination_test.cc | 94 HInstruction* c1 = graph_->GetIntConstant(1); in CreateEntryBlockInstructions() local 96 i_add1_ = new (GetAllocator()) HAdd(DataType::Type::kInt32, i_, c1); in CreateEntryBlockInstructions() 124 HInstruction* c1 = graph_->GetIntConstant(1); in CreateTestControlFlowGraph() local 141 HInstruction* inc_phi = new (GetAllocator()) HAdd(DataType::Type::kInt32, phi_, c1); in CreateTestControlFlowGraph() 222 HInstruction* c1 = graph_->GetIntConstant(1); in AddVecStore() local 224 HVecReplicateScalar(GetAllocator(), c1, DataType::Type::kInt32, 4, kNoDexPc); in AddVecStore() 313 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F() local 323 AddArraySet(entry_block_, array_, c1, c1); in TEST_F() 324 HInstruction* load1 = AddArrayGet(entry_block_, array_, c1); in TEST_F() 326 HInstruction* store1 = AddArraySet(entry_block_, array_, c1, c1); in TEST_F() [all …]
|
D | scheduler_test.cc | 100 HInstruction* c1 = graph_->GetIntConstant(1); in TestBuildDependencyGraphAndSchedule() local 102 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, c1, c2); in TestBuildDependencyGraphAndSchedule() 151 ASSERT_FALSE(scheduling_graph.HasImmediateDataDependency(add1, c1)); in TestBuildDependencyGraphAndSchedule() 225 HInstruction* c1 = graph_->GetIntConstant(1); in TestDependencyGraphOnAliasingArrayAccesses() local 227 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, i, c1); in TestDependencyGraphOnAliasingArrayAccesses() 229 HInstruction* sub1 = new (GetAllocator()) HSub(DataType::Type::kInt32, i, c1); in TestDependencyGraphOnAliasingArrayAccesses() 233 new (GetAllocator()) HArraySet(arr, c1, c0, DataType::Type::kInt32, 0); in TestDependencyGraphOnAliasingArrayAccesses() 245 c1, in TestDependencyGraphOnAliasingArrayAccesses()
|
D | load_store_analysis_test.cc | 74 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F() local 77 HInstruction* array_get1 = new (GetAllocator()) HArrayGet(array, c1, DataType::Type::kInt32, 0); in TEST_F() 80 new (GetAllocator()) HArraySet(array, c1, c3, DataType::Type::kInt32, 0); in TEST_F() 111 ref, type, field, c1, vec, class_def, is_vec_op); in TEST_F() 151 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F() local 157 c1, in TEST_F() 230 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F() local 233 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, index, c1); in TEST_F() 235 HInstruction* sub1 = new (GetAllocator()) HSub(DataType::Type::kInt32, index, c1); in TEST_F() 237 HInstruction* rev_sub1 = new (GetAllocator()) HSub(DataType::Type::kInt32, c1, index); in TEST_F() [all …]
|
D | induction_var_range.cc | 30 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()
|
D | bounds_check_elimination.cc | 1170 int32_t c1 = lower.GetConstant(); in VisitSub() local 1175 !ValueBound::WouldAddOverflowOrUnderflow(c0, -c1)) { in VisitSub() 1176 if ((c0 - c1) <= 0) { in VisitSub()
|
/art/test/168-vmstack-annotated/src/ |
D | Main.java | 136 CyclicBarrier c1 = new CyclicBarrier(3); in testCluster1() local 138 b1.add(c1); in testCluster1() 142 b2.add(c1); in testCluster1() 152 c1.await(); in testCluster1()
|
/art/test/1933-monitor-current-contended/ |
D | expected-stdout.txt | 6 c1 is contending for monitor: NamedLock[test testNormalWaitMonitor]
|
/art/test/805-TooDeepClassInstanceOf/src/ |
D | Main.java | 39 A c1 = new C1(); in main() local
|
/art/test/MyClassNatives/ |
D | MyClassNatives.java | 205 native int fooL3IJC(Object o1, int i1, int i2, int i3, long l1, char c1); in fooL3IJC() argument 207 native int fooL3IJCS(Object o1, int i1, int i2, int i3, long l1, char c1, short s1); in fooL3IJCS() argument 234 native int fooICFL(int i1, char c1, float f1, Object o1); in fooICFL() argument 236 native int fooICIL(int i1, char c1, int i2, Object o1); in fooICIL() argument 370 native int fooICFL_Fast(int i1, char c1, float f1, Object o1); in fooICFL_Fast() argument 374 native int fooICIL_Fast(int i1, char c1, int i2, Object o1); in fooICIL_Fast() argument 394 native int fooL3IJC_Fast(Object o1, int i1, int i2, int i3, long l1, char c1); in fooL3IJC_Fast() argument 396 native int fooL3IJCS_Fast(Object o1, int i1, int i2, int i3, long l1, char c1, short s1); in fooL3IJCS_Fast() argument
|
/art/test/utils/python/ |
D | generate_java_main.py | 222 for c1 in flatten_classes(classes, c): 223 yield from c1.methods
|
/art/test/1940-ddms-ext/src-art/art/ |
D | Test1940.java | 54 private static boolean chunkEq(Chunk c1, Chunk c2) { in chunkEq() argument 55 ChunkWrapper a = new ChunkWrapper(c1); in chunkEq()
|
/art/test/115-native-bridge/src/ |
D | NativeBridgeMain.java | 142 native static char charMethod(char c1, char c2, char c3, char c4, char c5, char c6, char c7, in charMethod() argument
|
/art/test/912-classes/src-art/art/ |
D | Test912.java | 463 public int compare(Class<?> c1, Class<?> c2) { in compare() argument 464 return c1.getName().compareTo(c2.getName()); in compare()
|
/art/test/115-native-bridge/ |
D | nativebridge.cc | 176 static jchar trampoline_Java_Main_charMethod(JNIEnv* env, jclass klass, jchar c1, jchar c2, in trampoline_Java_Main_charMethod() argument 183 return fnPtr(env, klass, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10); in trampoline_Java_Main_charMethod()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 299 extern "C" jchar JNICALL Java_Main_charMethod(JNIEnv*, jclass, jchar c1, jchar c2, in Java_Main_charMethod() argument 313 CHECK_LT(c1, static_cast<jchar>(kCharReturnSize)); in Java_Main_charMethod() 315 return char_returns[c1]; in Java_Main_charMethod()
|
/art/test/004-JniTest/src/ |
D | Main.java | 203 …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/ |
D | Main.java | 1239 A c1 = new C1(); in main() local 1261 expectFalse(c1 instanceof F1); in main() 1262 expectFalse(c1 instanceof F3); in main()
|
/art/tools/jvmti-agents/ti-fast/ |
D | tifast.cc | 80 …t obj1, const char* c1, jobject obj2, jint i1, const unsigned char* c2, jint* ip1, unsigned char**…
|
/art/runtime/verifier/ |
D | reg_type_test.cc | 1160 Handle<mirror::Class> c1(hs.NewHandle( in TestClassJoin() local 1164 ASSERT_TRUE(c1 != nullptr); in TestClassJoin() 1171 const RegType& c1_reg_type = *cache.InsertClass(in1, c1.Get(), false); in TestClassJoin()
|