HomeSort by: relevance | last modified time | path
    Searched defs:SECS_PER_DAY (Results 1 - 10 of 10) sorted by relevancy

  /src/lib/libresolv/
ns_date.c 82 #define SECS_PER_DAY ((u_int32_t)24*60*60)
88 result += (tim.tm_mday - 1) * SECS_PER_DAY; /*%< Days */
93 result += mdays * SECS_PER_DAY; /*%< Months */
95 result += SECS_PER_DAY; /*%< Add leapday for this year */
98 result += (tim.tm_year - 70) * (SECS_PER_DAY*365); /*%< Years */
101 result += SECS_PER_DAY; /*%< Add leapday for prev year */
  /src/sys/sys/
clock.h 42 #define SECS_PER_DAY 86400
45 #define SECS_PER_COMMON_YEAR (SECS_PER_DAY * DAYS_PER_COMMON_YEAR)
46 #define SECS_PER_LEAP_YEAR (SECS_PER_DAY * DAYS_PER_LEAP_YEAR)
  /src/crypto/external/apache2/openssl/dist/test/
gmdifftest.c 14 #define SECS_PER_DAY (24 * 60 * 60)
44 toffset = (long)off_day * SECS_PER_DAY + off_sec;
  /src/crypto/external/bsd/openssl/dist/test/
gmdifftest.c 14 #define SECS_PER_DAY (24 * 60 * 60)
44 toffset = (long)off_day * SECS_PER_DAY + off_sec;
  /src/crypto/external/bsd/openssl.old/dist/test/
gmdifftest.c 14 #define SECS_PER_DAY (24 * 60 * 60)
44 toffset = (long)off_day * SECS_PER_DAY + off_sec;
  /src/external/bsd/libbind/dist/nameser/
ns_date.c 85 #define SECS_PER_DAY ((u_int32_t)24*60*60)
91 result += (time.tm_mday - 1) * SECS_PER_DAY; /*%< Days */
96 result += mdays * SECS_PER_DAY; /*%< Months */
98 result += SECS_PER_DAY; /*%< Add leapday for this year */
101 result += (time.tm_year - 70) * (SECS_PER_DAY*365); /*%< Years */
104 result += SECS_PER_DAY; /*%< Add leapday for prev year */
  /src/crypto/external/apache2/openssl/dist/crypto/
o_time.c 65 #define SECS_PER_DAY (24 * 60 * 60)
115 diff_sec += SECS_PER_DAY;
119 diff_sec -= SECS_PER_DAY;
138 offset_day = offset_sec / SECS_PER_DAY;
140 offset_hms = offset_sec - (offset_day * SECS_PER_DAY);
145 if (offset_hms >= SECS_PER_DAY) {
147 offset_hms -= SECS_PER_DAY;
150 offset_hms += SECS_PER_DAY;
  /src/crypto/external/bsd/openssl/dist/crypto/
o_time.c 65 #define SECS_PER_DAY (24 * 60 * 60)
116 diff_sec += SECS_PER_DAY;
120 diff_sec -= SECS_PER_DAY;
140 offset_day = offset_sec / SECS_PER_DAY;
142 offset_hms = offset_sec - (offset_day * SECS_PER_DAY);
147 if (offset_hms >= SECS_PER_DAY) {
149 offset_hms -= SECS_PER_DAY;
152 offset_hms += SECS_PER_DAY;
  /src/crypto/external/bsd/openssl.old/dist/crypto/
o_time.c 65 #define SECS_PER_DAY (24 * 60 * 60)
116 diff_sec += SECS_PER_DAY;
120 diff_sec -= SECS_PER_DAY;
140 offset_day = offset_sec / SECS_PER_DAY;
142 offset_hms = offset_sec - (offset_day * SECS_PER_DAY);
147 if (offset_hms >= SECS_PER_DAY) {
149 offset_hms -= SECS_PER_DAY;
152 offset_hms += SECS_PER_DAY;
  /src/external/gpl2/lvm2/dist/lib/format_text/
archive.c 34 #define SECS_PER_DAY 86400 /* 24*60*60 */
204 retain_time = time(NULL) - (time_t) retain_days *SECS_PER_DAY;

Completed in 25 milliseconds