/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/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/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/004-JniTest/src/ |
D | Main.java | 277 private static native void testInvokeLambdaMethod(LambdaInterface iface); in testInvokeLambdaMethod() argument 279 private static native void testInvokeLambdaDefaultMethod(LambdaInterface iface); in testInvokeLambdaDefaultMethod() argument
|
/art/test/068-classloader/src/ |
D | Main.java | 347 IGetDoubled iface = (IGetDoubled) obj; in testInterface() local 350 DoubledExtendOkay de = iface.getDoubled(); in testInterface()
|
/art/runtime/mirror/ |
D | class.cc | 422 ObjPtr<Class> iface = iftable->GetInterface(i); in FindInterfaceMethodWithSignature() local 423 for (ArtMethod& method : iface->GetVirtualMethodsSlice(pointer_size)) { in FindInterfaceMethodWithSignature() 715 MutableHandle<Class> iface(hs.NewHandle<Class>(nullptr)); in FindVirtualMethodForInterfaceSuper() local 723 iface.Assign(iftable->GetInterface(k)); in FindVirtualMethodForInterfaceSuper() 726 for (auto& method_iter : iface->GetDeclaredVirtualMethods(pointer_size)) { in FindVirtualMethodForInterfaceSuper() 738 if (iface->IsAssignableFrom(possible_override->GetDeclaringClass())) { in FindVirtualMethodForInterfaceSuper()
|
/art/runtime/ |
D | class_linker.cc | 4246 MutableHandle<mirror::Class> iface(hs.NewHandle<mirror::Class>(nullptr)); in VerifyClass() local 4249 iface.Assign(klass->GetIfTable()->GetInterface(i)); in VerifyClass() 4250 DCHECK(iface != nullptr); in VerifyClass() 4252 if (LIKELY(!iface->HasDefaultMethods() || iface->IsVerified())) { in VerifyClass() 4254 } else if (UNLIKELY(!AttemptSupertypeVerification(self, klass, iface))) { in VerifyClass() 4258 } else if (UNLIKELY(!iface->IsVerified())) { in VerifyClass() 4261 supertype.Assign(iface.Get()); in VerifyClass() 4767 ObjPtr<mirror::Class> iface = klass->GetIfTable()->GetInterface(i); in CanWeInitializeClass() local 4768 if (iface->HasDefaultMethods() && in CanWeInitializeClass() 4769 !CanWeInitializeClass(iface, can_init_statics, can_init_parents)) { in CanWeInitializeClass() [all …]
|
/art/runtime/native/ |
D | java_lang_Class.cc | 324 ObjPtr<mirror::Class> iface = mirror::Class::ResolveDirectInterface(self, h_clazz, i); in GetPublicFieldRecursive() local 325 if (UNLIKELY(iface == nullptr)) { in GetPublicFieldRecursive() 329 result = GetPublicFieldRecursive(self, iface, h_name.Get()); in GetPublicFieldRecursive()
|
/art/oatdump/ |
D | oatdump.cc | 3222 mirror::Class* iface = if_table->GetInterface(i); in DumpIMTForClass() local 3224 std::cerr << " " << iface->GetDescriptor(&iface_name) << std::endl; in DumpIMTForClass() 3226 for (ArtMethod& iface_method : iface->GetVirtualMethods(pointer_size)) { in DumpIMTForClass() 3303 mirror::Class* iface = if_table->GetInterface(i); in DumpIMTForMethod() local 3304 size_t num_methods = iface->NumDeclaredVirtualMethods(); in DumpIMTForMethod() 3306 for (ArtMethod& iface_method : iface->GetMethods(pointer_size)) { in DumpIMTForMethod()
|