Home
last modified time | relevance | path

Searched refs:Callable (Results 1 – 25 of 34) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DScopeExit.h26 template <typename Callable> class scope_exit {
27 Callable ExitFunction;
57 template <typename Callable>
58 [[nodiscard]] detail::scope_exit<std::decay_t<Callable>>
59 make_scope_exit(Callable &&F) { in make_scope_exit()
60 return detail::scope_exit<std::decay_t<Callable>>(std::forward<Callable>(F)); in make_scope_exit()
H A DSTLFunctionalExtras.h43 template<typename Callable>
45 return (*reinterpret_cast<Callable*>(callable))( in callback_fn()
53 template <typename Callable>
55 Callable &&callable,
57 std::enable_if_t<!std::is_same<remove_cvref_t<Callable>,
61 std::is_convertible<decltype(std::declval<Callable>()(
64 : callback(callback_fn<std::remove_reference_t<Callable>>), in callback() argument
H A DFunctionExtras.h261 UniqueFunctionBase(CallableT Callable, CalledAs<CalledAsT>) {
276 new (CallableAddr) CallableT(std::move(Callable));
377 CallableT Callable,
380 : Base(std::forward<CallableT>(Callable),
403 CallableT Callable,
406 : Base(std::forward<CallableT>(Callable),
H A DSTLExtras.h210 class Callable {
221 Callable() = default;
222 Callable(T const &O) : Obj(std::in_place, O) {}
224 Callable(Callable const &Other) = default;
225 Callable(Callable &&Other) = default;
227 Callable &operator=(Callable const &Other) {
234 Callable &operator=(Callable &&Other) {
262 template <typename T> class Callable<T, true> {
283 Callable() = default;
292 !std::is_same_v<remove_cvref_t<FnPtrOrRef>, Callable>, int
[all …]
/freebsd/contrib/llvm-project/llvm/tools/llvm-xray/
H A Dtrie-node.h47 template <typename T, typename Callable>
53 Callable &&MergeCallable) { in mergeTrieNodes()
55 std::forward<Callable>(MergeCallable)); in mergeTrieNodes()
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h428 template <typename Callable>
431 std::is_constructible<typename std::decay<Callable>::type, Callable>,
433 internal::is_callable_r<Result, typename std::decay<Callable>::type,
438 template <typename Callable>
441 std::is_constructible<typename std::decay<Callable>::type, Callable>,
444 internal::is_callable_r<Result, typename std::decay<Callable>::type>>;
450 template <typename Callable,
458 OnceAction, typename std::decay<Callable>::type>>,
459 IsDirectlyCompatible<Callable>> //
462 OnceAction(Callable&& callable) // NOLINT
[all …]
H A Dgmock-matchers.h2210 template <typename Callable, typename InnerMatcher>
2213 ResultOfMatcher(Callable callable, InnerMatcher matcher)
2217 ResultOfMatcher(const std::string& result_description, Callable callable,
2222 CallableTraits<Callable>::CheckIsValid(callable_);
2232 typedef typename CallableTraits<Callable>::StorageType CallableStorageType;
2236 using ResultType = decltype(CallableTraits<Callable>::template Invoke<T>(
2276 CallableTraits<Callable>::template Invoke<T>(callable_, obj);
4453 template <typename Callable, typename InnerMatcher>
4454 internal::ResultOfMatcher<Callable, InnerMatcher> ResultOf(
4455 Callable callable, InnerMatcher matcher) {
[all …]
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DJITSymbol.cpp34 Flags |= JITSymbolFlags::Callable; in fromGlobalValue()
37 Flags |= JITSymbolFlags::Callable; in fromGlobalValue()
63 Flags |= JITSymbolFlags::Callable; in fromSummary()
88 Flags |= JITSymbolFlags::Callable; in fromObjectSymbol()
/freebsd/contrib/llvm-project/compiler-rt/lib/lsan/
H A Dlsan_allocator.h31 template<typename Callable>
32 void ForEachChunk(const Callable &callback);
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DJITSymbol.h86 Callable = 1U << 5, enumerator
149 bool isCallable() const { return (Flags & Callable) == Callable; } in isCallable()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DLiveRegMatrix.cpp79 template <typename Callable>
82 Callable Func) { in foreachUnit()
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DHLSLRuntime.h50 ENUM_COMPARE_ASSERT(Callable)
H A DLangOptions.h54 Callable, enumerator
/freebsd/contrib/llvm-project/lldb/include/lldb/DataFormatters/
H A DTypeCategory.h187 template <typename Callable> ForEachCallback(Callable c) : callback(c) {} in ForEachCallback()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/Transformer/
H A DRewriteRule.h243 template <typename Callable>
244 inline ASTEdit withMetadata(ASTEdit Edit, Callable Metadata) { in withMetadata()
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DMachOPlatform.h46 Callable = 1U << 1, enumerator
47 LLVM_MARK_AS_BITMASK_ENUM(/* LargestValue = */ Callable)
/freebsd/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.h74 template <typename Callable>
77 return (*reinterpret_cast<Callable *>(CodeGen))(CGF, Action); in CallbackFn()
81 template <typename Callable>
83 Callable &&CodeGen,
84 std::enable_if_t<!std::is_same<std::remove_reference_t<Callable>,
87 Callback(CallbackFn<std::remove_reference_t<Callable>>), in CodeGen()
/freebsd/contrib/googletest/googlemock/test/
H A Dgmock-actions_test.cc235 struct Callable { in TEST() struct
239 static_assert(internal::is_callable_r<NonMoveable, Callable>::value); in TEST()
240 static_assert(internal::is_callable_r<void, Callable>::value); in TEST()
242 internal::is_callable_r<const volatile void, Callable>::value); in TEST()
244 static_assert(!internal::is_callable_r<int, Callable>::value); in TEST()
245 static_assert(!internal::is_callable_r<NonMoveable, Callable, int>::value); in TEST()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dmutex182 template<class Callable, class ...Args>
183 void call_once(once_flag& flag, Callable&& func, Args&&... args);
/freebsd/contrib/llvm-project/llvm/include/llvm/TargetParser/
H A DTriple.h289 Callable, enumerator
826 Env == Triple::Callable || Env == Triple::Mesh || in isShaderStageEnvironment()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DObjectFileInterface.cpp212 *SymFlags |= JITSymbolFlags::Callable; in getCOFFObjectFileSymbolInfo()
H A DOrcV2CBindings.cpp128 JSF |= JITSymbolFlags::Callable; in toJITSymbolFlags()
143 if (JSF & JITSymbolFlags::Callable) in fromJITSymbolFlags()
/freebsd/contrib/llvm-project/llvm/lib/Demangle/
H A DRustDemangle.cpp113 template <typename Callable> void demangleBackref(Callable Demangler) { in demangleBackref()
/freebsd/contrib/llvm-project/llvm/lib/TargetParser/
H A DTriple.cpp352 case Callable: return "callable"; in getEnvironmentTypeName()
734 .StartsWith("callable", Triple::Callable) in parseEnvironment()
2123 static_assert(Triple::Callable - Triple::Pixel == 12,
/freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/
H A DPythonDataObjects.h97 Callable, enumerator

12