HomeSort by: relevance | last modified time | path
    Searched refs:TYPE_SIGNED (Results 1 - 4 of 4) sorted by relevancy

  /src/lib/libc/time/
difftime.c 21 #include "private.h" /* for time_t and TYPE_SIGNED */
47 if (!TYPE_SIGNED(time_t))
private.h 905 #define TYPE_SIGNED(type) (/*CONSTCOND*/((type) -1) < 0)
917 ((t) (((t) 1 << ((b) - 1 - TYPE_SIGNED(t))) \
918 - 1 + ((t) 1 << ((b) - 1 - TYPE_SIGNED(t)))))
920 ((t) (TYPE_SIGNED(t) ? - TWOS_COMPLEMENT(t) - MAXVAL(t, b) : 0))
939 (TYPE_SIGNED(time_t) \
960 static_assert(! TYPE_SIGNED(time_t) || ! SIGNED_PADDING_CHECK_NEEDED
970 ((TYPE_BIT(type) - TYPE_SIGNED(type)) * 302 / 1000 + \
971 1 + TYPE_SIGNED(type))
localtime.c 742 = ((TYPE_SIGNED(time_t) ? at < TIME_T_MIN : at < 0)
1996 if (!TYPE_SIGNED(time_t) && y < TM_YEAR_BASE) {
1999 } else if ((!TYPE_SIGNED(time_t) || INT_MIN + TM_YEAR_BASE <= y)
2085 ? (TYPE_SIGNED(time_t) ? *tp < TIME_T_MIN - j : *tp <= -1 - j)
2105 ? (TYPE_SIGNED(time_t) ? TIME_T_MIN - j <= *tp : -1 - j < *tp)
strftime.c 453 if (TYPE_SIGNED(time_t)) {

Completed in 40 milliseconds