Home
last modified time | relevance | path

Searched refs:TYPE_SIGNED (Results 1 – 8 of 8) 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.h951 #define TYPE_SIGNED(type) (((type) -1) < 0) macro
952 #define TWOS_COMPLEMENT(type) (TYPE_SIGNED (type) && (! ~ (type) -1))
963 ((t) (((t) 1 << ((b) - 1 - TYPE_SIGNED(t))) \
964 - 1 + ((t) 1 << ((b) - 1 - TYPE_SIGNED(t)))))
966 ((t) (TYPE_SIGNED(t) ? - TWOS_COMPLEMENT(t) - MAXVAL(t, b) : 0))
985 (TYPE_SIGNED(time_t) \
1006 static_assert(! TYPE_SIGNED(time_t) || ! SIGNED_PADDING_CHECK_NEEDED
1016 ((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + \
1017 1 + TYPE_SIGNED(type))
H A Ddifftime.c35 if (!TYPE_SIGNED(time_t)) in difftime()
H A Dlocaltime.c1107 = ((TYPE_SIGNED(time_t) ? at < TIME_T_MIN : at < 0) in tzloadbody()
2411 if (!TYPE_SIGNED(time_t) && y < TM_YEAR_BASE) { in timesub()
2414 } else if ((!TYPE_SIGNED(time_t) || INT_MIN + TM_YEAR_BASE <= y) in timesub()
2513 ? (TYPE_SIGNED(time_t) ? *tp < TIME_T_MIN - j : *tp <= -1 - j) in increment_overflow_time_iinntt()
2528 ? (TYPE_SIGNED(time_t) ? *tp < TIME_T_MIN - j : *tp <= -1 - j) in increment_overflow_time_64()
2548 ? (TYPE_SIGNED(time_t) ? TIME_T_MIN - j <= *tp : -1 - j < *tp) in increment_overflow_time()
3044 : (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) \
766 (TYPE_SIGNED(mode_t) \
/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()