/art/disassembler/ |
D | disassembler_arm64_test.cc | 63 void ImplantInstruction(LamdaType fn) { in ImplantInstruction() argument 67 fn(); in ImplantInstruction() 74 void CompareInstruction(LamdaType fn, const char* EXP) { in CompareInstruction() argument 75 ImplantInstruction(fn); in CompareInstruction() 110 #define IMPLANT(fn) \ argument 112 ImplantInstruction([&]() { this->masm.fn; }); \ 115 #define COMPARE(fn, output) \ argument 117 CompareInstruction([&]() { this->masm.fn; }, (output)); \
|
D | disassembler.h | 53 ThreadOffsetNameFunction fn) in DisassemblerOptions() argument 54 : thread_offset_name_function_(fn), in DisassemblerOptions()
|
/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 …]
|
/art/runtime/interpreter/ |
D | interpreter.cc | 59 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local 65 jresult = fn(soa.Env(), klass.get()); in InterpreterJni() 70 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local 74 fn(soa.Env(), klass.get()); in InterpreterJni() 77 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local 81 result->SetZ(fn(soa.Env(), klass.get())); in InterpreterJni() 84 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local 88 result->SetB(fn(soa.Env(), klass.get(), args[0])); in InterpreterJni() 91 fntype* const fn = reinterpret_cast<fntype*>(method->GetEntryPointFromJni()); in InterpreterJni() local 95 result->SetI(fn(soa.Env(), klass.get(), args[0])); in InterpreterJni() [all …]
|
/art/runtime/native/ |
D | dalvik_system_VMStack.cc | 40 static ResultT GetThreadStack(const ScopedFastNativeObjectAccess& soa, jobject peer, T fn) in GetThreadStack() argument 45 trace = fn(soa.Self(), soa); in GetThreadStack() 61 trace = fn(thread, soa); in GetThreadStack() 77 auto fn = [](Thread* thread, const ScopedFastNativeObjectAccess& soaa) in VMStack_fillStackTraceElements() local 81 jobject trace = GetThreadStack(soa, javaThread, fn); in VMStack_fillStackTraceElements() 144 auto fn = [](Thread* thread, const ScopedFastNativeObjectAccess& soaa) in VMStack_getThreadStackTrace() local 148 jobject trace = GetThreadStack(soa, javaThread, fn); in VMStack_getThreadStackTrace() 157 auto fn = [](Thread* thread, const ScopedFastNativeObjectAccess& soaa) in VMStack_getAnnotatedThreadStackTrace() local 161 return GetThreadStack(soa, javaThread, fn); in VMStack_getAnnotatedThreadStackTrace()
|
/art/runtime/ |
D | class_loader_utils.h | 71 Visitor fn, in VisitClassLoaderDexElements() argument 92 if (!fn(element, &ret_value)) { in VisitClassLoaderDexElements() 110 Visitor fn, in VisitClassLoaderDexFiles() argument 137 if (!fn(cp_dex_file, /* out */ &ret_value)) { in VisitClassLoaderDexFiles() 153 Visitor fn) in VisitClassLoaderDexFiles() argument 155 auto helper = [&fn](const art::DexFile* dex_file, void** ret) in VisitClassLoaderDexFiles() 163 return fn(dex_file); in VisitClassLoaderDexFiles()
|
D | native_bridge_art_interface.cc | 128 android::NativeBridgeSignalHandlerFn fn = android::NativeBridgeGetSignalHandler(signal); in InitializeNativeBridge() local 129 if (fn != nullptr) { in InitializeNativeBridge() 133 .sc_sigaction = fn, in InitializeNativeBridge()
|
D | stack.h | 148 ALWAYS_INLINE static void WalkStack(const T& fn, 157 LambdaStackVisitor(const T& fn, in REQUIRES_SHARED() 162 : StackVisitor(thread, context, walk_kind, check_suspended), fn_(fn) {} in REQUIRES_SHARED() 171 LambdaStackVisitor visitor(fn, thread, context, walk_kind, check_suspended); in REQUIRES_SHARED()
|
/art/test/ti-agent/ |
D | common_load.cc | 136 OnLoad fn = nullptr; in Agent_OnLoad() local 138 fn = &MinimalOnLoad; in Agent_OnLoad() 144 fn = lib->load; in Agent_OnLoad() 146 return fn(vm, remaining_options, reserved); in Agent_OnLoad()
|
/art/tools/hiddenapi/ |
D | hiddenapi.cc | 255 void ForEachDexClass(const DexFile* dex_file, Fn fn) { in ForEachDexClass() argument 257 fn(DexClass(accessor)); in ForEachDexClass() 262 void ForEachDexClass(Fn fn) { in ForEachDexClass() argument 265 fn(DexClass(accessor)); in ForEachDexClass() 271 void ForEachDexMember(Fn fn) { in ForEachDexMember() argument 272 ForEachDexClass([&fn](const DexClass& klass) { in ForEachDexMember() 274 fn(DexMember(klass, field)); in ForEachDexMember() 277 fn(DexMember(klass, method)); in ForEachDexMember() 339 bool ForEachResolvableMember(const DexMember& other, Fn fn) { in ForEachResolvableMember() argument 341 return ForEachResolvableMember_Impl(other, fn, true, true, visited); in ForEachResolvableMember() [all …]
|
/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() 140 Data(BaseIterator base, Function fn) : Function(fn), base_(base) { } in Data()
|
D | transform_array_ref.h | 64 TransformArrayRef(const ArrayRef<OtherBT>& base, Function fn) in TransformArrayRef() argument 65 : data_(base, fn) { } in TransformArrayRef() 136 Data(ArrayRef<BaseType> base, Function fn) : Function(fn), base_(base) { } in Data()
|
/art/runtime/entrypoints/quick/ |
D | quick_entrypoints.h | 49 void Set##name(rettype (*fn)(__VA_ARGS__)) { p##name = reinterpret_cast<void*>(fn); }
|
/art/sigchainlib/ |
D | sigchain.h | 39 extern "C" void RemoveSpecialSignalHandlerFn(int signal, bool (*fn)(int, siginfo_t*, void*));
|
D | sigchain_fake.cc | 42 [[maybe_unused]] bool (*fn)(int, siginfo_t*, void*)) { in RemoveSpecialSignalHandlerFn()
|
D | sigchain_test.cc | 99 static void TestSignalBlocking(const std::function<void()>& fn) { in TestSignalBlocking() argument 105 fn(); in TestSignalBlocking()
|
D | sigchain.cc | 388 void RemoveSpecialHandler(bool (*fn)(int, siginfo_t*, void*)) { in RemoveSpecialHandler() 392 if (special_handlers_[i].sc_sigaction == fn) { in RemoveSpecialHandler() 694 extern "C" void RemoveSpecialSignalHandlerFn(int signal, bool (*fn)(int, siginfo_t*, void*)) { in RemoveSpecialSignalHandlerFn() 701 chains[signal].RemoveSpecialHandler(fn); in RemoveSpecialSignalHandlerFn()
|
/art/runtime/jni/ |
D | java_vm_ext.cc | 336 void* fn = library->FindSymbol(jni_short_name, arg_shorty, jni_call_type); in FindNativeMethodInternal() local 337 if (fn == nullptr) { in FindNativeMethodInternal() 338 fn = library->FindSymbol(jni_long_name, arg_shorty, jni_call_type); in FindNativeMethodInternal() 340 if (fn != nullptr) { in FindNativeMethodInternal() 343 return fn; in FindNativeMethodInternal() 1152 void* fn = agent->FindSymbol(jni_short_name); in FindCodeForNativeMethodInAgents() local 1153 if (fn != nullptr) { in FindCodeForNativeMethodInAgents() 1156 return fn; in FindCodeForNativeMethodInAgents() 1158 fn = agent->FindSymbol(jni_long_name); in FindCodeForNativeMethodInAgents() 1159 if (fn != nullptr) { in FindCodeForNativeMethodInAgents() [all …]
|
/art/libnativeloader/ |
D | public_libraries.cpp | 117 std::string_view fn = filename; in ReadExtensionLibraries() local 118 if (android::base::ConsumePrefix(&fn, kExtendedPublicLibrariesFilePrefix) && in ReadExtensionLibraries() 119 android::base::ConsumeSuffix(&fn, kExtendedPublicLibrariesFileSuffix)) { in ReadExtensionLibraries() 120 const std::string company_name(fn); in ReadExtensionLibraries()
|
/art/test/674-hiddenapi/src-ex/ |
D | ChildClass.java | 535 String fn, boolean canAccess) { in throwDiscoveryException() argument 537 "." + name + " to " + (canAccess ? "" : "not ") + "be discoverable with " + fn + ". " + in throwDiscoveryException() 542 String fn) { in throwAccessException() argument 544 klass.getName() + "." + name + " using " + fn + ". " + configMessage); in throwAccessException()
|
/art/runtime/gc/accounting/ |
D | space_bitmap_test.cc | 193 static void RunTest(size_t alignment, TestFn&& fn) NO_THREAD_SAFETY_ANALYSIS { in RunTest() argument 229 fn(&space_bitmap, range_begin, range_end, manual); in RunTest()
|
/art/runtime/verifier/ |
D | register_line.h | 369 void IterateRegToLockDepths(T fn) const { in IterateRegToLockDepths() argument 376 fn(reg, depth); in IterateRegToLockDepths()
|
/art/compiler/jni/ |
D | jni_compiler_test.cc | 200 template <typename T, T* fn> 203 template <typename R, typename Arg1, typename Arg2, typename ... Args, R (*fn)(Arg1, Arg2, Args...)> 204 struct remove_extra_parameters_helper<R(Arg1, Arg2, Args...), fn> { 209 return fn(env, kls, args...); in apply() 216 template <typename T, T* fn> 217 struct jni_remove_extra_parameters : public remove_extra_parameters_helper<T, fn> {}; 640 template <typename T, T* fn> 644 template <typename R, typename ... Args, R (*fn)(JNIEnv*, jclass, Args...)> 645 struct make_jni_test_decorator<R(JNIEnv*, jclass kls, Args...), fn> { 654 return fn(env, kls, args...); in apply() [all …]
|
/art/tools/ |
D | check_cfi.py | 122 results.extend([Source(int(a, 16), files[fn], l, fg) for a, l, fn, fg in lines])
|