Home
last modified time | relevance | path

Searched refs:var_type (Results 1 – 25 of 35) sorted by relevance

12

/netbsd/src/external/bsd/top/dist/
Dap_snprintf.c675 enum var_type_enum var_type = IS_INT; in ap_vformatter() local
774 var_type = IS_QUAD; in ap_vformatter()
778 var_type = IS_LONG; in ap_vformatter()
782 var_type = IS_SHORT; in ap_vformatter()
786 var_type = IS_INT; in ap_vformatter()
802 if (var_type == IS_QUAD) { in ap_vformatter()
808 if (var_type == IS_LONG) in ap_vformatter()
810 else if (var_type == IS_SHORT) in ap_vformatter()
822 if (var_type == IS_QUAD) { in ap_vformatter()
828 if (var_type == IS_LONG) in ap_vformatter()
[all …]
/netbsd/src/external/gpl3/gdb/dist/gdb/
Dada-typeprint.c523 print_variant_clauses (struct type *var_type, struct type *discr_type, in print_variant_clauses() argument
528 for (int i = 0; i < var_type->num_fields (); i += 1) in print_variant_clauses()
531 if (print_choices (var_type, i, stream, discr_type)) in print_variant_clauses()
533 if (print_record_field_types (var_type->field (i).type (), in print_variant_clauses()
540 print_selected_record_field_types (var_type, outer_type, i, i, in print_variant_clauses()
559 struct type *var_type, *par_type; in print_variant_clauses() local
562 var_type = type->field (field_num).type (); in print_variant_clauses()
563 discr_type = ada_variant_discrim_type (var_type, outer_type); in print_variant_clauses()
565 if (var_type->code () == TYPE_CODE_PTR) in print_variant_clauses()
567 var_type = var_type->target_type (); in print_variant_clauses()
[all …]
Dcommand.h140 bool var_type_uses (var_types var_type) = delete;
227 setting (var_types var_type, T *var,
229 : m_var_type (var_type), m_var (var), m_extra_literals (extra_literals)
232 gdb_assert (var_type_uses<T> (var_type));
247 static erased_args erase_args (var_types var_type,
252 gdb_assert (var_type_uses<T> (var_type));
271 setting (var_types var_type, const literal_def *extra_literals,
273 : m_var_type (var_type),
285 setting (var_types var_type,
288 : m_var_type (var_type)
[all …]
Dada-lang.c6677 ada_variant_discrim_type (struct type *var_type, struct type *outer_type) in ada_variant_discrim_type() argument
6679 const char *name = ada_variant_discrim_name (var_type); in ada_variant_discrim_type()
7289 is_unchecked_variant (struct type *var_type, struct type *outer_type) in is_unchecked_variant() argument
7291 const char *discrim_name = ada_variant_discrim_name (var_type); in is_unchecked_variant()
7302 ada_which_variant_applies (struct type *var_type, struct value *outer) in ada_which_variant_applies() argument
7306 const char *discrim_name = ada_variant_discrim_name (var_type); in ada_which_variant_applies()
7319 for (i = 0; i < var_type->num_fields (); i += 1) in ada_which_variant_applies()
7321 if (ada_is_others_clause (var_type, i)) in ada_which_variant_applies()
7323 else if (ada_in_variant (discrim_val, var_type, i)) in ada_which_variant_applies()
8130 struct type *var_type; in to_fixed_variant_branch_type() local
[all …]
Dada-valprint.c544 struct type *var_type = type->field (field_num).type (); in print_variant_part() local
545 int which = ada_which_variant_applies (var_type, outer_value); in print_variant_part()
/netbsd/src/external/gpl3/gdb/dist/gdb/testsuite/gdb.mi/
Dmi-var-rtti.exp60 proc check_new_derived_without_rtti {var_name var_type testname} {
62 mi_create_varobj_checked ${varobj_name} ${var_name} ${var_type} \
100 proc check_new_derived_with_rtti {var_name var_type testname} {
102 mi_create_varobj_checked ${varobj_name} ${var_name} ${var_type} \
/netbsd/src/external/gpl3/gdb/dist/gdb/mi/
Dmi-cmd-var.c98 enum varobj_type var_type; in mi_cmd_var_create() local
117 var_type = USE_CURRENT_FRAME; in mi_cmd_var_create()
119 var_type = USE_SELECTED_FRAME; in mi_cmd_var_create()
122 var_type = USE_SPECIFIED_FRAME; in mi_cmd_var_create()
131 var = varobj_create (name, expr, frameaddr, var_type); in mi_cmd_var_create()
/netbsd/src/external/gpl3/gdb/dist/gdb/cli/
Dcli-setshow.c196 parse_cli_var_integer (var_types var_type, const literal_def *extra_literals, in parse_cli_var_integer() argument
255 || (var_type == var_uinteger && val < 0) in parse_cli_var_integer()
256 || (var_type == var_integer && val > INT_MAX) in parse_cli_var_integer()
257 || (var_type == var_pinteger && val < 0) in parse_cli_var_integer()
258 || (var_type == var_pinteger && val > INT_MAX)) in parse_cli_var_integer()
Dcli-setshow.h41 extern LONGEST parse_cli_var_integer (var_types var_type,
Dcli-decode.c508 var_types var_type, in add_set_or_show_cmd() argument
518 c->var.emplace (var_type, extra_literals, arg); in add_set_or_show_cmd()
540 var_types var_type, in add_setshow_cmd_full_erased() argument
565 set = add_set_or_show_cmd (name, set_cmd, theclass, var_type, in add_setshow_cmd_full_erased()
573 show = add_set_or_show_cmd (name, show_cmd, theclass, var_type, in add_setshow_cmd_full_erased()
628 var_types var_type, T *var, in add_setshow_cmd_full() argument
640 = setting::erase_args (var_type, var, in add_setshow_cmd_full()
644 var_type, extra_literals, in add_setshow_cmd_full()
665 var_types var_type, T *var, in add_setshow_cmd_full() argument
675 return add_setshow_cmd_full (name, theclass, var_type, var, nullptr, in add_setshow_cmd_full()
/netbsd/src/external/bsd/atf/dist/tools/
Dparser_test.cpp173 static const tools::parser::token_type var_type = 3; variable
183 add_keyword("var", var_type); in tokenizer()
538 EXPECT(mt, var_type, "var"); in ATF_TEST_CASE_BODY()
574 EXPECT(mt, var_type, "var"); in ATF_TEST_CASE_BODY()
598 EXPECT(mt, var_type, "var"); in ATF_TEST_CASE_BODY()
607 EXPECT(mt, var_type, "var"); in ATF_TEST_CASE_BODY()
620 EXPECT(mt, var_type, "var"); in ATF_TEST_CASE_BODY()
/netbsd/src/external/gpl3/gcc/dist/gcc/
Dopts-common.cc329 gcc_assert (option->var_type == CLVC_ENUM); in opt_enum_arg_to_value()
616 if (option->var_type == CLVC_SIZE) in decode_cmdline_option()
812 if (arg && (option->var_type == CLVC_ENUM)) in decode_cmdline_option()
1605 switch (option->var_type) in set_option()
1666 if ((value != 0) == (option->var_type == CLVC_BIT_SET)) in set_option()
1757 switch (option->var_type) in option_enabled()
1815 switch (cl_options[option].var_type) in get_option_state()
1884 if (option->var_type == CLVC_INTEGER in control_warning_option()
1885 || option->var_type == CLVC_ENUM in control_warning_option()
1886 || option->var_type == CLVC_SIZE) in control_warning_option()
[all …]
Dopth-gen.awk90 print "extern " var_type(flags[i]) name ";"
92 print " " var_type(flags[i]) "x_" name ";"
100 print " " var_type(flags[i]) "x_" name ";"
Dopt-functions.awk236 function var_type(flags) function
318 if (var_type(flags) == "const char *")
Dopt-suggestions.cc111 if (option->var_type == CLVC_ENUM) in build_option_suggestions()
Ddwarf2ctf.cc803 dw_die_ref var_type = ctf_get_AT_type (die); in gen_ctf_variable() local
823 var_type_id = gen_ctf_type (ctfc, var_type); in gen_ctf_variable()
Dopts.h128 enum cl_var_type var_type; member
Dopts.cc1689 && option->var_type != CLVC_DEFER) in print_filtered_help()
1715 if (option->var_type == CLVC_STRING) in print_filtered_help()
1722 else if (option->var_type == CLVC_ENUM) in print_filtered_help()
1798 if (option->var_type == CLVC_ENUM in print_filtered_help()
3770 if (cl_options[i].var_type == CLVC_ENUM in test_enum_sets()
Dinternal-fn.cc3075 tree var_type = TREE_TYPE (lhs); in expand_DEFERRED_INIT() local
3102 var_type = TREE_TYPE (lhs); in expand_DEFERRED_INIT()
3120 expand_builtin_memset (m_call, NULL_RTX, TYPE_MODE (var_type)); in expand_DEFERRED_INIT()
3131 || !is_gimple_reg_type (var_type)) in expand_DEFERRED_INIT()
3153 init = build_zero_cst (var_type); in expand_DEFERRED_INIT()
Domp-oacc-neuter-broadcast.cc1866 tree var_type = TREE_TYPE (var); in execute_omp_oacc_neuter_broadcast() local
1869 + tree_to_uhwi (TYPE_SIZE_UNIT (var_type))); in execute_omp_oacc_neuter_broadcast()
Doptc-save-gen.awk539 if (otype == var_type(flags[i]))
/netbsd/src/external/gpl3/gdb/dist/gdb/python/
Dpy-param.c292 enum var_types var_type = self->type; in set_parameter_value() local
361 || (var_type == var_uinteger && val < 0) in set_parameter_value()
362 || (var_type == var_integer && val > INT_MAX) in set_parameter_value()
363 || (var_type == var_pinteger && val < 0) in set_parameter_value()
364 || (var_type == var_pinteger && val > INT_MAX)) in set_parameter_value()
/netbsd/src/usr.bin/rpcgen/
Drpc_svcout.c103 const char *var_type; in write_most() local
104 var_type = (nomain ? "" : "static "); in write_most()
105 f_print(fout, "%sint _rpcpmstart;", var_type); in write_most()
107 f_print(fout, "%sint _rpcfdtype;", var_type); in write_most()
110 f_print(fout, "%sint _rpcsvcdirty;", var_type); in write_most()
/netbsd/src/external/gpl3/gcc/dist/gcc/cp/
Dcoroutines.cc2775 tree var_type = TREE_TYPE (var); in flatten_await_stmt() local
2784 = build2 (init_expr ? INIT_EXPR : MODIFY_EXPR, var_type, in flatten_await_stmt()
2792 = build2 (init_expr ? INIT_EXPR : MODIFY_EXPR, var_type, in flatten_await_stmt()
2795 n->init = build3 (COND_EXPR, var_type, cond, then_cl, else_cl); in flatten_await_stmt()
2885 tree var_type = TREE_TYPE (init); in flatten_await_stmt() local
2887 tree var = build_lang_decl (VAR_DECL, get_identifier (buf), var_type); in flatten_await_stmt()
3047 tree var_type = TREE_TYPE (var); in process_conditional() local
3050 NULL, var_type, LOOKUP_NORMAL, in process_conditional()
3137 tree var_type = TREE_TYPE (var); in maybe_promote_temps() local
3138 if (TYPE_HAS_NONTRIVIAL_DESTRUCTOR (var_type)) in maybe_promote_temps()
[all …]
Dvtable-class-hierarchy.cc1231 tree var_type = build_pointer_type (void_type_node); in vtable_find_or_create_map_decl() local
1235 get_identifier (var_name), var_type); in vtable_find_or_create_map_decl()

12