/art/openjdkjvmti/ |
D | events-inl.h | 93 #define FORALL_EVENT_TYPES(fn) \ argument 94 fn(VMInit, ArtJvmtiEvent::kVmInit) \ 95 fn(VMDeath, ArtJvmtiEvent::kVmDeath) \ 96 fn(ThreadStart, ArtJvmtiEvent::kThreadStart) \ 97 fn(ThreadEnd, ArtJvmtiEvent::kThreadEnd) \ 98 fn(ClassFileLoadHook, ArtJvmtiEvent::kClassFileLoadHookRetransformable) \ 99 fn(ClassFileLoadHook, ArtJvmtiEvent::kClassFileLoadHookNonRetransformable) \ 100 fn(ClassLoad, ArtJvmtiEvent::kClassLoad) \ 101 fn(ClassPrepare, ArtJvmtiEvent::kClassPrepare) \ 102 fn(VMStart, ArtJvmtiEvent::kVmStart) \ [all …]
|
D | ti_method.cc | 961 #define FOR_JVMTI_JVALUE_TYPES(fn) \ argument 962 fn(jint, art::Primitive::kPrimInt, i) \ 963 fn(jlong, art::Primitive::kPrimLong, j) \ 964 fn(jfloat, art::Primitive::kPrimFloat, f) \ 965 fn(jdouble, art::Primitive::kPrimDouble, d) \ 966 fn(jobject, art::Primitive::kPrimNot, l)
|
D | ti_stack.cc | 79 fn(fn_), in GetStackTraceVisitor() 99 fn(info); in VisitFrame() 113 FrameFn fn; member 139 FrameFn fn) { in MakeStackTraceVisitor() argument 140 return GetStackTraceVisitor<FrameFn>(thread_in, start, stop, fn); in MakeStackTraceVisitor()
|
/art/runtime/interpreter/ |
D | interpreter.cc | 61 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local 67 jresult = fn(soa.Env(), klass.get()); in InterpreterJni() 72 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local 76 fn(soa.Env(), klass.get()); in InterpreterJni() 79 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local 83 result->SetZ(fn(soa.Env(), klass.get())); in InterpreterJni() 86 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local 90 result->SetB(fn(soa.Env(), klass.get(), args[0])); in InterpreterJni() 93 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local 97 result->SetI(fn(soa.Env(), klass.get(), args[0])); in InterpreterJni() [all …]
|
/art/runtime/native/ |
D | dalvik_system_VMStack.cc | 42 T fn) in GetThreadStack() argument 47 trace = fn(soa.Self(), soa); in GetThreadStack() 69 trace = fn(thread, soa); in GetThreadStack() 85 auto fn = [](Thread* thread, const ScopedFastNativeObjectAccess& soaa) in VMStack_fillStackTraceElements() local 89 jobject trace = GetThreadStack(soa, javaThread, fn); in VMStack_fillStackTraceElements() 152 auto fn = [](Thread* thread, const ScopedFastNativeObjectAccess& soaa) in VMStack_getThreadStackTrace() local 156 jobject trace = GetThreadStack(soa, javaThread, fn); in VMStack_getThreadStackTrace() 165 auto fn = [](Thread* thread, const ScopedFastNativeObjectAccess& soaa) in VMStack_getAnnotatedThreadStackTrace() local 169 return GetThreadStack(soa, javaThread, fn); in VMStack_getAnnotatedThreadStackTrace()
|
/art/runtime/ |
D | class_loader_utils.h | 71 Visitor fn, in VisitClassLoaderDexElements() argument 96 if (!fn(element, &ret_value)) { in VisitClassLoaderDexElements() 114 Visitor fn, in VisitClassLoaderDexFiles() argument 141 if (!fn(cp_dex_file, /* out */ &ret_value)) { in VisitClassLoaderDexFiles() 157 Visitor fn) in VisitClassLoaderDexFiles() argument 159 auto helper = [&fn](const art::DexFile* dex_file, void** ret) in VisitClassLoaderDexFiles() 167 return fn(dex_file); in VisitClassLoaderDexFiles()
|
D | native_bridge_art_interface.cc | 119 android::NativeBridgeSignalHandlerFn fn = android::NativeBridgeGetSignalHandler(signal); in InitializeNativeBridge() local 120 if (fn != nullptr) { in InitializeNativeBridge() 124 .sc_sigaction = fn, in InitializeNativeBridge()
|
D | stack.h | 149 ALWAYS_INLINE static void WalkStack(const T& fn, 158 LambdaStackVisitor(const T& fn, in REQUIRES_SHARED() 163 : StackVisitor(thread, context, walk_kind, check_suspended), fn_(fn) {} in REQUIRES_SHARED() 172 LambdaStackVisitor visitor(fn, thread, context, walk_kind, check_suspended); in REQUIRES_SHARED()
|
/art/test/ti-agent/ |
D | common_load.cc | 132 OnLoad fn = nullptr; in Agent_OnLoad() local 134 fn = &MinimalOnLoad; in Agent_OnLoad() 140 fn = lib->load; in Agent_OnLoad() 142 return fn(vm, remaining_options, reserved); in Agent_OnLoad()
|
/art/libartbase/base/ |
D | systrace.h | 56 explicit ScopedTrace(Fn fn) { in ScopedTrace() argument 58 ATraceBegin(fn().c_str()); in ScopedTrace()
|
D | transform_iterator.h | 61 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()
|
D | transform_array_ref.h | 70 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/tools/hiddenapi/ |
D | hiddenapi.cc | 239 void ForEachDexClass(Fn fn) { in ForEachDexClass() argument 242 fn(DexClass(accessor)); in ForEachDexClass() 248 void ForEachDexMember(Fn fn) { in ForEachDexMember() argument 249 ForEachDexClass([&fn](const DexClass& klass) { in ForEachDexMember() 251 fn(DexMember(klass, field)); in ForEachDexMember() 254 fn(DexMember(klass, method)); in ForEachDexMember() 340 bool ForEachResolvableMember(const DexMember& other, Fn fn) { in ForEachResolvableMember() argument 342 return ForEachResolvableMember_Impl(other, fn, true, true, visited); in ForEachResolvableMember() 354 void ForEachSubClass(Fn fn) { in ForEachSubClass() argument 356 if (fn(subclass)) { in ForEachSubClass() [all …]
|
/art/disassembler/ |
D | disassembler.h | 53 ThreadOffsetNameFunction fn) in DisassemblerOptions() argument 54 : thread_offset_name_function_(fn), in DisassemblerOptions()
|
/art/sigchainlib/ |
D | sigchain.h | 35 extern "C" void RemoveSpecialSignalHandlerFn(int signal, bool (*fn)(int, siginfo_t*, void*));
|
D | sigchain_dummy.cc | 44 bool (*fn)(int, siginfo_t*, void*) ATTRIBUTE_UNUSED) { in RemoveSpecialSignalHandlerFn()
|
D | sigchain.cc | 241 void RemoveSpecialHandler(bool (*fn)(int, siginfo_t*, void*)) { in RemoveSpecialHandler() 245 if (special_handlers_[i].sc_sigaction == fn) { in RemoveSpecialHandler() 475 extern "C" void RemoveSpecialSignalHandlerFn(int signal, bool (*fn)(int, siginfo_t*, void*)) { in RemoveSpecialSignalHandlerFn() 482 chains[signal].RemoveSpecialHandler(fn); in RemoveSpecialSignalHandlerFn()
|
D | sigchain_test.cc | 89 static void TestSignalBlocking(const std::function<void()>& fn) { in TestSignalBlocking() argument 95 fn(); in TestSignalBlocking()
|
/art/runtime/jni/ |
D | java_vm_ext.cc | 319 void* fn = library->FindSymbol(jni_short_name, arg_shorty); in FindNativeMethodInternal() local 320 if (fn == nullptr) { in FindNativeMethodInternal() 321 fn = library->FindSymbol(jni_long_name, arg_shorty); in FindNativeMethodInternal() 323 if (fn != nullptr) { in FindNativeMethodInternal() 326 return fn; in FindNativeMethodInternal() 1108 void* fn = agent->FindSymbol(jni_short_name); in FindCodeForNativeMethodInAgents() local 1109 if (fn != nullptr) { in FindCodeForNativeMethodInAgents() 1112 return fn; in FindCodeForNativeMethodInAgents() 1114 fn = agent->FindSymbol(jni_long_name); in FindCodeForNativeMethodInAgents() 1115 if (fn != nullptr) { in FindCodeForNativeMethodInAgents() [all …]
|
D | jni_internal.cc | 1576 #define GET_PRIMITIVE_FIELD(fn, instance) \ argument 1583 return f->Get ##fn (o) 1585 #define GET_STATIC_PRIMITIVE_FIELD(fn) \ argument 1590 return f->Get ##fn (f->GetDeclaringClass()) 1592 #define SET_PRIMITIVE_FIELD(fn, instance, value) \ argument 1599 f->Set ##fn <false>(o, value) 1601 #define SET_STATIC_PRIMITIVE_FIELD(fn, value) \ argument 1606 f->Set ##fn <false>(f->GetDeclaringClass(), value)
|
/art/test/674-hiddenapi/src-ex/ |
D | ChildClass.java | 475 String fn, boolean canAccess) { in throwDiscoveryException() argument 477 "." + name + " to " + (canAccess ? "" : "not ") + "be discoverable with " + fn + ". " + in throwDiscoveryException() 482 String fn) { in throwAccessException() argument 484 klass.getName() + "." + name + " using " + fn + ". " + configMessage); in throwAccessException()
|
/art/compiler/jni/ |
D | jni_compiler_test.cc | 150 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/runtime/gc/accounting/ |
D | space_bitmap_test.cc | 157 static void RunTest(TestFn&& fn) NO_THREAD_SAFETY_ANALYSIS { in RunTest() argument 194 fn(space_bitmap.get(), range_begin, range_end, manual); in RunTest()
|
/art/runtime/verifier/ |
D | register_line.h | 371 void IterateRegToLockDepths(T fn) const { in IterateRegToLockDepths() argument 378 fn(reg, depth); in IterateRegToLockDepths()
|
/art/test/004-JniTest/ |
D | jni_test.cc | 66 Fn fn = reinterpret_cast<Fn>(arg); in AttachHelper() local 67 fn(env); in AttachHelper() 74 static void PthreadHelper(void (*fn)(JNIEnv*)) { in PthreadHelper() 77 reinterpret_cast<void*>(fn)); in PthreadHelper()
|