/PHP-8.4/ext/dom/lexbor/lexbor/tag/ |
H A D | res.h | 35 {{.u.short_str = "a", .length = 1, .next = NULL}, LXB_TAG_A, 1, true}, 36 {{.u.short_str = "abbr", .length = 4, .next = NULL}, LXB_TAG_ABBR, 1, true}, 51 {{.u.short_str = "b", .length = 1, .next = NULL}, LXB_TAG_B, 1, true}, 61 {{.u.short_str = "br", .length = 2, .next = NULL}, LXB_TAG_BR, 1, true}, 73 {{.u.short_str = "dd", .length = 2, .next = NULL}, LXB_TAG_DD, 1, true}, 81 {{.u.short_str = "dl", .length = 2, .next = NULL}, LXB_TAG_DL, 1, true}, 82 {{.u.short_str = "dt", .length = 2, .next = NULL}, LXB_TAG_DT, 1, true}, 83 {{.u.short_str = "em", .length = 2, .next = NULL}, LXB_TAG_EM, 1, true}, 131 {{.u.short_str = "i", .length = 1, .next = NULL}, LXB_TAG_I, 1, true}, 174 {{.u.short_str = "p", .length = 1, .next = NULL}, LXB_TAG_P, 1, true}, [all …]
|
/PHP-8.4/ext/hash/murmur/ |
H A D | endianness.h | 13 # define BSWAP32(u) _byteswap_ulong(u) argument 14 # define BSWAP64(u) _byteswap_uint64(u) argument 23 # define BSWAP32(u) __builtin_bswap32(u) argument 24 # define BSWAP64(u) __builtin_bswap64(u) argument 27 # define BSWAP32(u) __builtin_bswap32(u) argument 30 # define BSWAP64(u) __builtin_bswap64(u) argument 36 FORCE_INLINE uint32_t BSWAP32(uint32_t u) in BSWAP32() argument 38 return (((u & 0xff000000) >> 24) in BSWAP32() 39 | ((u & 0x00ff0000) >> 8) in BSWAP32() 40 | ((u & 0x0000ff00) << 8) in BSWAP32() [all …]
|
/PHP-8.4/ext/dom/lexbor/lexbor/dom/interfaces/ |
H A D | attr_res.h | 24 {{.u.short_str = "#undef", .length = 6, .next = NULL}, 26 {{.u.short_str = "active", .length = 6, .next = NULL}, 28 {{.u.short_str = "alt", .length = 3, .next = NULL}, 34 {{.u.short_str = "class", .length = 5, .next = NULL}, 36 {{.u.short_str = "color", .length = 5, .next = NULL}, 40 {{.u.short_str = "dir", .length = 3, .next = NULL}, 44 {{.u.short_str = "face", .length = 4, .next = NULL}, 48 {{.u.short_str = "for", .length = 3, .next = NULL}, 54 {{.u.short_str = "href", .length = 4, .next = NULL}, 60 {{.u.short_str = "id", .length = 2, .next = NULL}, [all …]
|
/PHP-8.4/ext/opcache/tests/jit/ |
H A D | add_011.phpt | 14 $a &= $a-- + $a + $u; 22 Warning: Undefined variable $u in %sadd_011.php on line 5 25 Warning: Undefined variable $u in %sadd_011.php on line 5 28 Warning: Undefined variable $u in %sadd_011.php on line 5 31 Warning: Undefined variable $u in %sadd_011.php on line 5 34 Warning: Undefined variable $u in %sadd_011.php on line 5 37 Warning: Undefined variable $u in %sadd_011.php on line 5 40 Warning: Undefined variable $u in %sadd_011.php on line 5 43 Warning: Undefined variable $u in %sadd_011.php on line 5 46 Warning: Undefined variable $u in %sadd_011.php on line 5 [all …]
|
/PHP-8.4/ext/standard/tests/strings/ |
H A D | crc32.phpt | 7 printf("%u\n", crc32($i)); 9 printf("%u\n", crc32("1234567890123456")); 10 printf("%u\n", crc32("1234567890123456abc")); 11 printf("%u\n", crc32("12345678901234561234567890123456")); 12 printf("%u\n", crc32("12345678901234561234567890123456abc")); 13 printf("%u\n", crc32("123456789012345612345678901234561234567890123456")); 14 printf("%u\n", crc32("123456789012345612345678901234561234567890123456abc")); 15 printf("%u\n", crc32("1234567890123456123456789012345612345678901234561234567890123456")); 16 printf("%u\n", crc32("1234567890123456123456789012345612345678901234561234567890123456abc")); 17 printf("%u\n", crc32("12345678901234561234567890123456123456789012345612345678901234561234567890123… [all …]
|
H A D | vprintf_variation15.phpt | 18 '%u %+u %-u', 19 '%lu %4u %-4u', 20 '%10.4u %-10.4u %.4u', 21 '%\'#2u %\'2u %\'$2u %\'_2u', 22 '%3$u %4$u %1$u %2$u'
|
H A D | vprintf_variation15_64bit.phpt | 18 '%u %+u %-u', 19 '%lu %4u %-4u', 20 '%10.4u %-10.4u %.4u', 21 '%\'#2u %\'2u %\'$2u %\'_2u', 22 '%3$u %4$u %1$u %2$u'
|
H A D | sprintf_variation4.phpt | 2 sprintf %u With signed integer 32bit 14 $u = -43951789; 17 var_dump(sprintf("%%u = '%u'", $n)); // unsigned integer representation of a positive integer 18 var_dump(sprintf("%%u = '%u'", $u)); // unsigned integer representation of a negative integer 22 string(15) "%u = '43951789'" 23 string(17) "%u = '4251015507'"
|
H A D | sprintf_variation4_64bit.phpt | 2 sprintf %u With signed integer 32bit 14 $u = -43951789; 17 var_dump(sprintf("%%u = '%u'", $n)); // unsigned integer representation of a positive integer 18 var_dump(sprintf("%%u = '%u'", $u)); // unsigned integer representation of a negative integer 22 string(15) "%u = '43951789'" 23 string(27) "%u = '18446744073665599827'"
|
H A D | vprintf_variation16.phpt | 18 '%u %+u %-u 19 %lu %4u %-4u 20 %10.4u %-10.4u %.4u 21 %\'#2u %\'2u %\'$2u %\'_2u 22 %3$u %4$u %1$u %2$u';
|
H A D | vprintf_variation16_64bit.phpt | 18 '%u %+u %-u 19 %lu %4u %-4u 20 %10.4u %-10.4u %.4u 21 %\'#2u %\'2u %\'$2u %\'_2u 22 %3$u %4$u %1$u %2$u';
|
/PHP-8.4/ext/pcre/tests/ |
H A D | preg_match_caseless_restrict.phpt | 14 var_dump(preg_match('/AskZ/iur', "A\u{17f}kZ")); // no match 18 var_dump(preg_match('/AskZ/iu', "A\u{17f}kZ")); // match 19 var_dump(preg_match('/AskZ/iu', "As\u{212a}Z")); // match 22 var_dump(preg_match('/k/iu', "\u{212A}")); 23 var_dump(preg_match('/k/iur', "\u{212A}")); 49 var_dump(preg_match('/[^sk]+/iur', "A\u{17f}\u{212a}Z")); // match 50 var_dump(preg_match('/[^sk]+/iu', "A\u{17f}\u{212a}Z")); // match 55 var_dump(preg_match('/s(?r)s(?-r)s(?r:s)s/iu', "\u{17f}S\u{17f}S\u{17f}")); // match 56 var_dump(preg_match('/s(?r)s(?-r)s(?r:s)s/iu', "\u{17f}\u{17f}\u{17f}S\u{17f}")); // no match 57 var_dump(preg_match('/s(?r)s(?-r)s(?r:s)s/iu', "\u{17f}S\u{17f}\u{17f}\u{17f}")); // no match [all …]
|
H A D | bug66121.phpt | 6 var_dump(preg_replace('/(?<!ක)/u', '*', 'ක')); 7 var_dump(preg_replace('/(?<!ක)/u', '*', 'ම')); 9 var_dump(preg_replace('/(?<!k)/u', '*', 'k')); 10 var_dump(preg_replace('/(?<!k)/u', '*', 'm')); 12 preg_match_all('/(?<!ක)/u', 'ම', $matches, PREG_OFFSET_CAPTURE); 15 var_dump(preg_replace('/(?<!ක)/u', '*', "\xFCක")); 16 var_dump(preg_replace('/(?<!ක)/u', '*', "ක\xFC")); 17 var_dump(preg_match_all('/(?<!ක)/u', "\xFCම", $matches, PREG_OFFSET_CAPTURE)); 18 var_dump(preg_match_all('/(?<!ක)/u', "\xFCම", $matches, PREG_OFFSET_CAPTURE));
|
/PHP-8.4/ext/mbstring/tests/ |
H A D | mb_trim.phpt | 58 …u{00A0}\u{1680}\u{2000}\u{2001}\u{2002}\u{2003}\u{2004}\u{2005}\u{2006}\u{2007}\u{2008}\u{2009}\u{… 61 var_dump(mb_ltrim("\u{FFFE}漢字", "\u{FFFE}\u{FEFF}")); 62 …dump(bin2hex(mb_ltrim(mb_convert_encoding("\u{FFFE}漢字", "UTF-16LE", "UTF-8"), mb_convert_encoding(… 63 …dump(bin2hex(mb_ltrim(mb_convert_encoding("\u{FEFF}漢字", "UTF-16BE", "UTF-8"), mb_convert_encoding(… 78 var_dump(mb_trim( "\u{180F}", "", "NULL"));
|
H A D | unicode_versions.phpt | 18 print "Emoji (\u{1F418}): " . mb_strwidth("\u{1F418}", 'UTF-8') . "\n"; 21 print "Emoji (\u{1F6DC}): " . mb_strwidth("\u{1F6DC}", 'UTF-8') . "\n"; 24 print "Emoji (\u{2630}): " . mb_strwidth("\u{2630}", 'UTF-8') . "\n"; 28 print "Upper(\u{019b}) = \u{a7dc} : "; 29 var_dump(mb_strtoupper("\u{019b}", 'UTF-8') === "\u{a7dc}");
|
/PHP-8.4/ext/dom/lexbor/lexbor/ns/ |
H A D | res.h | 31 {{.u.short_str = "", .length = 0, .next = NULL}, LXB_NS__UNDEF, 1, true}, 32 {{.u.short_str = "", .length = 0, .next = NULL}, LXB_NS__ANY, 1, true}, 35 …{{.u.long_str = (lxb_char_t *) "http://www.w3.org/2000/svg", .length = 26, .next = NULL}, LXB_NS_S… 43 {{.u.short_str = "#undef", .length = 6, .next = NULL}, LXB_NS__UNDEF, 1, true}, 44 {{.u.short_str = "#any", .length = 4, .next = NULL}, LXB_NS__ANY, 1, true}, 45 {{.u.short_str = "html", .length = 4, .next = NULL}, LXB_NS_HTML, 1, true}, 46 {{.u.short_str = "math", .length = 4, .next = NULL}, LXB_NS_MATH, 1, true}, 47 {{.u.short_str = "svg", .length = 3, .next = NULL}, LXB_NS_SVG, 1, true}, 48 {{.u.short_str = "xlink", .length = 5, .next = NULL}, LXB_NS_XLINK, 1, true}, 49 {{.u.short_str = "xml", .length = 3, .next = NULL}, LXB_NS_XML, 1, true}, [all …]
|
/PHP-8.4/ext/hash/ |
H A D | hash_gost.c | 153 v[0] = h[0] ^ (u[1] << 16) ^ (u[0] >> 16); \ 154 v[1] = h[1] ^ (u[2] << 16) ^ (u[1] >> 16); \ 155 v[2] = h[2] ^ (u[3] << 16) ^ (u[2] >> 16); \ 156 v[3] = h[3] ^ (u[4] << 16) ^ (u[3] >> 16); \ 157 v[4] = h[4] ^ (u[5] << 16) ^ (u[4] >> 16); \ 158 v[5] = h[5] ^ (u[6] << 16) ^ (u[5] >> 16); \ 159 v[6] = h[6] ^ (u[7] << 16) ^ (u[6] >> 16); \ 160 v[7] = h[7] ^ (u[0] & 0xffff0000) ^ (u[0] << 16) ^ (u[7] >> 16) ^ \ 161 (u[1] & 0xffff0000) ^ (u[1] << 16) ^ (u[6] << 16) ^ (u[7] & 0xffff0000); 201 C(u); \ [all …]
|
/PHP-8.4/ext/dba/libcdb/ |
H A D | cdb_make.c | 141 uint32 u; in cdb_make_finish() local 159 u = c->count[i] * 2; in cdb_make_finish() 160 if (u > memsize) in cdb_make_finish() 161 memsize = u; in cdb_make_finish() 167 if (memsize > u) { in cdb_make_finish() 178 u = 0; in cdb_make_finish() 181 c->start[i] = u; in cdb_make_finish() 197 for (u = 0;u < len;++u) in cdb_make_finish() 198 c->hash[u].h = c->hash[u].p = 0; in cdb_make_finish() 201 for (u = 0;u < count;++u) { in cdb_make_finish() [all …]
|
H A D | cdb.c | 131 uint32 u; in cdb_findnext() local 134 u = cdb_hash(key, len); in cdb_findnext() 141 c->khash = u; in cdb_findnext() 142 u >>= 8; in cdb_findnext() 143 u %= c->hslots; in cdb_findnext() 144 u <<= 3; in cdb_findnext() 145 c->kpos = c->hpos + u; in cdb_findnext() 158 uint32_unpack(buf, &u); in cdb_findnext() 159 if (u == c->khash) { in cdb_findnext() 162 uint32_unpack(buf, &u); in cdb_findnext() [all …]
|
/PHP-8.4/ext/spl/ |
H A D | spl_directory.c | 113 if (intern->u.dir.dirp) { in spl_filesystem_object_destroy_object() 273 if (!intern->u.dir.dirp || !php_stream_readdir(intern->u.dir.dirp, &intern->u.dir.entry)) { in spl_filesystem_dir_read() 305 intern->u.dir.index = 0; in spl_filesystem_dir_open() 338 intern->u.file.context = php_stream_context_from_zval(intern->u.file.zcontext, 0); in spl_filesystem_file_open() 370 ZVAL_RES(&intern->u.file.zresource, intern->u.file.stream->res); in spl_filesystem_file_open() 756 intern->u.dir.index = 0; in PHP_METHOD() 799 intern->u.dir.index++; in PHP_METHOD() 1523 if (intern->u.dir.sub_path && ZSTR_LEN(intern->u.dir.sub_path)) { in PHP_METHOD() 1693 object->u.dir.index++; in spl_filesystem_dir_it_move_forward() 1775 object->u.dir.index++; in spl_filesystem_tree_it_move_forward() [all …]
|
/PHP-8.4/ext/dom/lexbor/lexbor/encoding/ |
H A D | decode.c | 214 if (ctx->u.lead != 0x00) { in lxb_encoding_decode_big5() 521 if (ctx->u.lead != 0x00) { in lxb_encoding_decode_euc_kr() 1231 ctx->u.lead = 0x00; in lxb_encoding_decode_utf_16() 1973 ctx->u.lead = 0x00; in lxb_encoding_decode_big5_single() 1989 ctx->u.lead = lead; in lxb_encoding_decode_big5_single() 2177 ctx->u.lead = 0x00; in lxb_encoding_decode_euc_kr_single() 2193 ctx->u.lead = lead; in lxb_encoding_decode_euc_kr_single() 2618 ctx->u.lead = 0x00; in lxb_encoding_decode_shift_jis_single() 2640 ctx->u.lead = lead; in lxb_encoding_decode_shift_jis_single() 2706 ctx->u.lead = 0x00; in lxb_encoding_decode_utf_16_single() [all …]
|
/PHP-8.4/ext/intl/collator/ |
H A D | collator_is_numeric.c | 22 UChar c = *u; in collator_u_strtod() 26 c = *++u; in collator_u_strtod() 28 nstart = u; in collator_u_strtod() 31 c = *++u; in collator_u_strtod() 36 c = *++u; in collator_u_strtod() 40 c = *++u; in collator_u_strtod() 43 c = *++u; in collator_u_strtod() 51 c = *++u; in collator_u_strtod() 53 c = *++u; in collator_u_strtod() 58 c = *++u; in collator_u_strtod() [all …]
|
/PHP-8.4/ext/date/tests/ |
H A D | date_period_microseconds.phpt | 10 echo "from " . $start->format('Y-m-d H:i:s.u') . " to " . $end->format('Y-m-d H:i:s.u') . " (exclus… 12 echo $day->format('Y-m-d H:i:s.u') . "\n"; 15 echo "from " . $start->format('Y-m-d H:i:s.u') . " to " . $end->format('Y-m-d H:i:s.u') . " (inclus… 17 echo $day->format('Y-m-d H:i:s.u') . "\n"; 21 echo "from " . $start->format('Y-m-d H:i:s.u') . " to " . $end->format('Y-m-d H:i:s.u') . " (exclus… 23 echo $day->format('Y-m-d H:i:s.u') . "\n"; 27 echo "from " . $start->format('Y-m-d H:i:s.u') . " to " . $end->format('Y-m-d H:i:s.u') . " (inclus… 29 echo $day->format('Y-m-d H:i:s.u') . "\n";
|
/PHP-8.4/tests/lang/string/ |
H A D | unicode_escape.phpt | 6 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
|
/PHP-8.4/ext/intl/tests/ |
H A D | spoofchecker_007.phpt | 19 $mixed = "\u{91CE}\u{7403}\u{30FC}"; 24 $mixed = "\u{91CE}\u{7403}\u{30FC} abc";
|