Home
last modified time | relevance | path

Searched refs:mem_fn (Results 1 – 25 of 42) sorted by relevance

12

/external/llvm-project/libcxx/test/std/utilities/function.objects/func.memfn/
Dmember_function.pass.cpp70 test0(std::mem_fn(&A::test0)); in main()
71 test1(std::mem_fn(&A::test1)); in main()
72 test2(std::mem_fn(&A::test2)); in main()
74 static_assert((noexcept(std::mem_fn(&A::test0))), ""); // LWG#2489 in main()
Dmember_function_const_volatile.pass.cpp76 test0(std::mem_fn(&A::test0)); in main()
77 test1(std::mem_fn(&A::test1)); in main()
78 test2(std::mem_fn(&A::test2)); in main()
Dmember_function_const.pass.cpp76 test0(std::mem_fn(&A::test0)); in main()
77 test1(std::mem_fn(&A::test1)); in main()
78 test2(std::mem_fn(&A::test2)); in main()
Dmember_function_volatile.pass.cpp76 test0(std::mem_fn(&A::test0)); in main()
77 test1(std::mem_fn(&A::test1)); in main()
78 test2(std::mem_fn(&A::test2)); in main()
Dmember_data.compile.fail.cpp43 test(std::mem_fn(&A::data_)); in main()
Dmember_data.pass.cpp43 test(std::mem_fn(&A::data_)); in main()
/external/libcxx/test/std/utilities/function.objects/func.memfn/
Dmember_function.pass.cpp71 test0(std::mem_fn(&A::test0)); in main()
72 test1(std::mem_fn(&A::test1)); in main()
73 test2(std::mem_fn(&A::test2)); in main()
75 static_assert((noexcept(std::mem_fn(&A::test0))), ""); // LWG#2489 in main()
Dmember_function_const_volatile.pass.cpp75 test0(std::mem_fn(&A::test0)); in main()
76 test1(std::mem_fn(&A::test1)); in main()
77 test2(std::mem_fn(&A::test2)); in main()
Dmember_function_const.pass.cpp75 test0(std::mem_fn(&A::test0)); in main()
76 test1(std::mem_fn(&A::test1)); in main()
77 test2(std::mem_fn(&A::test2)); in main()
Dmember_function_volatile.pass.cpp75 test0(std::mem_fn(&A::test0)); in main()
76 test1(std::mem_fn(&A::test1)); in main()
77 test2(std::mem_fn(&A::test2)); in main()
Dmember_data.fail.cpp41 test(std::mem_fn(&A::data_)); in main()
Dmember_data.pass.cpp42 test(std::mem_fn(&A::data_)); in main()
/external/libabigail/src/
Dabg-reporter-priv.cc183 method_decl_sptr mem_fn, in represent() argument
186 if (!mem_fn || !is_member_function(mem_fn)) in represent()
190 dynamic_pointer_cast<method_decl>(mem_fn); in represent()
193 out << "'" << mem_fn->get_pretty_representation() << "'"; in represent()
195 if (get_member_function_is_virtual(mem_fn)) in represent()
198 ssize_t voffset = get_member_function_vtable_offset(mem_fn); in represent()
205 emit_num_value(get_member_function_vtable_offset(mem_fn), in represent()
213 && (mem_fn->get_symbol())) in represent()
216 << mem_fn->get_symbol()->get_id_string() in represent()
Dabg-reporter-priv.h133 method_decl_sptr mem_fn,
/external/libcxx/test/libcxx/depr/depr.function.objects/
Ddepr.adaptors.cxx1z.pass.cpp50 assert((std::mem_fn(&Foo::identity)(f, 5) == 5)); in main()
51 assert((std::mem_fn(&Foo::sum)(f, 5, 6) == 11)); in main()
/external/llvm-project/libcxx/test/libcxx/depr/depr.function.objects/
Ddepr.adaptors.cxx1z.pass.cpp51 assert((std::mem_fn(&Foo::identity)(f, 5) == 5)); in main()
52 assert((std::mem_fn(&Foo::sum)(f, 5, 6) == 11)); in main()
/external/mesa3d/src/gallium/frontends/clover/api/
Dmemory.cpp99 map(std::mem_fn(&device::max_mem_alloc_size), ctx.devices()) in clCreateBuffer()
148 if (!any_of(std::mem_fn(&device::image_support), ctx.devices())) in clCreateImage()
338 const bool system_svm = all_of(std::mem_fn(&device::has_system_svm), in clGetMemObjectInfo()
445 map(std::mem_fn(&device::max_mem_alloc_size), ctx.devices()))) in clSVMAlloc()
454 bool can_emulate = all_of(std::mem_fn(&device::has_system_svm), ctx.devices()); in clSVMAlloc()
475 bool can_emulate = all_of(std::mem_fn(&device::has_system_svm), ctx.devices()); in clSVMFree()
Dsampler.cpp34 if (!any_of(std::mem_fn(&device::image_support), ctx.devices())) in clCreateSampler()
/external/flatbuffers/tests/
Dmonster_test.grpc.fb.cc91 std::mem_fn(&MonsterStorage::Service::Store), this))); in Service()
96 std::mem_fn(&MonsterStorage::Service::Retrieve), this))); in Service()
101 std::mem_fn(&MonsterStorage::Service::GetMaxHitPoint), this))); in Service()
106 std::mem_fn(&MonsterStorage::Service::GetMinMaxHitPoints), this))); in Service()
/external/clang/test/SemaCXX/
Dmember-pointer.cpp299 dm<R, T> mem_fn(R T::*) ;
307 mem_fn(&test::nullary_v)(t); // expected-note{{in instantiation of}} in f()
/external/llvm-project/clang/test/SemaCXX/
Dmember-pointer.cpp299 dm<R, T> mem_fn(R T::*) ;
307 mem_fn(&test::nullary_v)(t); // expected-note{{in instantiation of}} in f()
/external/llvm-project/llvm/lib/CodeGen/
DMultiHazardRecognizer.cpp29 std::mem_fn(&ScheduleHazardRecognizer::atIssueLimit)); in atIssueLimit()
/external/tensorflow/tensorflow/core/tpu/kernels/
Dtpu_compilation_cache_grpc.cc91 std::mem_fn( in Service()
/external/grpc-grpc/src/cpp/server/health/
Ddefault_health_check_service.cc43 std::mem_fn(&HealthCheckServiceImpl::Check), this); in HealthCheckServiceImpl()
/external/mesa3d/src/gallium/frontends/clover/llvm/
Dinvocation.cpp209 map(std::mem_fn(&std::string::c_str), opts); in create_compiler_instance()
386 map(std::mem_fn(&Function::getName), get_kernels(mod));

12