| /freebsd/contrib/llvm-project/llvm/include/llvm/ADT/ |
| H A D | STLFunctionalExtras.h | 41 Ret (*callback)(intptr_t callable, Params ...params) = nullptr; 42 intptr_t callable; variable 45 static Ret callback_fn(intptr_t callable, Params ...params) { in callback_fn() argument 46 return (*reinterpret_cast<Callable*>(callable))( in callback_fn() 56 Callable &&callable LLVM_LIFETIME_BOUND, 66 callable(reinterpret_cast<intptr_t>(&callable)) {} in callback() 69 return callback(callable, std::forward<Params>(params)...); in operator() 75 return callable == Other.callable;
|
| /freebsd/contrib/llvm-project/libc/src/__support/CPP/ |
| H A D | functional.h | 33 Ret (*callback)(intptr_t callable, Params... params) = nullptr; 34 intptr_t callable; variable 37 LIBC_INLINE static Ret callback_fn(intptr_t callable, Params... params) { in callback_fn() argument 38 return (*reinterpret_cast<Callable *>(callable))( in callback_fn() 49 Callable &&callable, 59 callable(reinterpret_cast<intptr_t>(&callable)) {} in callback() 62 return callback(callable, cpp::forward<Params>(params)...); in operator()
|
| /freebsd/contrib/llvm-project/lldb/bindings/python/ |
| H A D | python-typemaps.swig | 435 PyErr_SetString(PyExc_TypeError, "Need a callable object or None!"); 459 PyErr_SetString(PyExc_TypeError, "Need a callable object or None!"); 483 PyErr_SetString(PyExc_TypeError, "Need a callable object or None!"); 501 PyErr_SetString(PyExc_TypeError, "Need a callable object or None!"); 690 PyErr_SetString(PyExc_TypeError, "Need a callable object or None!"); 698 PythonCallable callable = Retain<PythonCallable>($input); 699 if (!callable.IsValid()) { 700 PyErr_SetString(PyExc_TypeError, "Need a valid callable object"); 704 llvm::Expected<PythonCallable::ArgInfo> arg_info = callable.GetArgInfo(); 713 PyErr_SetString(PyExc_TypeError, "Expected 3 argument callable object"); [all …]
|
| H A D | python-wrapper.swig | 1045 PythonCallable callable = 1048 if (!callable.IsValid()) 1051 PythonObject callback_result = callable(result_arg); 1104 PythonCallable callable = 1106 if (!callable.IsValid()) { 1107 return SBError("The callback callable is not valid."); 1110 PythonObject result = callable(module_spec_arg, module_file_spec_arg,
|
| H A D | python-extensions.swig | 275 def callable(function): 283 return callable
|
| /freebsd/contrib/llvm-project/libcxx/modules/std/ |
| H A D | concepts.cppm | |
| H A D | iterator.cppm | |
| /freebsd/contrib/googletest/docs/reference/ |
| H A D | actions.md | 39 In the following, by "callable" we mean a free function, `std::function`, 44 | `f` | Invoke `f` with the arguments passed to the mock function, where `f` is a callable. | 54 When defining a callable to be used with `Invoke*()`, you can declare any unused
|
| H A D | testing.md | 190 provide a callable that does the conversion. The callable accepts an object of 192 generated type can often be deduced by the compiler from the callable's call 212 The callable may be anything that can be used to initialize a `std::function` 213 with the appropriate call signature. Note the callable's return object gets 1470 The `factory` argument is a factory callable (move-constructible) object or 1472 ownership to the caller. The signature of the callable is `Fixture*()`, where
|
| /freebsd/contrib/llvm-project/libcxx/include/ |
| H A D | concepts | 104 // [concepts.callable], callable concepts
|
| H A D | __config | 1087 // OP - type of the callable object with the reduction operation
|
| /freebsd/contrib/googletest/googlemock/include/gmock/ |
| H A D | gmock-actions.h | 462 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 D | gmock-more-actions.h | 610 auto &&callable = std::move(args_tuple.template Get<index>()); 612 std::forward<decltype(callable)>(callable), unpacked_params...);
|
| H A D | gmock-matchers.h | 2278 ResultOfMatcher(Callable callable, InnerMatcher matcher) 2279 : ResultOfMatcher(/*result_description=*/"", std::move(callable), 2282 ResultOfMatcher(const std::string& result_description, Callable callable, 2285 callable_(std::move(callable)), 2310 const CallableStorageType& callable, const M& matcher) 2312 callable_(callable), 4721 Callable callable, InnerMatcher matcher) { 4722 return internal::ResultOfMatcher<Callable, InnerMatcher>(std::move(callable), 4730 const std::string& result_description, Callable callable, 4733 result_description, std::move(callable), std::move(matcher));
|
| /freebsd/contrib/llvm-project/lldb/source/Plugins/ScriptInterpreter/Python/Interfaces/ |
| H A D | ScriptedPythonInterface.h | 84 PythonCallable callable = callable_or_err->AsType<PythonCallable>(); in CheckAbstractMethodImplementation() local 85 if (!callable) in CheckAbstractMethodImplementation() 92 auto arg_info_or_err = callable.GetArgInfo(); in CheckAbstractMethodImplementation()
|
| /freebsd/contrib/llvm-project/llvm/lib/Target/DirectX/ |
| H A D | DXILOpBuilder.cpp | 353 return ShaderKind::callable; in getShaderKindEnum()
|
| H A D | DXIL.td | 270 def callable : DXILShaderStage;
|
| /freebsd/sys/contrib/openzfs/contrib/pyzfs/libzfs_core/ |
| H A D | _libzfs_core.py | 1620 if not callable(func):
|
| /freebsd/contrib/llvm-project/openmp/runtime/src/ |
| H A D | dllexports | 613 # for user-callable uppercase Fortran entries.
|
| /freebsd/contrib/googletest/docs/ |
| H A D | gmock_cook_book.md | 2186 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 3910 It's also fine for the callable to take no arguments, ignoring the arguments 3919 When used with `WillOnce`, the callable can assume it will be called at most
|
| H A D | advanced.md | 1610 The `factory` argument is a factory callable (move-constructible) object or 1612 ownership to the caller. The signature of the callable is `Fixture*()`, where
|
| /freebsd/contrib/mandoc/ |
| H A D | TODO | 165 - .Sh and .Ss should be parsed and partially callable, see groff_mdoc(7) 714 - warn about attempts to call non-callable macros
|
| /freebsd/contrib/llvm-project/clang/include/clang/CIR/Dialect/IR/ |
| H A D | CIROps.td | 1958 /// Returns the region on the current operation that is callable. This may 1959 /// return null in the case of an external callable object, e.g. an external 1963 /// Returns the results types that the callable region produces when
|
| /freebsd/contrib/llvm-project/libcxx/include/__cxx03/ |
| H A D | __config | 941 // OP - type of the callable object with the reduction operation
|
| /freebsd/contrib/bsnmp/tests/ |
| H A D | catch.hpp | 6645 struct callable { struct 6647 virtual callable* clone() const = 0; 6648 virtual ~callable() = default; 6651 struct model : public callable { 6703 std::unique_ptr<callable> f;
|