Home
last modified time | relevance | path

Searched refs:functor (Results 1 – 12 of 12) sorted by relevance

/freebsd/contrib/kyua/utils/process/
H A Dexecutor.ipp53 /// Function or functor to invoke in the child.
74 /// \param hook Function or functor to invoke in the child.
106 /// \param hook Function or functor to run in the subprocess.
151 /// \param hook Function or functor to run in the subprocess.
/freebsd/contrib/googletest/docs/reference/
H A Dactions.md39 functor, or lambda.
44 …he arguments passed to the mock function, where `f` can be a global/static function or a functor. |
46 | `InvokeWithoutArgs(f)` | Invoke `f`, which can be a global/static function or a functor. `f` must…
48 …mock function's `N`-th (0-based) argument, which must be a function or a functor, with the `k` arg…
H A Dmatchers.md200 | `ResultOf(f, m)` | `f(argument)` matches matcher `m`, where `f` is a function or functor. |
254 …ent)` returns something considered by C++ to be true, where `predicate` is a function or functor. |
263 … | evaluates to `true` if `value` matches `m`. You can use `Matches(m)` alone as a unary functor. |
H A Dassertions.md354 The parameter *`pred`* is a function or functor that accepts as many arguments
435 or functor with the signature:
607 The parameter *`predicate`* is a function or functor that accepts an `int` exit
H A Dtesting.md115 The optional last argument *`name_generator`* is a function or functor that
/freebsd/contrib/googletest/googletest/src/
H A Dgtest-internal-inl.h288 void ForEach(const Container& c, Functor functor) { in ForEach() argument
289 std::for_each(c.begin(), c.end(), functor); in ForEach()
/freebsd/contrib/llvm-project/libcxx/include/
H A Dfunctional36 : public unary_function<T1, R> // if wrapping a unary functor
37 : public binary_function<T1, T2, R> // if wrapping a binary functor
H A D__config1098 // Declaration of reduction functor, where
1099 // NAME - the name of the functor
H A D__hash_table648 "the specified hash functor does not provide a viable const call operator")
/freebsd/contrib/googletest/docs/
H A Dgmock_cook_book.md1110 Luckily, you can use a matcher where a unary predicate functor is expected by
1151 predicate function or functor as a matcher - as long as the predicate accepts a
1164 Note that the predicate function / functor doesn't have to return `bool`. It
2187 (function, `std::function`, method, functor, lambda) as an action.
2249 The function or functor you call using `Invoke()` must have the same number of
2336 Sometimes a mock function will receive a function pointer, a functor (in other
2373 pointer, a functor, or a callback. gMock handles them all.
2562 If you are defining a function (or method, functor, lambda, callback) to be used
2828 can always use `Return`, or a [lambda or functor](#FunctionsAsActions):
3921 Before C++11, the functor-based actions were not supported; the old way of
H A Dadvanced.md42 If you already have a function or functor that returns `bool` (or a type that
1219 specify a function or functor that generates custom test name suffixes based on
1244 Providing a custom functor allows for more control over test parameter name
/freebsd/contrib/llvm-project/llvm/lib/Target/RISCV/
H A DRISCVInstrInfoVPseudos.td374 // This functor is used to obtain the int vector type that has the same SEW and