Home
last modified time | relevance | path

Searched refs:c1 (Results 1 – 25 of 31) sorted by relevance

12

/art/libdexfile/dex/
Dutf-inl.h74 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()
Dart_dex_file_loader_test.cc105 const dex::ClassDef& c1 = raw->GetClassDef(1); in TEST_F() local
106 EXPECT_STREQ("LNested$Inner;", raw->GetClassDescriptor(c1)); 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()
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()
501 expectEquals(results[22], testDotProdUnsignedNarrowerSigned(c1, c2)); in testDotProd()
[all …]
DTestVarious.java398 char[] c1 = { 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()
416 expectEquals(-262137, testDotProdBothSignedUnsignedChar(c1, c2)); in run()
/art/compiler/optimizing/
Dload_store_elimination_test.cc44 HInstruction* c1 = graph_->GetIntConstant(1); in CreateEntryBlockInstructions() local
46 i_add1_ = new (GetAllocator()) HAdd(DataType::Type::kInt32, i_, c1); in CreateEntryBlockInstructions()
76 HInstruction* c1 = graph_->GetIntConstant(1); in CreateTestControlFlowGraph() local
93 HInstruction* inc_phi = new (GetAllocator()) HAdd(DataType::Type::kInt32, phi_, c1); in CreateTestControlFlowGraph()
179 HInstruction* c1 = graph_->GetIntConstant(1); in AddVecStore() local
181 c1, in AddVecStore()
270 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F() local
280 AddArraySet(entry_block_, array_, c1, c1); in TEST_F()
281 HInstruction* load1 = AddArrayGet(entry_block_, array_, c1); in TEST_F()
283 HInstruction* store1 = AddArraySet(entry_block_, array_, c1, c1); in TEST_F()
[all …]
Dload_store_analysis_test.cc51 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F() local
54 HInstruction* array_get1 = new (GetAllocator()) HArrayGet(array, c1, DataType::Type::kInt32, 0); in TEST_F()
57 new (GetAllocator()) HArraySet(array, c1, c3, DataType::Type::kInt32, 0); in TEST_F()
86 ref, type, field, c1, vec, class_def); in TEST_F()
125 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F() local
131 c1, in TEST_F()
203 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F() local
206 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, index, c1); in TEST_F()
208 HInstruction* sub1 = new (GetAllocator()) HSub(DataType::Type::kInt32, index, c1); in TEST_F()
210 HInstruction* rev_sub1 = new (GetAllocator()) HSub(DataType::Type::kInt32, c1, index); in TEST_F()
[all …]
Dscheduler_test.cc99 HInstruction* c1 = graph_->GetIntConstant(1); in TestBuildDependencyGraphAndSchedule() local
101 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, c1, c2); in TestBuildDependencyGraphAndSchedule()
150 ASSERT_FALSE(scheduling_graph.HasImmediateDataDependency(add1, c1)); in TestBuildDependencyGraphAndSchedule()
223 HInstruction* c1 = graph_->GetIntConstant(1); in TestDependencyGraphOnAliasingArrayAccesses() local
225 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, i, c1); in TestDependencyGraphOnAliasingArrayAccesses()
227 HInstruction* sub1 = new (GetAllocator()) HSub(DataType::Type::kInt32, i, c1); in TestDependencyGraphOnAliasingArrayAccesses()
231 new (GetAllocator()) HArraySet(arr, c1, c0, DataType::Type::kInt32, 0); in TestDependencyGraphOnAliasingArrayAccesses()
243 c1, in TestDependencyGraphOnAliasingArrayAccesses()
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()
Dbounds_check_elimination.cc1056 int32_t c1 = lower.GetConstant(); in VisitSub() local
1061 !ValueBound::WouldAddOverflowOrUnderflow(c0, -c1)) { in VisitSub()
1062 if ((c0 - c1) <= 0) { in VisitSub()
/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.h49 static constexpr uint32_t c1 = 0xcc9e2d51; in operator() local
64 k *= c1; in operator()
85 k1 *= c1; in operator()
/art/test/527-checker-array-access-split/src/
DMain.java670 char[] c1 = new char[ARRAY_SIZE]; in main() local
672 checkGVNForFatalChecks(1, 2, c1, i1); in main()
673 assertIntEquals('n', c1[2]); in main()
/art/test/168-vmstack-annotated/src/
DMain.java132 CyclicBarrier c1 = new CyclicBarrier(3); in testCluster1() local
134 b1.add(c1); in testCluster1()
138 b2.add(c1); in testCluster1()
148 c1.await(); in testCluster1()
/art/test/1933-monitor-current-contended/
Dexpected.txt6 c1 is contending for monitor: NamedLock[test testNormalWaitMonitor]
/art/test/805-TooDeepClassInstanceOf/src/
DMain.java39 A c1 = new C1(); in main() local
/art/test/utils/python/
Dgenerate_java_main.py222 for c1 in flatten_classes(classes, c):
223 yield from c1.methods
/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/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/
Djni_test.cc270 extern "C" jchar JNICALL Java_Main_charMethod(JNIEnv*, jclass, jchar c1, jchar c2, in Java_Main_charMethod() argument
284 CHECK_LT(c1, static_cast<jchar>(kCharReturnSize)); in Java_Main_charMethod()
286 return char_returns[c1]; in 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.java1239 A c1 = new C1(); in main() local
1261 expectFalse(c1 instanceof F1); in main()
1262 expectFalse(c1 instanceof F3); in main()
/art/runtime/verifier/
Dreg_type_test.cc1116 Handle<mirror::Class> c1(hs.NewHandle( in TestClassJoin() local
1120 ASSERT_TRUE(c1 != nullptr); in TestClassJoin()
1126 const RegType& c1_reg_type = *cache.InsertClass(in1, c1.Get(), false); in TestClassJoin()
/art/tools/jvmti-agents/ti-fast/
Dtifast.cc79 …t obj1, const char* c1, jobject obj2, jint i1, const unsigned char* c2, jint* ip1, unsigned char**…
/art/test/dexdump/
Dinvoke-custom.txt128 … |0007: invoke-direct {v1}, Ljava/lang/StringBuilder;.<init>:()V // method@00c1
162 … |0007: invoke-direct {v1}, Ljava/lang/StringBuilder;.<init>:()V // method@00c1
163 0025d4: 1a02 d400 |000a: const-string v2, "assertEquals c1: " // strin…
179 0x0000 - 0x0022 reg=3 c1 C
197 … |0009: invoke-direct {v1}, Ljava/lang/StringBuilder;.<init>:()V // method@00c1
232 … |0009: invoke-direct {v1}, Ljava/lang/StringBuilder;.<init>:()V // method@00c1
266 … |0007: invoke-direct {v1}, Ljava/lang/StringBuilder;.<init>:()V // method@00c1
301 … |0009: invoke-direct {v1}, Ljava/lang/StringBuilder;.<init>:()V // method@00c1
337 … |000b: invoke-direct {v1}, Ljava/lang/StringBuilder;.<init>:()V // method@00c1
371 … |0007: invoke-direct {v1}, Ljava/lang/StringBuilder;.<init>:()V // method@00c1
[all …]

12