Lines Matching refs:f
1067 auto f = (function<std::decay_t<T>>*)t;
1068 f->closure();
1074 auto f = (function<std::decay_t<T>>*)t;
1075 f->closure = nullptr;
1086 auto f = new (p) function_type(
1089 return (ffrt_function_header_t*)f;
1175 c_function* f = (c_function*)t;
1176 if (f->func) {
1177 f->func(f->arg);
1183 c_function* f = (c_function*)t;
1184 if (f->after_func) {
1185 f->after_func(f->arg);
1195 …c_function* f = (c_function*)ffrt_alloc_auto_managed_function_storage_base(ffrt_function_kind_gene…
1196 f->header.exec = ffrt_exec_function_wrapper;
1197 f->header.destroy = ffrt_destroy_function_wrapper;
1198 f->func = func;
1199 f->after_func = after_func;
1200 f->arg = arg;
1201 return (ffrt_function_header_t*)f;
1404 c_function* f = (c_function*)t;
1405 if (f->func) {
1406 f->func(f->arg);
1412 c_function* f = (c_function*)t;
1413 if (f->after_func) {
1414 f->after_func(f->arg);
1424 …c_function* f = (c_function*)ffrt_alloc_auto_managed_function_storage_base(ffrt_function_kind_gene…
1425 f->header.exec = ffrt_exec_function_wrapper;
1426 f->header.destroy = ffrt_destroy_function_wrapper;
1427 f->func = func;
1428 f->after_func = after_func;
1429 f->arg = arg;
1430 return (ffrt_function_header_t*)f;
1534 c_function* f = (c_function*)t;
1535 if (f->func) {
1536 f->func(f->arg);
1542 c_function* f = (c_function*)t;
1543 if (f->after_func) {
1544 f->after_func(f->arg);
1554 …c_function* f = (c_function*)ffrt_alloc_auto_managed_function_storage_base(ffrt_function_kind_gene…
1555 f->header.exec = ffrt_exec_function_wrapper;
1556 f->header.destroy = ffrt_destroy_function_wrapper;
1557 f->func = func;
1558 f->after_func = after_func;
1559 f->arg = arg;
1560 return (ffrt_function_header_t*)f;
1757 c_function* f = (c_function*)t;
1758 if (f->func) {
1759 f->func(f->arg);
1765 c_function* f = (c_function*)t;
1766 if (f->after_func) {
1767 f->after_func(f->arg);
1777 …c_function* f = (c_function*)ffrt_alloc_auto_managed_function_storage_base(ffrt_function_kind_gene…
1778 f->header.exec = ffrt_exec_function_wrapper;
1779 f->header.destroy = ffrt_destroy_function_wrapper;
1780 f->func = func;
1781 f->after_func = after_func;
1782 f->arg = arg;
1783 return (ffrt_function_header_t*)f;
1950 c_function* f = (c_function*)t;
1951 if (f->func) {
1952 f->func(f->arg);
1958 c_function* f = (c_function*)t;
1959 if (f->after_func) {
1960 f->after_func(f->arg);
1970 …c_function* f = (c_function*)ffrt_alloc_auto_managed_function_storage_base(ffrt_function_kind_gene…
1971 f->header.exec = ffrt_exec_function_wrapper;
1972 f->header.destroy = ffrt_destroy_function_wrapper;
1973 f->func = func;
1974 f->after_func = after_func;
1975 f->arg = arg;
1976 return (ffrt_function_header_t*)f;
2072 c_function* f = (c_function*)t;
2073 if (f->func) {
2074 f->func(f->arg);
2080 c_function* f = (c_function*)t;
2081 if (f->after_func) {
2082 f->after_func(f->arg);
2092 …c_function* f = (c_function*)ffrt_alloc_auto_managed_function_storage_base(ffrt_function_kind_gene…
2093 f->header.exec = ffrt_exec_function_wrapper;
2094 f->header.destroy = ffrt_destroy_function_wrapper;
2095 f->func = func;
2096 f->after_func = after_func;
2097 f->arg = arg;
2098 return (ffrt_function_header_t*)f;