Home
last modified time | relevance | path

Searched refs:stackFrame (Results 1 – 3 of 3) sorted by relevance

/libcore/luni/src/test/java/libcore/dalvik/system/
DEmulatedStackFrameTest.java28 EmulatedStackFrame stackFrame = EmulatedStackFrame.create(MethodType.methodType( in testReaderWriter_allParamTypes() local
34 writer.attach(stackFrame); in testReaderWriter_allParamTypes()
46 reader.attach(stackFrame); in testReaderWriter_allParamTypes()
59 EmulatedStackFrame stackFrame = EmulatedStackFrame.create(MethodType.methodType( in testRandomReaderWriter_allParamTypes() local
65 writer.attach(stackFrame); in testRandomReaderWriter_allParamTypes()
80 reader.attach(stackFrame); in testRandomReaderWriter_allParamTypes()
82 final int parameterCount = stackFrame.getMethodType().parameterCount(); in testRandomReaderWriter_allParamTypes()
124 EmulatedStackFrame stackFrame = EmulatedStackFrame.create( in testReaderWriter_allReturnTypes() local
128 writer.attach(stackFrame).makeReturnValueAccessor(); in testReaderWriter_allReturnTypes()
131 reader.attach(stackFrame).makeReturnValueAccessor(); in testReaderWriter_allReturnTypes()
[all …]
/libcore/dalvik/src/main/java/dalvik/system/
DEmulatedStackFrame.java77 private final byte[] stackFrame; field in EmulatedStackFrame
79 private EmulatedStackFrame(MethodType type, Object[] references, byte[] stackFrame) { in EmulatedStackFrame() argument
82 this.stackFrame = stackFrame; in EmulatedStackFrame()
242 System.arraycopy(stackFrame, fromRange.stackFrameStart, in copyRangeTo()
243 other.stackFrame, primitivesStart, fromRange.numBytes); in copyRangeTo()
255 System.arraycopy(stackFrame, stackFrame.length - 4, in copyReturnValueTo()
256 other.stackFrame, other.stackFrame.length - 4, 4); in copyReturnValueTo()
258 System.arraycopy(stackFrame, stackFrame.length - 8, in copyReturnValueTo()
259 other.stackFrame, other.stackFrame.length - 8, 8); in copyReturnValueTo()
351 public StackFrameAccessor attach(EmulatedStackFrame stackFrame) { in attach() argument
[all …]
/libcore/ojluni/src/main/java/java/lang/invoke/
DTransformers.java86 EmulatedStackFrame stackFrame) throws Throwable { in invokeFromTransform() argument
88 ((Transformer) target).transform(stackFrame); in invokeFromTransform()
90 final MethodHandle adaptedTarget = target.asType(stackFrame.getMethodType()); in invokeFromTransform()
91 adaptedTarget.invokeExactWithFrame(stackFrame); in invokeFromTransform()
102 EmulatedStackFrame stackFrame) throws Throwable { in invokeExactFromTransform() argument
104 ((Transformer) target).transform(stackFrame); in invokeExactFromTransform()
106 target.invokeExactWithFrame(stackFrame); in invokeExactFromTransform()
546 EmulatedStackFrame stackFrame = EmulatedStackFrame.create(delegate.type()); in transform() local
549 stackFrame.setReference(0, receiver); in transform()
552 stackFrame, range, 1 /* referencesStart */, 0 /* stackFrameStart */); in transform()
[all …]