Home
last modified time | relevance | path

Searched refs:is_signed (Results 1 – 9 of 9) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dbits.h53 static inline long long bits_extend(long long val, unsigned size, int is_signed) in bits_extend() argument
56 if (is_signed) in bits_extend()
H A Dexpand.c207 int is_signed; in simplify_int_binop() local
219 is_signed = !(ctype->ctype.modifiers & MOD_UNSIGNED); in simplify_int_binop()
222 if (is_signed && (sl & mask)) in simplify_int_binop()
224 if (is_signed && (sr & mask)) in simplify_int_binop()
227 switch (CONVERT(expr->op,is_signed)) { in simplify_int_binop()
H A Dcompile-i386.c1159 unsigned int is_signed; in emit_move() local
1165 is_signed = is_signed_type(ctype); in emit_move()
1168 is_signed = 0; in emit_move()
1223 opname = is_signed ? "movsx" : "movzx"; in emit_move()
1351 int is_signed; in emit_binop() local
1357 is_signed = is_signed_type(expr->ctype); in emit_binop()
1379 if (is_signed) in emit_binop()
1385 if (is_signed) in emit_binop()
H A Dsymbol.h491 int is_signed = !(ctype->ctype.modifiers & MOD_UNSIGNED); in extend_value() local
494 return bits_extend(val, size, is_signed); in extend_value()
H A Dshow-parse.c982 int new, is_signed; in show_cast_expr() local
992 is_signed = is_signed_type(old_type); in show_cast_expr()
993 if (is_signed) { in show_cast_expr()
H A Dparse.c1944 int is_signed = !(bitfield_type->ctype.modifiers & MOD_UNSIGNED); in handle_bitfield() local
1945 if (Wone_bit_signed_bitfield && width == 1 && is_signed) { in handle_bitfield()
1953 is_signed) { in handle_bitfield()
/illumos-gate/usr/src/lib/libdhcputil/common/
H A Ddhcp_inittab.c560 boolean_t is_signed; in inittab_encode_e() local
950 is_signed = (ie->ds_type == DSYM_SNUMBER64 || in inittab_encode_e()
955 if (encode_number(n_entries, type_size, is_signed, 0, value, in inittab_encode_e()
1019 boolean_t is_signed; in inittab_decode_e() local
1300 is_signed = (ie->ds_type == DSYM_SNUMBER64 || in inittab_decode_e()
1311 if (decode_number(n_entries, type_size, is_signed, ie->ds_gran, in inittab_decode_e()
1433 decode_number(uint8_t n_entries, uint8_t size, boolean_t is_signed, in decode_number() argument
1454 to += sprintf(to, is_signed ? "%d" : "%u", *from); in decode_number()
1459 to += sprintf(to, is_signed ? "%hd" : "%hu", in decode_number()
1466 to += sprintf(to, is_signed ? "%ld" : "%lu", in decode_number()
[all …]
/illumos-gate/usr/src/uts/i86pc/dboot/
H A Ddboot_printf.c97 dboot_putnum(uintmax_t x, boolean_t is_signed, uint8_t base) in dboot_putnum() argument
102 if (is_signed && (intmax_t)x < 0) { in dboot_putnum()
/illumos-gate/usr/src/cmd/svc/svccfg/
H A Dsvccfg_xml.c2267 int is_signed = 0; in verify_range() local
2280 for (i = 0; (i < RC_COUNT) && (is_signed == 0); i++) { in verify_range()
2286 is_signed = 1; in verify_range()
2292 if (is_signed) { in verify_range()
2306 if (is_signed) { in verify_range()