Home
last modified time | relevance | path

Searched refs:arg_types (Results 1 – 25 of 27) sorted by relevance

12

/dragonfly/contrib/binutils-2.34/binutils/
HDprdbg.c715 char **arg_types; in pr_function_type() local
725 arg_types = NULL; in pr_function_type()
732 arg_types = (char **) xmalloc (argcount * sizeof *arg_types); in pr_function_type()
737 free (arg_types); in pr_function_type()
740 arg_types[i] = pop_type (info); in pr_function_type()
741 if (arg_types[i] == NULL) in pr_function_type()
743 free (arg_types); in pr_function_type()
746 len += strlen (arg_types[i]) + 2; in pr_function_type()
767 strcat (s, arg_types[i]); in pr_function_type()
776 free (arg_types); in pr_function_type()
[all …]
HDdebug.c195 debug_type *arg_types; member
257 debug_type *arg_types; member
1396 debug_type *arg_types, bfd_boolean varargs) in debug_make_function_type() argument
1413 f->arg_types = arg_types; in debug_make_function_type()
1572 debug_type domain_type, debug_type *arg_types, in debug_make_method_type() argument
1591 m->arg_types = arg_types; in debug_make_method_type()
2181 return type->u.kfunction->arg_types; in debug_get_parameter_types()
2184 return type->u.kmethod->arg_types; in debug_get_parameter_types()
2563 if (type->u.kfunction->arg_types == NULL) in debug_write_type()
2567 for (is = 0; type->u.kfunction->arg_types[is] != NULL; is++) in debug_write_type()
[all …]
/dragonfly/contrib/binutils-2.27/binutils/
HDprdbg.c713 char **arg_types; in pr_function_type() local
723 arg_types = NULL; in pr_function_type()
730 arg_types = (char **) xmalloc (argcount * sizeof *arg_types); in pr_function_type()
735 free (arg_types); in pr_function_type()
738 arg_types[i] = pop_type (info); in pr_function_type()
739 if (arg_types[i] == NULL) in pr_function_type()
741 free (arg_types); in pr_function_type()
744 len += strlen (arg_types[i]) + 2; in pr_function_type()
765 strcat (s, arg_types[i]); in pr_function_type()
774 free (arg_types); in pr_function_type()
[all …]
HDdebug.c195 debug_type *arg_types; member
257 debug_type *arg_types; member
1396 debug_type *arg_types, bfd_boolean varargs) in debug_make_function_type() argument
1413 f->arg_types = arg_types; in debug_make_function_type()
1572 debug_type domain_type, debug_type *arg_types, in debug_make_method_type() argument
1591 m->arg_types = arg_types; in debug_make_method_type()
2181 return type->u.kfunction->arg_types; in debug_get_parameter_types()
2184 return type->u.kmethod->arg_types; in debug_get_parameter_types()
2562 if (type->u.kfunction->arg_types == NULL) in debug_write_type()
2566 for (is = 0; type->u.kfunction->arg_types[is] != NULL; is++) in debug_write_type()
[all …]
HDieee.c1924 debug_type *arg_types; in parse_ieee_ty() local
1940 arg_types = NULL; in parse_ieee_ty()
1947 arg_types = ((debug_type *) in parse_ieee_ty()
1948 xmalloc ((nargs + 1) * sizeof *arg_types)); in parse_ieee_ty()
1950 if (! ieee_read_type_index (info, pp, arg_types + i)) in parse_ieee_ty()
1960 last = arg_types[nargs - 1]; in parse_ieee_ty()
1977 if (debug_get_type_kind (dhandle, arg_types[i]) in parse_ieee_ty()
1986 arg_slots[i] = arg_types[i]; in parse_ieee_ty()
1987 arg_types[i] = in parse_ieee_ty()
1994 arg_types[nargs] = DEBUG_TYPE_NULL; in parse_ieee_ty()
[all …]
/dragonfly/contrib/gcc-4.7/gcc/cp/
HDdecl2.c224 tree basetype, arg_types, parms, parm, fntype; in maybe_retrofit_in_chrg() local
241 arg_types = TYPE_ARG_TYPES (TREE_TYPE (fn)); in maybe_retrofit_in_chrg()
242 basetype = TREE_TYPE (TREE_VALUE (arg_types)); in maybe_retrofit_in_chrg()
243 arg_types = TREE_CHAIN (arg_types); in maybe_retrofit_in_chrg()
258 arg_types = hash_tree_chain (vtt_parm_type, arg_types); in maybe_retrofit_in_chrg()
267 arg_types = hash_tree_chain (integer_type_node, arg_types); in maybe_retrofit_in_chrg()
274 arg_types); in maybe_retrofit_in_chrg()
559 tree arg_types = TYPE_ARG_TYPES (TREE_TYPE (method)); in check_java_method() local
569 arg_types = TREE_CHAIN (arg_types); in check_java_method()
571 arg_types = TREE_CHAIN (arg_types); in check_java_method()
[all …]
HDtree.c1168 tree arg_types = NULL, arg_node, arg_type; in strip_typedefs() local
1178 arg_types = in strip_typedefs()
1179 tree_cons (TREE_PURPOSE (arg_node), arg_type, arg_types); in strip_typedefs()
1182 if (arg_types) in strip_typedefs()
1183 arg_types = nreverse (arg_types); in strip_typedefs()
1188 arg_types = chainon (arg_types, void_list_node); in strip_typedefs()
1193 tree class_type = TREE_TYPE (TREE_VALUE (arg_types)); in strip_typedefs()
1197 TREE_CHAIN (arg_types)); in strip_typedefs()
1202 arg_types); in strip_typedefs()
HDcall.c2947 tree arg_types = FUNCTION_FIRST_USER_PARMTYPE (fn); in add_template_candidate_real() local
2948 if (arg_types && same_type_p (TYPE_MAIN_VARIANT (TREE_VALUE (arg_types)), in add_template_candidate_real()
3973 tree arg_types; in build_operator_new_call() local
3975 arg_types = TYPE_ARG_TYPES (TREE_TYPE (cand->fn)); in build_operator_new_call()
3977 arg_types = TREE_CHAIN (arg_types); in build_operator_new_call()
3979 if (arg_types in build_operator_new_call()
3980 && TREE_CHAIN (arg_types) == void_list_node in build_operator_new_call()
3981 && same_type_p (TREE_VALUE (arg_types), in build_operator_new_call()
HDpt.c10555 tsubst_arg_types (tree arg_types, in tsubst_arg_types() argument
10567 if (!arg_types || arg_types == void_list_node || arg_types == end) in tsubst_arg_types()
10568 return arg_types; in tsubst_arg_types()
10570 remaining_arg_types = tsubst_arg_types (TREE_CHAIN (arg_types), in tsubst_arg_types()
10575 if (PACK_EXPANSION_P (TREE_VALUE (arg_types))) in tsubst_arg_types()
10580 expanded_args = tsubst_pack_expansion (TREE_VALUE (arg_types), in tsubst_arg_types()
10601 type = tsubst (TREE_VALUE (arg_types), args, complain, in_decl); in tsubst_arg_types()
10623 default_arg = TREE_PURPOSE (arg_types); in tsubst_arg_types()
10668 tree arg_types; in tsubst_function_type() local
10696 arg_types = tsubst_arg_types (TYPE_ARG_TYPES (t), args, NULL_TREE, in tsubst_function_type()
[all …]
HDdecl.c9151 tree arg_types; in grokdeclarator() local
9320 arg_types = grokparms (declarator->u.function.parameters, in grokdeclarator()
9326 && arg_types != void_list_node) in grokdeclarator()
9329 arg_types = void_list_node; in grokdeclarator()
9333 type = build_function_type (type, arg_types); in grokdeclarator()
/dragonfly/contrib/gdb-7/gdb/
HDcp-support.h173 extern struct symbol **make_symbol_overload_list_adl (struct type **arg_types,
HDstabsread.c1808 } *arg_types = 0; in read_type() local
1816 new->next = arg_types; in read_type()
1817 arg_types = new; in read_type()
1832 if (arg_types in read_type()
1833 && ! arg_types->next in read_type()
1834 && TYPE_CODE (arg_types->type) == TYPE_CODE_VOID) in read_type()
1848 for (t = arg_types, i = num_args - 1; t; t = t->next, i--) in read_type()
HDcp-support.c1310 make_symbol_overload_list_adl (struct type **arg_types, int nargs, in make_symbol_overload_list_adl() argument
1318 make_symbol_overload_list_adl_namespace (arg_types[i - 1], in make_symbol_overload_list_adl()
HDvalops.c2951 struct type **arg_types; in find_oload_champ_namespace_loop() local
2954 arg_types = (struct type **) in find_oload_champ_namespace_loop()
2957 arg_types[ix] = value_type (args[ix]); in find_oload_champ_namespace_loop()
2958 make_symbol_overload_list_adl (arg_types, nargs, func_name); in find_oload_champ_namespace_loop()
HDeval.c709 struct type **arg_types; in evaluate_subexp_standard() local
1967 arg_types = (struct type **) alloca (nargs * sizeof (struct type *)); in evaluate_subexp_standard()
1969 arg_types[ix] = exp->elts[pc + 1 + ix + 1].type; in evaluate_subexp_standard()
1971 expect_type = make_params (nargs, arg_types); in evaluate_subexp_standard()
/dragonfly/contrib/gcc-8.0/gcc/cp/
HDtree.c1473 tree arg_types = NULL, arg_node, arg_node2, arg_type; in strip_typedefs() local
1511 arg_types in strip_typedefs()
1513 TREE_VALUE (arg_node2), arg_types); in strip_typedefs()
1516 arg_types in strip_typedefs()
1517 = tree_cons (TREE_PURPOSE (arg_node), arg_type, arg_types); in strip_typedefs()
1523 if (arg_types) in strip_typedefs()
1524 arg_types = nreverse (arg_types); in strip_typedefs()
1529 arg_types = chainon (arg_types, void_list_node); in strip_typedefs()
1533 tree class_type = TREE_TYPE (TREE_VALUE (arg_types)); in strip_typedefs()
1537 TREE_CHAIN (arg_types)); in strip_typedefs()
[all …]
HDdecl2.c278 tree basetype, arg_types, parms, parm, fntype; in maybe_retrofit_in_chrg() local
295 arg_types = TYPE_ARG_TYPES (TREE_TYPE (fn)); in maybe_retrofit_in_chrg()
296 basetype = TREE_TYPE (TREE_VALUE (arg_types)); in maybe_retrofit_in_chrg()
297 arg_types = TREE_CHAIN (arg_types); in maybe_retrofit_in_chrg()
312 arg_types = hash_tree_chain (vtt_parm_type, arg_types); in maybe_retrofit_in_chrg()
321 arg_types = hash_tree_chain (integer_type_node, arg_types); in maybe_retrofit_in_chrg()
328 arg_types); in maybe_retrofit_in_chrg()
HDcall.c3207 tree arg_types = FUNCTION_FIRST_USER_PARMTYPE (fn); in add_template_candidate_real() local
3208 if (arg_types && same_type_p (TYPE_MAIN_VARIANT (TREE_VALUE (arg_types)), in add_template_candidate_real()
4420 tree arg_types; in build_operator_new_call() local
4422 arg_types = TYPE_ARG_TYPES (TREE_TYPE (cand->fn)); in build_operator_new_call()
4424 arg_types = TREE_CHAIN (arg_types); in build_operator_new_call()
4426 if (arg_types in build_operator_new_call()
4427 && TREE_CHAIN (arg_types) == void_list_node in build_operator_new_call()
4428 && same_type_p (TREE_VALUE (arg_types), in build_operator_new_call()
HDpt.c13847 tsubst_arg_types (tree arg_types, in tsubst_arg_types() argument
13859 if (!arg_types || arg_types == void_list_node || arg_types == end) in tsubst_arg_types()
13860 return arg_types; in tsubst_arg_types()
13862 remaining_arg_types = tsubst_arg_types (TREE_CHAIN (arg_types), in tsubst_arg_types()
13867 if (PACK_EXPANSION_P (TREE_VALUE (arg_types))) in tsubst_arg_types()
13872 expanded_args = tsubst_pack_expansion (TREE_VALUE (arg_types), in tsubst_arg_types()
13893 type = tsubst (TREE_VALUE (arg_types), args, complain, in_decl); in tsubst_arg_types()
13918 default_arg = TREE_PURPOSE (arg_types); in tsubst_arg_types()
13969 tree arg_types = NULL_TREE; in tsubst_function_type() local
13982 arg_types = tsubst_arg_types (TYPE_ARG_TYPES (t), args, NULL_TREE, in tsubst_function_type()
[all …]
HDdecl.c11106 tree arg_types; in grokdeclarator() local
11362 arg_types = grokparms (declarator->u.function.parameters, &parms); in grokdeclarator()
11370 && arg_types != void_list_node) in grokdeclarator()
11373 arg_types = void_list_node; in grokdeclarator()
11377 type = build_function_type (type, arg_types); in grokdeclarator()
/dragonfly/contrib/gcc-4.7/gcc/
HDc-decl.c5556 tree arg_types; in grokdeclarator() local
5603 arg_types = grokparms (arg_info, really_funcdef); in grokdeclarator()
5626 type = build_function_type (type, arg_types); in grokdeclarator()
6246 tree arg_types = arg_info->types; in grokparms() local
6255 if (arg_types == 0 && !funcdef_flag && !in_system_header) in grokparms()
6259 if (arg_types == error_mark_node) in grokparms()
6262 else if (arg_types && TREE_CODE (TREE_VALUE (arg_types)) == IDENTIFIER_NODE) in grokparms()
6290 for (parm = arg_info->parms, typelt = arg_types, parmno = 1; in grokparms()
6313 arg_types = NULL_TREE; in grokparms()
6334 arg_types = NULL_TREE; in grokparms()
[all …]
HDtree.c7552 build_function_type (tree value_type, tree arg_types) in build_function_type() argument
7568 TYPE_ARG_TYPES (t) = arg_types; in build_function_type()
7572 hashcode = type_hash_list (arg_types, hashcode); in build_function_type()
7578 canon_argtypes = maybe_canonicalize_argtypes (arg_types, in build_function_type()
7772 tree *arg_types) in build_function_type_array_1() argument
7778 t = tree_cons (NULL_TREE, arg_types[i], t); in build_function_type_array_1()
7788 build_function_type_array (tree return_type, int n, tree *arg_types) in build_function_type_array() argument
7790 return build_function_type_array_1 (false, return_type, n, arg_types); in build_function_type_array()
7798 build_varargs_function_type_array (tree return_type, int n, tree *arg_types) in build_varargs_function_type_array() argument
7800 return build_function_type_array_1 (true, return_type, n, arg_types); in build_varargs_function_type_array()
/dragonfly/contrib/gcc-8.0/gcc/c/
HDc-decl.c6364 tree arg_types; in grokdeclarator() local
6406 arg_types = grokparms (arg_info, really_funcdef); in grokdeclarator()
6457 type = build_function_type (type, arg_types); in grokdeclarator()
7162 tree arg_types = arg_info->types; in grokparms() local
7171 if (arg_types == NULL_TREE && !funcdef_flag in grokparms()
7176 if (arg_types == error_mark_node) in grokparms()
7180 else if (arg_types && TREE_CODE (TREE_VALUE (arg_types)) == IDENTIFIER_NODE) in grokparms()
7208 for (parm = arg_info->parms, typelt = arg_types, parmno = 1; in grokparms()
7231 arg_types = NULL_TREE; in grokparms()
7249 return arg_types; in grokparms()
/dragonfly/contrib/gcc-8.0/gcc/
HDread-rtl-function.c489 tree arg_types[3] = {int_type, int_type, int_type}; in create_function() local
490 tree fn_type = build_function_type_array (return_type, 3, arg_types); in create_function()
HDtree.c8019 build_function_type (tree value_type, tree arg_types) in build_function_type() argument
8026 gcc_assert (arg_types != error_mark_node); in build_function_type()
8037 TYPE_ARG_TYPES (t) = arg_types; in build_function_type()
8046 canon_argtypes = maybe_canonicalize_argtypes (arg_types, in build_function_type()
8135 tree *arg_types) in build_function_type_array_1() argument
8141 t = tree_cons (NULL_TREE, arg_types[i], t); in build_function_type_array_1()
8151 build_function_type_array (tree return_type, int n, tree *arg_types) in build_function_type_array() argument
8153 return build_function_type_array_1 (false, return_type, n, arg_types); in build_function_type_array()
8161 build_varargs_function_type_array (tree return_type, int n, tree *arg_types) in build_varargs_function_type_array() argument
8163 return build_function_type_array_1 (true, return_type, n, arg_types); in build_varargs_function_type_array()

12