Searched refs:functor (Results 1 – 10 of 10) sorted by relevance
| /freebsd-12.1/contrib/libstdc++/include/ext/ |
| H A D | functional | 102 * functor is constructed from two functions/functors, @c f and @c g. 121 * functor to other algorithms. 181 /** As an extension, SGI provided a functor called @c identity. When a 182 * functor is required but no operations are desired, this can be used as a 226 /** The @c operator() of the @c project1st functor takes two arbitrary 295 * the appropriate functor type.
|
| /freebsd-12.1/contrib/googletest/googlemock/docs/ |
| H A D | CheatSheet.md | 284 |`ResultOf(f, m)`|`f(argument)` matches matcher `m`, where `f` is a function or functor.| 328 …ment)` returns something considered by C++ to be true, where `predicate` is a function or functor.| 332 …e)`|evaluates to `true` if `value` matches `m`. You can use `Matches(m)` alone as a unary functor.| 388 …the arguments passed to the mock function, where `f` can be a global/static function or a functor.| 391 |`InvokeWithoutArgs(f)`|Invoke `f`, which can be a global/static function or a functor. `f` must ta… 393 …mock function's `N`-th (0-based) argument, which must be a function or a functor, with the `k` arg… 398 When defining a function or functor to be used with `Invoke*()`, you can declare any unused paramet…
|
| H A D | CookBook.md | 882 Luckily, you can use a matcher where a unary predicate functor is 958 lacking, you can use an arbitray unary predicate function or functor 973 Note that the predicate function / functor doesn't have to return 1824 function, method, or functor as an action: 1866 passes the mock function's arguments to the function or functor being 1902 Sometimes a mock function will receive a function pointer or a functor 1936 a function pointer or a functor, Google Mock handles them both. 2124 If you are defining a function, method, or functor to be used with 2348 can always use `Return`, or a [lambda or functor](#FunctionsAsActions):
|
| /freebsd-12.1/contrib/googletest/googletest/src/ |
| H A D | gtest-internal-inl.h | 292 void ForEach(const Container& c, Functor functor) { in ForEach() argument 293 std::for_each(c.begin(), c.end(), functor); in ForEach()
|
| /freebsd-12.1/contrib/libc++/include/ |
| H A D | functional | 37 : public unary_function<T1, R> // if wrapping a unary functor 38 : public binary_function<T1, T2, R> // if wraping a binary functor 1476 // __alloc_func holds a functor and an allocator. 1572 // __func implements __base for a given functor type. 1862 // Storage for a functor object, to be used with __policy to manage copy and 1880 // underlying functor. You can think of it as a vtable of sorts. 1893 // Returns a pointer to a static policy object suitable for the functor 2015 // copyable functor.
|
| H A D | thread | 326 // This type is used to pass memory for thread local storage and a functor
|
| H A D | __hash_table | 881 "the specified hash functor does not provide a const call operator")
|
| /freebsd-12.1/contrib/googletest/googletest/include/gtest/ |
| H A D | gtest-param-test.h.pump | 468 // to specify a function or functor that generates custom test name suffixes
|
| /freebsd-12.1/contrib/googletest/googletest/docs/ |
| H A D | advanced.md | 102 If you already have a function or functor that returns `bool` (or a type that 112 In the above, `predn` is an `n`-ary predicate function or functor, where `val1`, 264 (`pred_formatn`), which is a function or functor with the signature: 1482 specify a function or functor that generates custom test name suffixes based on
|
| /freebsd-12.1/contrib/libstdc++/ |
| H A D | ChangeLog-2004 | 2802 instantiation of set and multiset (functor param given as int).
|