/external/smali/smali/src/test/resources/LexerTest/ |
CommentTest.smali | 6 invoke-virtual #invoke-virtua
|
/frameworks/base/tools/locked_region_code_injection/test/lockedregioncodeinjection/ |
TestTarget.java | 34 public static void invoke() { method in class:TestTarget 45 invoke(); method 49 invoke(); method 54 invoke(); method 61 invoke(); method
|
/art/test/1948-obsolete-const-method-handle/util-src/src/art/constmethodhandle/ |
TestInvoke.java | 19 import java.lang.invoke.MethodHandle; 20 import java.lang.invoke.MethodType;
|
/art/test/954-invoke-polymorphic-verifier/smali/ |
VarHandleUnhappyAccessors.smali | 23 invoke-direct {p0}, Ljava/lang/Object;-><init>()V 24 invoke-static {}, LVarHandleUnhappyAccessors;->getVarHandle()Ljava/lang/invoke/VarHandle; 26 invoke-static {}, LVarHandleUnhappyAccessors;->getObjectArray()[Ljava/lang/Object; 28 invoke-static {v0, v1}, LVarHandleUnhappyAccessors;->compareAndExchange(Ljava/lang/invoke/VarHandle;[Ljava/lang/Object;)V 29 invoke-static {v0}, LVarHandleUnhappyAccessors;->compareAndExchangeAcquire(Ljava/lang/invoke/VarHandle;)V 30 invoke-static {v0}, LVarHandleUnhappyAccessors;->compareAndExchangeRelease(Ljava/lang/invoke/VarHandle;) [all...] |
MethodHandleToString.smali | 23 invoke-direct {p0}, Ljava/lang/Object;-><init>()V 24 invoke-static {}, LMethodHandleToString;->getMethodHandle()Ljava/lang/invoke/MethodHandle; 26 # Attempt invoke-polymorphic on MethodHandle.toString(). 27 invoke-polymorphic {v0}, Ljava/lang/invoke/MethodHandle;->toString()Ljava/lang/String;, ()Ljava/lang/Object; 31 .method public static getMethodHandle()Ljava/lang/invoke/MethodHandle;
|
TooFewArguments.smali | 23 invoke-direct {p0}, Ljava/lang/Object;-><init>()V 27 invoke-virtual {v0}, Ljava/lang/invoke/MethodHandle;->asFixedArity()Ljava/lang/invoke/MethodHandle; 30 # Invoke with one argument too few for prototype. 31 invoke-polymorphic {v0, v1}, Ljava/lang/invoke/MethodHandle;->invoke([Ljava/lang/Object;)Ljava/lang/Object;, (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
TooManyArguments.smali | 23 invoke-direct {p0}, Ljava/lang/Object;-><init>()V 27 invoke-virtual {v0}, Ljava/lang/invoke/MethodHandle;->asFixedArity()Ljava/lang/invoke/MethodHandle; 32 # Invoke with one argument too many for prototype. 33 invoke-polymorphic {v0, v1, v2, v3}, Ljava/lang/invoke/MethodHandle;->invoke([Ljava/lang/Object;)Ljava/lang/Object;, (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
|
MethodHandleNotInvoke.smali | 23 invoke-direct {p0}, Ljava/lang/Object;-><init>()V 24 invoke-static {}, LMethodHandleNotInvoke;->getMethodHandle()Ljava/lang/invoke/MethodHandle; 28 # Attempt invoke-polymorphic on MethodHandle.notInvoke(). 29 invoke-polymorphic {v0, v1}, Ljava/lang/invoke/MethodHandle;->notInvoke([Ljava/lang/Object;)Ljava/lang/Object;, ([Ljava/lang/Object;)Ljava/lang/Object; 33 .method public static getMethodHandle()Ljava/lang/invoke/MethodHandle;
|
VarHandleUnknownAccessor.smali | 23 invoke-direct {p0}, Ljava/lang/Object;-><init>()V 24 invoke-static {}, LVarHandleUnknownAccessor;->getVarHandle()Ljava/lang/invoke/VarHandle; 28 # Attempt invoke-polymorphic on VarHandle.unknownAccessor(). 29 invoke-polymorphic {v0, v1}, Ljava/lang/invoke/VarHandle;->unknownAccessor([Ljava/lang/Object;)Ljava/lang/Object;, ([Ljava/lang/Object;)Ljava/lang/Object; 33 .method public static getVarHandle()Ljava/lang/invoke/VarHandle;
|
Subclass.smali | 23 invoke-direct {p0}, Ljava/lang/Object;-><init>()V 26 invoke-static {}, LSubclass;->getMethodHandleSubclassInstance()Ljava/lang/invoke/MethodHandleImpl; 30 # Calling MethodHandle.invoke() on MethodHandleImpl instance (subclass of MethodHandle) => Okay 31 invoke-polymorphic {v0, v1, v2}, Ljava/lang/invoke/MethodHandle;->invoke([Ljava/lang/Object;)Ljava/lang/Object;, (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String; 32 # Calling MethodHandleImpl.invoke() rather than MethodHandle.invoke() [ declaring class is okay ] => Okay 33 invoke-polymorphic {v0, v1, v2}, Ljava/lang/invoke/MethodHandleImpl;->invoke([Ljava/lang/Object;)Ljava/la (…) [all...] |
/dalvik/dx/tests/142-const-method-handle/src/ |
Main.java | 18 import java.lang.invoke.MethodHandle; 19 import java.lang.invoke.MethodHandles; 20 import java.lang.invoke.MethodType;
|
/dalvik/dx/tests/142-const-method-handle/src/constmethodhandle/ |
ConstTest.java | 19 import java.lang.invoke.MethodHandle; 20 import java.lang.invoke.MethodType; 25 (Class) mh.invoke((Object) Float.valueOf(1.23e4f)));
|
/art/test/952-invoke-custom/src/ |
UnrelatedBSM.java | 17 import java.lang.invoke.CallSite; 18 import java.lang.invoke.ConstantCallSite; 19 import java.lang.invoke.MethodHandle; 20 import java.lang.invoke.MethodHandles; 21 import java.lang.invoke.MethodType;
|
/art/test/622-simplifyifs-exception-edges/src/ |
Main.java | 24 assertIntEquals(-2, (int)test.invoke(null, new Object[] { null })); 25 assertIntEquals(-1, (int)test.invoke(null, new Object[] { new int[0] })); 26 assertIntEquals(42, (int)test.invoke(null, new Object[] { new int[] { 42 } })); 29 assertIntEquals(-2, (int)test2.invoke(null, new Object[] { null, 0 })); 30 assertIntEquals(-1, (int)test2.invoke(null, new Object[] { new int[0], 0 })); 31 assertIntEquals(-1, (int)test2.invoke(null, new Object[] { new int[0], 1 })); 32 assertIntEquals(3, (int)test2.invoke(null, new Object[] { new int[] { 42 }, 0 }));
|
/libcore/luni/src/test/java/libcore/java/lang/ |
IntrinsicTest.java | 27 String.class.getMethod("charAt", int.class).invoke("hello", 0); 32 String.class.getMethod("compareTo", String.class).invoke("hello", "world"); 37 String.class.getMethod("equals", Object.class).invoke("hello", "world"); 42 String.class.getMethod("indexOf", int.class).invoke("hello", 'l'); 47 String.class.getMethod("isEmpty").invoke("hello"); 52 String.class.getMethod("length").invoke("hello"); 57 Math.class.getMethod("abs", int.class).invoke(null, 1); method 59 Math.class.getMethod("abs", long.class).invoke(null, 1L); method 61 Math.class.getMethod("abs", float.class).invoke(null, 1.0f); method 63 Math.class.getMethod("abs", double.class).invoke(null, 1.0) method 68 StrictMath.class.getMethod("abs", int.class).invoke(null, 1); method 70 StrictMath.class.getMethod("abs", long.class).invoke(null, 1L); method 72 StrictMath.class.getMethod("abs", float.class).invoke(null, 1.0f); method 74 StrictMath.class.getMethod("abs", double.class).invoke(null, 1.0); method 79 StrictMath.class.getMethod("min", int.class, int.class).invoke(null, 1, 2); method 84 StrictMath.class.getMethod("max", int.class, int.class).invoke(null, 1, 2); method 89 StrictMath.class.getMethod("sqrt", double.class).invoke(null, 2.0); method 94 Math.class.getMethod("min", int.class, int.class).invoke(null, 1, 2); method 99 Math.class.getMethod("max", int.class, int.class).invoke(null, 1, 2); method 104 Math.class.getMethod("sqrt", double.class).invoke(null, 2.0); method 109 Math.class.getMethod("cos", double.class).invoke(null, Math.PI); method 114 Math.class.getMethod("sin", double.class).invoke(null, Math.PI); method 119 Float.class.getMethod("floatToIntBits", float.class).invoke(null, 0.0f); method 124 Float.class.getMethod("floatToRawIntBits", float.class).invoke(null, 0.0f); method 129 Float.class.getMethod("intBitsToFloat", int.class).invoke(null, 0); method 134 Double.class.getMethod("doubleToLongBits", double.class).invoke(null, 0.0); method 139 Double.class.getMethod("doubleToRawLongBits", double.class).invoke(null, 0.0); method 144 Double.class.getMethod("longBitsToDouble", long.class).invoke(null, 0L); method [all...] |
/art/test/594-invoke-super/smali/ |
invoke-super.smali | 21 invoke-direct {v0}, LA;-><init>()V 28 invoke-direct {v0}, LY;-><init>()V 29 invoke-super {v0}, LY;->foo()V
|
/art/compiler/optimizing/ |
intrinsics_arm_vixl.cc | 74 // Note: The actual parameters are required to be in the locations given by the invoke's location 78 // Note: If an invoke wasn't sharpened, we will put down an invoke-virtual here. That's potentially 83 explicit IntrinsicSlowPathARMVIXL(HInvoke* invoke) 84 : SlowPathCodeARMVIXL(invoke), invoke_(invoke) {} 254 bool IntrinsicLocationsBuilderARMVIXL::TryDispatch(HInvoke* invoke) { 255 Dispatch(invoke); 256 LocationSummary* res = invoke->GetLocations(); 263 static void CreateFPToIntLocations(ArenaAllocator* allocator, HInvoke* invoke) { [all...] |
/art/test/146-bad-interface/src-ex/ |
Iface.java | 22 public default void invoke() { method in interface:Iface 23 System.out.println("running invoke");
|
/art/test/503-dead-instructions/src/ |
Main.java | 26 m.invoke(null, arguments1); 30 m.invoke(null, arguments2); 34 m.invoke(null, arguments3); 38 m.invoke(null, arguments4);
|
/art/test/585-inline-unresolved/src/ |
Main.java | 20 c.getMethod("topLevel").invoke(null);
|
/art/test/660-store-8-16/src/ |
Main.java | 27 cls.getMethod("setByteStaticField").invoke(null); 30 cls.getMethod("setShortStaticField").invoke(null); 33 cls.getMethod("setCharStaticField").invoke(null); 38 cls.getMethod("setByteArray", byte[].class).invoke(null, args); method 43 cls.getMethod("setShortArray", short[].class).invoke(null, args); method 48 cls.getMethod("setCharArray", char[].class).invoke(null, args); method 54 cls.getMethod("setByteInstanceField", cls).invoke(null, args); method 57 cls.getMethod("setShortInstanceField", cls).invoke(null, args); method 60 cls.getMethod("setCharInstanceField", cls).invoke(null, args); method
|
/libcore/ojluni/src/lambda/java/java/lang/invoke/ |
CallSite.java | 26 package java.lang.invoke;
|
/libcore/ojluni/src/main/java/java/lang/invoke/ |
Stable.java | 26 package java.lang.invoke;
|
/libcore/ojluni/src/main/java/java/lang/reflect/ |
InvocationHandler.java | 34 * invocation is encoded and dispatched to the {@code invoke} 93 public Object invoke(Object proxy, Method method, Object[] args) method in interface:InvocationHandler
|
/external/clang/test/CXX/temp/temp.fct.spec/temp.deduct/temp.deduct.call/ |
p6.cpp | 52 template<class T> void invoke(void (*f)(T)) { f(T()); } // expected-note 6 {{couldn't infer template argument}} \ function in namespace:test1 58 invoke(&temp); // expected-error {{no matching function for call to 'invoke'}} 59 invoke(&temp<>); // expected-error {{no matching function for call to 'invoke'}} 62 invoke(&temp<int>); 70 invoke(&over); 77 invoke(&over); // expected-error {{no matching function for call to 'invoke'}} 85 invoke(&temp2); // expected-error {{no matching function for call to 'invoke'} [all...] |