Home
last modified time | relevance | path

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

/art/runtime/interpreter/
Dinterpreter.cc44 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local
50 jresult = fn(soa.Env(), klass.get()); in InterpreterJni()
55 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local
59 fn(soa.Env(), klass.get()); in InterpreterJni()
62 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local
66 result->SetZ(fn(soa.Env(), klass.get())); in InterpreterJni()
69 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local
73 result->SetB(fn(soa.Env(), klass.get(), args[0])); in InterpreterJni()
76 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local
80 result->SetI(fn(soa.Env(), klass.get(), args[0])); in InterpreterJni()
[all …]
/art/runtime/
Dnative_bridge_art_interface.cc116 android::NativeBridgeSignalHandlerFn fn = android::NativeBridgeGetSignalHandler(signal); in InitializeNativeBridge() local
117 if (fn != nullptr) { in InitializeNativeBridge()
118 SetSpecialSignalHandlerFn(signal, fn); in InitializeNativeBridge()
Doat_file_manager.cc230 std::function<bool(const DexFile*)> fn) in IterateOverJavaDexFile() argument
244 if (!fn(cp_dex_file)) { in IterateOverJavaDexFile()
255 std::function<bool(const DexFile*)> fn) SHARED_REQUIRES(Locks::mutator_lock_) { in IterateOverPathClassLoader() argument
282 IterateOverJavaDexFile(dex_file, cookie_field, fn); in IterateOverPathClassLoader()
Djava_vm_ext.cc256 void* fn = library->FindSymbol(jni_short_name, shorty); in FindNativeMethod() local
257 if (fn == nullptr) { in FindNativeMethod()
258 fn = library->FindSymbol(jni_long_name, shorty); in FindNativeMethod()
260 if (fn != nullptr) { in FindNativeMethod()
263 return fn; in FindNativeMethod()
Djni_internal.cc1250 #define GET_PRIMITIVE_FIELD(fn, instance) \ argument
1256 return f->Get ##fn (o)
1258 #define GET_STATIC_PRIMITIVE_FIELD(fn) \ argument
1262 return f->Get ##fn (f->GetDeclaringClass())
1264 #define SET_PRIMITIVE_FIELD(fn, instance, value) \ argument
1270 f->Set ##fn <false>(o, value)
1272 #define SET_STATIC_PRIMITIVE_FIELD(fn, value) \ argument
1276 f->Set ##fn <false>(f->GetDeclaringClass(), value)
/art/sigchainlib/
Dsigchain.cc80 void SetSpecialHandler(SpecialSignalHandlerFn fn) { in SetSpecialHandler() argument
81 special_handler_ = fn; in SetSpecialHandler()
339 extern "C" void SetSpecialSignalHandlerFn(int signal, SpecialSignalHandlerFn fn) { in SetSpecialSignalHandlerFn() argument
343 user_sigactions[signal].SetSpecialHandler(fn); in SetSpecialSignalHandlerFn()
Dsigchain.h31 extern "C" void SetSpecialSignalHandlerFn(int signal, SpecialSignalHandlerFn fn);
Dsigchain_dummy.cc82 SpecialSignalHandlerFn fn ATTRIBUTE_UNUSED) { in SetSpecialSignalHandlerFn()
/art/test/004-JniTest/
Djni_test.cc54 Fn fn = reinterpret_cast<Fn>(arg); in AttachHelper() local
55 fn(env); in AttachHelper()
62 static void PthreadHelper(void (*fn)(JNIEnv*)) { in PthreadHelper()
65 reinterpret_cast<void*>(fn)); in PthreadHelper()
/art/compiler/utils/arm/
Dassembler_thumb2.h642 static void ForExpandableDependencies(Thumb2Assembler* assembler, Function fn);
Dassembler_thumb2.cc31 void Thumb2Assembler::Fixup::ForExpandableDependencies(Thumb2Assembler* assembler, Function fn) { in ForExpandableDependencies() argument
41 fn(id, fixup_id); in ForExpandableDependencies()
47 fn(id - 1u, fixup_id); in ForExpandableDependencies()