Home
last modified time | relevance | path

Searched refs:u (Results 26 – 50 of 285) sorted by relevance

12345678910>>...12

/PHP-7.4/ext/spl/
H A Dspl_directory.c236 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read()
325 intern->u.file.open_mode = estrndup(intern->u.file.open_mode, intern->u.file.open_mode_len); in spl_filesystem_file_open()
328 ZVAL_RES(&intern->u.file.zresource, intern->u.file.stream->res); in spl_filesystem_file_open()
551 &intern->u.file.open_mode, &intern->u.file.open_mode_len, in spl_filesystem_object_create_type()
649 ZVAL_STRINGL(&tmp, intern->u.dir.sub_path, intern->u.dir.sub_path_len); in spl_filesystem_object_get_debug_info()
1546 if (intern->u.dir.sub_path && intern->u.dir.sub_path[0]) { in SPL_METHOD()
1547 …subdir->u.dir.sub_path_len = spprintf(&subdir->u.dir.sub_path, 0, "%s%c%s", intern->u.dir.sub_path… in SPL_METHOD()
1549 subdir->u.dir.sub_path_len = strlen(intern->u.dir.entry.d_name); in SPL_METHOD()
1550 subdir->u.dir.sub_path = estrndup(intern->u.dir.entry.d_name, subdir->u.dir.sub_path_len); in SPL_METHOD()
1570 RETURN_STRINGL(intern->u.dir.sub_path, intern->u.dir.sub_path_len); in SPL_METHOD()
[all …]
/PHP-7.4/ext/intl/collator/
H A Dcollator_is_numeric.c26 UChar c = *u; in collator_u_strtod()
30 c = *++u; in collator_u_strtod()
32 nstart = u; in collator_u_strtod()
35 c = *++u; in collator_u_strtod()
40 c = *++u; in collator_u_strtod()
44 c = *++u; in collator_u_strtod()
47 c = *++u; in collator_u_strtod()
55 c = *++u; in collator_u_strtod()
57 c = *++u; in collator_u_strtod()
62 c = *++u; in collator_u_strtod()
[all …]
/PHP-7.4/ext/dba/libcdb/
H A Dcdb.c133 uint32 u; in cdb_findnext() local
136 u = cdb_hash(key, len); in cdb_findnext()
143 c->khash = u; in cdb_findnext()
144 u >>= 8; in cdb_findnext()
145 u %= c->hslots; in cdb_findnext()
146 u <<= 3; in cdb_findnext()
147 c->kpos = c->hpos + u; in cdb_findnext()
160 uint32_unpack(buf, &u); in cdb_findnext()
161 if (u == c->khash) { in cdb_findnext()
164 uint32_unpack(buf, &u); in cdb_findnext()
[all …]
/PHP-7.4/tests/lang/string/
H A Dunicode_escape.phpt6 var_dump("\u{61}"); // ASCII "a" - characters below U+007F just encode as ASCII, as it's UTF-8
7 var_dump("\u{FF}"); // y with diaeresis
8 var_dump("\u{ff}"); // case-insensitive
9 var_dump("\u{2603}"); // Unicode snowman
10 var_dump("\u{1F602}"); // FACE WITH TEARS OF JOY emoji
11 var_dump("\u{0000001F602}"); // Leading zeroes permitted
H A Dunicode_escape_surrogates.phpt9 var_dump(bin2hex("\u{D801}"));
10 var_dump(bin2hex("\u{DC00}"));
11 var_dump(bin2hex("\u{D801}\u{DC00}")); // CESU-8 encoding of U+10400
/PHP-7.4/ext/intl/tests/
H A Dspoofchecker_007.phpt17 $mixed = "\u{91CE}\u{7403}\u{30FC}";
22 $mixed = "\u{91CE}\u{7403}\u{30FC} abc";
/PHP-7.4/ext/date/tests/
H A Ddate_time_fractions.phpt8 $ms = date_create()->format('u');
16 echo $dt->modify( "+1 day" )->format( "Y-m-d H:i:s.u" ), "\n";
19 echo $dt->modify( "-3 months" )->format( "Y-m-d H:i:s.u" ), "\n";
25 echo $dt->modify( "yesterday" )->format( "Y-m-d H:i:s.u" ), "\n";
28 echo $dt->modify( "noon" )->format( "Y-m-d H:i:s.u" ), "\n";
31 echo $dt->modify( "10 weekday" )->format( "Y-m-d H:i:s.u" ), "\n";
45 echo $dt0->format( "Y-m-d H:i:s.u" ), "\n";
46 echo $dt1->format( "Y-m-d H:i:s.u" ), "\n";
47 echo $dt2->format( "Y-m-d H:i:s.u" ), "\n";
48 echo $dt3->format( "Y-m-d H:i:s.u" ), "\n";
[all …]
/PHP-7.4/ext/standard/
H A Dnet.c106 zval u; in iface_append_unicast() local
108 array_init(&u); in iface_append_unicast()
109 add_assoc_long(&u, "flags", flags); in iface_append_unicast()
114 add_assoc_str(&u, "address", host); in iface_append_unicast()
118 add_assoc_str(&u, "netmask", host); in iface_append_unicast()
122 add_assoc_str(&u, "broadcast", host); in iface_append_unicast()
126 add_assoc_str(&u, "ptp", host); in iface_append_unicast()
129 add_next_index_zval(unicast, &u); in iface_append_unicast()
159 PIP_ADAPTER_UNICAST_ADDRESS u = NULL; in PHP_FUNCTION() local
223 for (u = p->FirstUnicastAddress; u; u = u->Next) { in PHP_FUNCTION()
[all …]
H A Dmt_rand.c88 #define hiBit(u) ((u) & 0x80000000U) /* mask all but highest bit of u */ argument
89 #define loBit(u) ((u) & 0x00000001U) /* mask all but lowest bit of u */ argument
90 #define loBits(u) ((u) & 0x7FFFFFFFU) /* mask the highest bit of u */ argument
91 #define mixBits(u, v) (hiBit(u)|loBits(v)) /* move hi bit of u to hi bit of v */ argument
93 #define twist(m,u,v) (m ^ (mixBits(u,v)>>1) ^ ((uint32_t)(-(int32_t)(loBit(v))) & 0x9908b0dfU)) argument
94 #define twist_php(m,u,v) (m ^ (mixBits(u,v)>>1) ^ ((uint32_t)(-(int32_t)(loBit(u))) & 0x9908b0dfU)) argument
/PHP-7.4/ext/pcre/tests/
H A Dbug79188.phpt6 var_dump(preg_replace("//u", "", "a" . str_repeat("\u{1f612}", 10)));
8 "//u", function() { return ""; }, "a" . str_repeat("\u{1f612}", 10)));
H A Dbug42298.phpt2 Bug #42298 (pcre gives bogus results with /u)
6 preg_match_all('/\S\S/u', $str, $m); var_dump($m);
7 preg_match_all('/\S{2}/u', $str, $m); var_dump($m);
10 preg_match_all('/\W\W/u', $str, $m); var_dump($m);
11 preg_match_all('/\W{2}/u', $str, $m); var_dump($m);
H A Dbug27103.phpt2 Bug #27103 (preg_split('//u') incorrectly splits UTF-8 strings into octets)
5 if (@preg_match('/./u', '') === false) {
18 iter(preg_split('//u', $teststr, -1, PREG_SPLIT_NO_EMPTY));
19 preg_match_all('/./u', $teststr, $matches);
/PHP-7.4/ext/standard/tests/strings/
H A Dvsprintf_basic7.phpt18 $format1 = "%u";
19 $format2 = "%u %u";
20 $format3 = "%u %u %u";
H A Dvsprintf_basic7_64bit.phpt18 $format1 = "%u";
19 $format2 = "%u %u";
20 $format3 = "%u %u %u";
H A Dvprintf_basic7_64bit.phpt18 $format1 = "%u";
19 $format2 = "%u %u";
20 $format3 = "%u %u %u";
H A Dvprintf_basic7.phpt18 $format1 = "%u";
19 $format2 = "%u %u";
20 $format3 = "%u %u %u";
H A Dbug26973.phpt10 printf("%+05u\n", 200);
11 printf("%+05u\n", -200);
17 printf("%05u\n", 200);
18 printf("%05u\n", -200);
H A Dvfprintf_basic7_64bit.phpt18 $format1 = "%u";
19 $format2 = "%u %u";
20 $format3 = "%u %u %u";
H A Dsprintf_basic7.phpt21 $format1 = "%u";
22 $format2 = "%u %u";
23 $format3 = "%u %u %u";
H A Dsprintf_basic7_64bit.phpt17 $format1 = "%u";
18 $format2 = "%u %u";
19 $format3 = "%u %u %u";
H A Dvfprintf_basic7.phpt18 $format1 = "%u";
19 $format2 = "%u %u";
20 $format3 = "%u %u %u";
H A Dsscanf_basic6.phpt20 $format = "%u %u %u %u %u %u";
/PHP-7.4/ext/mbstring/tests/
H A Dmb_ord.phpt8 0x20bb7 === mb_ord("\u{20bb7}"),
9 false === mb_ord("\u{d800}"),
15 mb_ord("\u{d800}", "typo"),
16 mb_ord("\u{d800}", "pass"),
17 mb_ord("\u{d800}", "jis"),
18 mb_ord("\u{d800}", "cp50222"),
19 mb_ord("\u{d800}", "utf-7"),
/PHP-7.4/ext/spl/tests/
H A Dbug78409.phpt7 $u = [
12 $a->__unserialize($u);
13 var_dump($u);
/PHP-7.4/ext/tidy/tests/
H A D012.phpt106 <b>Hi</b><i>Bye<u>Test</u></i>
174 string(21) "<i>Bye<u>Test</u></i>"
213 string(11) "<u>Test</u>"
215 string(1) "u"
317 string(21) "<i>Bye<u>Test</u></i>"
356 string(11) "<u>Test</u>"
358 string(1) "u"
417 string(11) "<u>Test</u>"
419 string(1) "u"

Completed in 57 milliseconds

12345678910>>...12