now 25069 ext/date/lib/parse_date.c void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options) now 25077 ext/date/lib/parse_date.c if (parsed->y == TIMELIB_UNSET) parsed->y = now->y != TIMELIB_UNSET ? now->y : 0; now 25078 ext/date/lib/parse_date.c if (parsed->d == TIMELIB_UNSET) parsed->d = now->d != TIMELIB_UNSET ? now->d : 0; now 25079 ext/date/lib/parse_date.c if (parsed->m == TIMELIB_UNSET) parsed->m = now->m != TIMELIB_UNSET ? now->m : 0; now 25080 ext/date/lib/parse_date.c if (parsed->h == TIMELIB_UNSET) parsed->h = now->h != TIMELIB_UNSET ? now->h : 0; now 25081 ext/date/lib/parse_date.c if (parsed->i == TIMELIB_UNSET) parsed->i = now->i != TIMELIB_UNSET ? now->i : 0; now 25082 ext/date/lib/parse_date.c if (parsed->s == TIMELIB_UNSET) parsed->s = now->s != TIMELIB_UNSET ? now->s : 0; now 25083 ext/date/lib/parse_date.c if (parsed->f == TIMELIB_UNSET) parsed->f = now->f != TIMELIB_UNSET ? now->f : 0; now 25084 ext/date/lib/parse_date.c if (parsed->z == TIMELIB_UNSET) parsed->z = now->z != TIMELIB_UNSET ? now->z : 0; now 25085 ext/date/lib/parse_date.c if (parsed->dst == TIMELIB_UNSET) parsed->dst = now->dst != TIMELIB_UNSET ? now->dst : 0; now 25088 ext/date/lib/parse_date.c parsed->tz_abbr = now->tz_abbr ? timelib_strdup(now->tz_abbr) : NULL; now 25091 ext/date/lib/parse_date.c parsed->tz_info = now->tz_info ? (!(options & TIMELIB_NO_CLONE) ? timelib_tzinfo_clone(now->tz_info) : now->tz_info) : NULL; now 25093 ext/date/lib/parse_date.c if (parsed->zone_type == 0 && now->zone_type != 0) { now 25094 ext/date/lib/parse_date.c parsed->zone_type = now->zone_type; now 89 ext/date/lib/timelib.h void timelib_fill_holes(timelib_time *parsed, timelib_time *now, int options); now 78 ext/date/php_date.c ZEND_ARG_INFO(0, now) now 1428 ext/date/php_date.c PHPAPI zend_long php_parse_date(char *string, zend_long *now) now 1461 ext/date/php_date.c timelib_time *t, *now; now 1470 ext/date/php_date.c now = timelib_time_ctor(); now 1471 ext/date/php_date.c now->tz_info = tzi; now 1472 ext/date/php_date.c now->zone_type = TIMELIB_ZONETYPE_ID; now 1473 ext/date/php_date.c timelib_unixtime2local(now, now 1479 ext/date/php_date.c timelib_fill_holes(t, now, TIMELIB_NO_CLONE); now 1483 ext/date/php_date.c timelib_time_dtor(now); now 1498 ext/date/php_date.c timelib_time *now; now 1507 ext/date/php_date.c now = timelib_time_ctor(); now 1509 ext/date/php_date.c timelib_unixtime2gmt(now, (timelib_sll) time(NULL)); now 1512 ext/date/php_date.c now->tz_info = tzi; now 1513 ext/date/php_date.c now->zone_type = TIMELIB_ZONETYPE_ID; now 1514 ext/date/php_date.c timelib_unixtime2local(now, (timelib_sll) time(NULL)); now 1526 ext/date/php_date.c now->y = yea; now 1529 ext/date/php_date.c now->d = day; now 1532 ext/date/php_date.c now->m = mon; now 1535 ext/date/php_date.c now->s = sec; now 1538 ext/date/php_date.c now->i = min; now 1541 ext/date/php_date.c now->h = hou; now 1548 ext/date/php_date.c timelib_update_ts(now, NULL); now 1550 ext/date/php_date.c timelib_update_ts(now, tzi); now 1554 ext/date/php_date.c ts = timelib_date_to_int(now, &error); now 1556 ext/date/php_date.c timelib_time_dtor(now); now 2485 ext/date/php_date.c timelib_time *now; now 2540 ext/date/php_date.c now = timelib_time_ctor(); now 2541 ext/date/php_date.c now->zone_type = type; now 2544 ext/date/php_date.c now->tz_info = tzi; now 2547 ext/date/php_date.c now->z = new_offset; now 2550 ext/date/php_date.c now->z = new_offset; now 2551 ext/date/php_date.c now->dst = new_dst; now 2552 ext/date/php_date.c now->tz_abbr = new_abbr; now 2555 ext/date/php_date.c timelib_unixtime2local(now, (timelib_sll) time(NULL)); now 2557 ext/date/php_date.c timelib_fill_holes(dateobj->time, now, TIMELIB_NO_CLONE); now 2563 ext/date/php_date.c timelib_time_dtor(now); now 208 ext/date/php_date.h PHPAPI zend_long php_parse_date(char *string, zend_long *now); now 99 ext/fileinfo/libmagic/print.c private time_t now = (time_t)0; now 101 ext/fileinfo/libmagic/print.c if (now == (time_t)0) { now 103 ext/fileinfo/libmagic/print.c (void)time(&now); now 104 ext/fileinfo/libmagic/print.c tm1 = localtime(&now); now 4284 ext/mbstring/oniguruma/regcomp.c select_opt_exact_info(OnigEncoding enc, OptExactInfo* now, OptExactInfo* alt) now 4288 ext/mbstring/oniguruma/regcomp.c v1 = now->len; now 4295 ext/mbstring/oniguruma/regcomp.c copy_opt_exact_info(now, alt); now 4300 ext/mbstring/oniguruma/regcomp.c v2 = map_position_value(enc, now->s[0]); now 4303 ext/mbstring/oniguruma/regcomp.c if (now->len > 1) v1 += 5; now 4307 ext/mbstring/oniguruma/regcomp.c if (now->ignore_case == 0) v1 *= 2; now 4310 ext/mbstring/oniguruma/regcomp.c if (comp_distance_value(&now->mmd, &alt->mmd, v1, v2) > 0) now 4311 ext/mbstring/oniguruma/regcomp.c copy_opt_exact_info(now, alt); now 4380 ext/mbstring/oniguruma/regcomp.c select_opt_map_info(OptMapInfo* now, OptMapInfo* alt) now 4387 ext/mbstring/oniguruma/regcomp.c if (now->value == 0) { now 4388 ext/mbstring/oniguruma/regcomp.c copy_opt_map_info(now, alt); now 4392 ext/mbstring/oniguruma/regcomp.c v1 = z / now->value; now 4394 ext/mbstring/oniguruma/regcomp.c if (comp_distance_value(&now->mmd, &alt->mmd, v1, v2) > 0) now 4395 ext/mbstring/oniguruma/regcomp.c copy_opt_map_info(now, alt); now 130 ext/opcache/ZendAccelerator.c FILETIME now; now 131 ext/opcache/ZendAccelerator.c GetSystemTimeAsFileTime(&now); now 133 ext/opcache/ZendAccelerator.c return (time_t) ((((((__int64)now.dwHighDateTime) << 32)|now.dwLowDateTime) - 116444736000000000L)/10000000); now 1035 ext/openssl/xp_ssl.c struct timeval now; now 1040 ext/openssl/xp_ssl.c gettimeofday(&now, NULL); now 1044 ext/openssl/xp_ssl.c sslsock->reneg->prev_handshake = now.tv_sec; now 1048 ext/openssl/xp_ssl.c elapsed_time = (now.tv_sec - sslsock->reneg->prev_handshake); now 1049 ext/openssl/xp_ssl.c sslsock->reneg->prev_handshake = now.tv_sec; now 127 ext/phar/zip.c time_t now; now 129 ext/phar/zip.c now = time(NULL); now 130 ext/phar/zip.c tm = php_localtime_r(&now, &tmbuf); now 398 ext/phar/zip.c zend_off_t now; now 401 ext/phar/zip.c now = php_stream_tell(fp); now 283 ext/session/mod_files.c time_t now; now 293 ext/session/mod_files.c time(&now); now 316 ext/session/mod_files.c (now - sbuf.st_mtime) > maxlifetime) { now 1234 ext/session/session.c time_t now; now 1237 ext/session/session.c now = tv.tv_sec + PS(cache_expire) * 60; now 1239 ext/session/session.c strcpy_gmt(buf + sizeof(EXPIRES) - 1, &now); now 287 main/alloca.c long now; /* Current total stack size. */ now 262 sapi/fpm/fpm/fpm_children.c time_t now = tv1.tv_sec; now 266 sapi/fpm/fpm/fpm_children.c last_faults[fault++] = now; now 273 sapi/fpm/fpm/fpm_children.c if (now - last_faults[i] > fpm_global_config.emergency_restart_interval) { now 36 sapi/fpm/fpm/fpm_events.c #define fpm_event_set_timeout(ev, now) timeradd(&(now), &(ev)->frequency, &(ev)->timeout); now 378 sapi/fpm/fpm/fpm_events.c struct timeval now; now 387 sapi/fpm/fpm/fpm_events.c fpm_clock_get(&now); now 404 sapi/fpm/fpm/fpm_events.c if (!timerisset(&ms) || timercmp(&ms, &now, <) || timercmp(&ms, &now, ==)) { now 407 sapi/fpm/fpm/fpm_events.c timersub(&ms, &now, &tmp); now 425 sapi/fpm/fpm/fpm_events.c fpm_clock_get(&now); now 427 sapi/fpm/fpm/fpm_events.c if (timercmp(&now, &q->ev->timeout, >) || timercmp(&now, &q->ev->timeout, ==)) { now 434 sapi/fpm/fpm/fpm_events.c fpm_event_set_timeout(q->ev, now); now 487 sapi/fpm/fpm/fpm_events.c struct timeval now; now 508 sapi/fpm/fpm/fpm_events.c fpm_clock_get(&now); now 517 sapi/fpm/fpm/fpm_events.c fpm_event_set_timeout(ev, now); now 292 sapi/fpm/fpm/fpm_process_ctl.c static void fpm_pctl_check_request_timeout(struct timeval *now) /* {{{ */ now 303 sapi/fpm/fpm/fpm_process_ctl.c fpm_request_check_timed_out(child, now, terminate_timeout, slowlog_timeout); now 310 sapi/fpm/fpm/fpm_process_ctl.c static void fpm_pctl_perform_idle_server_maintenance(struct timeval *now) /* {{{ */ now 360 sapi/fpm/fpm/fpm_process_ctl.c struct timeval last, now; now 367 sapi/fpm/fpm/fpm_process_ctl.c fpm_clock_get(&now); now 368 sapi/fpm/fpm/fpm_process_ctl.c if (last.tv_sec < now.tv_sec - wp->config->pm_process_idle_timeout) { now 444 sapi/fpm/fpm/fpm_process_ctl.c struct timeval now; now 451 sapi/fpm/fpm/fpm_process_ctl.c fpm_clock_get(&now); now 452 sapi/fpm/fpm/fpm_process_ctl.c fpm_pctl_check_request_timeout(&now); now 469 sapi/fpm/fpm/fpm_process_ctl.c struct timeval now; now 476 sapi/fpm/fpm/fpm_process_ctl.c fpm_clock_get(&now); now 478 sapi/fpm/fpm/fpm_process_ctl.c fpm_pctl_perform_idle_server_maintenance(&now); now 42 sapi/fpm/fpm/fpm_request.c struct timeval now; now 44 sapi/fpm/fpm/fpm_request.c fpm_clock_get(&now); now 53 sapi/fpm/fpm/fpm_request.c proc->tv = now; now 65 sapi/fpm/fpm/fpm_request.c struct timeval now; now 71 sapi/fpm/fpm/fpm_request.c fpm_clock_get(&now); now 84 sapi/fpm/fpm/fpm_request.c proc->tv = now; now 85 sapi/fpm/fpm/fpm_request.c proc->accepted = now; now 113 sapi/fpm/fpm/fpm_request.c struct timeval now; now 115 sapi/fpm/fpm/fpm_request.c fpm_clock_get(&now); now 124 sapi/fpm/fpm/fpm_request.c proc->tv = now; now 157 sapi/fpm/fpm/fpm_request.c struct timeval now; now 159 sapi/fpm/fpm/fpm_request.c fpm_clock_get(&now); now 168 sapi/fpm/fpm/fpm_request.c proc->tv = now; now 176 sapi/fpm/fpm/fpm_request.c struct timeval now; now 182 sapi/fpm/fpm/fpm_request.c fpm_clock_get(&now); now 193 sapi/fpm/fpm/fpm_request.c proc->tv = now; now 194 sapi/fpm/fpm/fpm_request.c timersub(&now, &proc->accepted, &proc->duration); now 210 sapi/fpm/fpm/fpm_request.c struct timeval now; now 212 sapi/fpm/fpm/fpm_request.c fpm_clock_get(&now); now 221 sapi/fpm/fpm/fpm_request.c proc->tv = now; now 226 sapi/fpm/fpm/fpm_request.c void fpm_request_check_timed_out(struct fpm_child_s *child, struct timeval *now, int terminate_timeout, int slowlog_timeout) /* {{{ */ now 252 sapi/fpm/fpm/fpm_request.c timersub(now, &proc.accepted, &tv); now 392 sapi/fpm/fpm/fpm_status.c struct timeval duration, now; now 397 sapi/fpm/fpm/fpm_status.c fpm_clock_get(&now); now 441 sapi/fpm/fpm/fpm_status.c timersub(&now, &proc.accepted, &duration);