Home
last modified time | relevance | path

Searched refs:c1 (Results 1 – 25 of 29) 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/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/compiler/optimizing/
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()
123 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F() local
129 c1, in TEST_F()
199 HInstruction* c1 = graph_->GetIntConstant(1); in TEST_F() local
202 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, index, c1); in TEST_F()
204 HInstruction* sub1 = new (GetAllocator()) HSub(DataType::Type::kInt32, index, c1); in TEST_F()
206 HInstruction* rev_sub1 = new (GetAllocator()) HSub(DataType::Type::kInt32, c1, index); in TEST_F()
[all …]
Dscheduler_test.cc105 HInstruction* c1 = graph_->GetIntConstant(1); in TestBuildDependencyGraphAndSchedule() local
107 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, c1, c2); in TestBuildDependencyGraphAndSchedule()
158 ASSERT_FALSE(scheduling_graph.HasImmediateDataDependency(add1, c1)); in TestBuildDependencyGraphAndSchedule()
231 HInstruction* c1 = graph_->GetIntConstant(1); in TestDependencyGraphOnAliasingArrayAccesses() local
233 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, i, c1); in TestDependencyGraphOnAliasingArrayAccesses()
235 HInstruction* sub1 = new (GetAllocator()) HSub(DataType::Type::kInt32, i, c1); in TestDependencyGraphOnAliasingArrayAccesses()
239 new (GetAllocator()) HArraySet(arr, c1, c0, DataType::Type::kInt32, 0); in TestDependencyGraphOnAliasingArrayAccesses()
251 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/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.java433 public int compare(Class<?> c1, Class<?> c2) { in compare() argument
434 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/tools/jvmti-agents/ti-fast/
Dtifast.cc85 …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 …]
Dcheckers.txt769 001b7e: 6e20 2400 1000 |00c1: invoke-virtual {v0, v1}, Landroid/graphics/Pa…
839 001c96: 1400 00c1 0300 |014d: const v0, #float 3.44742e-40 // #0003c100
887 001d7e: 1200 |01c1: const/4 v0, #int 0 // #0
904 001dc2: 1500 20c1 |01e3: const/high16 v0, #int -1054867456 // #c120
906 001dca: 1500 20c1 |01e7: const/high16 v0, #int -1054867456 // #c120
1319 0022ca: 1a00 f100 |00c1: const-string v0, "lp" // string@00f1
1674 00277a: 0a00 |01c1: move-result v0
1741 …c100 |0231: const-string v0, "computer now plays white" // string@00c1
2108 002cba: 3321 1800 |00c1: if-ne v1, v2, 00d9 // +0018
2819 003520: 3802 1300 |00ae: if-eqz v2, 00c1 // +0013
[all …]
/art/runtime/jni/
Dcheck_jni.cc1872 static jboolean IsAssignableFrom(JNIEnv* env, jclass c1, jclass c2) { in IsAssignableFrom() argument
1876 JniValueType args[3] = {{.E = env}, {.c = c1}, {.c = c2}}; in IsAssignableFrom()
1879 result.b = baseEnv(env)->IsAssignableFrom(env, c1, c2); in IsAssignableFrom()

12