Searched defs:constructor (Results 1 - 9 of 9) sorted by relevance
/art/runtime/ |
H A D | reference_table_test.cc | 59 ArtMethod* constructor = h_ref_class->FindDeclaredDirectMethod( local 61 CHECK(constructor != nullptr); 67 constructor->Invoke(self, args, sizeof(uint32_t), &result, constructor->GetShorty());
|
H A D | jni_internal_test.cc | 659 jmethodID constructor = env_->GetMethodID(jklass_, "<init>", "()V"); local 660 jobj_ = env_->NewObject(jklass_, constructor); 685 // we didn't call a constructor. 808 // Check that GetMethodID for java.lang.NoSuchMethodError.<init>(String) finds the constructor. 827 // Check that GetMethodID for java.lang.NoSuchMethodError.<init>(String) finds the constructor.
|
/art/test/141-class-unload/src/ |
H A D | Main.java | 35 Constructor<?> constructor = 38 testUnloadClass(constructor); 39 testUnloadLoader(constructor); 41 testNoUnloadInstance(constructor); 43 testLoadAndUnloadLibrary(constructor); 45 testStackTrace(constructor); 47 stressTest(constructor); 51 testStickyUnload(constructor); 77 private static void stressTest(Constructor<?> constructor) throws Exception { argument 79 setUpUnloadLoader(constructor, fals 94 testUnloadClass(Constructor<?> constructor) argument 105 testUnloadLoader(Constructor<?> constructor) argument 114 testStackTrace(Constructor<?> constructor) argument 126 testLoadAndUnloadLibrary(Constructor<?> constructor) argument 149 testNoUnloadInstanceHelper(Constructor<?> constructor) argument 156 testNoUnloadInstance(Constructor<?> constructor) argument 164 setUpUnloadClass(Constructor<?> constructor) argument 179 allocObjectInOtherClassLoader(Constructor<?> constructor) argument 187 testStickyUnload(Constructor<?> constructor) argument 203 setUpUnloadClassWeak(Constructor<?> constructor) argument 208 setUpUnloadLoader(Constructor<?> constructor, boolean waitForCompilation) argument 231 setUpLoadLibrary(Constructor<?> constructor) argument [all...] |
/art/compiler/driver/ |
H A D | compiler_driver_test.cc | 163 jmethodID constructor = env_->GetMethodID(c_class, "<init>", "()V"); local 165 jobject jobj_ = env_->NewObject(c_class, constructor);
|
/art/runtime/native/ |
H A D | java_lang_Class.cc | 430 auto* constructor = mirror::Constructor::CreateFromArtMethod<kRuntimePointerSize, false>( local 432 if (UNLIKELY(constructor == nullptr)) { 436 h_constructors->SetWithoutChecks<false>(constructor_count++, constructor); 464 // Add non-constructor declared methods. 694 auto* constructor = klass->GetDeclaredConstructor( local 698 if (UNLIKELY(constructor == nullptr)) { 700 "%s has no zero argument constructor", 719 // Verify that we can access the constructor. 720 auto* declaring_class = constructor->GetDeclaringClass(); 721 if (!constructor [all...] |
/art/dexdump/ |
H A D | dexdump.cc | 1228 const bool constructor = (name[0] == '<'); local 1231 if (constructor) { 1233 fprintf(gOutFile, "<constructor name=\"%s\"\n", dot.get()); 1290 if (constructor) { 1291 fprintf(gOutFile, "</constructor>\n"); 1614 type = "invoke-constructor";
|
/art/dexlayout/ |
H A D | dexlayout.cc | 1148 const bool constructor = (name[0] == '<'); local 1151 if (constructor) { 1153 fprintf(out_file_, "<constructor name=\"%s\"\n", dot.c_str()); 1210 if (constructor) { 1211 fprintf(out_file_, "</constructor>\n");
|
/art/runtime/interpreter/ |
H A D | unstarted_runtime.cc | 237 StackHandleScope<2> hs(self); // Class, constructor, object. 263 // 2) If we can't find the default constructor. We'll postpone the exception to runtime. 279 "Could not find default constructor for '%s'", 376 // Special managed code cut-out to allow constructor lookup in a un-started runtime. 389 ObjPtr<mirror::Constructor> constructor; local 392 constructor = mirror::Class::GetDeclaredConstructorInternal<PointerSize::k64, 395 constructor = mirror::Class::GetDeclaredConstructorInternal<PointerSize::k32, 400 constructor = mirror::Class::GetDeclaredConstructorInternal<PointerSize::k64, 403 constructor = mirror::Class::GetDeclaredConstructorInternal<PointerSize::k32, 407 result->SetL(constructor); 594 ArtMethod* constructor = h_class->FindDeclaredDirectMethod( local [all...] |
/art/compiler/jni/ |
H A D | jni_compiler_test.cc | 318 jmethodID constructor = env_->GetMethodID(jklass_, "<init>", "()V"); local 319 jobj_ = env_->NewObject(jklass_, constructor);
|
Completed in 236 milliseconds