/freebsd/lib/libc/isc/ |
H A D | ev_timers.c | 44 #define BILLION 1000000000 macro 85 if (x.tv_nsec >= BILLION) { in evAddTime() 87 x.tv_nsec -= BILLION; in evAddTime() 100 x.tv_nsec = BILLION - subtrahend.tv_nsec + minuend.tv_nsec; in evSubTime() 198 if (due.tv_nsec >= BILLION) in evSetTimer() 201 if (inter.tv_nsec >= BILLION) in evSetTimer() 204 if (due.tv_sec < 0 || due.tv_nsec < 0 || due.tv_nsec >= BILLION) in evSetTimer() 207 if (inter.tv_sec < 0 || inter.tv_nsec < 0 || inter.tv_nsec >= BILLION) in evSetTimer() 314 if (due.tv_nsec >= BILLION) in evResetTimer() 317 if (inter.tv_nsec >= BILLION) in evResetTimer() [all …]
|
/freebsd/contrib/netbsd-tests/lib/libc/gen/ |
H A D | t_sleep.c | 46 #define BILLION 1000000000LL /* nano-seconds per second */ macro 185 if (delay->tv_sec * BILLION + delay->tv_nsec > tmo * MILLION) in do_kevent() 302 delta1 *= BILLION; in sleeptest() 305 delta2 = (int64_t)tremain.tv_sec * BILLION; in sleeptest() 308 delta3 = (int64_t)tslp.tv_sec * BILLION; in sleeptest() 322 delta3 = (int64_t)tslp.tv_sec * 2 * BILLION; in sleeptest() 329 tslp.tv_sec = delta3 / BILLION; in sleeptest() 330 tslp.tv_nsec = delta3 % BILLION; in sleeptest()
|
/freebsd/contrib/jemalloc/src/ |
H A D | nstime.c | 8 #define BILLION UINT64_C(1000000000) macro 18 time->ns = sec * BILLION + nsec; in nstime_init2() 33 return time->ns / BILLION; in nstime_sec() 38 return time->ns % BILLION; in nstime_nsec()
|
H A D | background_thread.c | 97 #define BILLION UINT64_C(1000000000) 99 #define BACKGROUND_THREAD_MIN_INTERVAL_NS (BILLION / 10) 825 #undef BILLION
|
H A D | stats.c | 57 uint64_t billion = 1000000000; in rate_per_second() local 61 if (uptime_ns < billion) { in rate_per_second() 64 uint64_t uptime_s = uptime_ns / billion; in rate_per_second()
|
/freebsd/contrib/expat/doc/ |
H A D | xmlwf.1 | 91 for protection against billion laughs attacks (default: 100.0). 113 needed to activate protection against billion laughs attacks 330 Billion laughs attack: https://en.wikipedia.org/wiki/Billion_laughs_attack
|
H A D | xmlwf.xml | 161 for protection against billion laughs attacks (default: 100.0). 188 needed to activate protection against billion laughs attacks 561 Billion laughs attack: https://en.wikipedia.org/wiki/Billion_laughs_attack
|
/freebsd/sys/contrib/device-tree/Bindings/clock/ |
H A D | fixed-clock.yaml | 32 description: accuracy of clock in ppb (parts per billion).
|
/freebsd/contrib/ntp/libntp/lib/isc/pthreads/ |
H A D | condition.c | 51 * ensures its return value is < 1 billion, which will fit in a long. in isc_condition_waituntil()
|
/freebsd/share/man/man3/ |
H A D | pthread_mutex_timedlock.3 | 71 greater than or equal to 1 billion.
|
H A D | pthread_rwlock_timedwrlock.3 | 91 greater than or equal to 1 billion.
|
H A D | pthread_rwlock_timedrdlock.3 | 101 greater than or equal to 1 billion.
|
/freebsd/contrib/tcpdump/ |
H A D | ntp.c | 46 f = (uint32_t)(ff * 1000000000.0); /* treat fraction as parts per billion */ in p_ntp_time()
|
H A D | print-zep.c | 75 billion */ in zep_print_ts()
|
/freebsd/sys/contrib/device-tree/Bindings/ptp/ |
H A D | ptp-qoriq.txt | 23 - fsl,max-adj Maximum frequency adjustment in parts per billion.
|
H A D | fsl,ptp.yaml | 84 Maximum frequency adjustment in parts per billion.
|
/freebsd/share/man/man9/ |
H A D | seqc.9 | 135 Given that this needs 4 billion transactional writes across a single contended
|
H A D | devstat.9 | 292 someone has a system with more than four billion device arrival events.
|
/freebsd/usr.bin/nfsstat/ |
H A D | nfsstat.1 | 85 clipped at one billion.
|
/freebsd/share/man/man7/ |
H A D | orders.7 | 90 .It Billion Ta 10^9 Ta giga Ta G Ta 1000000000
|
/freebsd/share/man/man4/ |
H A D | zyd.4 | 98 Billion BiPAC 3011G
|
/freebsd/contrib/expat/xmlwf/ |
H A D | xmlwf_helpgen.py | 77 billion_laughs = parser.add_argument_group('billion laughs attack protection',
|
/freebsd/contrib/expat/ |
H A D | Changes | 120 #839 #842 CVE-2024-28757 -- Prevent billion laughs attacks with 146 #828 #836 Expose billion laughs API with XML_DTD defined and 178 #777 CVE-2023-52426 -- Fix billion laughs attacks for users 614 #34 #466 #484 CVE-2013-0340/CWE-776 -- Protect against billion laughs attacks 628 .. to further tighten billion laughs protection parameters 641 for xmlwf to further tighten billion laughs protection
|
/freebsd/usr.bin/number/ |
H A D | number.c | 54 "hundred", "thousand", "million", "billion",
|
/freebsd/usr.bin/dpv/ |
H A D | dpv.1 | 341 to produce a half-billion lines
|