| /netbsd-src/tests/lib/libc/gen/ |
| H A D | t_sleep.c | 46 #define BILLION 1000000000LL /* nano-seconds per second */ macro 181 if (delay->tv_sec * BILLION + delay->tv_nsec > tmo * MILLION) in do_kevent() 296 delta1 *= BILLION; in sleeptest() 299 delta2 = (int64_t)tremain.tv_sec * BILLION; in sleeptest() 302 delta3 = (int64_t)tslp.tv_sec * BILLION; in sleeptest() 316 delta3 = (int64_t)tslp.tv_sec * 2 * BILLION; in sleeptest() 323 tslp.tv_sec = delta3 / BILLION; in sleeptest() 324 tslp.tv_nsec = delta3 % BILLION; in sleeptest()
|
| /netbsd-src/external/bsd/libbind/dist/isc/ |
| H A D | ev_timers.c | 44 #define BILLION 1000000000 macro 81 if (x.tv_nsec >= BILLION) { in evAddTime() 83 x.tv_nsec -= BILLION; in evAddTime() 96 x.tv_nsec = BILLION - subtrahend.tv_nsec + minuend.tv_nsec; in evSubTime() 189 if (due.tv_nsec >= BILLION) in evSetTimer() 192 if (inter.tv_nsec >= BILLION) in evSetTimer() 195 if (due.tv_sec < 0 || due.tv_nsec < 0 || due.tv_nsec >= BILLION) in evSetTimer() 198 if (inter.tv_sec < 0 || inter.tv_nsec < 0 || inter.tv_nsec >= BILLION) in evSetTimer() 305 if (due.tv_nsec >= BILLION) in evResetTimer() 308 if (inter.tv_nsec >= BILLION) in evResetTimer() [all …]
|
| /netbsd-src/lib/libc/isc/ |
| H A D | ev_timers.c | 49 #define BILLION 1000000000 macro 88 if (x.tv_nsec >= BILLION) { in evAddTime() 90 x.tv_nsec -= BILLION; in evAddTime() 103 x.tv_nsec = BILLION - subtrahend.tv_nsec + minuend.tv_nsec; in evSubTime() 206 if (due.tv_nsec >= BILLION) in evSetTimer() 209 if (inter.tv_nsec >= BILLION) in evSetTimer() 212 if (due.tv_sec < 0 || due.tv_nsec < 0 || due.tv_nsec >= BILLION) in evSetTimer() 215 if (inter.tv_sec < 0 || inter.tv_nsec < 0 || inter.tv_nsec >= BILLION) in evSetTimer() 322 if (due.tv_nsec >= BILLION) in evResetTimer() 325 if (inter.tv_nsec >= BILLION) in evResetTimer() [all …]
|
| /netbsd-src/external/bsd/openldap/dist/libraries/libldap/ |
| H A D | util-int.c | 195 #define BILLION 1000000000L macro 242 t *= BILLION; in ldap_pvt_gettimensec() 246 ut.QuadPart %= (10 * BILLION); in ldap_pvt_gettimensec() 260 count.QuadPart *= BILLION; in ldap_pvt_gettimensec() 268 count.QuadPart += (10 * BILLION); in ldap_pvt_gettimensec() 269 else if (count.QuadPart >= (10 * BILLION)) in ldap_pvt_gettimensec() 270 count.QuadPart -= (10 * BILLION); in ldap_pvt_gettimensec() 272 *sec = count.QuadPart / BILLION; in ldap_pvt_gettimensec() 273 return count.QuadPart % BILLION; in ldap_pvt_gettimensec()
|
| /netbsd-src/external/gpl2/xcvs/dist/lib/ |
| H A D | getdate.y | 138 enum { BILLION = 1000000000, LOG10_BILLION = 9 }; enumerator 1046 ns = BILLION - ns; in yylex() 1457 long int normalized_ns = (sum_ns % BILLION + BILLION) % BILLION; in get_date() 1465 long int d4 = (sum_ns - normalized_ns) / BILLION; in get_date()
|
| H A D | getdate.c | 212 enum { BILLION = 1000000000, LOG10_BILLION = 9 }; enumerator 2955 ns = BILLION - ns; in yylex() 3366 long int normalized_ns = (sum_ns % BILLION + BILLION) % BILLION; in get_date() 3374 long int d4 = (sum_ns - normalized_ns) / BILLION; in get_date()
|
| /netbsd-src/games/countmail/ |
| H A D | countmail | 52 3) x=BILLION ;;
|
| /netbsd-src/external/gpl3/gcc/dist/libdecnumber/ |
| H A D | decNumberLocal.h | 170 #define BILLION 1000000000 /* 10**9 */ macro
|
| H A D | decBasic.c | 174 #define DIVBASE ((uInt)BILLION) /* the base used for divide */ 704 #define MULTBASE ((uInt)BILLION) /* the base used for multiply */ 3851 return hi*BILLION+lo; 3860 i=hi*BILLION+lo;
|
| /netbsd-src/external/gpl3/gcc.old/dist/libdecnumber/ |
| H A D | decNumberLocal.h | 170 #define BILLION 1000000000 /* 10**9 */ macro
|
| H A D | decBasic.c | 174 #define DIVBASE ((uInt)BILLION) /* the base used for divide */ 704 #define MULTBASE ((uInt)BILLION) /* the base used for multiply */ 3851 return hi*BILLION+lo; 3860 i=hi*BILLION+lo;
|
| /netbsd-src/external/gpl3/gdb/dist/libdecnumber/ |
| H A D | decNumberLocal.h | 170 #define BILLION 1000000000 /* 10**9 */ macro
|
| H A D | decBasic.c | 174 #define DIVBASE ((uInt)BILLION) /* the base used for divide */ 704 #define MULTBASE ((uInt)BILLION) /* the base used for multiply */ 3851 return hi*BILLION+lo; 3860 i=hi*BILLION+lo;
|
| /netbsd-src/external/gpl3/gdb.old/dist/libdecnumber/ |
| H A D | decNumberLocal.h | 170 #define BILLION 1000000000 /* 10**9 */ macro
|
| H A D | decBasic.c | 174 #define DIVBASE ((uInt)BILLION) /* the base used for divide */ 704 #define MULTBASE ((uInt)BILLION) /* the base used for multiply */ 3851 return hi*BILLION+lo; 3860 i=hi*BILLION+lo;
|
| /netbsd-src/external/mit/libuv/dist/src/win/ |
| H A D | fs.c | 96 #define BILLION ((int64_t) 1000 * 1000 * 1000) macro 99 filetime -= 116444736 * BILLION; in uv__filetime_to_timespec() 110 int64_t bigtime = ((time) * 10 * MILLION + 116444736 * BILLION); \
|
| /netbsd-src/games/fortune/datfiles/ |
| H A D | zippy | 957 amusing SIT-COM pilots!! We had to wait FOUR BILLION years but we
|