Home
last modified time | relevance | path

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

/freebsd/lib/libc/rpc/
H A Dnetname.c61 #define TYPE_SIGNED(type) (((type) -1) < 0) macro
70 ((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + 1 + TYPE_SIGNED(type))
/freebsd/contrib/tzcode/
H A Dprivate.h964 #define TYPE_SIGNED(type) (((type) -1) < 0) macro
965 #define TWOS_COMPLEMENT(type) (TYPE_SIGNED (type) && (! ~ (type) -1))
981 ((t) (((t) 1 << ((b) - 1 - TYPE_SIGNED(t))) \
982 - 1 + ((t) 1 << ((b) - 1 - TYPE_SIGNED(t)))))
984 ((t) (TYPE_SIGNED(t) ? - TWOS_COMPLEMENT(t) - MAXVAL(t, b) : 0))
1003 (TYPE_SIGNED(time_t) \
1024 static_assert(! TYPE_SIGNED(time_t) || ! SIGNED_PADDING_CHECK_NEEDED
1034 ((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + \
1035 1 + TYPE_SIGNED(type))
H A Ddifftime.c35 if (!TYPE_SIGNED(time_t)) in difftime()
H A Dlocaltime.c1126 = ((TYPE_SIGNED(time_t) ? at < TIME_T_MIN : at < 0) in tzloadbody()
1559 int adjustment = (TYPE_SIGNED(time_t) ? 0 : 400) - janfeb; in transtime()
2375 if (!TYPE_SIGNED(time_t) && y < TM_YEAR_BASE) { in timesub()
2378 } else if ((!TYPE_SIGNED(time_t) || INT_MIN + TM_YEAR_BASE <= y) in timesub()
2458 ? (TYPE_SIGNED(time_t) ? *tp < TIME_T_MIN - j : *tp <= -1 - j) in increment_overflow_time_iinntt()
2473 ? (TYPE_SIGNED(time_t) ? *tp < TIME_T_MIN - j : *tp <= -1 - j) in increment_overflow_time_64()
2493 ? (TYPE_SIGNED(time_t) ? TIME_T_MIN - j <= *tp : -1 - j < *tp) in increment_overflow_time()
2989 : (TYPE_SIGNED(time_t) ? TIME_T_MIN + j <= *tp : j <= *tp))) in decrement_overflow_time()
H A Dstrftime.c398 if (TYPE_SIGNED(time_t)) { in _fmt()
H A Dzic.c133 (TYPE_SIGNED(gid_t) \
147 (TYPE_SIGNED(uid_t) \
762 (TYPE_SIGNED(mode_t) \
/freebsd/sys/compat/linuxkpi/common/src/
H A Dlinux_timesub.c63 #define TYPE_SIGNED(type) (((type) -1) < 0) macro
140 if (!TYPE_SIGNED(time_t) && y < TM_YEAR_BASE) { in timesub()
143 } else if ((!TYPE_SIGNED(time_t) || INT_MIN + TM_YEAR_BASE <= y) in timesub()
/freebsd/contrib/ntp/sntp/libopts/
H A Dintprops.h40 #define TYPE_SIGNED(t) (! ((t) 0 < (t) -1)) macro
56 ((t) (! TYPE_SIGNED (t) \
98 # define _GL_SIGNED_TYPE_OR_EXPR(t) TYPE_SIGNED (__typeof__ (t))
/freebsd/lib/libc/stdtime/
H A Dstrftime.c308 if (TYPE_SIGNED(time_t)) in _fmt()