Home
last modified time | relevance | path

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

12

/freebsd-14.2/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-14.2/contrib/llvm-project/libcxx/modules/std/
H A Dconcepts.inc77 // [concepts.callable], callable concepts
H A Diterator.inc81 // [indirectcallable], indirect callable requirements
/freebsd-14.2/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!");
654 PyErr_SetString(PyExc_TypeError, "Need a callable object or None!");
662 PythonCallable callable = Retain<PythonCallable>($input);
663 if (!callable.IsValid()) {
664 PyErr_SetString(PyExc_TypeError, "Need a valid callable object");
668 llvm::Expected<PythonCallable::ArgInfo> arg_info = callable.GetArgInfo();
677 PyErr_SetString(PyExc_TypeError, "Expected 3 argument callable object");
682 // callable object as other callbacks, because this does not call Py_DECREF
H A Dpython-wrapper.swig1092 PythonCallable callable =
1094 if (!callable.IsValid()) {
1095 return SBError("The callback callable is not valid.");
1098 PythonObject result = callable(module_spec_arg, module_file_spec_arg,
H A Dpython-extensions.swig275 def callable(function):
283 return callable
/freebsd-14.2/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.md1352 The `factory` argument is a factory callable (move-constructible) object or
1354 ownership to the caller. The signature of the callable is `Fixture*()`, where
/freebsd-14.2/contrib/llvm-project/libcxx/include/
H A Dconcepts104 // [concepts.callable], callable concepts
H A D__config1401 // OP - type of the callable object with the reduction operation
H A D__tree1244 // breaks existing code which uses non-const callable comparators.
/freebsd-14.2/contrib/googletest/googlemock/include/gmock/
H A Dgmock-actions.h455 OnceAction(Callable&& callable) // NOLINT
457 {}, std::forward<Callable>(callable))) {}
474 OnceAction(Callable&& callable) // NOLINT
478 std::forward<Callable>(callable)}) {}
509 explicit StdFunctionAdaptor(CallableTag, F&& callable)
510 : callable_(std::make_shared<Callable>(std::forward<F>(callable))) {}
547 return std::move(callable)();
550 Callable callable;
H A Dgmock-more-actions.h609 auto &&callable = args_tuple.template Get<index>();
611 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),
4454 Callable callable, InnerMatcher matcher) {
4455 return internal::ResultOfMatcher<Callable, InnerMatcher>(std::move(callable),
4463 const std::string& result_description, Callable callable,
4466 result_description, std::move(callable), std::move(matcher));
/freebsd-14.2/share/examples/drivers/
H A DREADME37 fully callable (once you get your device to probe).
/freebsd-14.2/contrib/llvm-project/openmp/runtime/src/
H A Ddllexports600 # for user-callable uppercase Fortran entries.
/freebsd-14.2/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/
H A D_libzfs_core.py1666 if not callable(func):
/freebsd-14.2/contrib/mandoc/
H A DTODO152 - .Sh and .Ss should be parsed and partially callable, see groff_mdoc(7)
615 - warn about attempts to call non-callable macros
H A DNEWS864 * Warn about attempts to call non-callable macros.
/freebsd-14.2/contrib/googletest/docs/
H A Dgmock_cook_book.md2180 If the built-in actions don't suit you, you can use an existing callable
2283 There are two solutions to this problem. First, you can pass any callable of
2331 words, a "callable") as an argument, e.g.
2341 and you may want to invoke this callable argument:
2381 What if the callable takes an argument by reference? No problem - just wrap it
2402 What if the callable takes an argument by reference and we do **not** wrap the
2405 original value, to the callable. This is especially handy when the argument is a
2803 remember that you can always use a lambda or a callable object, which can do
3842 It's also fine for the callable to take no arguments, ignoring the arguments
3851 When used with `WillOnce`, the callable can assume it will be called at most
H A Dadvanced.md1594 The `factory` argument is a factory callable (move-constructible) object or
1596 ownership to the caller. The signature of the callable is `Fixture*()`, where
/freebsd-14.2/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-14.2/contrib/flex/
H A DONEWS1088 - unput() and yyrestart() are now globally callable.
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td4328 "miss", "callable", "mesh", "amplification"],
H A DAttrDocs.td6034 The callback callee is required to be callable with the number, and order, of
7146 "miss", "callable", "mesh", "amplification". Normally the shader type is set

12