Searched defs:c1 (Results 1 - 17 of 17) sorted by path

/art/compiler/driver/
H A Dcompiled_method_storage.cc89 static constexpr uint32_t c1 = 0xcc9e2d51; local
104 k *= c1;
125 k1 *= c1;
/art/compiler/optimizing/
H A Dbounds_check_elimination.cc1054 int32_t c1 = lower.GetConstant(); variable
1056 // (array.length + c0 - v) where v is in [c1, array.length + c2]
1057 // gets [c0 - c2, array.length + c0 - c1] as its value range.
1059 !ValueBound::WouldAddOverflowOrUnderflow(c0, -c1)) {
1060 if ((c0 - c1) <= 0) {
1061 // array.length + (c0 - c1) won't overflow/underflow.
H A Dinduction_var_range.cc29 static bool IsSafeAdd(int32_t c1, int32_t c2) { argument
30 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) + static_cast<int64_t>(c2));
34 static bool IsSafeSub(int32_t c1, int32_t c2) { argument
35 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) - static_cast<int64_t>(c2));
39 static bool IsSafeMul(int32_t c1, int32_t c2) { argument
40 return CanLongValueFitIntoInt(static_cast<int64_t>(c1) * static_cast<int64_t>(c2));
44 static bool IsSafeDiv(int32_t c1, int32_t c2) { argument
45 return c2 != 0 && CanLongValueFitIntoInt(static_cast<int64_t>(c1) / static_cast<int64_t>(c2));
H A Dload_store_analysis_test.cc40 // c1 IntConstant
43 // array_get1 ArrayGet [array, c1]
45 // array_set1 ArraySet [array, c1, c3]
51 HInstruction* c1 = graph_->GetIntConstant(1); local
54 HInstruction* array_get1 = new (GetAllocator()) HArrayGet(array, c1, DataType::Type::kInt32, 0);
57 new (GetAllocator()) HArraySet(array, c1, c3, DataType::Type::kInt32, 0);
74 // array[c1], array[c2], array[index]; and it should see heap stores.
84 size_t loc1 = heap_location_collector.FindHeapLocationIndex(ref, field, c1, vec, class_def);
114 // c1 IntConstant
115 // set_field10 InstanceFieldSet [object, c1, 1
119 HInstruction* c1 = graph_->GetIntConstant(1); local
195 HInstruction* c1 = graph_->GetIntConstant(1); local
285 HInstruction* c1 = graph_->GetIntConstant(1); local
606 HInstruction* c1 = graph_->GetIntConstant(1); local
[all...]
H A Dscheduler_test.cc88 // c1 IntConstant
91 // add1 Add [c1, c2]
105 HInstruction* c1 = graph_->GetIntConstant(1); local
107 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, c1, c2);
156 ASSERT_FALSE(scheduling_graph.HasImmediateDataDependency(add1, c1));
225 HInstruction* c1 = graph_->GetIntConstant(1); local
227 HInstruction* add1 = new (GetAllocator()) HAdd(DataType::Type::kInt32, i, c1);
229 HInstruction* sub1 = new (GetAllocator()) HSub(DataType::Type::kInt32, i, c1);
233 new (GetAllocator()) HArraySet(arr, c1, c0, DataType::Type::kInt32, 0);
245 c1,
[all...]
/art/libdexfile/dex/
H A Dutf-inl.h74 uint32_t c1, c2; local
76 c1 = *utf8_1;
79 if (c1 == 0) {
85 c1 = GetUtf16FromUtf8(&utf8_1);
87 } while (c1 == c2);
89 const uint32_t leading_surrogate_diff = GetLeadingUtf16Char(c1) - GetLeadingUtf16Char(c2);
94 return GetTrailingUtf16Char(c1) - GetTrailingUtf16Char(c2);
/art/runtime/
H A Dcheck_jni.cc1867 static jboolean IsAssignableFrom(JNIEnv* env, jclass c1, jclass c2) { argument
1871 JniValueType args[3] = {{.E = env}, {.c = c1}, {.c = c2}};
1874 result.b = baseEnv(env)->IsAssignableFrom(env, c1, c2);
H A Dclass_linker.cc393 void ClassLinker::CheckSystemClass(Thread* self, Handle<mirror::Class> c1, const char* descriptor) { argument
399 if (c1.Get() != c2) {
401 c1->DumpClass(os1, mirror::Class::kDumpClassFullDetail);
H A Djni_internal.cc537 ObjPtr<mirror::Class> c1 = soa.Decode<mirror::Class>(java_class1); local
539 return c2->IsAssignableFrom(c1) ? JNI_TRUE : JNI_FALSE;
/art/runtime/dex/
H A Dart_dex_file_loader_test.cc105 const DexFile::ClassDef& c1 = raw->GetClassDef(1); local
106 EXPECT_STREQ("LNested$Inner;", raw->GetClassDescriptor(c1));
/art/runtime/verifier/
H A Dreg_type.cc715 mirror::Class* c1 = GetClass(); local
717 DCHECK(c1 != nullptr && !c1->IsPrimitive());
719 mirror::Class* join_class = ClassJoin(c1, c2);
734 << c1->PrettyClass()
743 // Record the dependency that both `c1` and `c2` are assignable to `join_class`.
747 verifier->GetDexFile(), join_class, c1, true /* strict */, true /* is_assignable */);
751 if (c1 == join_class && !IsPreciseReference()) {
/art/test/004-JniTest/
H A Djni_test.cc270 extern "C" jchar JNICALL Java_Main_charMethod(JNIEnv*, jclass, jchar c1, jchar c2, argument
273 // We use c1 to drive the output.
284 CHECK_LT(c1, static_cast<jchar>(kCharReturnSize));
286 return char_returns[c1];
/art/test/004-JniTest/src/
H A DMain.java198 private static native char charMethod(char c1, char c2, char c3, char c4, char c5, char c6, char c7, argument
/art/test/115-native-bridge/
H A Dnativebridge.cc176 static jchar trampoline_Java_Main_charMethod(JNIEnv* env, jclass klass, jchar c1, jchar c2, argument
183 return fnPtr(env, klass, c1, c2, c3, c4, c5, c6, c7, c8, c9, c10);
/art/test/115-native-bridge/src/
H A DNativeBridgeMain.java142 native static char charMethod(char c1, char c2, char c3, char c4, char c5, char c6, char c7, argument
/art/test/912-classes/src-art/art/
H A DTest912.java433 public int compare(Class<?> c1, Class<?> c2) { argument
434 return c1.getName().compareTo(c2.getName());
/art/test/952-invoke-custom/src/
H A DTestBase.java33 static void assertEquals(char c1, char c2) { argument
34 if (c1 == c2) {
37 throw new AssertionError("assertEquals c1: " + c1 + ", c2: " + c2);

Completed in 292 milliseconds