Home
last modified time | relevance | path

Searched refs:tv_nsec (Results 1 – 13 of 13) sorted by relevance

/php-src/sapi/fpm/fpm/
H A Dfpm_clock.c42 tv->tv_usec = ts.tv_nsec / 1000; in fpm_clock_get()
97 tv->tv_usec = aTime.tv_nsec / 1000; in fpm_clock_get()
/php-src/win32/
H A Dtime.c82 if (rqtp->tv_nsec > 999999999) { in nanosleep()
87 return usleep( rqtp->tv_sec * 1000000 + rqtp->tv_nsec / 1000 ); in nanosleep()
H A Dtime.h35 long tv_nsec; /* nanoseconds */ member
/php-src/Zend/
H A Dzend_hrtime.h88 struct timespec ts = { .tv_sec = 0, .tv_nsec = 0 }; in zend_hrtime()
90 return ((zend_hrtime_t) ts.tv_sec * (zend_hrtime_t)ZEND_NANO_IN_SEC) + ts.tv_nsec; in zend_hrtime()
H A Dzend_max_execution_timer.c106 its.it_value.tv_nsec = its.it_interval.tv_sec = its.it_interval.tv_nsec = 0; in zend_max_execution_timer_settime()
/php-src/sapi/fpm/fpm/events/
H A Dport.c120 t.tv_nsec = (timeout % 1000) * 1000 * 1000; in fpm_event_port_wait()
H A Dkqueue.c123 t.tv_nsec = (timeout % 1000) * 1000 * 1000; in fpm_event_kqueue_wait()
/php-src/ext/fileinfo/libmagic/
H A Dcdf_time.c108 ts->tv_nsec = (t % CDF_TIME_PREC) * 100; in cdf_timestamp_to_timespec()
H A Dcdf.h43 #define tv_nsec tv_usec macro
/php-src/ext/pcntl/
H A Dpcntl.c1016 zend_long tv_nsec = 0; in PHP_FUNCTION() local
1023 Z_PARAM_LONG(tv_nsec) in PHP_FUNCTION()
1037 if (tv_nsec < 0 || tv_nsec >= 1000000000) { in PHP_FUNCTION()
1041 if (UNEXPECTED(tv_sec == 0 && tv_nsec == 0)) { in PHP_FUNCTION()
1050 timeout.tv_nsec = tv_nsec; in PHP_FUNCTION()
/php-src/ext/standard/
H A Dbasic_functions.c1162 zend_long tv_sec, tv_nsec; local
1167 Z_PARAM_LONG(tv_nsec)
1174 if (tv_nsec < 0) {
1180 php_req.tv_nsec = (long)tv_nsec;
1187 add_assoc_long_ex(return_value, "nanoseconds", sizeof("nanoseconds")-1, php_rem.tv_nsec);
1230 php_req.tv_nsec = (long) (diff_ns % ns_per_sec);
1235 php_req.tv_nsec = php_rem.tv_nsec;
/php-src/ext/opcache/jit/ir/
H A Dir_perf.c98 return ((uint64_t)ts.tv_sec * 1000000000) + ts.tv_nsec; in ir_perf_timestamp()
/php-src/ext/fileinfo/
H A Dlibmagic.patch1211 -#define tv_nsec tv_usec

Completed in 30 milliseconds