/PHP-7.4/ext/date/ |
H A D | php_date.c | 103 ZEND_ARG_INFO(0, sec) 112 ZEND_ARG_INFO(0, sec) 1552 zend_long hou = 0, min = 0, sec = 0, mon = 0, day = 0, yea = 0; in php_mktime() local 1562 Z_PARAM_LONG(sec) in php_mktime() 1597 now->s = sec; in php_mktime() 2683 static void php_date_get_current_time_with_fraction(time_t *sec, suseconds_t *usec) in php_date_get_current_time_with_fraction() argument 2689 *sec = tp.tv_sec; in php_date_get_current_time_with_fraction() 2692 *sec = time(NULL); in php_date_get_current_time_with_fraction() 2705 time_t sec; in php_date_initialize() local 2771 php_date_get_current_time_with_fraction(&sec, &usec); in php_date_initialize() [all …]
|
/PHP-7.4/ext/fileinfo/ |
H A D | libmagic.patch | 1389 cdf_ctime(const time_t *sec, char *buf) 1391 - char *ptr = ctime_r(sec, buf); 1392 + char *ptr = php_ctime_r(sec, buf);
|
/PHP-7.4/ext/date/lib/ |
H A D | parse_date.re | 178 { "µsec", TIMELIB_MICROSEC, 1 }, 182 { "sec", TIMELIB_SECOND, 1 }, 1005 reltextunit = 'ms' | 'µs' | (('msec'|'millisecond'|'µsec'|'microsecond'|'usec'|'sec'|'second'|'min'… 2197 timelib_sll sec; 2200 sec = timelib_get_nr_ex((char **) &ptr, 2, &length); 2201 if (sec == TIMELIB_UNSET || length != 2) { 2204 s->time->s = sec;
|
H A D | parse_date.c | 25305 timelib_sll sec; in timelib_parse_from_format_with_map() local 25308 sec = timelib_get_nr_ex((char **) &ptr, 2, &length); in timelib_parse_from_format_with_map() 25309 if (sec == TIMELIB_UNSET || length != 2) { in timelib_parse_from_format_with_map() 25312 s->time->s = sec; in timelib_parse_from_format_with_map()
|
H A D | timelib.h | 879 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec); 884 void timelib_hms_to_decimal_hour(int hour, int min, int sec, double *h);
|
/PHP-7.4/ext/imap/ |
H A D | php_imap.c | 2413 zend_string *sec; in PHP_FUNCTION() local 2417 if (zend_parse_parameters(argc, "rlS|l", &streamind, &msgno, &sec, &flags) == FAILURE) { in PHP_FUNCTION() 2435 …body = mail_fetchbody_full(imap_le_struct->imap_stream, msgno, ZSTR_VAL(sec), &len, (argc == 4 ? f… in PHP_FUNCTION() 2455 zend_string *sec; in PHP_FUNCTION() local 2459 if (zend_parse_parameters(argc, "rlS|l", &streamind, &msgno, &sec, &flags) == FAILURE) { in PHP_FUNCTION() 2477 …body = mail_fetch_mime(imap_le_struct->imap_stream, msgno, ZSTR_VAL(sec), &len, (argc == 4 ? flags… in PHP_FUNCTION()
|
/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_connection.c | 2589 mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int *… argument 2599 if (sec < 0 || usec < 0) { 2635 tv.tv_sec = sec + (usec / 1000000); 2638 tv.tv_sec = sec;
|
H A D | mysqlnd.h | 121 …qlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long sec, long usec, int * d…
|
/PHP-7.4/sapi/cgi/ |
H A D | cgi_main.c | 2676 int sec; local 2681 sec = (int)(end.tv_sec - start.tv_sec); 2685 sec -= 1; 2688 fprintf(stderr, "\nElapsed time: %d.%06d sec\n", sec, usec); 2691 sec = (int)(end - start); 2692 fprintf(stderr, "\nElapsed time: %d sec\n", sec);
|
/PHP-7.4/ext/standard/ |
H A D | streamsfuncs.c | 754 zend_long sec, usec = 0; in PHP_FUNCTION() local 762 Z_PARAM_LONG_EX(sec, secnull, 1, 0) in PHP_FUNCTION() 801 if (sec < 0) { in PHP_FUNCTION() 810 tv.tv_sec = (long)(sec + (usec / 1000000)); in PHP_FUNCTION()
|
H A D | uniqid.c | 49 int sec, usec; in PHP_FUNCTION() local 71 sec = (int) tv.tv_sec; in PHP_FUNCTION() 78 uniqid = strpprintf(0, "%s%08x%05x%.8F", prefix, sec, usec, php_combined_lcg() * 10); in PHP_FUNCTION() 80 uniqid = strpprintf(0, "%s%08x%05x", prefix, sec, usec); in PHP_FUNCTION()
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_poll.phpt | 137 Warning: mysqli_poll(): Negative values passed for sec and/or usec in %s on line %d 139 Warning: mysqli_poll(): Negative values passed for sec and/or usec in %s on line %d
|
H A D | mysqli_class_mysqli_reflection.phpt | 683 Inspecting parameter 'sec' of method 'poll'
|
/PHP-7.4/ext/mysqli/ |
H A D | mysqli_nonapi.c | 839 zend_long sec = 0, usec = 0; local 843 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "a!a!al|l", &r_array, &e_array, &dont_poll_array, &sec,… 846 if (sec < 0 || usec < 0) { 863 ret = mysqlnd_poll(new_r_array, new_e_array, &new_dont_poll_array, sec, usec, &desc_num);
|
H A D | mysqli_fe.c | 68 ZEND_ARG_INFO(0, sec)
|
/PHP-7.4/ext/sockets/ |
H A D | sockets.c | 975 zval *r_array, *w_array, *e_array, *sec; local 983 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "a!a!a!z!|l", &r_array, &w_array, &e_array, &sec, &usec… 1003 if (sec != NULL) { 1004 zend_long s = zval_get_long(sec); 2107 zval *sec, *usec; local 2179 if ((sec = zend_hash_str_find(opt_ht, sec_key, sizeof(sec_key) - 1)) == NULL) { 2188 convert_to_long_ex(sec); 2191 tv.tv_sec = Z_LVAL_P(sec); 2196 timeout = Z_LVAL_P(sec) * 1000 + Z_LVAL_P(usec) / 1000;
|
/PHP-7.4/ext/date/tests/ |
H A D | gmmktime_basic.phpt | 5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]… 16 $sec = 8; 22 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
|
H A D | gmmktime_variation7.phpt | 5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]… 16 $sec = 8; 27 var_dump( gmmktime($hour, $min, $sec) ); 30 var_dump( gmmktime($hour, $min, $sec, $mon) ); 33 var_dump( gmmktime($hour, $min, $sec, $mon, $day) );
|
H A D | gmmktime_variation8.phpt | 5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]… 16 $sec = 010; 22 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) ); 27 $sec = 0x8; 33 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
|
H A D | gmmktime_variation9.phpt | 5 /* Prototype : int gmmktime([int hour [, int min [, int sec [, int mon [, int day [, int year]]]]]… 16 $sec = 8; 31 var_dump( gmmktime($value, $min, $sec, $mon, $day, $year) ); 32 var_dump( gmmktime($hour, $value, $sec, $mon, $day, $year) ); 34 var_dump( gmmktime($hour, $min, $sec, $value, $day, $year) ); 35 var_dump( gmmktime($hour, $min, $sec, $mon, $value, $value) );
|
H A D | mktime_basic1.phpt | 18 $sec = 45; 25 var_dump( mktime($hour, $minute, $sec) ); 26 var_dump( mktime($hour, $minute, $sec, $month) ); 27 var_dump( mktime($hour, $minute, $sec, $month, $day) ); 28 var_dump( mktime($hour, $minute, $sec, $month, $day, $year) );
|
H A D | mktime_error.phpt | 22 $sec = 45; 27 var_dump( mktime($hour, $minute, $sec, $month, $day, $year, $extra_arg) );
|
H A D | gettimeofday_basic.phpt | 36 ["sec"]=> 46 ["sec"]=>
|
/PHP-7.4/sapi/fpm/fpm/ |
H A D | fpm_process_ctl.c | 58 static int fpm_pctl_timeout_set(int sec) /* {{{ */ in fpm_pctl_timeout_set() argument 61 fpm_event_add(&pctl_event, sec * 1000); in fpm_pctl_timeout_set()
|
/PHP-7.4/ext/standard/tests/strings/ |
H A D | strtok_variation3.phpt | 103 string(3) "sec"
|