Home
last modified time | relevance | path

Searched refs:fn (Results 1 – 16 of 16) sorted by relevance

/art/runtime/openjdkjvmti/
Devents-inl.h47 #define FORALL_EVENT_TYPES(fn) \ argument
48 fn(VMInit, ArtJvmtiEvent::kVmInit) \
49 fn(VMDeath, ArtJvmtiEvent::kVmDeath) \
50 fn(ThreadStart, ArtJvmtiEvent::kThreadStart) \
51 fn(ThreadEnd, ArtJvmtiEvent::kThreadEnd) \
52 fn(ClassFileLoadHook, ArtJvmtiEvent::kClassFileLoadHookRetransformable) \
53 fn(ClassFileLoadHook, ArtJvmtiEvent::kClassFileLoadHookNonRetransformable) \
54 fn(ClassLoad, ArtJvmtiEvent::kClassLoad) \
55 fn(ClassPrepare, ArtJvmtiEvent::kClassPrepare) \
56 fn(VMStart, ArtJvmtiEvent::kVmStart) \
[all …]
Dti_stack.cc70 fn(fn_), in GetStackTraceVisitor()
90 fn(info); in VisitFrame()
104 FrameFn fn; member
113 FrameFn fn) { in MakeStackTraceVisitor() argument
114 return GetStackTraceVisitor<FrameFn>(thread_in, start, stop, fn); in MakeStackTraceVisitor()
Dti_heap.cc657 static jvmtiError DoIterateThroughHeap(T fn, in DoIterateThroughHeap() argument
708 jint ret = fn(obj, callbacks, class_tag, size, &tag, length, const_cast<void*>(user_data)); in DoIterateThroughHeap()
/art/runtime/interpreter/
Dinterpreter.cc57 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local
63 jresult = fn(soa.Env(), klass.get()); in InterpreterJni()
68 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local
72 fn(soa.Env(), klass.get()); in InterpreterJni()
75 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local
79 result->SetZ(fn(soa.Env(), klass.get())); in InterpreterJni()
82 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local
86 result->SetB(fn(soa.Env(), klass.get(), args[0])); in InterpreterJni()
89 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local
93 result->SetI(fn(soa.Env(), klass.get(), args[0])); in InterpreterJni()
[all …]
/art/test/ti-agent/
Dcommon_load.cc131 OnLoad fn = nullptr; in Agent_OnLoad() local
133 fn = &MinimalOnLoad; in Agent_OnLoad()
139 fn = lib->load; in Agent_OnLoad()
141 return fn(vm, remaining_options, reserved); in Agent_OnLoad()
/art/runtime/
Dnative_bridge_art_interface.cc119 android::NativeBridgeSignalHandlerFn fn = android::NativeBridgeGetSignalHandler(signal); in InitializeNativeBridge() local
120 if (fn != nullptr) { in InitializeNativeBridge()
124 .sc_sigaction = fn, in InitializeNativeBridge()
Djava_vm_ext.cc292 void* fn = library->FindSymbol(jni_short_name, arg_shorty); in FindNativeMethodInternal() local
293 if (fn == nullptr) { in FindNativeMethodInternal()
294 fn = library->FindSymbol(jni_long_name, arg_shorty); in FindNativeMethodInternal()
296 if (fn != nullptr) { in FindNativeMethodInternal()
299 return fn; in FindNativeMethodInternal()
966 void* fn = agent.FindSymbol(jni_short_name); in FindCodeForNativeMethodInAgents() local
967 if (fn != nullptr) { in FindCodeForNativeMethodInAgents()
970 return fn; in FindCodeForNativeMethodInAgents()
972 fn = agent.FindSymbol(jni_long_name); in FindCodeForNativeMethodInAgents()
973 if (fn != nullptr) { in FindCodeForNativeMethodInAgents()
[all …]
Djni_internal.cc1358 #define GET_PRIMITIVE_FIELD(fn, instance) \ argument
1365 return f->Get ##fn (o)
1367 #define GET_STATIC_PRIMITIVE_FIELD(fn) \ argument
1372 return f->Get ##fn (f->GetDeclaringClass())
1374 #define SET_PRIMITIVE_FIELD(fn, instance, value) \ argument
1381 f->Set ##fn <false>(o, value)
1383 #define SET_STATIC_PRIMITIVE_FIELD(fn, value) \ argument
1388 f->Set ##fn <false>(f->GetDeclaringClass(), value)
/art/runtime/base/
Dtransform_iterator.h61 TransformIterator(BaseIterator base, Function fn) in TransformIterator() argument
62 : data_(base, fn) { } in TransformIterator()
145 Data(BaseIterator base, Function fn) : Function(fn), base_(base) { } in Data()
Dtransform_array_ref.h70 TransformArrayRef(const ArrayRef<OtherBT>& base, Function fn) in TransformArrayRef() argument
71 : data_(base, fn) { } in TransformArrayRef()
142 Data(ArrayRef<BaseType> base, Function fn) : Function(fn), base_(base) { } in Data()
/art/disassembler/
Ddisassembler.h53 ThreadOffsetNameFunction fn) in DisassemblerOptions() argument
54 : thread_offset_name_function_(fn), in DisassemblerOptions()
/art/sigchainlib/
Dsigchain.h35 extern "C" void RemoveSpecialSignalHandlerFn(int signal, bool (*fn)(int, siginfo_t*, void*));
Dsigchain.cc204 void RemoveSpecialHandler(bool (*fn)(int, siginfo_t*, void*)) { in RemoveSpecialHandler()
208 if (special_handlers_[i].sc_sigaction == fn) { in RemoveSpecialHandler()
391 extern "C" void RemoveSpecialSignalHandlerFn(int signal, bool (*fn)(int, siginfo_t*, void*)) { in RemoveSpecialSignalHandlerFn()
398 chains[signal].RemoveSpecialHandler(fn); in RemoveSpecialSignalHandlerFn()
Dsigchain_dummy.cc63 bool (*fn)(int, siginfo_t*, void*) ATTRIBUTE_UNUSED) { in RemoveSpecialSignalHandlerFn()
/art/compiler/jni/
Djni_compiler_test.cc150 template <typename T, T fn>
153 template <typename R, typename ... Args, R fn(Args...)>
154 struct count_refs_fn_helper<R(Args...), fn> : public count_refs_helper<Args...> {};
162 template <typename T, T fn>
163 struct count_refs : public count_refs_fn_helper<T, fn> {};
203 template <typename T, T fn>
206 template <typename R, typename Arg1, typename Arg2, typename ... Args, R fn(Arg1, Arg2, Args...)>
207 struct remove_extra_parameters_helper<R(Arg1, Arg2, Args...), fn> {
212 return fn(env, kls, args...); in apply()
219 template <typename T, T fn>
[all …]
/art/test/004-JniTest/
Djni_test.cc63 Fn fn = reinterpret_cast<Fn>(arg); in AttachHelper() local
64 fn(env); in AttachHelper()
71 static void PthreadHelper(void (*fn)(JNIEnv*)) { in PthreadHelper()
74 reinterpret_cast<void*>(fn)); in PthreadHelper()