Home
last modified time | relevance | path

Searched refs:arg_pos (Results 1 – 6 of 6) sorted by relevance

/art/compiler/jni/quick/
Dcalling_convention.cc207 size_t arg_pos = GetIteratorPositionWithinShorty(); in HasNext() local
208 return arg_pos < NumArgs(); in HasNext()
239 size_t arg_pos = GetIteratorPositionWithinShorty(); in IsCurrentParamAReference() local
240 return IsParamAReference(arg_pos); in IsCurrentParamAReference()
261 size_t arg_pos = GetIteratorPositionWithinShorty(); in IsCurrentParamAFloatOrDouble() local
262 return IsParamAFloatOrDouble(arg_pos); in IsCurrentParamAFloatOrDouble()
275 size_t arg_pos = GetIteratorPositionWithinShorty(); in IsCurrentParamADouble() local
276 return IsParamADouble(arg_pos); in IsCurrentParamADouble()
289 size_t arg_pos = GetIteratorPositionWithinShorty(); in IsCurrentParamALong() local
290 return IsParamALong(arg_pos); in IsCurrentParamALong()
[all …]
/art/test/1945-proxy-method-arguments/src/
DMain.java75 int arg_pos = i + 1; in testMethod10() local
76 String arg = (String) getProxyMethodArgument(arg_pos); in testMethod10()
77 System.out.println(" arg" + arg_pos + ": " + arg.getClass().getName() + " \"" + arg + "\""); in testMethod10()
90 int arg_pos = i + 1; in testMethod10Even() local
91 String arg = (String) getProxyMethodArgument(arg_pos); in testMethod10Even()
92 System.out.println(" arg" + arg_pos + ": " + arg.getClass().getName() + " \"" + arg + "\""); in testMethod10Even()
100 private Object getProxyMethodArgument(int arg_pos) { in getProxyMethodArgument() argument
114 return getArgument(arg_pos, proxy_method_frame_depth); in getProxyMethodArgument()
118 private native Object getArgument(int arg_pos, int frame_depth); in getArgument() argument
/art/test/1945-proxy-method-arguments/
Dget_args.cc83 extern "C" StackReference<mirror::Object>* artQuickGetProxyReferenceArgumentAt(size_t arg_pos,
87 jobject GetProxyReferenceArgument(size_t arg_pos, size_t proxy_method_frame_depth) { in GetProxyReferenceArgument() argument
99 artQuickGetProxyReferenceArgumentAt(arg_pos, quick_frame); in GetProxyReferenceArgument()
107 [[maybe_unused]] JNIEnv* env, [[maybe_unused]] jobject thiz, int arg_pos, int frame_depth) { in Java_TestInvocationHandler_getArgument() argument
108 return GetProxyReferenceArgument(arg_pos, frame_depth); in Java_TestInvocationHandler_getArgument()
/art/compiler/jni/quick/riscv64/
Dcalling_convention_riscv64.cc321 size_t arg_pos = GetIteratorPositionWithinShorty(); in CurrentParamSize() local
322 DCHECK_LT(arg_pos, NumArgs()); in CurrentParamSize()
324 ++arg_pos; // 0th argument must skip return value at start of the shorty in CurrentParamSize()
325 } else if (arg_pos == 0) { in CurrentParamSize()
332 return (GetShorty()[arg_pos] == 'F') ? 4u : static_cast<size_t>(kRiscv64PointerSize); in CurrentParamSize()
/art/runtime/interpreter/
Dinterpreter.cc400 for (size_t shorty_pos = 0, arg_pos = 0; cur_reg < num_regs; ++shorty_pos, ++arg_pos, cur_reg++) { in EnterInterpreterFromInvoke() local
405 reinterpret_cast<StackReference<mirror::Object>*>(&args[arg_pos])->AsMirrorPtr(); in EnterInterpreterFromInvoke()
410 uint64_t wide_value = (static_cast<uint64_t>(args[arg_pos + 1]) << 32) | args[arg_pos]; in EnterInterpreterFromInvoke()
413 arg_pos++; in EnterInterpreterFromInvoke()
417 shadow_frame->SetVReg(cur_reg, args[arg_pos]); in EnterInterpreterFromInvoke()
/art/runtime/entrypoints/quick/
Dquick_trampoline_entrypoints.cc912 GetQuickReferenceArgumentAtVisitor(ArtMethod** sp, std::string_view shorty, size_t arg_pos) in GetQuickReferenceArgumentAtVisitor() argument
915 arg_pos_(arg_pos), in GetQuickReferenceArgumentAtVisitor()
917 CHECK_LT(arg_pos, shorty.length()) << "Argument position greater than the number arguments"; in GetQuickReferenceArgumentAtVisitor()
947 size_t arg_pos, ArtMethod** sp) REQUIRES_SHARED(Locks::mutator_lock_) { in artQuickGetProxyReferenceArgumentAt() argument
953 GetQuickReferenceArgumentAtVisitor ref_arg_visitor(sp, shorty, arg_pos); in artQuickGetProxyReferenceArgumentAt()