Lines Matching refs:ffrt_function_header_t

876     ffrt_function_header_t* callback() const;
973 ffrt_function_header_t* callback() const;
983 `ffrt_function_header_t`:任务执行器,描述了该CPU Task如何执行和销毁的函数指针
1407 const int ffrt_auto_managed_function_storage_size = 64 + sizeof(ffrt_function_header_t);
1420 } ffrt_function_header_t;
1422 void ffrt_submit_base(ffrt_function_header_t* func, const ffrt_deps_t* in_deps, const ffrt_deps_t* …
1433 * CPU Function的指针,该指针执行的数据结构,按照`ffrt_function_header_t`定义的描述了该CPU Task如何执行和销毁的函数指针,FFRT通过这两个函数指针完成T…
1458 * ffrt_function_header_t 中定义了两个函数指针:
1470 function(ffrt_function_header_t h, CT&& c) : header(h), closure(std::forward<CT>(c)) {}
1471 ffrt_function_header_t header;
1490 inline ffrt_function_header_t* create_function_wrapper(T&& func)
1500 return (ffrt_function_header_t*)f;
1578 ffrt_function_header_t header;
1601 static inline ffrt_function_header_t* ffrt_create_function_wrapper(const ffrt_function_t func,
1612 return (ffrt_function_header_t*)f;
1808 ffrt_function_header_t header;
1831 static inline ffrt_function_header_t* ffrt_create_function_wrapper(const ffrt_function_t func,
1842 return (ffrt_function_header_t*)f;
1939 ffrt_function_header_t header;
1962 static inline ffrt_function_header_t* ffrt_create_function_wrapper(const ffrt_function_t func,
1973 return (ffrt_function_header_t*)f;
2106 void ffrt_queue_submit(ffrt_queue_t queue, ffrt_function_header_t* f, const ffrt_task_attr_t* attr);
2108 ffrt_queue_t queue, ffrt_function_header_t* f, const ffrt_task_attr_t* attr);
2152 void ffrt_queue_submit(ffrt_queue_t queue, ffrt_function_header_t* f, const ffrt_task_attr_t* attr);
2171 ffrt_queue_t queue, ffrt_function_header_t* f, const ffrt_task_attr_t* attr);
2280 ffrt_function_header_t* ffrt_queue_attr_get_callback(const ffrt_queue_attr_t* attr);
2388 ffrt_function_header_t* ffrt_queue_attr_get_callback(const ffrt_queue_attr_t* attr);
2426 ffrt_function_header_t* func = ffrt_queue_attr_get_callback(&queue_attr);
2528 ffrt_function_header_t header;
2551 static inline ffrt_function_header_t* ffrt_create_function_wrapper(const ffrt_function_t func,
2562 return (ffrt_function_header_t*)f;
2728 ffrt_function_header_t header;
2751 static inline ffrt_function_header_t* ffrt_create_function_wrapper(const ffrt_function_t func,
2762 return (ffrt_function_header_t*)f;
2926 ffrt_function_header_t header;
2949 static inline ffrt_function_header_t* ffrt_create_function_wrapper(const ffrt_function_t func,
2960 return (ffrt_function_header_t*)f;
3049 ffrt_function_header_t header;
3072 static inline ffrt_function_header_t* ffrt_create_function_wrapper(const ffrt_function_t func,
3083 return (ffrt_function_header_t*)f;
3202 void ffrt_submit_base(ffrt_function_header_t* func, ...);