Home
last modified time | relevance | path

Searched refs:Fn (Results 1 – 10 of 10) sorted by relevance

/art/runtime/base/
Dmessage_queue.h152 template <typename ReturnType = void, typename... Fn>
153 ReturnType SwitchReceive(Fn... case_fn) { in SwitchReceive()
154 struct Matcher : Fn... { in SwitchReceive()
155 using Fn::operator()...; in SwitchReceive()
/art/libartbase/base/
Dsystrace.h55 template <typename Fn>
56 explicit ScopedTrace(Fn fn) { in ScopedTrace()
/art/tools/hiddenapi/
Dhiddenapi.cc254 template <typename Fn>
255 void ForEachDexClass(const DexFile* dex_file, Fn fn) { in ForEachDexClass()
261 template<typename Fn>
262 void ForEachDexClass(Fn fn) { in ForEachDexClass()
270 template<typename Fn>
271 void ForEachDexMember(Fn fn) { in ForEachDexMember()
338 template<typename Fn>
339 bool ForEachResolvableMember(const DexMember& other, Fn fn) { in ForEachResolvableMember()
352 template<typename Fn>
353 void ForEachSubClass(Fn fn) { in ForEachSubClass()
[all …]
/art/compiler/dex/
Dinline_method_analyser.cc53 template <bool (Matcher::*Fn)()>
56 template <bool (Matcher::*Fn)()>
89 template <bool (Matcher::*Fn)()>
91 if (!(matcher->*Fn)()) { in Required()
99 template <bool (Matcher::*Fn)()>
101 if (!(matcher->*Fn)()) { in Repeated()
/art/openjdkjvmti/
Dti_stack.cc899 template<typename Fn>
902 explicit MonitorInfoClosure(Fn handle_results) in MonitorInfoClosure()
922 Fn handle_results_;
926 template <typename Fn>
929 Fn handle_results) in GetOwnedMonitorInfoCommon()
932 MonitorInfoClosure<Fn> closure(handle_results); in GetOwnedMonitorInfoCommon()
/art/test/004-JniTest/
Djni_test.cc65 using Fn = void(*)(JNIEnv*); in AttachHelper() typedef
66 Fn fn = reinterpret_cast<Fn>(arg); in AttachHelper()
/art/dex2oat/
Dverifier_deps_test.cc312 template<typename Fn>
313 bool RunValidation(Fn fn, const std::vector<uint8_t>& buffer) { in RunValidation()
/art/dt_fd_forward/
Ddt_fd_forward.cc519 template <typename T, typename Fn>
520 T HandleResult(IOResult res, T fail, Fn produceVal) { in HandleResult()
/art/dex2oat/driver/
Dcompiler_driver.cc1583 template <typename Fn>
1584 void ForAllLambda(size_t begin, size_t end, Fn fn, size_t work_units) in ForAllLambda()
1592 thread_pool_->AddTask(self, new ForAllClosureLambda<Fn>(this, end, fn)); in ForAllLambda()
1612 template <typename Fn>
1615 ForAllClosureLambda(ParallelCompilationManager* manager, size_t end, Fn fn) in ForAllClosureLambda()
1638 Fn fn_;
/art/libprofile/profile/
Dprofile_compilation_info.h907 template <typename Fn>
908 void ForMethodBitmapHotnessFlags(Fn fn) const { in ForMethodBitmapHotnessFlags()