Home
last modified time | relevance | path

Searched refs:us (Results 1 – 25 of 83) sorted by relevance

1234

/php-src/main/streams/
H A Duserspace.c322 us = emalloc(sizeof(*us)); in user_wrapper_opener()
323 us->wrapper = uwrap; in user_wrapper_opener()
331 efree(us); in user_wrapper_opener()
371 efree(us); in user_wrapper_opener()
411 us = emalloc(sizeof(*us)); in user_wrapper_opendir()
419 efree(us); in user_wrapper_opendir()
447 efree(us); in user_wrapper_opendir()
572 assert(us != NULL); in php_userstreamop_write()
621 assert(us != NULL); in php_userstreamop_read()
708 efree(us); in php_userstreamop_close()
[all …]
/php-src/ext/json/
H A Djson_encoder.c322 unsigned int us; in php_json_escape_string() local
360 us = (unsigned char)s[pos]; in php_json_escape_string()
374 us = (unsigned char)s[0]; in php_json_escape_string()
404 || us < 0x2028 || us > 0x2029)) { in php_json_escape_string()
408 if (us >= 0x10000) { in php_json_escape_string()
411 us -= 0x10000; in php_json_escape_string()
413 us = (unsigned short)((us >> 10) | 0xd800); in php_json_escape_string()
421 us = next_us; in php_json_escape_string()
429 dst[5] = digits[us & 0xf]; in php_json_escape_string()
436 switch (us) { in php_json_escape_string()
[all …]
/php-src/ext/date/lib/
H A Dinterval.c55 …ne)->h == (*two)->h && (*one)->i == (*two)->i && (*one)->s == (*two)->s && (*one)->us > (*two)->us) in sort_old_to_new()
65 ((*one)->sse == (*two)->sse && (*one)->us > (*two)->us) in sort_old_to_new()
94 rt->us = two->us - one->us; in timelib_diff_with_tzid()
171 rt->us = two->us - one->us; in timelib_diff()
229 t->relative.us = interval->us * bias; in timelib_add()
258 t->relative.us = 0 - (interval->us * bias); in timelib_sub()
311 if (interval->us == 0) { in timelib_add_wall()
317 do_range_limit(0, 1000000, 1000000, &temp_interval->us, &temp_interval->s); in timelib_add_wall()
320 t->us += temp_interval->us * bias; in timelib_add_wall()
364 if (interval->us == 0) { in timelib_sub_wall()
[all …]
H A Dtimelib.c78 if (t1->us == t2->us) { in timelib_time_compare()
82 return (t1->us < t2->us) ? -1 : 1; in timelib_time_compare()
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()
312 if (d->us > 0) { in timelib_dump_date()
313 printf(" 0.%06lld", d->us); in timelib_dump_date()
342 if (d->relative.us) { in timelib_dump_date()
343 printf(" 0.%06lld", d->relative.us); in timelib_dump_date()
/php-src/ext/intl/tests/
H A Dlocale_accept.phpt17 'en-us,en;q=0.5',
19 'zh, en-us;q=0.8, en;q=0.7',
37 Accepting en-us,en;q=0.5: en_US
39 Accepting zh, en-us;q=0.8, en;q=0.7: zh
/php-src/sapi/fpm/tests/
H A Dbug74083-concurrent-reload.phpt52 echo "Reached interval $interval us with $step us steps\n";
65 Reached interval 25000 us with 1000 us steps
H A Dbug76601-reload-child-signals.phpt63 echo "Reached interval $interval us with $step us steps\n";
78 Reached interval 25000 us with 1000 us steps
/php-src/Zend/tests/readonly_props/
H A Dvariation.phpt36 public function us() {
65 function us($test) {
72 foreach (['r', 'w', 'rw', 'im', 'is', 'us'] as $op) {
100 Init: 1, scope: 1, op: us: Cannot unset readonly property Test::$prop
106 Init: 1, scope: 0, op: us: Cannot unset readonly property Test::$prop
112 Init: 0, scope: 1, op: us: done
118 Init: 0, scope: 0, op: us: Cannot unset readonly property Test::$prop from global scope
H A Dvariation_nested.phpt42 function us($test) {
48 foreach (['r', 'w', 'rw', 'im', 'is', 'us'] as $op) {
71 Init: 1, op: us: done
77 Init: 0, op: us: done
/php-src/ext/date/tests/
H A Dbug81273.phpt10 $us = new DateTime($time, $tz_us);
12 $diff = $auz->diff($us);
H A D009_win32.phpt6 if (false === setlocale(LC_TIME, "en-us")) die("skip, couldn't set the locale to en-us");
13 setlocale(LC_TIME, "en-us");
/php-src/ext/fileinfo/tests/
H A Dbug57547.phpt22 string(28) "text/x-php; charset=us-ascii"
23 string(28) "text/x-php; charset=us-ascii"
H A Dfinfo_file_basic.phpt25 string(28) "text/x-php; charset=us-ascii"
27 string(29) "text/x-file; charset=us-ascii"
H A Dfinfo_buffer_basic-mb.phpt42 string(28) "text/plain; charset=us-ascii"
45 string(28) "text/plain; charset=us-ascii"
H A Dfinfo_buffer_variation1-mb.phpt41 string(28) "text/plain; charset=us-ascii"
44 string(28) "text/plain; charset=us-ascii"
H A Dfinfo_buffer_variation1.phpt41 string(28) "text/plain; charset=us-ascii"
44 string(28) "text/plain; charset=us-ascii"
H A Dfinfo_buffer_basic.phpt42 string(28) "text/plain; charset=us-ascii"
45 string(28) "text/plain; charset=us-ascii"
H A Dprecedural_finfo_in_method.phpt20 string(28) "text/x-php; charset=us-ascii"
/php-src/ext/openssl/tests/
H A Dsni_server.phpt17 "us.php.net" => __DIR__ . "/sni_server_us.pem"
50 $ctxArr['peer_name'] = 'us.php.net';
63 string(%d) "us.php.net"
H A Dsni_server_key_cert.phpt23 "us.php.net" => [
59 $ctxArr['peer_name'] = 'us.php.net';
72 string(%d) "us.php.net"
/php-src/ext/iconv/tests/
H A Dbug63839.phpt17 Content-Language: en-us
44 string(5) "en-us"
66 string(5) "en-us"
/php-src/ext/zlib/tests/
H A Ddata.inc15 Must give us pause. There's the respect
28 And makes us rather bear those ills we have
30 Thus conscience does make cowards of us all,
42 as a Christian is? If you prick us, do we not bleed? If you
43 tickle us, do we not laugh? If you poison us, do we not die?
44 And if you wrong us, shall we not revenge? If we are like you
/php-src/ext/standard/tests/strings/
H A Dtrim1.phpt35 us
40 var_dump( trim($str, "us\ning") );
/php-src/ext/fileinfo/libmagic/
H A Dprint.c203 tbuf, sizeof(tbuf), m->value.us, m->type)); in file_mdump()
264 file_fmtvarint(char *buf, size_t blen, const unsigned char *us, int t) in file_fmtvarint() argument
267 file_varint2uintmax_t(us, t, NULL))); in file_fmtvarint()
353 file_fmtnum(char *buf, size_t blen, const char *us, int base) in file_fmtnum() argument
359 val = strtoull(us, &endptr, base); in file_fmtnum()
/php-src/ext/mbstring/tests/
H A Dmb_decode_mimeheader_variation4.phpt50 var_dump(bin2hex(mb_decode_mimeheader("=?us?B?")));
54 var_dump(bin2hex(mb_decode_mimeheader("=?us?B?-")));
58 var_dump(bin2hex(mb_decode_mimeheader("=?us?B?-s")));
62 var_dump(bin2hex(mb_decode_mimeheader("=?us?B??")));
66 var_dump(bin2hex(mb_decode_mimeheader("=?us?B?\x00?=")));

Completed in 110 milliseconds

1234