Searched refs:fn (Results 1 - 25 of 25) sorted by relevance

/art/sigchainlib/
H A Dsigchain.h35 extern "C" void RemoveSpecialSignalHandlerFn(int signal, bool (*fn)(int, siginfo_t*, void*));
H A Dsigchain_dummy.cc63 bool (*fn)(int, siginfo_t*, void*) ATTRIBUTE_UNUSED) {
62 RemoveSpecialSignalHandlerFn(int signal ATTRIBUTE_UNUSED, bool (*fn)(int, siginfo_t*, void*) ATTRIBUTE_UNUSED) argument
H A Dsigchain_test.cc73 static void TestSignalBlocking(std::function<void()> fn) { argument
79 fn();
H A Dsigchain.cc258 void RemoveSpecialHandler(bool (*fn)(int, siginfo_t*, void*)) { argument
262 if (special_handlers_[i].sc_sigaction == fn) {
492 extern "C" void RemoveSpecialSignalHandlerFn(int signal, bool (*fn)(int, siginfo_t*, void*)) { argument
499 chains[signal].RemoveSpecialHandler(fn);
/art/openjdkjvmti/
H A Devents-inl.h90 #define FORALL_EVENT_TYPES(fn) \
91 fn(VMInit, ArtJvmtiEvent::kVmInit) \
92 fn(VMDeath, ArtJvmtiEvent::kVmDeath) \
93 fn(ThreadStart, ArtJvmtiEvent::kThreadStart) \
94 fn(ThreadEnd, ArtJvmtiEvent::kThreadEnd) \
95 fn(ClassFileLoadHook, ArtJvmtiEvent::kClassFileLoadHookRetransformable) \
96 fn(ClassFileLoadHook, ArtJvmtiEvent::kClassFileLoadHookNonRetransformable) \
97 fn(ClassLoad, ArtJvmtiEvent::kClassLoad) \
98 fn(ClassPrepare, ArtJvmtiEvent::kClassPrepare) \
99 fn(VMStar
[all...]
H A Dti_method.cc1006 #define FOR_JVMTI_JVALUE_TYPES(fn) \
1007 fn(jint, art::Primitive::kPrimInt, i) \
1008 fn(jlong, art::Primitive::kPrimLong, j) \
1009 fn(jfloat, art::Primitive::kPrimFloat, f) \
1010 fn(jdouble, art::Primitive::kPrimDouble, d) \
1011 fn(jobject, art::Primitive::kPrimNot, l)
H A Dti_stack.cc76 fn(fn_),
96 fn(info);
110 FrameFn fn; member in struct:openjdkjvmti::GetStackTraceVisitor
119 FrameFn fn) {
120 return GetStackTraceVisitor<FrameFn>(thread_in, start, stop, fn);
116 MakeStackTraceVisitor(art::Thread* thread_in, size_t start, size_t stop, FrameFn fn) argument
H A Dti_heap.cc657 static jvmtiError DoIterateThroughHeap(T fn, argument
708 jint ret = fn(obj, callbacks, class_tag, size, &tag, length, const_cast<void*>(user_data));
/art/libartbase/base/
H A Dsystrace.h36 explicit ScopedTrace(Fn fn) { argument
38 ATRACE_BEGIN(fn().c_str());
H A Dtransform_iterator.h61 TransformIterator(BaseIterator base, Function fn) argument
62 : data_(base, fn) { }
145 Data(BaseIterator base, Function fn) : Function(fn), base_(base) { } argument
H A Dtransform_array_ref.h70 TransformArrayRef(const ArrayRef<OtherBT>& base, Function fn) argument
71 : data_(base, fn) { }
142 Data(ArrayRef<BaseType> base, Function fn) : Function(fn), base_(base) { } argument
/art/runtime/
H A Dclass_loader_utils.h61 Visitor fn,
86 if (!fn(element, &ret_value)) {
105 Visitor fn,
132 if (!fn(cp_dex_file, /* out */ &ret_value)) {
148 Visitor fn)
150 auto helper = [&fn](const art::DexFile* dex_file, void** ATTRIBUTE_UNUSED)
152 return fn(dex_file);
H A Dnative_bridge_art_interface.cc119 android::NativeBridgeSignalHandlerFn fn = android::NativeBridgeGetSignalHandler(signal); local
120 if (fn != nullptr) {
124 .sc_sigaction = fn,
H A Djava_vm_ext.cc296 void* fn = library->FindSymbol(jni_short_name, arg_shorty); variable
297 if (fn == nullptr) {
298 fn = library->FindSymbol(jni_long_name, arg_shorty);
300 if (fn != nullptr) {
303 return fn;
1059 void* fn = agent->FindSymbol(jni_short_name); local
1060 if (fn != nullptr) {
1063 return fn;
1065 fn = agent->FindSymbol(jni_long_name);
1066 if (fn !
[all...]
H A Djni_internal.cc1381 #define GET_PRIMITIVE_FIELD(fn, instance) \
1388 return f->Get ##fn (o)
1390 #define GET_STATIC_PRIMITIVE_FIELD(fn) \
1395 return f->Get ##fn (f->GetDeclaringClass())
1397 #define SET_PRIMITIVE_FIELD(fn, instance, value) \
1404 f->Set ##fn <false>(o, value)
1406 #define SET_STATIC_PRIMITIVE_FIELD(fn, value) \
1411 f->Set ##fn <false>(f->GetDeclaringClass(), value)
/art/test/ti-agent/
H A Dcommon_load.cc132 OnLoad fn = nullptr; local
134 fn = &MinimalOnLoad;
140 fn = lib->load;
142 return fn(vm, remaining_options, reserved);
/art/runtime/interpreter/
H A Dinterpreter.cc59 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
65 jresult = fn(soa.Env(), klass.get());
70 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
74 fn(soa.Env(), klass.get());
77 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
81 result->SetZ(fn(soa.Env(), klass.get()));
84 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
88 result->SetB(fn(soa.Env(), klass.get(), args[0]));
91 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
95 result->SetI(fn(so
98 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
111 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
118 fntype* const fn = reinterpret_cast<fntype*>(const_cast<void*>( local
128 fntype* const fn = local
136 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
143 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
154 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
165 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
174 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
190 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
201 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
208 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
222 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); local
[all...]
/art/runtime/native/
H A Ddalvik_system_VMStack.cc42 T fn)
47 trace = fn(soa.Self(), soa);
69 trace = fn(thread, soa);
85 auto fn = [](Thread* thread, const ScopedFastNativeObjectAccess& soaa) local
89 jobject trace = GetThreadStack(soa, javaThread, fn);
152 auto fn = [](Thread* thread, const ScopedFastNativeObjectAccess& soaa) local
156 jobject trace = GetThreadStack(soa, javaThread, fn);
165 auto fn = [](Thread* thread, const ScopedFastNativeObjectAccess& soaa) local
169 return GetThreadStack(soa, javaThread, fn);
/art/disassembler/
H A Ddisassembler.h53 ThreadOffsetNameFunction fn)
54 : thread_offset_name_function_(fn),
49 DisassemblerOptions(bool absolute_addresses, const uint8_t* base_address, const uint8_t* end_address, bool can_read_literals, ThreadOffsetNameFunction fn) argument
/art/test/674-hiddenapi/src-ex/
H A DChildClass.java516 String fn, boolean canAccess) {
518 "." + name + " to " + (canAccess ? "" : "not ") + "be discoverable with " + fn + ". " +
524 String fn) {
526 klass.getName() + "." + name + " using " + fn + ". " +
532 String fn, boolean setsWarning) {
534 klass.getName() + "." + name + " using " + fn + " to " + (setsWarning ? "" : "not ") +
515 throwDiscoveryException(Class<?> klass, String name, boolean isField, String fn, boolean canAccess) argument
523 throwAccessException(Class<?> klass, String name, boolean isField, String fn) argument
531 throwWarningException(Class<?> klass, String name, boolean isField, String fn, boolean setsWarning) argument
/art/runtime/gc/accounting/
H A Dspace_bitmap_test.cc157 static void RunTest(TestFn&& fn) NO_THREAD_SAFETY_ANALYSIS {
194 fn(space_bitmap.get(), range_begin, range_end, manual);
/art/runtime/verifier/
H A Dregister_line.h360 void IterateRegToLockDepths(T fn) const {
367 fn(reg, depth);
/art/compiler/jni/
H A 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...);
216 // Given a function 'fn' creat
[all...]
/art/test/004-JniTest/
H A Djni_test.cc66 Fn fn = reinterpret_cast<Fn>(arg); local
67 fn(env);
74 static void PthreadHelper(void (*fn)(JNIEnv*)) { argument
77 reinterpret_cast<void*>(fn));
/art/compiler/driver/
H A Dcompiler_driver.cc1552 void ForAllLambda(size_t begin, size_t end, Fn fn, size_t work_units)
1560 thread_pool_->AddTask(self, new ForAllClosureLambda<Fn>(this, end, fn));
1583 ForAllClosureLambda(ParallelCompilationManager* manager, size_t end, Fn fn) argument
1586 fn_(fn) {}

Completed in 451 milliseconds