Home
last modified time | relevance | path

Searched refs:valtype (Results 1 – 25 of 31) sorted by relevance

12

/freebsd-12.1/contrib/gdb/gdb/
H A Dppc-sysv-tdep.c525 struct type *valtype, in ppc_sysv_abi_broken_return_value() argument
851 if (TYPE_CODE (valtype) == TYPE_CODE_FLT && TYPE_LENGTH (valtype) <= 8) in ppc64_sysv_abi_return_value()
867 if (TYPE_CODE (valtype) == TYPE_CODE_INT && TYPE_LENGTH (valtype) <= 8) in ppc64_sysv_abi_return_value()
898 && TYPE_LENGTH (valtype) <= 8 in ppc64_sysv_abi_return_value()
904 - TYPE_LENGTH (valtype)); in ppc64_sysv_abi_return_value()
916 && (TYPE_LENGTH (valtype) == 16 || TYPE_LENGTH (valtype) == 32)) in ppc64_sysv_abi_return_value()
935 && (TYPE_LENGTH (valtype) == 8 || TYPE_LENGTH (valtype) == 16)) in ppc64_sysv_abi_return_value()
948 i * (TYPE_LENGTH (valtype) / 2), in ppc64_sysv_abi_return_value()
949 valtype, regval, regtype); in ppc64_sysv_abi_return_value()
959 valtype); in ppc64_sysv_abi_return_value()
[all …]
H A Dppcnbsd-tdep.c212 ppcnbsd_return_value (struct gdbarch *gdbarch, struct type *valtype, in ppcnbsd_return_value() argument
216 if ((TYPE_CODE (valtype) == TYPE_CODE_STRUCT in ppcnbsd_return_value()
217 || TYPE_CODE (valtype) == TYPE_CODE_UNION) in ppcnbsd_return_value()
218 && !((TYPE_LENGTH (valtype) == 16 || TYPE_LENGTH (valtype) == 8) in ppcnbsd_return_value()
219 && TYPE_VECTOR (valtype)) in ppcnbsd_return_value()
220 && !(TYPE_LENGTH (valtype) == 1 in ppcnbsd_return_value()
221 || TYPE_LENGTH (valtype) == 2 in ppcnbsd_return_value()
222 || TYPE_LENGTH (valtype) == 4 in ppcnbsd_return_value()
223 || TYPE_LENGTH (valtype) == 8)) in ppcnbsd_return_value()
226 return ppc_sysv_abi_broken_return_value (gdbarch, valtype, regcache, in ppcnbsd_return_value()
H A Dppcfbsd-tdep.c495 ppcfbsd_return_value (struct gdbarch *gdbarch, struct type *valtype, in ppcfbsd_return_value() argument
499 if ((TYPE_CODE (valtype) == TYPE_CODE_STRUCT in ppcfbsd_return_value()
500 || TYPE_CODE (valtype) == TYPE_CODE_UNION) in ppcfbsd_return_value()
501 && !((TYPE_LENGTH (valtype) == 16 || TYPE_LENGTH (valtype) == 8)) in ppcfbsd_return_value()
502 && !(TYPE_LENGTH (valtype) == 1 in ppcfbsd_return_value()
503 || TYPE_LENGTH (valtype) == 2 in ppcfbsd_return_value()
504 || TYPE_LENGTH (valtype) == 4 in ppcfbsd_return_value()
505 || TYPE_LENGTH (valtype) == 8)) in ppcfbsd_return_value()
508 return ppc_sysv_abi_broken_return_value (gdbarch, valtype, regcache, in ppcfbsd_return_value()
H A Dppc-tdep.h38 struct type *valtype,
43 struct type *valtype,
69 struct type *valtype,
H A Dalpha-tdep.c216 struct type *valtype, void *out) in alpha_register_to_value() argument
220 switch (TYPE_LENGTH (valtype)) in alpha_register_to_value()
235 struct type *valtype, const void *in) in alpha_value_to_register() argument
238 switch (TYPE_LENGTH (valtype)) in alpha_value_to_register()
444 int length = TYPE_LENGTH (valtype); in alpha_extract_return_value()
448 switch (TYPE_CODE (valtype)) in alpha_extract_return_value()
519 alpha_store_return_value (struct type *valtype, struct regcache *regcache, in alpha_store_return_value() argument
522 int length = TYPE_LENGTH (valtype); in alpha_store_return_value()
526 switch (TYPE_CODE (valtype)) in alpha_store_return_value()
581 valtype = builtin_type_int32; in alpha_store_return_value()
[all …]
H A Dvalues.c1222 register_value_being_returned (struct type *valtype, struct regcache *retbuf) in register_value_being_returned() argument
1224 struct value *val = allocate_value (valtype); in register_value_being_returned()
1228 if (TYPE_CODE (valtype) == TYPE_CODE_VOID) in register_value_being_returned()
1237 CHECK_TYPEDEF (valtype); in register_value_being_returned()
1238 EXTRACT_RETURN_VALUE (valtype, retbuf, VALUE_CONTENTS_RAW (val)); in register_value_being_returned()
1243 gdb_assert (gdbarch_return_value (current_gdbarch, valtype, in register_value_being_returned()
1246 gdbarch_return_value (current_gdbarch, valtype, retbuf, in register_value_being_returned()
H A Drs6000-tdep.c1344 rs6000_extract_return_value (struct type *valtype, char *regbuf, char *valbuf) in rs6000_extract_return_value() argument
1349 if (TYPE_CODE (valtype) == TYPE_CODE_FLT) in rs6000_extract_return_value()
1358 if (TYPE_LENGTH (valtype) > 4) /* this is a double */ in rs6000_extract_return_value()
1361 TYPE_LENGTH (valtype)); in rs6000_extract_return_value()
1369 else if (TYPE_CODE (valtype) == TYPE_CODE_ARRAY in rs6000_extract_return_value()
1370 && TYPE_LENGTH (valtype) == 16 in rs6000_extract_return_value()
1371 && TYPE_VECTOR (valtype)) in rs6000_extract_return_value()
1374 TYPE_LENGTH (valtype)); in rs6000_extract_return_value()
1380 && TYPE_LENGTH (valtype) < DEPRECATED_REGISTER_RAW_SIZE (3)) in rs6000_extract_return_value()
1381 offset = DEPRECATED_REGISTER_RAW_SIZE (3) - TYPE_LENGTH (valtype); in rs6000_extract_return_value()
[all …]
H A Dmips-tdep.c2599 return_value_location (struct type *valtype, in return_value_location() argument
2603 int len = TYPE_LENGTH (valtype); in return_value_location()
2606 if (TYPE_CODE (valtype) == TYPE_CODE_FLT in return_value_location()
2661 && (TYPE_CODE (valtype) == TYPE_CODE_STRUCT || in return_value_location()
2662 TYPE_CODE (valtype) == TYPE_CODE_UNION)) in return_value_location()
2996 mips_eabi_extract_return_value (struct type *valtype, in mips_eabi_extract_return_value() argument
3001 return_value_location (valtype, &hi, &lo); in mips_eabi_extract_return_value()
3022 return_value_location (valtype, &hi, &lo); in mips_eabi_store_return_value()
4143 mips_o64_extract_return_value (struct type *valtype, in mips_o64_extract_return_value() argument
4148 return_value_location (valtype, &hi, &lo); in mips_o64_extract_return_value()
[all …]
H A Ds390-tdep.c318 struct type *valtype, void *out) in s390_register_to_value() argument
321 int len = TYPE_LENGTH (valtype); in s390_register_to_value()
330 struct type *valtype, const void *in) in s390_value_to_register() argument
333 int len = TYPE_LENGTH (valtype); in s390_value_to_register()
H A Dvalue.h422 extern struct value *register_value_being_returned (struct type *valtype,
H A Dia64-tdep.c920 struct type *valtype, void *out) in ia64_register_to_value() argument
924 convert_typed_floating (in, builtin_type_ia64_ext, out, valtype); in ia64_register_to_value()
929 struct type *valtype, const void *in) in ia64_value_to_register() argument
932 convert_typed_floating (in, valtype, out, builtin_type_ia64_ext); in ia64_value_to_register()
H A Dgdbarch.h1396 …tion (gdbarch_return_value_ftype) (struct gdbarch *gdbarch, struct type *valtype, struct regcache …
1397 …e_convention gdbarch_return_value (struct gdbarch *gdbarch, struct type *valtype, struct regcache …
/freebsd-12.1/crypto/openssl/apps/
H A Dopt.c133 i = o->valtype; in opt_init()
159 assert(unknown->valtype == 0 || unknown->valtype == '-'); in opt_init()
652 if (o->valtype == 0 || o->valtype == '-') { in opt_next()
672 switch (o->valtype) { in opt_next()
691 || (o->valtype == 'p' && ival <= 0)) { in opt_next()
735 o->valtype == 'c' ? OPT_FMT_PDS : in opt_next()
736 o->valtype == 'E' ? OPT_FMT_PDE : in opt_next()
737 o->valtype == 'F' ? OPT_FMT_PEMDER in opt_next()
795 switch (o->valtype) { in valtype2param()
847 if (o->valtype != '-') in opt_help()
[all …]
H A Dapps.h352 int valtype; member
H A Dopenssl.c340 BIO_printf(bio_out, "%s %c\n", o->name, o->valtype); in list_options_for_command()
/freebsd-12.1/cddl/contrib/opensolaris/lib/libnvpair/
H A Dlibnvpair.h141 #define NVLIST_PRINTCTL_SVDECL(funcname, valtype) \ argument
143 int (*)(nvlist_prtctl_t, void *, nvlist_t *, const char *, valtype), \
/freebsd-12.1/contrib/gcc/cp/
H A Dtypeck.c692 if (valtype == TREE_TYPE (t1) && ! p2) in merge_types()
694 if (valtype == TREE_TYPE (t2) && ! p1) in merge_types()
700 rval = build_function_type (valtype, p2); in merge_types()
708 rval = build_function_type (valtype, p1); in merge_types()
6705 tree valtype; in check_return_expr() local
6779 valtype = TREE_TYPE (retval); in check_return_expr()
6786 valtype, cur_block->return_type); in check_return_expr()
6802 valtype = TREE_TYPE (result); in check_return_expr()
6803 gcc_assert (valtype != NULL_TREE); in check_return_expr()
6813 valtype); in check_return_expr()
[all …]
/freebsd-12.1/contrib/jemalloc/src/
H A Dstats.c733 #define GET_AND_EMIT_ALLOC_STAT(small_or_large, name, valtype) \ in stats_arena_print() argument
735 &small_or_large##_##name, valtype##_t); \ in stats_arena_print()
736 emitter_json_kv(emitter, #name, emitter_type_##valtype, \ in stats_arena_print()
738 alloc_count_##name.type = emitter_type_##valtype; \ in stats_arena_print()
739 alloc_count_##name.valtype##_val = small_or_large##_##name; in stats_arena_print()
/freebsd-12.1/bin/expr/
H A Dexpr.y31 enum valtype { enum
36 enum valtype type;
/freebsd-12.1/contrib/gcc/
H A Dc-typeck.c407 if (valtype == TREE_TYPE (t1) && !TYPE_ARG_TYPES (t2)) in composite_type()
409 if (valtype == TREE_TYPE (t2) && !TYPE_ARG_TYPES (t1)) in composite_type()
421 t1 = build_function_type (valtype, TYPE_ARG_TYPES (t1)); in composite_type()
514 t1 = build_function_type (valtype, newargs); in composite_type()
7350 tree valtype; in c_finish_block_return_stmt() local
7391 valtype = TREE_TYPE (retval); in c_finish_block_return_stmt()
7397 valtype, cur_block->return_type); in c_finish_block_return_stmt()
7409 tree valtype, ret_stmt; in c_finish_return() local
7430 && valtype != 0 && TREE_CODE (valtype) != VOID_TYPE) in c_finish_return()
7437 else if (valtype == 0 || TREE_CODE (valtype) == VOID_TYPE) in c_finish_return()
[all …]
H A Dexplow.c1470 hard_function_value (tree valtype, tree func, tree fntype, in hard_function_value() argument
1475 val = targetm.calls.function_value (valtype, func ? func : fntype, outgoing); in hard_function_value()
1480 unsigned HOST_WIDE_INT bytes = int_size_in_bytes (valtype); in hard_function_value()
H A Dexpr.c7732 tree valtype = TREE_TYPE (TREE_OPERAND (exp, 0)); in expand_expr_real_1() local
7736 if (mode == BLKmode && TYPE_MODE (valtype) == BLKmode) in expand_expr_real_1()
7757 adjust_address (target, TYPE_MODE (valtype), 0), in expand_expr_real_1()
7770 0, TYPE_MODE (valtype), TREE_OPERAND (exp, 0), in expand_expr_real_1()
/freebsd-12.1/contrib/gcc/config/mips/
H A Dmips.c7431 mips_fpr_return_fields (tree valtype, tree *fields) in mips_fpr_return_fields() argument
7439 if (TREE_CODE (valtype) != RECORD_TYPE) in mips_fpr_return_fields()
7471 mips_return_in_msb (tree valtype) in mips_return_in_msb() argument
7477 && AGGREGATE_TYPE_P (valtype) in mips_return_in_msb()
7478 && mips_fpr_return_fields (valtype, fields) == 0); in mips_return_in_msb()
7519 if (valtype) in mips_function_value()
7524 mode = TYPE_MODE (valtype); in mips_function_value()
7525 unsignedp = TYPE_UNSIGNED (valtype); in mips_function_value()
7532 switch (mips_fpr_return_fields (valtype, fields)) in mips_function_value()
7547 if (mips_return_in_msb (valtype)) in mips_function_value()
[all …]
/freebsd-12.1/contrib/gcc/config/ia64/
H A Dia64.c4328 ia64_return_in_memory (tree valtype, tree fntype ATTRIBUTE_UNUSED) in ia64_return_in_memory() argument
4334 mode = TYPE_MODE (valtype); in ia64_return_in_memory()
4338 byte_size = int_size_in_bytes (valtype); in ia64_return_in_memory()
4345 hfa_mode = hfa_element_mode (valtype, 0); in ia64_return_in_memory()
4364 ia64_function_value (tree valtype, tree func ATTRIBUTE_UNUSED) in ia64_function_value() argument
4369 mode = TYPE_MODE (valtype); in ia64_function_value()
4370 hfa_mode = hfa_element_mode (valtype, 0); in ia64_function_value()
4382 ? int_size_in_bytes (valtype) : GET_MODE_SIZE (mode)); in ia64_function_value()
4393 else if (FLOAT_TYPE_P (valtype) && mode != TFmode && mode != TCmode) in ia64_function_value()
4403 && (mode == BLKmode || (valtype && AGGREGATE_TYPE_P (valtype)))) in ia64_function_value()
[all …]
/freebsd-12.1/contrib/gcc/config/rs6000/
H A Drs6000.c19314 rs6000_function_value (tree valtype, tree func ATTRIBUTE_UNUSED) in rs6000_function_value() argument
19321 && TYPE_MODE (valtype) == BLKmode in rs6000_function_value()
19322 && TREE_CODE (valtype) == RECORD_TYPE in rs6000_function_value()
19323 && int_size_in_bytes (valtype) > 0) in rs6000_function_value()
19333 valret = rs6000_darwin64_record_arg (&valcum, valtype, 1, true); in rs6000_function_value()
19339 if (TARGET_32BIT && TARGET_POWERPC64 && TYPE_MODE (valtype) == DImode) in rs6000_function_value()
19352 if (TARGET_32BIT && TARGET_POWERPC64 && TYPE_MODE (valtype) == DCmode) in rs6000_function_value()
19373 mode = TYPE_MODE (valtype); in rs6000_function_value()
19375 || POINTER_TYPE_P (valtype)) in rs6000_function_value()
19382 else if (TREE_CODE (valtype) == COMPLEX_TYPE in rs6000_function_value()
[all …]

12