Home
last modified time | relevance | path

Searched refs:function_def (Results 1 – 5 of 5) sorted by relevance

/third_party/python/Parser/
Dpegen.c2219 _PyPegen_function_def_decorators(Parser *p, asdl_expr_seq *decorators, stmt_ty function_def) in _PyPegen_function_def_decorators() argument
2221 assert(function_def != NULL); in _PyPegen_function_def_decorators()
2222 if (function_def->kind == AsyncFunctionDef_kind) { in _PyPegen_function_def_decorators()
2224 function_def->v.FunctionDef.name, function_def->v.FunctionDef.args, in _PyPegen_function_def_decorators()
2225 function_def->v.FunctionDef.body, decorators, function_def->v.FunctionDef.returns, in _PyPegen_function_def_decorators()
2226 function_def->v.FunctionDef.type_comment, function_def->lineno, in _PyPegen_function_def_decorators()
2227 function_def->col_offset, function_def->end_lineno, function_def->end_col_offset, in _PyPegen_function_def_decorators()
2232 function_def->v.FunctionDef.name, function_def->v.FunctionDef.args, in _PyPegen_function_def_decorators()
2233 function_def->v.FunctionDef.body, decorators, in _PyPegen_function_def_decorators()
2234 function_def->v.FunctionDef.returns, in _PyPegen_function_def_decorators()
[all …]
/third_party/mesa3d/src/microsoft/compiler/
Ddxil_module.c399 if (!types_equal(lhs->function_def.ret_type, in types_equal()
400 rhs->function_def.ret_type)) in types_equal()
402 retval = type_list_equal(&lhs->function_def.args, &rhs->function_def.args); in types_equal()
889 type->function_def.args.types = ralloc_array(type, in dxil_module_add_function_type()
892 if (!type->function_def.args.types) in dxil_module_add_function_type()
895 memcpy(type->function_def.args.types, arg_types, in dxil_module_add_function_type()
897 type->function_def.args.num_types = num_arg_types; in dxil_module_add_function_type()
898 type->function_def.ret_type = ret_type; in dxil_module_add_function_type()
1435 assert(type->function_def.args.num_types < ARRAY_SIZE(temp) - 3); in emit_function_type()
1436 assert(type->function_def.ret_type->id >= 0); in emit_function_type()
[all …]
Ddxil_dump.c220 dump_type_name(d, type->function_def.ret_type); in dump_type_name()
222 for (size_t i = 0; i < type->function_def.args.num_types; ++i) { in dump_type_name()
225 dump_type_name(d, type->function_def.args.types[i]); in dump_type_name()
463 assert(call->num_args == call->func->type->function_def.args.num_types); in dump_instr_call()
464 struct dxil_type **func_arg_types = call->func->type->function_def.args.types; in dump_instr_call()
Ddxil_internal.h65 } function_def; member
/third_party/python/Grammar/
Dpython.gram82 | &('def' | '@' | ASYNC) function_def
398 function_def[stmt_ty]: