/art/test/023-many-interfaces/src/ |
D | ManyInterfaces.java | 302 static void testIface001(Interface001 iface, int count) { in testIface001() argument 304 iface.func001(); iface.func001(); iface.func001(); iface.func001(); in testIface001() 305 iface.func001(); iface.func001(); iface.func001(); iface.func001(); in testIface001() 306 iface.func001(); iface.func001(); iface.func001(); iface.func001(); in testIface001() 307 iface.func001(); iface.func001(); iface.func001(); iface.func001(); in testIface001() 311 static void testIface049(Interface049 iface, int count) { in testIface049() argument 313 iface.func049(); iface.func049(); iface.func049(); iface.func049(); in testIface049() 314 iface.func049(); iface.func049(); iface.func049(); iface.func049(); in testIface049() 315 iface.func049(); iface.func049(); iface.func049(); iface.func049(); in testIface049() 316 iface.func049(); iface.func049(); iface.func049(); iface.func049(); in testIface049() [all …]
|
/art/test/023-many-interfaces/ |
D | build | 21 gcc -Wall -Werror -o iface-gen iface-gen.c 22 ./iface-gen
|
/art/test/971-iface-super/util-src/ |
D | generate_smali.py | 350 for iface in self.ifaces: 351 yield self.OUTPUT_PREFIX.format(iface_name = iface.get_name(), tree = self.get_tree()) 352 yield from iface.get_expected() 353 yield iface.get_response().get_output_format().format(iface_name = iface.get_name(), 364 super_calls = "\n".join(super_template.format(iface_name = iface.get_name(), 366 tree = self.get_tree()) for iface in self.ifaces) 534 for iface in self.ifaces: 536 yield self.OUTPUT_PREFIX.format(iface_name = iface.get_name(), tree = self.get_tree()) 537 yield from iface.get_expected() 539 yield iface.get_response().get_output_format().format(iface_name = iface.get_name(), [all …]
|
/art/test/162-method-resolution/src/ |
D | Test7User2.java | 19 Test7Interface iface = new Test7Derived(); in test() local 20 iface.foo(); in test()
|
/art/test/961-default-iface-resolution-gen/util-src/ |
D | generate_java.py | 170 def __init__(self, iface): argument 174 self.iface = iface 188 iface_tree = self.iface.get_tree()) 194 yield self.iface 195 yield from self.iface 202 all_ifaces = set(iface for iface in self if iface.default) 213 iface_name = self.iface.get_name(),
|
/art/test/968-default-partial-compile-gen/util-src/ |
D | generate_smali.py | 276 def __init__(self, iface): argument 280 self.iface = iface 294 iface_tree = self.iface.get_tree()) 300 yield self.iface 301 yield from self.iface 308 return self.iface.get_called() 315 iface_name = self.iface.get_name(), 555 for iface in create_interface_trees(num): 556 yield TestClass(iface)
|
/art/test/utils/python/ |
D | generate_java_main.py | 255 for iface in flatten_interfaces(dat, clazz): 256 for meth in flatten_interface_methods(dat, iface): 258 i.add_func(Func(meth, iface.name, 'interface')) 286 for iface in root.find("interfaces"): 287 name = iface.attrib['name'] 288 implements = [a.text for a in iface.find("implements")] 289 methods = [a.text for a in iface.find("methods")] 291 super_class = iface.attrib['super'],
|
/art/test/2032-default-method-private-override/src/ |
D | Main.java | 21 IFace iface = (IFace)Class.forName(klass).newInstance(); in sayHi() local 22 iface.sayHi(); in sayHi()
|
/art/test/972-default-imt-collision/src/ |
D | Main.java | 23 Class<?> iface = Class.forName("Iface2"); in main() local 24 Method test = c.getMethod("testMe", iface); in main()
|
/art/runtime/ |
D | debug_print.cc | 168 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in DumpB77342775DebugData() local 169 CHECK(iface != nullptr); in DumpB77342775DebugData() 170 LOG(ERROR) << " iface #" << i << ": " << iface->PrettyDescriptor(); in DumpB77342775DebugData() 171 matcher(iface); in DumpB77342775DebugData()
|
D | class_linker.cc | 4635 MutableHandle<mirror::Class> iface(hs.NewHandle<mirror::Class>(nullptr)); in VerifyClass() local 4638 iface.Assign(klass->GetIfTable()->GetInterface(i)); in VerifyClass() 4639 DCHECK(iface != nullptr); in VerifyClass() 4641 if (LIKELY(!iface->HasDefaultMethods() || iface->IsVerified())) { in VerifyClass() 4643 } else if (UNLIKELY(!AttemptSupertypeVerification(self, verifier_deps, klass, iface))) { in VerifyClass() 4647 } else if (UNLIKELY(!iface->IsVerified())) { in VerifyClass() 4650 supertype.Assign(iface.Get()); in VerifyClass() 5218 ObjPtr<mirror::Class> iface = klass->GetIfTable()->GetInterface(i); in CanWeInitializeClass() local 5219 if (iface->HasDefaultMethods() && !iface->IsInitialized()) { in CanWeInitializeClass() 5220 if (!can_init_parents || !CanWeInitializeClass(iface, can_init_statics, can_init_parents)) { in CanWeInitializeClass() [all …]
|
/art/test/970-iface-super-resolution-gen/util-src/ |
D | generate_smali.py | 380 iface = a.get_name(), 388 funcs = '\n'.join(map(lambda a: self.TEST_FUNC_TEMPLATE.format(iface = a.get_name(), 391 calls = '\n'.join(map(lambda a: self.TEST_CALL_TEMPLATE.format(iface = a.get_name(), 495 all_ifaces = set(iface for iface in self if iface.default)
|
/art/test/068-classloader/src/ |
D | Main.java | 347 IGetDoubled iface = (IGetDoubled) obj; in testInterface() local 350 DoubledExtendOkay de = iface.getDoubled(); in testInterface()
|
/art/test/004-JniTest/src/ |
D | Main.java | 304 private static native void testInvokeLambdaMethod(LambdaInterface iface); in testInvokeLambdaMethod() argument 306 private static native void testInvokeLambdaDefaultMethod(LambdaInterface iface); in testInvokeLambdaDefaultMethod() argument
|
/art/runtime/mirror/ |
D | class.cc | 549 ObjPtr<Class> iface = iftable->GetInterface(i); in FindInterfaceMethodWithSignature() local 550 for (ArtMethod& method : iface->GetVirtualMethodsSlice(pointer_size)) { in FindInterfaceMethodWithSignature() 845 MutableHandle<Class> iface(hs.NewHandle<Class>(nullptr)); in FindVirtualMethodForInterfaceSuper() local 853 iface.Assign(iftable->GetInterface(k)); in FindVirtualMethodForInterfaceSuper() 856 for (auto& method_iter : iface->GetDeclaredVirtualMethods(pointer_size)) { in FindVirtualMethodForInterfaceSuper() 868 if (iface->IsAssignableFrom(possible_override->GetDeclaringClass())) { in FindVirtualMethodForInterfaceSuper() 1777 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in FindAccessibleInterfaceMethod() local 1778 ArtMethod* interface_method = &iface->GetVirtualMethodsSlice(pointer_size)[j]; in FindAccessibleInterfaceMethod()
|
/art/runtime/native/ |
D | java_lang_Class.cc | 458 ObjPtr<mirror::Class> iface = mirror::Class::ResolveDirectInterface(self, h_clazz, i); in GetPublicFieldRecursive() local 459 if (UNLIKELY(iface == nullptr)) { in GetPublicFieldRecursive() 463 result = GetPublicFieldRecursive(self, iface, h_name.Get()); in GetPublicFieldRecursive()
|
/art/oatdump/ |
D | oatdump.cc | 2897 ObjPtr<mirror::Class> iface = if_table->GetInterface(i); in DumpIMTForClass() local 2899 std::cerr << " " << iface->GetDescriptor(&iface_name) << std::endl; in DumpIMTForClass() 2901 for (ArtMethod& iface_method : iface->GetVirtualMethods(pointer_size)) { in DumpIMTForClass() 2978 ObjPtr<mirror::Class> iface = if_table->GetInterface(i); in DumpIMTForMethod() local 2979 size_t num_methods = iface->NumDeclaredVirtualMethods(); in DumpIMTForMethod() 2981 for (ArtMethod& iface_method : iface->GetMethods(pointer_size)) { in DumpIMTForMethod()
|
/art/dex2oat/driver/ |
D | compiler_driver.cc | 2457 Handle<mirror::Class> iface = hs.NewHandle(klass->GetIfTable()->GetInterface(i)); in InitializeDependencies() local 2458 if (iface->HasDefaultMethods() && !iface->IsInitialized()) { in InitializeDependencies() 2459 TryInitializeClass(self, iface, class_loader); in InitializeDependencies() 2460 if (!iface->IsInitialized()) { in InitializeDependencies()
|
/art/compiler/optimizing/ |
D | instruction_builder.cc | 1471 ObjPtr<mirror::Class> iface = iftable->GetInterface(i); in HasTrivialInitialization() local 1472 if (!iface->HasDefaultMethods()) { in HasTrivialInitialization() 1475 if (iface->IsInitialized() && IsInBootImage(iface, compiler_options)) { in HasTrivialInitialization() 1478 if (!HasTrivialClinit(iface, pointer_size)) { in HasTrivialInitialization()
|