Home
last modified time | relevance | path

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

12

/php-src/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-src/ext/opcache/jit/ir/dynasm/
H A Ddasm_mips.h47 #define DASM_SEC2POS(sec) ((sec)<<24) argument
169 int pos = sec->pos, ofs = sec->ofs; in dasm_put()
172 if (pos >= sec->epos) { in dasm_put()
173 DASM_M_GROW(Dst, int, sec->buf, sec->bsize, in dasm_put()
175 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
179 b = sec->rbuf; in dasm_put()
247 sec->pos = pos; in dasm_put()
248 sec->ofs = ofs; in dasm_put()
281 int *b = sec->rbuf; in dasm_link()
328 int *b = sec->buf; in dasm_encode()
[all …]
H A Ddasm_ppc.h47 #define DASM_SEC2POS(sec) ((sec)<<24) argument
169 int pos = sec->pos, ofs = sec->ofs; in dasm_put()
172 if (pos >= sec->epos) { in dasm_put()
173 DASM_M_GROW(Dst, int, sec->buf, sec->bsize, in dasm_put()
175 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
179 b = sec->rbuf; in dasm_put()
251 sec->pos = pos; in dasm_put()
252 sec->ofs = ofs; in dasm_put()
285 int *b = sec->rbuf; in dasm_link()
332 int *b = sec->buf; in dasm_encode()
[all …]
H A Ddasm_arm.h48 #define DASM_SEC2POS(sec) ((sec)<<24) argument
178 int pos = sec->pos, ofs = sec->ofs; in dasm_put()
181 if (pos >= sec->epos) { in dasm_put()
182 DASM_M_GROW(Dst, int, sec->buf, sec->bsize, in dasm_put()
184 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
188 b = sec->rbuf; in dasm_put()
268 sec->pos = pos; in dasm_put()
269 sec->ofs = ofs; in dasm_put()
302 int *b = sec->rbuf; in dasm_link()
350 int *b = sec->buf; in dasm_encode()
[all …]
H A Ddasm_x86.h46 #define DASM_SEC2POS(sec) ((sec)<<24) argument
171 int pos = sec->pos, ofs = sec->ofs, mrm = -1; in dasm_put()
174 if (pos >= sec->epos) { in dasm_put()
175 DASM_M_GROW(Dst, int, sec->buf, sec->bsize, in dasm_put()
177 sec->rbuf = sec->buf - DASM_POS2BIAS(pos); in dasm_put()
181 b = sec->rbuf; in dasm_put()
271 sec->pos = pos; in dasm_put()
272 sec->ofs = ofs; in dasm_put()
305 int *b = sec->rbuf; in dasm_link()
405 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 …]
/php-src/ext/dom/lexbor/lexbor/core/
H A Dstr.c395 != lexbor_str_res_map_lowercase[ sec[i] ]) in lexbor_str_data_ncasecmp_first()
412 != lexbor_str_res_map_lowercase[ sec[size] ]) in lexbor_str_data_ncasecmp_end()
440 != lexbor_str_res_map_lowercase[ sec[i] ]) in lexbor_str_data_ncasecmp()
480 != lexbor_str_res_map_lowercase[*sec]) in lexbor_str_data_casecmp()
490 sec++; in lexbor_str_data_casecmp()
501 if (first[size] != sec[size]) { in lexbor_str_data_ncmp_end()
526 return memcmp(first, sec, sizeof(lxb_char_t) * size) == 0; in lexbor_str_data_ncmp()
533 if (*first != *sec) { in lexbor_str_data_cmp()
542 sec++; in lexbor_str_data_cmp()
550 if (*first != *sec) { in lexbor_str_data_cmp_ws()
[all …]
H A Dstr.h134 lexbor_str_data_ncasecmp_first(const lxb_char_t *first, const lxb_char_t *sec,
137 lexbor_str_data_ncasecmp_end(const lxb_char_t *first, const lxb_char_t *sec,
143 lexbor_str_data_ncasecmp(const lxb_char_t *first, const lxb_char_t *sec,
146 lexbor_str_data_nlocmp_right(const lxb_char_t *first, const lxb_char_t *sec,
149 lexbor_str_data_nupcmp_right(const lxb_char_t *first, const lxb_char_t *sec,
152 lexbor_str_data_casecmp(const lxb_char_t *first, const lxb_char_t *sec);
155 lexbor_str_data_ncmp_end(const lxb_char_t *first, const lxb_char_t *sec,
161 lexbor_str_data_ncmp(const lxb_char_t *first, const lxb_char_t *sec,
165 lexbor_str_data_cmp(const lxb_char_t *first, const lxb_char_t *sec);
168 lexbor_str_data_cmp_ws(const lxb_char_t *first, const lxb_char_t *sec);
/php-src/ext/standard/
H A Duniqid.c46 int sec, usec; in PHP_FUNCTION() local
68 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-src/ext/fileinfo/libmagic/
H A Dcdf_time.c169 cdf_ctime(const time_t *sec, char *buf) in cdf_ctime() argument
171 char *ptr = *sec > MAX_CTIME ? NULL : ctime_r(sec, buf); in cdf_ctime()
176 CAST(long long, *sec)); in cdf_ctime()
179 CAST(long long, *sec)); in cdf_ctime()
/php-src/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-src/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_set_option_timeo_error.phpt11 $options_1 = array("sec" => 1, "usec" => "aaaaa");
12 $options_2 = array("sec" => new stdClass(), "usec" => "1");
61 socket_set_option(): Argument #4 ($value) must have key "sec"
H A Dsocket_icmp.phpt45 $timeout = ['sec' => 4, 'usec' => 0];
46 if (socket_select($read, $write, $except, $timeout['sec'], $timeout['usec']) > 0) {
H A Dsocket_setopt_basic.phpt17 $options = array("sec" => 1, "usec" => 0);
/php-src/Zend/tests/type_declarations/variance/
H A Dsuppressed_incompatible_return_type.phpt18 var_dump($date->modify("+1 sec"));

Completed in 40 milliseconds

12