Home
last modified time | relevance | path

Searched refs:func_ptr (Results 1 – 25 of 30) sorted by relevance

12

/third_party/mindspore/mindspore/ccsrc/profiler/device/gpu/
Dcupti_interface.cc65 static auto func_ptr = reinterpret_cast<CuptiSubscribeFunc>(GetCUPTIFunc("cuptiSubscribe")); in CuptiSubscribe() local
66 return func_ptr(subscriber, callback, userdata); in CuptiSubscribe()
70 static auto func_ptr = reinterpret_cast<CuptiEnableDomainFunc>(GetCUPTIFunc("cuptiEnableDomain")); in CuptiEnableDomain() local
71 return func_ptr(enable, subscriber, domain); in CuptiEnableDomain()
75 …static auto func_ptr = reinterpret_cast<CuptiActivityEnableFunc>(GetCUPTIFunc("cuptiActivityEnable… in CuptiActivityEnable() local
76 return func_ptr(kind); in CuptiActivityEnable()
81 static auto func_ptr = in CuptiActivityRegisterCallbacks() local
83 return func_ptr(funcBufferRequested, funcBufferCompleted); in CuptiActivityRegisterCallbacks()
87 static auto func_ptr = reinterpret_cast<CuptiUnsubscribeFunc>(GetCUPTIFunc("cuptiUnsubscribe")); in CuptiUnsubscribe() local
88 return func_ptr(subscriber); in CuptiUnsubscribe()
[all …]
/third_party/boost/libs/function_types/test/classification/
Dis_variadic.cpp16 typedef void (*func_ptr)(...); typedef
53 ft::is_callable_builtin< func_ptr >
57 ft::is_callable_builtin< func_ptr, ft::variadic>
61 ft::is_callable_builtin< func_ptr, ft::non_variadic >
117 ft::is_callable_builtin< func_ptr* >
Dis_function.cpp15 typedef void (*func_ptr)(); typedef
29 ft::is_function< func_ptr >
53 ft::is_function< func_ptr* >
Dis_function_pointer.cpp15 typedef void (*func_ptr)(); typedef
29 ft::is_function_pointer< func_ptr >
53 ft::is_function_pointer< func_ptr* >
Dis_callable_builtin.cpp15 typedef void (*func_ptr)(); typedef
28 ft::is_callable_builtin< func_ptr >
52 ft::is_callable_builtin< func_ptr* >
Dis_function_reference.cpp15 typedef void (*func_ptr)(); typedef
29 ft::is_function_reference< func_ptr >
53 ft::is_function_reference< func_ptr* >
Dis_nonmember_callable_builtin.cpp15 typedef void (*func_ptr)(); typedef
29 ft::is_nonmember_callable_builtin< func_ptr >
53 ft::is_nonmember_callable_builtin< func_ptr* >
Dis_member_pointer.cpp15 typedef void (*func_ptr)(); typedef
30 ft::is_member_pointer< func_ptr >
58 ft::is_member_pointer< func_ptr* >
Dis_member_object_pointer.cpp15 typedef void (*func_ptr)(); typedef
29 ft::is_member_object_pointer< func_ptr >
57 ft::is_member_object_pointer< func_ptr* >
Dis_member_function_pointer.cpp15 typedef void (*func_ptr)(); typedef
30 ft::is_member_function_pointer< func_ptr >
58 ft::is_member_function_pointer< func_ptr* >
/third_party/boost/libs/hana/test/functional/
Dapply.cpp55 ClassFunc func_ptr = &TestClass::operator(); in test_b12() local
62 hana::apply(func_ptr, std::forward<Functor>(f), std::move(arg)) in test_b12()
67 DeducedReturnType ret = hana::apply(func_ptr, std::forward<Functor>(f), std::move(arg)); in test_b12()
75 ClassFunc func_ptr = &TestClass::data; in test_b34() local
79 hana::apply(func_ptr, std::forward<Functor>(f)) in test_b34()
84 DeducedReturnType ret = hana::apply(func_ptr, std::forward<Functor>(f)); in test_b34()
/third_party/boost/libs/atomic/test/
Dcf_arith_func_ptr.cpp12 typedef void (*func_ptr)(int); in main() typedef
13 boost::atomic< func_ptr > a; in main()
/third_party/boost/libs/function_types/test/decomposition/
Dfunction_arity.cpp15 typedef C (*func_ptr)(int); typedef
24 BOOST_MPL_ASSERT_RELATION( ::boost::function_types::function_arity<func_ptr>::value, ==, 1 );
Dcomponents.cpp20 typedef C (*func_ptr)(int); typedef
33 mpl::equal< ft::components<func_ptr>::types, mpl::vector<C,int> >
Dparameter_types.cpp21 typedef C (*func_ptr)(C,int); typedef
34 mpl::equal< ft::parameter_types<func_ptr>::type, mpl::vector<C,int> >
Dresult_type.cpp20 typedef C (*func_ptr)(); typedef
44 boost::is_same<ft::result_type<func_ptr>::type,C>
/third_party/boost/libs/function_types/example/
Dresult_of_example.cpp39 typedef int (*func_ptr)(float, double); in main() typedef
52 BOOST_STATIC_ASSERT((is_same<e::result_of<func_ptr(char, float)>::type, int>::value)); in main()
/third_party/cef/tests/cefclient/browser/
Droot_window_win.cc65 GetProcessDpiAwarenessPtr func_ptr = in IsProcessPerMonitorDpiAware() local
68 if (func_ptr) { in IsProcessPerMonitorDpiAware()
70 if (SUCCEEDED(func_ptr(nullptr, &awareness)) && in IsProcessPerMonitorDpiAware()
85 static GetDpiForWindowPtr func_ptr = reinterpret_cast<GetDpiForWindowPtr>( in GetWindowScaleFactor() local
87 if (func_ptr) in GetWindowScaleFactor()
88 return static_cast<float>(func_ptr(hwnd)) / DPI_1X; in GetWindowScaleFactor()
378 static EnableChildWindowDpiMessagePtr func_ptr = in CreateRootWindow() local
381 if (func_ptr) in CreateRootWindow()
382 func_ptr(hwnd_, TRUE); in CreateRootWindow()
861 static EnableNonClientDpiScalingPtr func_ptr = in OnNCCreate() local
[all …]
/third_party/boost/boost/contract/core/
Daccess.hpp129 typedef void (*func_ptr)(); typedef in boost::contract::access::static_invariant_addr
131 static func_ptr apply() { in apply()
/third_party/boost/boost/function/
Dfunction_base.hpp87 mutable func_ptr_t func_ptr; member
263 out_buffer.members.func_ptr = in_buffer.members.func_ptr; in manage_ptr()
265 out_buffer.members.func_ptr = in_buffer.members.func_ptr; in manage_ptr()
266 in_buffer.members.func_ptr = 0; in manage_ptr()
268 out_buffer.members.func_ptr = 0; in manage_ptr()
271 out_buffer.members.obj_ptr = &in_buffer.members.func_ptr; in manage_ptr()
Dfunction_template.hpp99 FunctionPtr f = reinterpret_cast<FunctionPtr>(function_ptr.members.func_ptr); in invoke()
116 FunctionPtr f = reinterpret_cast<FunctionPtr>(function_ptr.members.func_ptr); in invoke()
518 functor.members.func_ptr = reinterpret_cast<void (*)()>(f); in assign_to()
/third_party/boost/libs/utility/test/
Dresult_of_test.cpp165 typedef int (*func_ptr)(float, double); in main() typedef
227 BOOST_STATIC_ASSERT((is_same<result_of<func_ptr(char, float)>::type, int>::value)); in main()
241 BOOST_STATIC_ASSERT((is_same<tr1_result_of<func_ptr(char, float)>::type, int>::value)); in main()
254 BOOST_STATIC_ASSERT((is_same<tr1_result_of<func_ptr(void)>::type, int>::value)); in main()
301 BOOST_STATIC_ASSERT((is_same<result_of<func_ptr&(char, float)>::type, int>::value)); in main()
302 BOOST_STATIC_ASSERT((is_same<result_of<func_ptr const&(char, float)>::type, int>::value)); in main()
/third_party/mindspore/mindspore/ccsrc/pipeline/jit/parse/
Dresolve.cc42 auto func_ptr = std::make_shared<abstract::PrimitiveAbstractClosure>(prim::kPrimMakeRecord); in ToAbstract() local
43 return std::make_shared<abstract::PartialAbstractClosure>(func_ptr, args_spec_list); in ToAbstract()
69 auto func_ptr = std::make_shared<abstract::PrimitiveAbstractClosure>(prim::kPrimCreateInstance); in ToAbstract() local
70 auto ret_val = std::make_shared<abstract::PartialAbstractClosure>(func_ptr, args_spec_list); in ToAbstract()
/third_party/boost/boost/dll/
Dimport.hpp43 … inline library_function(const boost::shared_ptr<shared_library>& lib, T* func_ptr) BOOST_NOEXCEPT in library_function() argument
44 : f_(lib, func_ptr) in library_function()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/IntelJITEvents/
Dittnotify_config.h316 void** func_ptr; member
324 void** func_ptr; member

12