Home
last modified time | relevance | path

Searched refs:callable (Results 1 – 25 of 29) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSTLFunctionalExtras.h40 Ret (*callback)(intptr_t callable, Params ...params) = nullptr;
41 intptr_t callable; variable
44 static Ret callback_fn(intptr_t callable, Params ...params) { in callback_fn() argument
45 return (*reinterpret_cast<Callable*>(callable))( in callback_fn()
55 Callable &&callable,
65 callable(reinterpret_cast<intptr_t>(&callable)) {} in callback()
68 return callback(callable, std::forward<Params>(params)...); in operator()
/freebsd/contrib/llvm-project/lldb/bindings/python/
H A Dpython-typemaps.swig435 PyErr_SetString(PyExc_TypeError, "Need a callable object or None!");
459 PyErr_SetString(PyExc_TypeError, "Need a callable object or None!");
482 PyErr_SetString(PyExc_TypeError, "Need a callable object or None!");
671 PyErr_SetString(PyExc_TypeError, "Need a callable object or None!");
679 PythonCallable callable = Retain<PythonCallable>($input);
680 if (!callable.IsValid()) {
681 PyErr_SetString(PyExc_TypeError, "Need a valid callable object");
685 llvm::Expected<PythonCallable::ArgInfo> arg_info = callable.GetArgInfo();
694 PyErr_SetString(PyExc_TypeError, "Expected 3 argument callable object");
699 // callable object as other callbacks, because this does not call Py_DECREF
H A Dpython-wrapper.swig1056 PythonCallable callable =
1058 if (!callable.IsValid()) {
1059 return SBError("The callback callable is not valid.");
1062 PythonObject result = callable(module_spec_arg, module_file_spec_arg,
H A Dpython-extensions.swig275 def callable(function):
283 return callable
/freebsd/contrib/llvm-project/libcxx/modules/std/
H A Dconcepts.cppm
H A Diterator.cppm
/freebsd/contrib/googletest/docs/reference/
H A Dactions.md38 In the following, by "callable" we mean a free function, `std::function`,
43 | `f` | Invoke `f` with the arguments passed to the mock function, where `f` is a callable. |
53 When defining a callable to be used with `Invoke*()`, you can declare any unused
H A Dtesting.md1373 The `factory` argument is a factory callable (move-constructible) object or
1375 ownership to the caller. The signature of the callable is `Fixture*()`, where
/freebsd/contrib/llvm-project/libcxx/include/
H A Dconcepts104 // [concepts.callable], callable concepts
H A D__config1100 // OP - type of the callable object with the reduction operation
H A D__tree1237 // breaks existing code which uses non-const callable comparators.
/freebsd/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h462 OnceAction(Callable&& callable) // NOLINT
464 {}, std::forward<Callable>(callable))) {}
481 OnceAction(Callable&& callable) // NOLINT
485 std::forward<Callable>(callable)}) {}
516 explicit StdFunctionAdaptor(CallableTag, F&& callable)
517 : callable_(std::make_shared<Callable>(std::forward<F>(callable))) {}
554 return std::move(callable)();
557 Callable callable;
H A Dgmock-more-actions.h610 auto &&callable = std::move(args_tuple.template Get<index>());
612 std::forward<decltype(callable)>(callable), unpacked_params...);
H A Dgmock-matchers.h2213 ResultOfMatcher(Callable callable, InnerMatcher matcher)
2214 : ResultOfMatcher(/*result_description=*/"", std::move(callable),
2217 ResultOfMatcher(const std::string& result_description, Callable callable,
2220 callable_(std::move(callable)),
2242 const CallableStorageType& callable, const M& matcher)
2244 callable_(callable),
4455 Callable callable, InnerMatcher matcher) {
4456 return internal::ResultOfMatcher<Callable, InnerMatcher>(std::move(callable),
4464 const std::string& result_description, Callable callable,
4467 result_description, std::move(callable), std::move(matcher));
/freebsd/share/examples/drivers/
H A DREADME37 fully callable (once you get your device to probe).
/freebsd/contrib/llvm-project/openmp/runtime/src/
H A Ddllexports600 # for user-callable uppercase Fortran entries.
/freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/
H A D_libzfs_core.py1666 if not callable(func):
/freebsd/contrib/googletest/docs/
H A Dgmock_cook_book.md2186 If the built-in actions don't suit you, you can use an existing callable
2289 There are two solutions to this problem. First, you can pass any callable of
2337 words, a "callable") as an argument, e.g.
2347 and you may want to invoke this callable argument:
2387 What if the callable takes an argument by reference? No problem - just wrap it
2408 What if the callable takes an argument by reference and we do **not** wrap the
2411 original value, to the callable. This is especially handy when the argument is a
2809 remember that you can always use a lambda or a callable object, which can do
3877 It's also fine for the callable to take no arguments, ignoring the arguments
3886 When used with `WillOnce`, the callable can assume it will be called at most
H A Dadvanced.md1604 The `factory` argument is a factory callable (move-constructible) object or
1606 ownership to the caller. The signature of the callable is `Fixture*()`, where
/freebsd/contrib/mandoc/
H A DTODO165 - .Sh and .Ss should be parsed and partially callable, see groff_mdoc(7)
696 - warn about attempts to call non-callable macros
H A DNEWS864 * Warn about attempts to call non-callable macros.
/freebsd/contrib/bsnmp/tests/
H A Dcatch.hpp6645 struct callable { struct
6647 virtual callable* clone() const = 0;
6648 virtual ~callable() = default;
6651 struct model : public callable {
6703 std::unique_ptr<callable> f;
/freebsd/contrib/flex/
H A DONEWS1088 - unput() and yyrestart() are now globally callable.
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td1089 .Case("callable", llvm::Triple::Callable)
4554 "miss", "callable", "mesh", "amplification"],
H A DAttrDocs.td6240 The callback callee is required to be callable with the number, and order, of
7349 "miss", "callable", "mesh", "amplification". Normally the shader type is set

12