Home
last modified time | relevance | path

Searched defs:Functor (Results 1 – 25 of 70) sorted by relevance

123

/aosp_15_r20/external/eigen/unsupported/test/
H A DNumericalDiff.cpp13 struct Functor struct
26 Functor() : m_inputs(InputsAtCompileTime), m_values(ValuesAtCompileTime) {} in Functor() argument
27 Functor(int inputs_, int values_) : m_inputs(inputs_), m_values(values_) {} in Functor() function
34 struct my_functor : Functor<double> argument
H A DNonLinearOptimization.cpp117 struct Functor struct
130 Functor() : m_inputs(InputsAtCompileTime), m_values(ValuesAtCompileTime) {} in Functor() argument
131 Functor(int inputs, int values) : m_inputs(inputs), m_values(values) {} in Functor() function
140 struct lmder_functor : Functor<double> argument
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/intrusive/example/
Ddoc_function_hooks.cpp30 struct Functor struct
33 typedef list_member_hook<> hook_type;
34 typedef hook_type* hook_ptr;
35 typedef const hook_type* const_hook_ptr;
36 typedef MyClass value_type;
37 typedef value_type* pointer;
38 typedef const value_type* const_pointer;
62 typedef list< MyClass, function_hook< Functor> > List; argument
Ddoc_recursive_member.cpp22 struct Functor struct
25 typedef list_member_hook<> hook_type;
49 list< Recursive, function_hook< Functor> > children; argument
/aosp_15_r20/bionic/tests/
H A Dlink_test.cpp48 struct Functor { in TEST() struct
49 static int Callback(dl_phdr_info* i, size_t s, void* data) { in TEST()
53 void DoChecks(dl_phdr_info* info, size_t s) { in TEST()
79 size_t count; in TEST()
190 struct Functor { in TEST() struct
191 std::unordered_map<ElfW(Addr), DlIterateInfo> dl_iter_mods; in TEST()
192 static int Callback(dl_phdr_info* i, size_t s, void* data) { in TEST()
196 void AddModule(dl_phdr_info* info, size_t s) { in TEST()
/aosp_15_r20/external/llvm-libc/test/src/__support/CPP/
H A Dtype_traits_test.cpp186 struct Functor { struct
187 auto operator()() & { return Tag<0>(); } in operator ()()
188 auto operator()() const & { return Tag<1>(); } in operator ()()
189 auto operator()() && { return Tag<2>(); } in operator ()()
190 auto operator()() const && { return Tag<3>(); } in operator ()()
192 const Tag<0> &operator()(const Tag<0> &a) { return a; } in operator ()()
193 const Tag<0> &&operator()(const Tag<0> &&a) { return cpp::move(a); } in operator ()()
194 Tag<1> operator()(Tag<1> a) { return a; } in operator ()()
/aosp_15_r20/external/pytorch/aten/src/ATen/core/dispatch/
H A DCppSignature_test.cpp21 struct Functor final { in TEST() struct
22 int64_t operator()(std::string) {return 0;} in TEST()
28 struct Functor final { in TEST() struct
29 int64_t operator()(std::string) {return 0;} in TEST()
/aosp_15_r20/external/private-join-and-compute/third_party/abseil-cpp-20230125.2/absl/functional/
H A Dbind_front_test.cc45 struct Functor { struct
46 std::string operator()() & { return "&"; } in operator ()()
47 std::string operator()() const& { return "const&"; } in operator ()()
48 std::string operator()() && { return "&&"; } in operator ()()
49 std::string operator()() const&& { return "const&&"; } in operator ()()
/aosp_15_r20/external/openscreen/third_party/abseil/src/absl/functional/
H A Dbind_front_test.cc45 struct Functor { struct
46 std::string operator()() & { return "&"; } in operator ()()
47 std::string operator()() const& { return "const&"; } in operator ()()
48 std::string operator()() && { return "&&"; } in operator ()()
49 std::string operator()() const&& { return "const&&"; } in operator ()()
/aosp_15_r20/external/abseil-cpp/absl/functional/
H A Dbind_front_test.cc45 struct Functor { struct
46 std::string operator()() & { return "&"; } in operator ()()
47 std::string operator()() const& { return "const&"; } in operator ()()
48 std::string operator()() && { return "&&"; } in operator ()()
49 std::string operator()() const&& { return "const&&"; } in operator ()()
/aosp_15_r20/external/webrtc/third_party/abseil-cpp/absl/functional/
H A Dbind_front_test.cc45 struct Functor { struct
46 std::string operator()() & { return "&"; } in operator ()()
47 std::string operator()() const& { return "const&"; } in operator ()()
48 std::string operator()() && { return "&&"; } in operator ()()
49 std::string operator()() const&& { return "const&&"; } in operator ()()
/aosp_15_r20/external/cronet/third_party/abseil-cpp/absl/functional/
H A Dbind_front_test.cc45 struct Functor { struct
46 std::string operator()() & { return "&"; } in operator ()()
47 std::string operator()() const& { return "const&"; } in operator ()()
48 std::string operator()() && { return "&&"; } in operator ()()
49 std::string operator()() const&& { return "const&&"; } in operator ()()
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/third_party/abseil-cpp/absl/functional/
Dbind_front_test.cc45 struct Functor { struct
46 std::string operator()() & { return "&"; } in operator ()()
47 std::string operator()() const& { return "const&"; } in operator ()()
48 std::string operator()() && { return "&&"; } in operator ()()
49 std::string operator()() const&& { return "const&&"; } in operator ()()
/aosp_15_r20/external/angle/third_party/abseil-cpp/absl/functional/
H A Dbind_front_test.cc45 struct Functor { struct
46 std::string operator()() & { return "&"; } in operator ()()
47 std::string operator()() const& { return "const&"; } in operator ()()
48 std::string operator()() && { return "&&"; } in operator ()()
49 std::string operator()() const&& { return "const&&"; } in operator ()()
/aosp_15_r20/external/eigen/unsupported/Eigen/src/NumericalDiff/
H A DNumericalDiff.h39 typedef _Functor Functor; typedef
45 NumericalDiff(Scalar _epsfcn=0.) : Functor(), epsfcn(_epsfcn) {} in Functor() function
46 NumericalDiff(const Functor& f, Scalar _epsfcn=0.) : Functor(f), epsfcn(_epsfcn) {} in Functor() function
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/algorithm/include/boost/algorithm/string/detail/
Dcase_conv.hpp89 FunctorT Functor) in transform_range_copy()
102 FunctorT Functor) in transform_range()
114 FunctorT Functor) in transform_range_copy()
/aosp_15_r20/external/cronet/base/functional/
H A Dfunction_ref_unittest.cc54 TEST(FunctionRef, Functor) { in TEST() argument
158 struct Functor { in TEST() struct
159 int32_t operator()(int32_t x) const { return x; } in TEST()
/aosp_15_r20/external/pytorch/c10/test/util/
H A DTypeIndex_test.cpp48 struct Functor final { struct
170 struct Functor final { struct
H A DTypeTraits_test.cpp48 struct Functor { struct
49 void operator()() {} in operator ()()
/aosp_15_r20/system/libbase/
H A Dfunction_ref_test.cpp33 struct Functor { in TEST() struct
34 void operator()() const {} in TEST()
/aosp_15_r20/external/clang/test/SemaTemplate/
H A Dmember-function-template.cpp53 struct Functor { struct
60 void test_Functor(Functor f) { in test_Functor() argument
H A Dinstantiate-local-class.cpp83 struct Functor { in doIt() struct
84 void func() { (void)i; } in doIt()
85 int i; in doIt()
/aosp_15_r20/external/sdv/vsomeip/third_party/boost/function/include/boost/function/
Dfunction_base.hpp52 # define BOOST_FUNCTION_ENABLE_IF_NOT_INTEGRAL(Functor,Type) \ argument
530 compare_equal(const Function& f, const Functor&, int, true_type) in compare_equal()
535 compare_not_equal(const Function& f, const Functor&, int, in compare_not_equal()
/aosp_15_r20/external/cronet/third_party/libc++/src/test/libcxx/type_traits/
H A Dis_callable.compile.pass.cpp11 struct Functor { struct
/aosp_15_r20/prebuilts/vndk/v31/arm/include/system/core/libutils/include/utils/
DFunctor.h30 Functor() {} in Functor() function

123