Home
last modified time | relevance | path

Searched refs:w (Results 1 – 25 of 1005) sorted by relevance

12345678910>>...41

/PHP-8.2/ext/mbstring/libmbfl/filters/
H A Dmbfilter_big5.c154 int k, c1, w; in mbfl_filt_conv_big5_wchar() local
180 if (w >= 0 && w < big5_ucs_table_size) { in mbfl_filt_conv_big5_wchar()
181 w = big5_ucs_table[w]; in mbfl_filt_conv_big5_wchar()
183 w = 0; in mbfl_filt_conv_big5_wchar()
406 w = (w < big5_ucs_table_size) ? big5_ucs_table[w] : 0; in mb_big5_to_wchar()
407 if (!w) in mb_big5_to_wchar()
409 *out++ = w; in mb_big5_to_wchar()
480 w = (w < big5_ucs_table_size) ? big5_ucs_table[w] : 0; in mb_cp950_to_wchar()
538 if (!w) in mb_cp950_to_wchar()
578 if (w >= 0xE000 && w <= 0xF848) { in mb_wchar_to_cp950()
[all …]
H A Dmbfilter_euc_cn.c98 int c1, w; in mbfl_filt_conv_euccn_wchar() local
122 …} else if ((w >= 0x1921 && w <= 0x192A) || w == 0x1963 || (w >= 0x1C59 && w <= 0x1C7E) || (w >= 0x… in mbfl_filt_conv_euccn_wchar()
123 w = 0; in mbfl_filt_conv_euccn_wchar()
125 w = cp936_ucs_table[w]; in mbfl_filt_conv_euccn_wchar()
244 …} else if ((w >= 0x1921 && w <= 0x192A) || w == 0x1963 || (w >= 0x1C59 && w <= 0x1C7E) || (w >= 0x… in mb_euccn_to_wchar()
245 w = 0; in mb_euccn_to_wchar()
247 w = cp936_ucs_table[w]; in mb_euccn_to_wchar()
277 if (w != 0xB7 && w != 0x144 && w != 0x148 && w != 0x251 && w != 0x261) { in mb_wchar_to_euccn()
283 } else if (w != 0x2014 && (w < 0x2170 || w > 0x2179)) { in mb_wchar_to_euccn()
299 } else if (w >= 0xFF01 && w <= 0xFF5D) { in mb_wchar_to_euccn()
[all …]
H A Dmbfilter_hz.c78 int c1, s, w; in mbfl_filt_conv_hz_wchar() local
105 w = 0x30FB; in mbfl_filt_conv_hz_wchar()
107 w = 0x2015; in mbfl_filt_conv_hz_wchar()
109 w = 0x2225; in mbfl_filt_conv_hz_wchar()
111 w = 0; in mbfl_filt_conv_hz_wchar()
116 if (w <= 0) { in mbfl_filt_conv_hz_wchar()
336 …if (w == 0xB7 || w == 0x144 || w == 0x148 || w == 0x251 || w == 0x261 || w == 0x2CA || w == 0x2CB … in mb_wchar_to_hz()
344w == 0x2010 || w == 0x2013 || w == 0x2014 || w == 0x2016 || w == 0x2025 || w == 0x2035 || w == 0x2… in mb_wchar_to_hz()
352w == 0x3006 || w == 0x3007 || w == 0x3012 || w == 0x3231 || w == 0x32A3 || w >= 0x3300 || (w >= 0x… in mb_wchar_to_hz()
364 } else if (w >= 0xFF01 && w <= 0xFF5D) { in mb_wchar_to_hz()
[all …]
H A Dmbfilter_uhc.c120 if (w >= 0 && w < uhc1_ucs_table_size) { in mbfl_filt_conv_uhc_wchar()
121 w = uhc1_ucs_table[w]; in mbfl_filt_conv_uhc_wchar()
125 if (w >= 0 && w < uhc2_ucs_table_size) { in mbfl_filt_conv_uhc_wchar()
126 w = uhc2_ucs_table[w]; in mbfl_filt_conv_uhc_wchar()
130 if (w >= 0 && w < uhc3_ucs_table_size) { in mbfl_filt_conv_uhc_wchar()
131 w = uhc3_ucs_table[w]; in mbfl_filt_conv_uhc_wchar()
217 w = uhc1_ucs_table[w]; in mb_uhc_to_wchar()
222 w = uhc2_ucs_table[w]; in mb_uhc_to_wchar()
227 w = uhc3_ucs_table[w]; in mb_uhc_to_wchar()
230 if (!w) { in mb_uhc_to_wchar()
[all …]
H A Dmbfilter_euc_jp_win.c100 int c1, s, w, n; in mbfl_filt_conv_eucjpwin_wchar() local
122 w = 0; in mbfl_filt_conv_eucjpwin_wchar()
142 if (w == 0) { in mbfl_filt_conv_eucjpwin_wchar()
152 if (w <= 0) { in mbfl_filt_conv_eucjpwin_wchar()
190 w = 0; in mbfl_filt_conv_eucjpwin_wchar()
204 w = 0; in mbfl_filt_conv_eucjpwin_wchar()
211 if (w <= 0) { in mbfl_filt_conv_eucjpwin_wchar()
389 if (!w) in mb_eucjpwin_to_wchar()
391 *out++ = w; in mb_eucjpwin_to_wchar()
432 if (!w) in mb_eucjpwin_to_wchar()
[all …]
H A Dmbfilter_sjis_mobile.c614 w = 0; in mbfl_filt_conv_sjis_mobile_wchar()
937 *out++ = w ? w : MBFL_BAD_INPUT; in mb_sjis_docomo_to_wchar()
957 uint32_t w; in mb_wchar_to_sjis_docomo() local
984 } else if (w >= 0xE000 && w < (0xE000 + 20*94)) { in mb_wchar_to_sjis_docomo()
1034 if (w == '#' || (w >= '0' && w <= '9')) { in mb_wchar_to_sjis_docomo()
1168 *out++ = w ? w : MBFL_BAD_INPUT; in mb_sjis_kddi_to_wchar()
1214 } else if (w >= 0xE000 && w < (0xE000 + 20*94)) { in mb_wchar_to_sjis_kddi()
1258 if (w == '#' || (w >= '0' && w <= '9')) { in mb_wchar_to_sjis_kddi()
1475 *out++ = w ? w : MBFL_BAD_INPUT; in mb_sjis_sb_to_wchar()
1521 } else if (w >= 0xE000 && w < (0xE000 + 20*94)) { in mb_wchar_to_sjis_sb()
[all …]
H A Dmbfilter_euc_kr.c97 int c1, w, flag; in mbfl_filt_conv_euckr_wchar() local
124 w = uhc2_ucs_table[w]; in mbfl_filt_conv_euckr_wchar()
128 w = uhc3_ucs_table[w]; in mbfl_filt_conv_euckr_wchar()
131 if (w <= 0) { in mbfl_filt_conv_euckr_wchar()
224 w = uhc2_ucs_table[w]; in mb_euckr_to_wchar()
225 if (!w) in mb_euckr_to_wchar()
227 *out++ = w; in mb_euckr_to_wchar()
231 w = uhc3_ucs_table[w]; in mb_euckr_to_wchar()
232 if (!w) in mb_euckr_to_wchar()
234 *out++ = w; in mb_euckr_to_wchar()
[all …]
H A Dmbfilter_cp936.c101 int c1, c2, w = -1; in mbfl_filt_conv_cp936_wchar() local
134 if (w <= 0 && in mbfl_filt_conv_cp936_wchar()
149 if (w <= 0) { in mbfl_filt_conv_cp936_wchar()
305 …if ((w >= 0xA2AB && w <= 0xA9FE) || (w >= 0xD7FA && w <= 0xD7FE) || (w >= 0xFE50 && w <= 0xFEA0)) { in mb_cp936_to_wchar()
343 if (w >= ucs_a1_cp936_table_min && w < ucs_a1_cp936_table_max) { in mb_wchar_to_cp936()
360 } else if (w >= ucs_i_cp936_table_min && w < ucs_i_cp936_table_max) { in mb_wchar_to_cp936()
363 } else if (w >= 0xE000 && w <= 0xE864) { in mb_wchar_to_cp936()
365 if (w < 0xe766) { in mb_wchar_to_cp936()
409 } else if (w >= 0xFF01 && w <= 0xFF5D) { in mb_wchar_to_cp936()
411 } else if (w >= 0xFFE0 && w <= 0xFFE5) { in mb_wchar_to_cp936()
[all …]
H A Dmbfilter_cp932.c228 w = 0; in mbfl_filt_conv_cp932_wchar()
248 if (w == 0) { in mbfl_filt_conv_cp932_wchar()
262 if (w <= 0) { in mbfl_filt_conv_cp932_wchar()
430 if (w == 0) { in mb_cp932_to_wchar()
444 if (!w) in mb_cp932_to_wchar()
446 *out++ = w; in mb_cp932_to_wchar()
470 if (w >= ucs_a1_jis_table_min && w < ucs_a1_jis_table_max) { in mb_wchar_to_cp932()
476 } else if (w >= ucs_i_jis_table_min && w < ucs_i_jis_table_max) { in mb_wchar_to_cp932()
480 } else if (w >= 0xE000 && w < (0xE000 + 20*94)) { in mb_wchar_to_cp932()
551 if (w >= ucs_a1_jis_table_min && w < ucs_a1_jis_table_max) { in mb_wchar_to_sjiswin()
[all …]
H A Dmbfilter_cp51932.c104 int c1, s, w; in mbfl_filt_conv_cp51932_wchar() local
124 w = 0; in mbfl_filt_conv_cp51932_wchar()
143 if (w == 0) { in mbfl_filt_conv_cp51932_wchar()
152 if (w <= 0) { in mbfl_filt_conv_cp51932_wchar()
164 w = 0xfec0 + c; in mbfl_filt_conv_cp51932_wchar()
308 if (w == 0) { in mb_cp51932_to_wchar()
318 if (!w) in mb_cp51932_to_wchar()
320 *out++ = w; in mb_cp51932_to_wchar()
351 if (w == 0) { in mb_wchar_to_cp51932()
358 } else if (w >= ucs_i_jis_table_min && w < ucs_i_jis_table_max) { in mb_wchar_to_cp51932()
[all …]
H A Dmbfilter_gb18030.c85 if (w < lo) { in mbfl_bisec_srch()
157 if (w <= 0 && in mbfl_filt_conv_gb18030_wchar()
170 if (w <= 0) { in mbfl_filt_conv_gb18030_wchar()
211 if (w >= 0 && w <= 39419) { in mbfl_filt_conv_gb18030_wchar()
419 *out++ = (w > 0x10FFFF) ? MBFL_BAD_INPUT : w; in mb_gb18030_to_wchar()
515 } else if (w >= 0xFA0C && w <= 0xFA29) { in mb_wchar_to_gb18030()
530 } else if (w >= 0xFF01 && w <= 0xFF5D) { in mb_wchar_to_gb18030()
532 } else if (w >= 0xFFE0 && w <= 0xFFE5) { in mb_wchar_to_gb18030()
535 } else if (w >= 0xE000 && w <= 0xE864) { in mb_wchar_to_gb18030()
576 if (!s && w >= 0x80 && w <= 0xFFFF) { in mb_wchar_to_gb18030()
[all …]
H A Dmbfilter_utf8_mobile.c460 if ((w == '#' || (w >= '0' && w <= '9')) && len) { in mb_wchar_to_utf8_docomo()
496 w = c1; in mb_wchar_to_utf8_docomo()
506 …out = mb_convert_buf_add3(out, ((w >> 12) & 0xF) | 0xE0, ((w >> 6) & 0x3F) | 0x80, (w & 0x3F) | 0x… in mb_wchar_to_utf8_docomo()
509 …out = mb_convert_buf_add4(out, ((w >> 18) & 0x7) | 0xF0, ((w >> 12) & 0x3F) | 0x80, ((w >> 6) & 0x… in mb_wchar_to_utf8_docomo()
537 if ((w == '#' || (w >= '0' && w <= '9')) && len) { in mb_wchar_to_utf8_kddi()
593 w = c1; in mb_wchar_to_utf8_kddi()
603 …out = mb_convert_buf_add3(out, ((w >> 12) & 0xF) | 0xE0, ((w >> 6) & 0x3F) | 0x80, (w & 0x3F) | 0x… in mb_wchar_to_utf8_kddi()
606 …out = mb_convert_buf_add4(out, ((w >> 18) & 0x7) | 0xF0, ((w >> 12) & 0x3F) | 0x80, ((w >> 6) & 0x… in mb_wchar_to_utf8_kddi()
649 if ((w == '#' || (w >= '0' && w <= '9')) && len) { in mb_wchar_to_utf8_sb()
705 w = c1; in mb_wchar_to_utf8_sb()
[all …]
H A Dmbfilter_euc_tw.c99 int c1, s, w; in mbfl_filt_conv_euctw_wchar() local
120 if (w >= 0 && w < cns11643_1_ucs_table_size) { in mbfl_filt_conv_euctw_wchar()
121 w = cns11643_1_ucs_table[w]; in mbfl_filt_conv_euctw_wchar()
123 w = 0; in mbfl_filt_conv_euctw_wchar()
126 if (w <= 0) { in mbfl_filt_conv_euctw_wchar()
166 w = 0; in mbfl_filt_conv_euctw_wchar()
276 w = cns11643_1_ucs_table[w]; in mb_euctw_to_wchar()
278 w = 0; in mb_euctw_to_wchar()
280 if (!w) in mb_euctw_to_wchar()
282 *out++ = w; in mb_euctw_to_wchar()
[all …]
H A Dmbfilter_sjis.c145 int s1, s2, w; in mbfl_filt_conv_sjis_wchar() local
167 if (w >= 0 && w < jisx0208_ucs_table_size) { in mbfl_filt_conv_sjis_wchar()
168 w = jisx0208_ucs_table[w]; in mbfl_filt_conv_sjis_wchar()
169 if (!w) in mbfl_filt_conv_sjis_wchar()
273 w = jisx0208_ucs_table[w]; in mb_sjis_to_wchar()
274 if (!w) in mb_sjis_to_wchar()
276 *out++ = w; in mb_sjis_to_wchar()
303 if (w >= ucs_a1_jis_table_min && w < ucs_a1_jis_table_max) { in mb_wchar_to_sjis()
307 } else if (w >= ucs_i_jis_table_min && w < ucs_i_jis_table_max) { in mb_wchar_to_sjis()
309 } else if (w >= ucs_r_jis_table_min && w < ucs_r_jis_table_max) { in mb_wchar_to_sjis()
[all …]
H A Dmbfilter_euc_jp.c103 int c1, s, w = 0; in mbfl_filt_conv_eucjp_wchar() local
128 if (!w) in mbfl_filt_conv_eucjp_wchar()
143 w = 0xfec0 + c; in mbfl_filt_conv_eucjp_wchar()
162 if (!w) in mbfl_filt_conv_eucjp_wchar()
270 if (!w) in mb_eucjp_to_wchar()
272 *out++ = w; in mb_eucjp_to_wchar()
292 if (!w) in mb_eucjp_to_wchar()
294 *out++ = w; in mb_eucjp_to_wchar()
327 } else if (w >= ucs_a1_jis_table_min && w < ucs_a1_jis_table_max) { in mb_wchar_to_eucjp()
331 } else if (w >= ucs_i_jis_table_min && w < ucs_i_jis_table_max) { in mb_wchar_to_eucjp()
[all …]
H A Dmbfilter_iso2022jp_mobile.c214 w = 0; in mbfl_filt_conv_2022jp_mobile_wchar()
246 if (w == 0) { in mbfl_filt_conv_2022jp_mobile_wchar()
254 if (w <= 0) { in mbfl_filt_conv_2022jp_mobile_wchar()
584 if (!w) { in mb_iso2022jp_kddi_to_wchar()
592 *out++ = w ? w : MBFL_BAD_INPUT; in mb_iso2022jp_kddi_to_wchar()
620 if (w >= ucs_a1_jis_table_min && w < ucs_a1_jis_table_max) { in mb_wchar_to_iso2022jp_kddi()
624 } else if (w >= ucs_i_jis_table_min && w < ucs_i_jis_table_max) { in mb_wchar_to_iso2022jp_kddi()
626 } else if (w >= ucs_r_jis_table_min && w < ucs_r_jis_table_max) { in mb_wchar_to_iso2022jp_kddi()
648 if ((w == '#' || (w >= '0' && w <= '9')) && len) { in mb_wchar_to_iso2022jp_kddi()
715 if (w == 0) in mb_wchar_to_iso2022jp_kddi()
[all …]
H A Dmbfilter_sjis_2004.c811 *out++ = w ? w : MBFL_BAD_INPUT; in mb_sjis2004_to_wchar()
840 …if (w == 0xE6 || (w >= 0x254 && w <= 0x2E9) || (w >= 0x304B && w <= 0x3053) || (w >= 0x30AB && w <… in mb_wchar_to_sjis2004()
851 if ((w == 0x254 || w == 0x28C || w == 0x259 || w == 0x25A) && w2 == 0x301) { in mb_wchar_to_sjis2004()
975 *out++ = w ? w : MBFL_BAD_INPUT; in mb_eucjp2004_to_wchar()
1018 *out++ = w ? w : MBFL_BAD_INPUT; in mb_eucjp2004_to_wchar()
1054 …if (w == 0xE6 || (w >= 0x254 && w <= 0x2E9) || (w >= 0x304B && w <= 0x3053) || (w >= 0x30AB && w <… in mb_wchar_to_eucjp2004()
1065 if ((w == 0x254 || w == 0x28C || w == 0x259 || w == 0x25A) && w2 == 0x301) { in mb_wchar_to_eucjp2004()
1237 *out++ = w ? w : MBFL_BAD_INPUT; in mb_iso2022jp2004_to_wchar()
1274 *out++ = w ? w : MBFL_BAD_INPUT; in mb_iso2022jp2004_to_wchar()
1308 …if (w == 0xE6 || (w >= 0x254 && w <= 0x2E9) || (w >= 0x304B && w <= 0x3053) || (w >= 0x30AB && w <… in mb_wchar_to_iso2022jp2004()
[all …]
H A Dmbfilter_iso2022_kr.c85 int w = 0; in mbfl_filt_conv_2022kr_wchar() local
125 w = uhc2_ucs_table[w]; in mbfl_filt_conv_2022kr_wchar()
130 w = uhc3_ucs_table[w]; in mbfl_filt_conv_2022kr_wchar()
136 if (w <= 0) { in mbfl_filt_conv_2022kr_wchar()
335 w = uhc2_ucs_table[w]; in mb_iso2022kr_to_wchar()
340 w = uhc3_ucs_table[w]; in mb_iso2022kr_to_wchar()
343 if (!w) in mb_iso2022kr_to_wchar()
345 *out++ = w; in mb_iso2022kr_to_wchar()
381 if (w >= ucs_a1_uhc_table_min && w < ucs_a1_uhc_table_max) { in mb_wchar_to_iso2022kr()
387 } else if (w >= ucs_i_uhc_table_min && w < ucs_i_uhc_table_max) { in mb_wchar_to_iso2022kr()
[all …]
H A Dmbfilter_iso2022_jp_ms.c94 int c1, s, w; in mbfl_filt_conv_2022jpms_wchar() local
116 w = 0; in mbfl_filt_conv_2022jpms_wchar()
140 if (w == 0) { in mbfl_filt_conv_2022jpms_wchar()
150 if (w <= 0) { in mbfl_filt_conv_2022jpms_wchar()
444 if (!w) { in mb_iso2022jpms_to_wchar()
457 *out++ = w ? w : MBFL_BAD_INPUT; in mb_iso2022jpms_to_wchar()
485 if (w >= ucs_a1_jis_table_min && w < ucs_a1_jis_table_max) { in mb_wchar_to_iso2022jpms()
489 } else if (w >= ucs_i_jis_table_min && w < ucs_i_jis_table_max) { in mb_wchar_to_iso2022jpms()
493 } else if (w >= 0xE000 && w < (0xE000 + 20*94)) { in mb_wchar_to_iso2022jpms()
519 if (!s && w) { in mb_wchar_to_iso2022jpms()
[all …]
H A Dmbfilter_sjis_mac.c183 w = 0; in mbfl_filt_conv_sjis_mac_wchar()
207 if (w == 0) { in mbfl_filt_conv_sjis_mac_wchar()
216 if (w == 0) { in mbfl_filt_conv_sjis_mac_wchar()
236 if (w == 0) { in mbfl_filt_conv_sjis_mac_wchar()
258 w = s2; in mbfl_filt_conv_sjis_mac_wchar()
269 if (w <= 0) { in mbfl_filt_conv_sjis_mac_wchar()
737 if (w) { in mb_sjismac_to_wchar()
798 if (!w) in mb_sjismac_to_wchar()
877 uint32_t w; in mb_wchar_to_sjismac() local
890 w = *in++; in mb_wchar_to_sjismac()
[all …]
H A Dmbfilter_jis.c119 int c1, s, w; in mbfl_filt_conv_jis_wchar() local
164 w = 0; in mbfl_filt_conv_jis_wchar()
167 if (w <= 0) { in mbfl_filt_conv_jis_wchar()
174 w = 0; in mbfl_filt_conv_jis_wchar()
177 if (w <= 0) { in mbfl_filt_conv_jis_wchar()
573 if (!w) { in mb_iso2022jp_to_wchar()
580 if (!w) { in mb_iso2022jp_to_wchar()
584 *out++ = w; in mb_iso2022jp_to_wchar()
623 if (w >= ucs_a1_jis_table_min && w < ucs_a1_jis_table_max) { in mb_wchar_to_iso2022jp()
627 } else if (w >= ucs_i_jis_table_min && w < ucs_i_jis_table_max) { in mb_wchar_to_iso2022jp()
[all …]
/PHP-8.2/ext/mysqli/
H A Dmysqli_warning.c41 while (w) { in php_clear_warnings()
42 n = w; in php_clear_warnings()
45 w = w->next; in php_clear_warnings()
55 MYSQLI_WARNING *w; in php_new_warning() local
66 return w; in php_new_warning()
111 first = w; in php_get_warnings()
116 prev = w; in php_get_warnings()
139 if (w && w->next) { in PHP_METHOD()
140 w = w->next; in PHP_METHOD()
152 MYSQLI_WARNING *w; in mysqli_warning_message() local
[all …]
/PHP-8.2/ext/hash/
H A Dhash_gost.c69 ((w[4] & 0x000000ff) << 16) | ((w[6] & 0x000000ff) << 24); \
71 ((w[4] & 0x0000ff00) << 8) | ((w[6] & 0x0000ff00) << 16); \
73 (w[4] & 0x00ff0000) | ((w[6] & 0x00ff0000) << 8); \
75 ((w[4] & 0xff000000) >> 8) | (w[6] & 0xff000000); \
76 key[4] = (w[1] & 0x000000ff) | ((w[3] & 0x000000ff) << 8) | \
77 ((w[5] & 0x000000ff) << 16) | ((w[7] & 0x000000ff) << 24); \
79 ((w[5] & 0x0000ff00) << 8) | ((w[7] & 0x0000ff00) << 16); \
81 (w[5] & 0x00ff0000) | ((w[7] & 0x00ff0000) << 8); \
83 ((w[5] & 0xff000000) >> 8) | (w[7] & 0xff000000);
194 X(w, u, v); \
[all …]
/PHP-8.2/ext/ctype/tests/
H A Dlc_ctype_inheritance.phpt7 if (setlocale(LC_ALL, 'invalid') === 'invalid') { die('skip setlocale() is broken /w musl'); }
17 echo 'preg_match(\w, \xe4): ';
18 var_dump(preg_match('/\w/', "\xe4"));
22 echo 'preg_match(\w, \xe4): ';
23 var_dump(preg_match('/\w/', "\xe4"));
28 echo 'preg_match(\w, \xe4): ';
29 var_dump(preg_match('/\w/', "\xe4"));
34 preg_match(\w, \xe4): int(0)
37 preg_match(\w, \xe4): int(0)
41 preg_match(\w, \xe4): int(1)
/PHP-8.2/ext/standard/tests/array/
H A Darray_reduce.phpt10 function reduce_int($w, $v) { return $w + strlen($v); }
15 function reduce_float($w, $v) { return $w + strlen($v) / 10; }
20 function reduce_string($w, $v) { return $w . $v; }
25 function reduce_array($w, $v) { $w[$v]++; return $w; }
30 function reduce_null($w, $v) { return $w . $v; }

Completed in 64 milliseconds

12345678910>>...41