Home
last modified time | relevance | path

Searched refs:sec (Results 1 – 25 of 46) sorted by relevance

12

/PHP-8.2/ext/date/tests/
H A Dmktime_basic1.phpt12 $sec = 45;
19 var_dump( mktime($hour, $minute, $sec) );
20 var_dump( mktime($hour, $minute, $sec, $month) );
21 var_dump( mktime($hour, $minute, $sec, $month, $day) );
22 var_dump( mktime($hour, $minute, $sec, $month, $day, $year) );
H A Dgmmktime_variation8.phpt10 $sec = 010;
16 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
21 $sec = 0x8;
27 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
H A Dgmmktime_variation7.phpt10 $sec = 8;
21 var_dump( gmmktime($hour, $min, $sec) );
24 var_dump( gmmktime($hour, $min, $sec, $mon) );
27 var_dump( gmmktime($hour, $min, $sec, $mon, $day) );
H A Dgmmktime_basic.phpt10 $sec = 8;
16 var_dump( gmmktime($hour, $min, $sec, $mon, $day, $year) );
H A Dbug64887.phpt19 '+11 µsec',
22 '+8 msec -2 µsec',
H A Dgettimeofday_basic.phpt29 ["sec"]=>
39 ["sec"]=>
H A Dmktime_error.phpt20 $sec = 45;
26 var_dump( mktime($hour, $minute, $sec, $month, $day, $year, $extra_arg) );
H A Dbug35143.phpt13 ["sec"]=>
/PHP-8.2/ext/opcache/jit/dynasm/
H A Ddasm_mips.h47 #define DASM_SEC2POS(sec) ((sec)<<24) argument
174 int pos = sec->pos, ofs = sec->ofs; in dasm_put()
177 if (pos >= sec->epos) { in dasm_put()
178 DASM_M_GROW(Dst, int, sec->buf, sec->bsize, in dasm_put()
180 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
184 b = sec->rbuf; in dasm_put()
252 sec->pos = pos; in dasm_put()
253 sec->ofs = ofs; in dasm_put()
286 int *b = sec->rbuf; in dasm_link()
333 int *b = sec->buf; in dasm_encode()
[all …]
H A Ddasm_ppc.h47 #define DASM_SEC2POS(sec) ((sec)<<24) argument
174 int pos = sec->pos, ofs = sec->ofs; in dasm_put()
177 if (pos >= sec->epos) { in dasm_put()
178 DASM_M_GROW(Dst, int, sec->buf, sec->bsize, in dasm_put()
180 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
184 b = sec->rbuf; in dasm_put()
256 sec->pos = pos; in dasm_put()
257 sec->ofs = ofs; in dasm_put()
290 int *b = sec->rbuf; in dasm_link()
337 int *b = sec->buf; in dasm_encode()
[all …]
H A Ddasm_arm.h48 #define DASM_SEC2POS(sec) ((sec)<<24) argument
183 int pos = sec->pos, ofs = sec->ofs; in dasm_put()
186 if (pos >= sec->epos) { in dasm_put()
187 DASM_M_GROW(Dst, int, sec->buf, sec->bsize, in dasm_put()
189 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
193 b = sec->rbuf; in dasm_put()
273 sec->pos = pos; in dasm_put()
274 sec->ofs = ofs; in dasm_put()
307 int *b = sec->rbuf; in dasm_link()
355 int *b = sec->buf; in dasm_encode()
[all …]
H A Ddasm_arm64.h50 #define DASM_SEC2POS(sec) ((sec)<<24) argument
225 int pos = sec->pos, ofs = sec->ofs; in dasm_put()
228 if (pos >= sec->epos) { in dasm_put()
229 DASM_M_GROW(Dst, int, sec->buf, sec->bsize, in dasm_put()
231 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
235 b = sec->rbuf; in dasm_put()
342 sec->pos = pos; in dasm_put()
343 sec->ofs = ofs; in dasm_put()
376 int *b = sec->rbuf; in dasm_link()
434 int *b = sec->buf; in dasm_encode()
[all …]
H A Ddasm_x86.h46 #define DASM_SEC2POS(sec) ((sec)<<24) argument
176 int pos = sec->pos, ofs = sec->ofs, mrm = -1; in dasm_put()
179 if (pos >= sec->epos) { in dasm_put()
180 DASM_M_GROW(Dst, int, sec->buf, sec->bsize, in dasm_put()
182 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
186 b = sec->rbuf; in dasm_put()
274 sec->pos = pos; in dasm_put()
275 sec->ofs = ofs; in dasm_put()
308 int *b = sec->rbuf; in dasm_link()
404 int *b = sec->buf; in dasm_encode()
[all …]
/PHP-8.2/ext/standard/
H A Duniqid.c45 int sec, usec; in PHP_FUNCTION() local
67 sec = (int) tv.tv_sec; in PHP_FUNCTION()
81 uniqid = strpprintf(0, "%s%08x%05x%.8F", prefix, sec, usec, seed); in PHP_FUNCTION()
83 uniqid = strpprintf(0, "%s%08x%05x", prefix, sec, usec); in PHP_FUNCTION()
/PHP-8.2/ext/date/lib/
H A Dtimelib.c188 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec) in timelib_decimal_hour_to_hms() argument
202 *sec = seconds % 60; in timelib_decimal_hour_to_hms()
209 void timelib_hms_to_decimal_hour(int hour, int min, int sec, double *h) in timelib_hms_to_decimal_hour() argument
212 *h = ((double)hour + (double)min / 60 + (double)sec / 3600); in timelib_hms_to_decimal_hour()
214 *h = ((double)hour - (double)min / 60 - (double)sec / 3600); in timelib_hms_to_decimal_hour()
218 void timelib_hmsf_to_decimal_hour(int hour, int min, int sec, int us, double *h) in timelib_hmsf_to_decimal_hour() argument
221 …*h = ((double)hour + (double)min / MINS_PER_HOUR + (double)sec / SECS_PER_HOUR) + (double)us / USE… in timelib_hmsf_to_decimal_hour()
223 …*h = ((double)hour - (double)min / MINS_PER_HOUR - (double)sec / SECS_PER_HOUR) - (double)us / USE… in timelib_hmsf_to_decimal_hour()
H A Dtimelib.h982 void timelib_decimal_hour_to_hms(double h, int *hour, int *min, int *sec);
987 void timelib_hms_to_decimal_hour(int hour, int min, int sec, double *h);
992 void timelib_hmsf_to_decimal_hour(int hour, int min, int sec, int us, double *h);
/PHP-8.2/ext/sockets/tests/
H A Dsocket_set_option_rcvtimeo.phpt24 $options = array("sec" => 1, "usec" => 0);
33 socket_set_option(): Argument #4 ($value) must have key "sec"
H A Dsocket_set_option_sndtimeo.phpt24 $options = array("sec" => 1, "usec" => 0);
33 socket_set_option(): Argument #4 ($value) must have key "sec"
H A Dsocket_setopt_basic.phpt17 $options = array("sec" => 1, "usec" => 0);
/PHP-8.2/ext/fileinfo/libmagic/
H A Dcdf_time.c170 cdf_ctime(const time_t *sec, char *buf) in cdf_ctime() argument
172 char *ptr = php_ctime_r(sec, buf); in cdf_ctime()
176 CAST(long long, *sec)); in cdf_ctime()
/PHP-8.2/Zend/tests/type_declarations/variance/
H A Dsuppressed_incompatible_return_type.phpt18 var_dump($date->modify("+1 sec"));
/PHP-8.2/ext/standard/tests/mail/
H A Dmail_skipif.inc8 socket_set_option($socket, SOL_SOCKET, SO_RCVTIMEO, array('sec' => 10, 'usec' => 10));
/PHP-8.2/ext/standard/tests/strings/
H A Dstrtok_variation3.phpt98 string(3) "sec"
/PHP-8.2/sapi/fpm/fpm/
H A Dfpm_process_ctl.c59 static int fpm_pctl_timeout_set(int sec) /* {{{ */ in fpm_pctl_timeout_set() argument
62 fpm_event_add(&pctl_event, sec * 1000); in fpm_pctl_timeout_set()
/PHP-8.2/ext/sockets/
H A Dsockets.c573 zend_long sec, usec = 0; local
576 …if (zend_parse_parameters(ZEND_NUM_ARGS(), "a!a!a!l!|l", &r_array, &w_array, &e_array, &sec, &sec_…
616 tv.tv_sec = sec + (usec / 1000000);
619 tv.tv_sec = sec;
1798 zval *sec, *usec; local
1890 if ((sec = zend_hash_str_find(opt_ht, sec_key, sizeof(sec_key) - 1)) == NULL) {
1899 convert_to_long(sec);
1902 tv.tv_sec = Z_LVAL_P(sec);
1907 timeout = Z_LVAL_P(sec) * 1000 + Z_LVAL_P(usec) / 1000;

Completed in 61 milliseconds

12