Home
last modified time | relevance | path

Searched refs:JValue (Results 1 – 25 of 67) sorted by relevance

123

/art/runtime/
Dreflection.h34 union JValue;
38 EXPORT ObjPtr<mirror::Object> BoxPrimitive(Primitive::Type src_class, const JValue& value)
44 JValue* unboxed_value) REQUIRES_SHARED(Locks::mutator_lock_);
48 JValue* unboxed_value) REQUIRES_SHARED(Locks::mutator_lock_);
52 const JValue& src,
53 JValue* dst)
59 const JValue& src,
60 JValue* dst)
65 JValue InvokeWithVarArgs(const ScopedObjectAccessAlreadyRunnable& soa,
73 JValue InvokeWithJValues(const ScopedObjectAccessAlreadyRunnable& soa,
[all …]
Dmethod_handles_test.cc49 static bool TryConversion(Handle<mirror::Class> from, Handle<mirror::Class> to, JValue* value) in TryConversion()
78 JValue value = JValue::FromPrimitive(static_cast<int8_t>(3)); in TEST_F()
91 JValue value = JValue::FromPrimitive(raw_value); in TEST_F()
103 JValue value = JValue::FromPrimitive(-16); in TEST_F()
115 JValue value; in TEST_F()
129 JValue value; in TEST_F()
143 JValue value; in TEST_F()
157 JValue value; in TEST_F()
174 JValue value = JValue::FromPrimitive(kInitialValue); in TEST_F()
181 JValue unboxed_value; in TEST_F()
[all …]
Djvalue-inl.h26 inline void JValue::SetL(ObjPtr<mirror::Object> new_l) { in SetL()
31 template <> inline JValue JValue::FromPrimitive(type v) { \
32 JValue res; \
Dmethod_handles.h63 /*inout*/ JValue* value)
72 /*inout*/ JValue* value)
81 /*inout*/ JValue* value)
147 JValue* result)
155 JValue* result)
Dreflection-inl.h35 const JValue& src, in ConvertPrimitiveValueNoThrow()
36 JValue* dst) { in ConvertPrimitiveValueNoThrow()
100 const JValue& src, in ConvertPrimitiveValue()
101 JValue* dst) { in ConvertPrimitiveValue()
Djvalue.h32 union PACKED(alignof(mirror::Object*)) JValue { in PACKED()
34 JValue() : j(0) {} in PACKED()
36 template<typename T> ALWAYS_INLINE static JValue FromPrimitive(T v); in PACKED()
Dreflection.cc451 ArtMethod* method, ArgArray* arg_array, JValue* result, in InvokeWithArgArray()
483 JValue* result) REQUIRES_SHARED(Locks::mutator_lock_) { in InvokeMethodImpl()
528 JValue InvokeWithVarArgs(const ScopedObjectAccessAlreadyRunnable& soa, in InvokeWithVarArgs()
537 return JValue(); in InvokeWithVarArgs()
548 JValue result; in InvokeWithVarArgs()
561 JValue InvokeWithVarArgs(const ScopedObjectAccessAlreadyRunnable& soa, in InvokeWithVarArgs()
570 JValue InvokeWithJValues(const ScopedObjectAccessAlreadyRunnable& soa, in InvokeWithJValues()
579 return JValue(); in InvokeWithJValues()
590 JValue result; in InvokeWithJValues()
602 JValue InvokeWithJValues(const ScopedObjectAccessAlreadyRunnable& soa, in InvokeWithJValues()
[all …]
Dvar_handles.h35 JValue* result)
44 JValue* result)
Dvar_handles.cc56 JValue* result) in VarHandleInvokeAccessorWithConversions()
103 JValue* result) REQUIRES_SHARED(Locks::mutator_lock_) { in VarHandleInvokeAccessorImpl()
142 JValue* result) { in VarHandleInvokeAccessor()
153 JValue* result) { in VarHandleInvokeAccessor()
Dmethod_handles.cc99 bool GetUnboxedTypeAndValue(ObjPtr<mirror::Object> o, Primitive::Type* type, JValue* value) in GetUnboxedTypeAndValue()
203 /*inout*/ JValue* value) { in ConvertJValueCommon()
214 const JValue src_value(*value); in ConvertJValueCommon()
300 JValue unboxed_value; in ConvertJValueCommon()
371 JValue* result) in MethodHandleInvokeTransform()
509 JValue* result) REQUIRES_SHARED(Locks::mutator_lock_) { in MethodHandleFieldGet()
550 JValue& value) REQUIRES_SHARED(Locks::mutator_lock_) { in MethodHandleFieldPut()
584 static JValue GetValueFromShadowFrame(const ShadowFrame& shadow_frame, in GetValueFromShadowFrame()
587 JValue field_value; in GetValueFromShadowFrame()
624 JValue* result) REQUIRES_SHARED(Locks::mutator_lock_) { in MethodHandleFieldAccess()
[all …]
/art/runtime/interpreter/
Dinterpreter.h32 union JValue;
45 JValue* result,
52 JValue* ret_val,
57 extern JValue EnterInterpreterFromEntryPoint(Thread* self,
65 JValue* result)
Dinterpreter_switch_impl.h42 JValue& result_register;
44 JValue result;
59 ALWAYS_INLINE JValue ExecuteSwitchImpl(Thread* self, in ExecuteSwitchImpl()
62 JValue result_register, in ExecuteSwitchImpl()
71 .result = JValue(), in ExecuteSwitchImpl()
Dunstarted_runtime.cc99 JValue* result, in CharacterLowerUpper()
125 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedCharacterToLowerCase()
130 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedCharacterToUpperCase()
138 JValue* result, in UnstartedRuntimeFindClass()
229 JValue* result, in UnstartedClassForNameCommon()
267 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedClassForName()
272 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedClassForNameLong()
277 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedClassGetPrimitiveClass()
291 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedClassClassForName()
296 Thread* self, ShadowFrame* shadow_frame, JValue* result, size_t arg_offset) { in UnstartedClassNewInstance()
[all …]
Dunstarted_runtime.h60 JValue* result,
68 JValue* result)
76 JValue* result, \
88 JValue* result) \
95 JValue* result,
Dunstarted_runtime_transaction_test.cc52 JValue result; in TEST_F()
61 JValue result; in TEST_F()
72 JValue result; in TEST_F()
81 JValue result; in TEST_F()
107 JValue result; in TEST_F()
127 JValue result; in TEST_F()
167 JValue result; in RunTest()
203 JValue* result) in TEST_F()
226 JValue* result) REQUIRES_SHARED(Locks::mutator_lock_) { in TEST_F()
Dinterpreter.cc51 JValue* result) in InterpreterJni()
235 static JValue ExecuteSwitch(Thread* self, in ExecuteSwitch()
238 JValue result_register, in ExecuteSwitch()
250 static inline JValue Execute( in Execute()
254 JValue result_register, in Execute()
283 JValue result; in Execute()
307 JValue ret = JValue(); in Execute()
319 JValue ret = JValue(); in Execute()
351 JValue* result, in EnterInterpreterFromInvoke()
427 JValue r = Execute(self, accessor, *shadow_frame, JValue(), stay_in_interpreter); in EnterInterpreterFromInvoke()
[all …]
Dunstarted_runtime_test.cc96 JValue result; in RunArrayCopy()
151 JValue result; in TestCeilFloor()
176 JValue result; in TEST_F()
196 JValue result; in TEST_F()
219 JValue result; in TEST_F()
242 JValue result; in TEST_F()
272 JValue result; in TEST_F()
324 JValue result; in TEST_F()
348 JValue result; in TEST_F()
393 JValue result; in TEST_F()
[all …]
Dinterpreter_common.h123 JValue* result);
154 JValue& result,
165 JValue* result) in DoInvoke()
208 JValue* result) REQUIRES_SHARED(Locks::mutator_lock_);
218 JValue* result)
225 JValue* result)
234 JValue* result) in DoInvokeCustom()
249 ALWAYS_INLINE static JValue GetFieldValue(const ShadowFrame& shadow_frame, uint32_t vreg) in GetFieldValue()
251 JValue field_value; in GetFieldValue()
428 JValue* result);
[all …]
Dunstarted_runtime_test.h55 JValue* result, \
69 JValue* result) \ in UNSTARTED_RUNTIME_DIRECT_LIST()
102 JValue result; in GetBootClassLoader()
Dinterpreter_common.cc139 JValue& result);
224 JValue* result,
245 JValue* result) in ArtInterpreterToCompiledCodeBridge()
270 JValue result) in SetStringInitValueToAllAliases()
298 JValue* result) in DoMethodHandleInvokeCommon()
397 JValue* result) REQUIRES_SHARED(Locks::mutator_lock_) { in DoMethodHandleInvokeExact()
414 JValue* result) REQUIRES_SHARED(Locks::mutator_lock_) { in DoMethodHandleInvoke()
431 JValue* result, in DoVarHandleInvokeCommon()
528 JValue* result) REQUIRES_SHARED(Locks::mutator_lock_) { \
572 JValue* result) { in DO_VAR_HANDLE_ACCESSOR()
[all …]
/art/runtime/native/
Djava_lang_reflect_Field.cc82 JValue* value) in GetFieldValue()
185 JValue value; in Field_get()
194 ALWAYS_INLINE inline static JValue GetPrimitiveField(JNIEnv* env, in GetPrimitiveField()
202 return JValue(); in GetPrimitiveField()
208 return JValue(); in GetPrimitiveField()
214 JValue field_value; in GetPrimitiveField()
219 return JValue(); in GetPrimitiveField()
225 return JValue(); in GetPrimitiveField()
228 JValue wide_value; in GetPrimitiveField()
232 return JValue(); in GetPrimitiveField()
[all …]
/art/runtime/arch/arm/
Dquick_entrypoints_cc_arm.cc24 Thread* self, JValue* result, uint32_t, uint32_t*,
30 Thread* self, JValue* result, const char* shorty) { in quick_invoke_reg_setup()
102 Thread* self, JValue* result, const char* shorty) { in art_quick_invoke_stub()
110 uint32_t args_size, Thread* self, JValue* result, in art_quick_invoke_static_stub()
/art/runtime/entrypoints/quick/
Dquick_thread_entrypoints.cc33 JValue jvalue; in artDeoptimizeIfNeeded()
46 JValue result; in artTestSuspendFromCode()
60 JValue result; in artImplicitSuspendFromCode()
/art/runtime/mirror/
Dvar_handle.h157 JValue* result)
231 JValue* result)
289 JValue* result) REQUIRES_SHARED(Locks::mutator_lock_);
310 JValue* result)
337 JValue* result)
348 JValue* result)
355 JValue* result)
Dvar_handle.cc229 inline void StoreResult(uint8_t value, JValue* result) { in StoreResult()
233 inline void StoreResult(int8_t value, JValue* result) { in StoreResult()
237 inline void StoreResult(uint16_t value, JValue* result) { in StoreResult()
241 inline void StoreResult(int16_t value, JValue* result) { in StoreResult()
245 inline void StoreResult(int32_t value, JValue* result) { in StoreResult()
249 inline void StoreResult(int64_t value, JValue* result) { in StoreResult()
253 inline void StoreResult(float value, JValue* result) { in StoreResult()
257 inline void StoreResult(double value, JValue* result) { in StoreResult()
261 inline void StoreResult(ObjPtr<Object> value, JValue* result) in StoreResult()
273 static void ByteSwap(JValue* value);
[all …]

123