Home
last modified time | relevance | path

Searched refs:func_type (Results 1 - 25 of 41) sorted by relevance

12

/third_party/mesa3d/src/gallium/frontends/clover/util/
H A Dtuple.hpp59 typedef typename std::remove_reference<F>::type func_type; typedef
61 std::declval<func_type>()(std::get<Is>(std::declval<T &&>())...)
91 typedef typename std::remove_reference<F>::type func_type; typedef
93 decltype(std::declval<func_type>()(
/third_party/node/test/node-api/test_make_callback/
H A Dbinding.c26 napi_valuetype func_type; in MakeCallback() local
28 NODE_API_CALL(env, napi_typeof(env, func, &func_type)); in MakeCallback()
38 if (func_type == napi_function) { in MakeCallback()
/third_party/ffmpeg/tests/checkasm/
H A Dcheckasm.h126 #define declare_func(ret, ...) declare_new(ret, __VA_ARGS__) typedef ret func_type(__VA_ARGS__)
127 #define declare_func_float(ret, ...) declare_new_float(ret, __VA_ARGS__) typedef ret func_type(__VA_ARGS__)
128 #define declare_func_emms(cpu_flags, ret, ...) declare_new_emms(cpu_flags, ret, __VA_ARGS__) typedef ret func_type(__VA_ARGS__)
137 #define call_ref(...) ((func_type *)func_ref)(__VA_ARGS__)
209 #define call_new(...) ((func_type *)func_new)(__VA_ARGS__)
250 func_type *tfunc = func_new;\
/third_party/ffmpeg/libavfilter/dnn/
H A Ddnn_backend_openvino.c169 switch (ov_model->model->func_type) { in fill_model_input_ov()
257 switch (ov_model->model->func_type) { in infer_completion_callback()
356 if (ov_model->model->func_type != DFT_PROCESS_FRAME) { in init_model_ov()
590 static int extract_lltask_from_task(DNNFunctionType func_type, TaskItem *task, Queue *lltask_queue, DNNExecBaseParams *exec_params) in extract_lltask_from_task() argument
592 switch (func_type) { in extract_lltask_from_task()
674 if (ov_model->model->func_type != DFT_PROCESS_FRAME) { in get_output_ov()
704 ret = extract_lltask_from_task(ov_model->model->func_type, &task, ov_model->lltask_queue, NULL); in get_output_ov()
726 DNNModel *ff_dnn_load_model_ov(const char *model_filename, DNNFunctionType func_type, const char *options, AVFilterContext *filter_ctx) in ff_dnn_load_model_ov() argument
774 model->func_type = func_type; in ff_dnn_load_model_ov()
[all...]
H A Ddnn_backend_common.c29 int ff_check_exec_params(void *ctx, DNNBackendType backend, DNNFunctionType func_type, DNNExecBaseParams *exec_params) in ff_check_exec_params() argument
41 if (!exec_params->out_frame && func_type == DFT_PROCESS_FRAME) { in ff_check_exec_params()
H A Ddnn_backend_openvino.h32 DNNModel *ff_dnn_load_model_ov(const char *model_filename, DNNFunctionType func_type, const char *options, AVFilterContext *filter_ctx);
H A Ddnn_backend_tf.h32 DNNModel *ff_dnn_load_model_tf(const char *model_filename, DNNFunctionType func_type, const char *options, AVFilterContext *filter_ctx);
H A Ddnn_backend_native.c139 DNNModel *ff_dnn_load_model_native(const char *model_filename, DNNFunctionType func_type, const char *options, AVFilterContext *filter_ctx) in ff_dnn_load_model_native() argument
290 model->func_type = func_type; in ff_dnn_load_model_native()
442 ret = ff_check_exec_params(ctx, DNN_NATIVE, model->func_type, exec_params); in ff_dnn_execute_model_native()
H A Ddnn_backend_tf.c852 DNNModel *ff_dnn_load_model_tf(const char *model_filename, DNNFunctionType func_type, const char *options, AVFilterContext *filter_ctx) in ff_dnn_load_model_tf() argument
939 model->func_type = func_type; in ff_dnn_load_model_tf()
992 switch (tf_model->model->func_type) { in fill_model_input_tf()
1006 avpriv_report_missing_feature(ctx, "model function type %d", tf_model->model->func_type); in fill_model_input_tf()
1063 switch (tf_model->model->func_type) { in infer_completion_callback()
1152 ret = ff_check_exec_params(ctx, DNN_TF, model->func_type, exec_params); in ff_dnn_execute_model_tf()
/third_party/node/test/node-api/test_async_context/
H A Dbinding.c26 napi_valuetype func_type; in MakeCallback() local
27 NODE_API_CALL(env, napi_typeof(env, func, &func_type)); in MakeCallback()
33 if (func_type == napi_function) { in MakeCallback()
/third_party/node/deps/v8/third_party/wasm-api/example/
H A Dthreads.c41 own wasm_functype_t* func_type = wasm_functype_new_1_0(wasm_valtype_new_i32()); in run() local
42 own wasm_func_t* func = wasm_func_new(store, func_type, callback); in run()
43 wasm_functype_delete(func_type); in run()
H A Dthreads.cc44 auto func_type = wasm::FuncType::make( in run() local
48 auto func = wasm::Func::make(store, func_type.get(), callback, mutex); in run()
/third_party/ffmpeg/libavresample/
H A Daudio_convert.c61 enum ConvFuncType func_type; member
77 switch (ac->func_type) { in ff_audio_convert_set_func()
295 ac->func_type = CONV_FUNC_TYPE_FLAT; in ff_audio_convert_alloc()
298 ac->func_type = CONV_FUNC_TYPE_INTERLEAVE; in ff_audio_convert_alloc()
300 ac->func_type = CONV_FUNC_TYPE_DEINTERLEAVE; in ff_audio_convert_alloc()
383 switch (ac->func_type) { in ff_audio_convert()
/third_party/ffmpeg/libavfilter/
H A Ddnn_interface.h92 DNNFunctionType func_type; member
114 DNNModel *(*load_model)(const char *model_filename, DNNFunctionType func_type, const char *options, AVFilterContext *filter_ctx);
H A Ddnn_filter_common.c54 int ff_dnn_init(DnnContext *ctx, DNNFunctionType func_type, AVFilterContext *filter_ctx) in ff_dnn_init() argument
81 ctx->model = (ctx->dnn_module->load_model)(ctx->model_filename, func_type, ctx->backend_options, filter_ctx); in ff_dnn_init()
/third_party/mesa3d/src/microsoft/compiler/
H A Ddxil_function.c226 const struct dxil_type *func_type = in dxil_alloc_func_with_rettype() local
229 if (!func_type) { in dxil_alloc_func_with_rettype()
237 const struct dxil_func *func = dxil_add_function_decl(mod, full_name, func_type, attr); in dxil_alloc_func_with_rettype()
/third_party/lzma/CPP/Common/
H A DCommon.h247 #define Z7_GET_PROC_ADDRESS(func_type, hmodule, func_name) \
248 Z7_CAST_FUNC(func_type, GetProcAddress(hmodule, func_name))
/third_party/skia/third_party/externals/spirv-tools/source/opt/
H A Dwrap_opkill.cpp114 analysis::Function func_type(registered_void_type, {}); in GetVoidFunctionTypeId()
115 return type_mgr->GetTypeInstruction(&func_type); in GetVoidFunctionTypeId()
H A Dtype_manager.cpp976 Function* func_type = type->AsFunction(); in ReplaceForwardPointers() local
978 func_type->return_type()->AsForwardPointer(); in ReplaceForwardPointers()
980 func_type->SetReturnType(return_type->target_pointer()); in ReplaceForwardPointers()
983 auto& param_types = func_type->param_types(); in ReplaceForwardPointers()
1032 Function* func_type = type->AsFunction(); in ReplaceType() local
1033 const Type* return_type = func_type->return_type(); in ReplaceType()
1035 func_type->SetReturnType(new_type); in ReplaceType()
1038 auto& param_types = func_type->param_types(); in ReplaceType()
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/source/opt/
H A Dwrap_opkill.cpp114 analysis::Function func_type(registered_void_type, {}); in GetVoidFunctionTypeId()
115 return type_mgr->GetTypeInstruction(&func_type); in GetVoidFunctionTypeId()
H A Dtype_manager.cpp976 Function* func_type = type->AsFunction(); in ReplaceForwardPointers() local
978 func_type->return_type()->AsForwardPointer(); in ReplaceForwardPointers()
980 func_type->SetReturnType(return_type->target_pointer()); in ReplaceForwardPointers()
983 auto& param_types = func_type->param_types(); in ReplaceForwardPointers()
1032 Function* func_type = type->AsFunction(); in ReplaceType() local
1033 const Type* return_type = func_type->return_type(); in ReplaceType()
1035 func_type->SetReturnType(new_type); in ReplaceType()
1038 auto& param_types = func_type->param_types(); in ReplaceType()
/third_party/mesa3d/src/compiler/spirv/
H A Dvtn_cfg.c196 const struct vtn_type *func_type = b->func->type; in vtn_cfg_handle_prepass_instruction() local
198 vtn_assert(func_type->return_type->type == result_type); in vtn_cfg_handle_prepass_instruction()
204 for (unsigned i = 0; i < func_type->length; i++) in vtn_cfg_handle_prepass_instruction()
205 num_params += glsl_type_count_function_params(func_type->params[i]->type); in vtn_cfg_handle_prepass_instruction()
208 if (func_type->return_type->base_type != vtn_base_type_void) in vtn_cfg_handle_prepass_instruction()
215 if (func_type->return_type->base_type != vtn_base_type_void) { in vtn_cfg_handle_prepass_instruction()
225 for (unsigned i = 0; i < func_type->length; i++) in vtn_cfg_handle_prepass_instruction()
226 glsl_type_add_to_function_params(func_type->params[i]->type, func, &idx); in vtn_cfg_handle_prepass_instruction()
242 if (func_type->return_type->base_type != vtn_base_type_void) in vtn_cfg_handle_prepass_instruction()
/third_party/alsa-utils/axfer/
H A Dxfer-libffado.c347 int (*func_type)(ffado_device_t *handle, int pos); in enable_mbla_data_ch()
353 func_type = ffado_streaming_get_capture_stream_type; in enable_mbla_data_ch()
357 func_type = ffado_streaming_get_playback_stream_type; in enable_mbla_data_ch()
375 state->data_ch_map[ch] = func_type(state->handle, ch); in enable_mbla_data_ch()
/third_party/spirv-tools/source/opt/
H A Dtype_manager.cpp1009 Function* func_type = type->AsFunction(); in ReplaceForwardPointers() local
1011 func_type->return_type()->AsForwardPointer(); in ReplaceForwardPointers()
1013 func_type->SetReturnType(return_type->target_pointer()); in ReplaceForwardPointers()
1016 auto& param_types = func_type->param_types(); in ReplaceForwardPointers()
1065 Function* func_type = type->AsFunction(); in ReplaceType() local
1066 const Type* return_type = func_type->return_type(); in ReplaceType()
1068 func_type->SetReturnType(new_type); in ReplaceType()
1071 auto& param_types = func_type->param_types(); in ReplaceType()
H A Dwrap_opkill.cpp116 analysis::Function func_type(registered_void_type, {}); in GetVoidFunctionTypeId()
117 return type_mgr->GetTypeInstruction(&func_type); in GetVoidFunctionTypeId()

Completed in 17 milliseconds

12