/PHP-7.3/ext/mysqli/ |
H A D | mysqli_warning.c | 43 while (w) { in php_clear_warnings() 44 n = w; in php_clear_warnings() 47 w = w->next; in php_clear_warnings() 68 return w; in php_new_warning() 88 first = w; in php_get_warnings() 93 prev = w; in php_get_warnings() 115 return w; in php_new_warning() 160 first = w; in php_get_warnings() 165 prev = w; in php_get_warnings() 191 if (w && w->next) { in PHP_METHOD() [all …]
|
/PHP-7.3/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_uhc.c | 128 if (w >= 0 && w < uhc1_ucs_table_size) { in mbfl_filt_conv_uhc_wchar() 130 w = uhc1_ucs_table[w]; in mbfl_filt_conv_uhc_wchar() 132 w = 0; in mbfl_filt_conv_uhc_wchar() 136 if (w >= 0 && w < uhc2_ucs_table_size) { in mbfl_filt_conv_uhc_wchar() 138 w = uhc2_ucs_table[w]; in mbfl_filt_conv_uhc_wchar() 140 w = 0; in mbfl_filt_conv_uhc_wchar() 144 if (w >= 0 && w < uhc3_ucs_table_size) { in mbfl_filt_conv_uhc_wchar() 146 w = uhc3_ucs_table[w]; in mbfl_filt_conv_uhc_wchar() 148 w = 0; in mbfl_filt_conv_uhc_wchar() 152 if (w <= 0) { in mbfl_filt_conv_uhc_wchar() [all …]
|
H A D | mbfilter_euc_jp_win.c | 110 int c1, s, w, n; in mbfl_filt_conv_eucjpwin_wchar() local 134 w = 0; in mbfl_filt_conv_eucjpwin_wchar() 153 if (w == 0) { in mbfl_filt_conv_eucjpwin_wchar() 162 if (w <= 0) { in mbfl_filt_conv_eucjpwin_wchar() 171 w = (c1 << 8) | c; in mbfl_filt_conv_eucjpwin_wchar() 181 w = 0xfec0 + c; in mbfl_filt_conv_eucjpwin_wchar() 186 w = 0x8e00 | c; in mbfl_filt_conv_eucjpwin_wchar() 214 w = 0; in mbfl_filt_conv_eucjpwin_wchar() 228 w = 0; in mbfl_filt_conv_eucjpwin_wchar() 230 if (w == 0x00A6) { in mbfl_filt_conv_eucjpwin_wchar() [all …]
|
H A D | mbfilter_euc_tw.c | 107 int c1, s, w, plane; in mbfl_filt_conv_euctw_wchar() local 131 if (w >= 0 && w < cns11643_1_ucs_table_size) { in mbfl_filt_conv_euctw_wchar() 132 w = cns11643_1_ucs_table[w]; in mbfl_filt_conv_euctw_wchar() 134 w = 0; in mbfl_filt_conv_euctw_wchar() 136 if (w <= 0) { in mbfl_filt_conv_euctw_wchar() 137 w = (c1 << 8) | c; in mbfl_filt_conv_euctw_wchar() 145 w = (c1 << 8) | c; in mbfl_filt_conv_euctw_wchar() 161 w = (c1 << 8) | c; in mbfl_filt_conv_euctw_wchar() 178 w = (c1 << 8) | c; in mbfl_filt_conv_euctw_wchar() 191 w = 0; in mbfl_filt_conv_euctw_wchar() [all …]
|
H A D | mbfilter_euc_kr.c | 106 int c1, w, flag; in mbfl_filt_conv_euckr_wchar() local 134 if (w >= 0 && w < uhc2_ucs_table_size) { in mbfl_filt_conv_euckr_wchar() 135 w = uhc2_ucs_table[w]; in mbfl_filt_conv_euckr_wchar() 137 w = 0; in mbfl_filt_conv_euckr_wchar() 141 if (w >= 0 && w < uhc3_ucs_table_size) { in mbfl_filt_conv_euckr_wchar() 142 w = uhc3_ucs_table[w]; in mbfl_filt_conv_euckr_wchar() 144 w = 0; in mbfl_filt_conv_euckr_wchar() 148 if (w <= 0) { in mbfl_filt_conv_euckr_wchar() 149 w = (c1 << 8) | c; in mbfl_filt_conv_euckr_wchar() 157 w = (c1 << 8) | c; in mbfl_filt_conv_euckr_wchar() [all …]
|
H A D | mbfilter_sjis_mobile.c | 285 int w = s; in mbfilter_sjis_emoji_docomo2unicode() local 290 w = 0x20E3; in mbfilter_sjis_emoji_docomo2unicode() 303 if (!w) { in mbfilter_sjis_emoji_docomo2unicode() 304 w = s; in mbfilter_sjis_emoji_docomo2unicode() 309 return w; in mbfilter_sjis_emoji_docomo2unicode() 357 return w; in mbfilter_sjis_emoji_kddi2unicode() 374 w = 0x20E3; in mbfilter_sjis_emoji_sb2unicode() 405 return w; in mbfilter_sjis_emoji_sb2unicode() 642 w = 0; in mbfl_filt_conv_sjis_mobile_wchar() 735 w = 0; in mbfl_filt_conv_sjis_mobile_wchar() [all …]
|
H A D | mbfilter_gb18030.c | 90 if (w <= tbl[2*k+1]) { in mbfl_bisec_srch() 106 if (w == tbl[0]) { in mbfl_bisec_srch2() 112 if (w < tbl[k]) { in mbfl_bisec_srch2() 175 if (w <= 0 && in mbfl_filt_conv_gb18030_wchar() 190 if (w <= 0) { in mbfl_filt_conv_gb18030_wchar() 197 if (w >= 0 && w < cp936_ucs_table_size) { in mbfl_filt_conv_gb18030_wchar() 198 w = cp936_ucs_table[w]; in mbfl_filt_conv_gb18030_wchar() 200 w = 0; in mbfl_filt_conv_gb18030_wchar() 202 if (w <= 0) { in mbfl_filt_conv_gb18030_wchar() 211 w = (c1 << 8) | c; in mbfl_filt_conv_gb18030_wchar() [all …]
|
H A D | mbfilter_euc_jp.c | 107 int c1, s, w; in mbfl_filt_conv_eucjp_wchar() local 135 w = 0; in mbfl_filt_conv_eucjp_wchar() 137 if (w <= 0) { in mbfl_filt_conv_eucjp_wchar() 146 w = (c1 << 8) | c; in mbfl_filt_conv_eucjp_wchar() 147 w &= MBFL_WCSGROUP_MASK; in mbfl_filt_conv_eucjp_wchar() 156 w = 0xfec0 + c; in mbfl_filt_conv_eucjp_wchar() 161 w = 0x8e00 | c; in mbfl_filt_conv_eucjp_wchar() 162 w &= MBFL_WCSGROUP_MASK; in mbfl_filt_conv_eucjp_wchar() 185 w = 0; in mbfl_filt_conv_eucjp_wchar() 187 if (w <= 0) { in mbfl_filt_conv_eucjp_wchar() [all …]
|
H A D | mbfilter_cp51932.c | 116 int c1, s, w; in mbfl_filt_conv_cp51932_wchar() local 128 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_cp51932_wchar() 138 w = 0; in mbfl_filt_conv_cp51932_wchar() 157 if (w == 0) { in mbfl_filt_conv_cp51932_wchar() 166 if (w <= 0) { in mbfl_filt_conv_cp51932_wchar() 168 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_cp51932_wchar() 175 w = (c1 << 8) | c; in mbfl_filt_conv_cp51932_wchar() 176 w &= MBFL_WCSGROUP_MASK; in mbfl_filt_conv_cp51932_wchar() 185 w = 0xfec0 + c; in mbfl_filt_conv_cp51932_wchar() 190 w = 0x8e00 | c; in mbfl_filt_conv_cp51932_wchar() [all …]
|
H A D | mbfilter_sjis_2004.c | 238 if (w <= 0) { in mbfl_filt_conv_jis2004_wchar() 246 if (w <= 0) { in mbfl_filt_conv_jis2004_wchar() 254 if (w <= 0) { in mbfl_filt_conv_jis2004_wchar() 279 w = 0xfec0 + c; in mbfl_filt_conv_jis2004_wchar() 284 w = 0x8e00 | c; in mbfl_filt_conv_jis2004_wchar() 306 w = c | 0x8f00; in mbfl_filt_conv_jis2004_wchar() 310 w = c & 0x7f; in mbfl_filt_conv_jis2004_wchar() 346 w = 0; in mbfl_filt_conv_jis2004_wchar() 350 if (w <= 0) { in mbfl_filt_conv_jis2004_wchar() 358 if (w <= 0) { in mbfl_filt_conv_jis2004_wchar() [all …]
|
H A D | mbfilter_euc_cn.c | 106 int c1, w; in mbfl_filt_conv_euccn_wchar() local 116 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_euccn_wchar() 117 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_euccn_wchar() 127 if (w >= 0 && w < cp936_ucs_table_size) { in mbfl_filt_conv_euccn_wchar() 128 w = cp936_ucs_table[w]; in mbfl_filt_conv_euccn_wchar() 130 w = 0; in mbfl_filt_conv_euccn_wchar() 132 if (w <= 0) { in mbfl_filt_conv_euccn_wchar() 133 w = (c1 << 8) | c; in mbfl_filt_conv_euccn_wchar() 134 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_euccn_wchar() 141 w = (c1 << 8) | c; in mbfl_filt_conv_euccn_wchar() [all …]
|
H A D | mbfilter_sjis.c | 154 int c1, s1, s2, w; in mbfl_filt_conv_sjis_wchar() local 178 if (w >= 0 && w < jisx0208_ucs_table_size) { in mbfl_filt_conv_sjis_wchar() 179 w = jisx0208_ucs_table[w]; in mbfl_filt_conv_sjis_wchar() 181 w = 0; in mbfl_filt_conv_sjis_wchar() 183 if (w <= 0) { in mbfl_filt_conv_sjis_wchar() 185 w = (s1 << 8) | s2; in mbfl_filt_conv_sjis_wchar() 186 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_sjis_wchar() 189 w = (c1 << 8) | c; in mbfl_filt_conv_sjis_wchar() 190 w &= MBFL_WCSGROUP_MASK; in mbfl_filt_conv_sjis_wchar() 198 w = (c1 << 8) | c; in mbfl_filt_conv_sjis_wchar() [all …]
|
H A D | mbfilter_cp932.c | 151 int c1, s, s1, s2, w; in mbfl_filt_conv_cp932_wchar() local 163 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_cp932_wchar() 164 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_cp932_wchar() 173 w = 0; in mbfl_filt_conv_cp932_wchar() 193 if (w == 0) { in mbfl_filt_conv_cp932_wchar() 203 w = s - (94*94) + 0xe000; in mbfl_filt_conv_cp932_wchar() 206 if (w <= 0) { in mbfl_filt_conv_cp932_wchar() 207 w = (s1 << 8) | s2; in mbfl_filt_conv_cp932_wchar() 208 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_cp932_wchar() 215 w = (c1 << 8) | c; in mbfl_filt_conv_cp932_wchar() [all …]
|
H A D | mbfilter_sjis_open.c | 150 int c1, s, s1, s2, w; in mbfl_filt_conv_sjis_open_wchar() local 162 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_sjis_open_wchar() 163 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_sjis_open_wchar() 172 w = 0; in mbfl_filt_conv_sjis_open_wchar() 192 if (w == 0) { in mbfl_filt_conv_sjis_open_wchar() 202 w = s - (94*94) + 0xe000; in mbfl_filt_conv_sjis_open_wchar() 205 if (w <= 0) { in mbfl_filt_conv_sjis_open_wchar() 206 w = (s1 << 8) | s2; in mbfl_filt_conv_sjis_open_wchar() 207 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_sjis_open_wchar() 214 w = (c1 << 8) | c; in mbfl_filt_conv_sjis_open_wchar() [all …]
|
H A D | mbfilter_cp936.c | 108 int c1, c2, w = -1; in mbfl_filt_conv_cp936_wchar() local 141 if (w <= 0 && in mbfl_filt_conv_cp936_wchar() 156 if (w <= 0) { in mbfl_filt_conv_cp936_wchar() 159 if (w >= 0 && w < cp936_ucs_table_size) { in mbfl_filt_conv_cp936_wchar() 160 w = cp936_ucs_table[w]; in mbfl_filt_conv_cp936_wchar() 162 w = 0; in mbfl_filt_conv_cp936_wchar() 164 if (w <= 0) { in mbfl_filt_conv_cp936_wchar() 165 w = (c1 << 8) | c; in mbfl_filt_conv_cp936_wchar() 166 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_cp936_wchar() 173 w = (c1 << 8) | c; in mbfl_filt_conv_cp936_wchar() [all …]
|
H A D | mbfilter_iso2022_kr.c | 84 int c1, w, flag; in mbfl_filt_conv_2022kr_wchar() local 123 if (w >= 0 && w < uhc2_ucs_table_size) { in mbfl_filt_conv_2022kr_wchar() 124 w = uhc2_ucs_table[w]; in mbfl_filt_conv_2022kr_wchar() 126 w = 0; in mbfl_filt_conv_2022kr_wchar() 130 if (w >= 0 && w < uhc3_ucs_table_size) { in mbfl_filt_conv_2022kr_wchar() 131 w = uhc3_ucs_table[w]; in mbfl_filt_conv_2022kr_wchar() 133 w = 0; in mbfl_filt_conv_2022kr_wchar() 137 if (w <= 0) { in mbfl_filt_conv_2022kr_wchar() 138 w = (c1 << 8) | c; in mbfl_filt_conv_2022kr_wchar() 148 w = (c1 << 8) | c; in mbfl_filt_conv_2022kr_wchar() [all …]
|
H A D | mbfilter_big5.c | 163 int c1, w, c2; in mbfl_filt_conv_big5_wchar() local 181 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_big5_wchar() 196 if (w >= 0 && w < big5_ucs_table_size) { in mbfl_filt_conv_big5_wchar() 197 w = big5_ucs_table[w]; in mbfl_filt_conv_big5_wchar() 199 w = 0; in mbfl_filt_conv_big5_wchar() 221 if (w <= 0) { in mbfl_filt_conv_big5_wchar() 222 w = (c1 << 8) | c; in mbfl_filt_conv_big5_wchar() 223 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_big5_wchar() 224 w |= MBFL_WCSPLANE_BIG5; in mbfl_filt_conv_big5_wchar() 230 w = (c1 << 8) | c; in mbfl_filt_conv_big5_wchar() [all …]
|
H A D | mbfilter_iso2022jp_mobile.c | 147 int c1, s, w, snd = 0; in mbfl_filt_conv_2022jp_mobile_wchar() local 168 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_2022jp_mobile_wchar() 176 w = 0; in mbfl_filt_conv_2022jp_mobile_wchar() 200 if (w == 0) { in mbfl_filt_conv_2022jp_mobile_wchar() 206 w = 0; in mbfl_filt_conv_2022jp_mobile_wchar() 215 if (w > 0 && snd > 0) { in mbfl_filt_conv_2022jp_mobile_wchar() 220 if (w <= 0) { in mbfl_filt_conv_2022jp_mobile_wchar() 221 w = (c1 << 8) | c; in mbfl_filt_conv_2022jp_mobile_wchar() 222 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_2022jp_mobile_wchar() 231 w = (c1 << 8) | c; in mbfl_filt_conv_2022jp_mobile_wchar() [all …]
|
H A D | mbfilter_iso2022_jp_ms.c | 96 int c1, s, w; in mbfl_filt_conv_2022jpms_wchar() local 127 w = 0; in mbfl_filt_conv_2022jpms_wchar() 150 if (w == 0) { in mbfl_filt_conv_2022jpms_wchar() 158 w = 0; in mbfl_filt_conv_2022jpms_wchar() 161 if (w <= 0) { in mbfl_filt_conv_2022jpms_wchar() 162 w = (c1 << 8) | c; in mbfl_filt_conv_2022jpms_wchar() 163 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_2022jpms_wchar() 171 if (w <= 0) { in mbfl_filt_conv_2022jpms_wchar() 173 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_2022jpms_wchar() 183 w = (c1 << 8) | c; in mbfl_filt_conv_2022jpms_wchar() [all …]
|
H A D | mbfilter_hz.c | 85 int c1, s, w; in mbfl_filt_conv_hz_wchar() local 99 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_hz_wchar() 100 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_hz_wchar() 112 w = cp936_ucs_table[s]; in mbfl_filt_conv_hz_wchar() 114 w = 0; in mbfl_filt_conv_hz_wchar() 116 if (w <= 0) { in mbfl_filt_conv_hz_wchar() 117 w = (c1 << 8) | c; in mbfl_filt_conv_hz_wchar() 118 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_hz_wchar() 119 w |= MBFL_WCSPLANE_GB2312; in mbfl_filt_conv_hz_wchar() 125 w = (c1 << 8) | c; in mbfl_filt_conv_hz_wchar() [all …]
|
/PHP-7.3/ext/hash/ |
H A D | hash_gost.c | 71 ((w[4] & 0x000000ff) << 16) | ((w[6] & 0x000000ff) << 24); \ 73 ((w[4] & 0x0000ff00) << 8) | ((w[6] & 0x0000ff00) << 16); \ 75 (w[4] & 0x00ff0000) | ((w[6] & 0x00ff0000) << 8); \ 77 ((w[4] & 0xff000000) >> 8) | (w[6] & 0xff000000); \ 78 key[4] = (w[1] & 0x000000ff) | ((w[3] & 0x000000ff) << 8) | \ 79 ((w[5] & 0x000000ff) << 16) | ((w[7] & 0x000000ff) << 24); \ 81 ((w[5] & 0x0000ff00) << 8) | ((w[7] & 0x0000ff00) << 16); \ 83 (w[5] & 0x00ff0000) | ((w[7] & 0x00ff0000) << 8); \ 85 ((w[5] & 0xff000000) >> 8) | (w[7] & 0xff000000); 196 X(w, u, v); \ [all …]
|
/PHP-7.3/ext/standard/tests/array/ |
H A D | array_reduce.phpt | 14 function reduce_int($w, $v) { return $w + strlen($v); } 19 function reduce_float($w, $v) { return $w + strlen($v) / 10; } 24 function reduce_string($w, $v) { return $w . $v; } 29 function reduce_array($w, $v) { $w[$v]++; return $w; } 34 function reduce_null($w, $v) { return $w . $v; }
|
/PHP-7.3/ext/pcre/tests/ |
H A D | 004.phpt | 6 …(?:(?:unsigned|struct)\s+)?\w+)(?:\s*(\*+)\s+|\s+(\**))(\w+(?:\[\s*\w*\s*\])?)\s*(?:(=)[^,;]+)?((?… 9 var_dump(preg_match_all('/(?:\([^)]+\))?(&?)([\w>.()-]+(?:\[\w+\])?)\s*,?((?:\)*\s*=)?)/S', '&a, b,… 15 var_dump(preg_split('/PHP_(?:NAMED_)?(?:FUNCTION|METHOD)\s*\((\w+(?:,\s*\w+)?)\)/S', "PHP_FUNCTION(…
|
/PHP-7.3/ext/standard/tests/streams/ |
H A D | bug46024.phpt | 11 ,array(0 => array('pipe', 'r'), 1 => array('pipe', 'w')) 19 $w = array($pipes[0]); 21 $ret = stream_select($r, $w, $e, 1); 22 var_dump($ret === (count($r) + count($w))); 26 $w = array($pipes[0]); 28 $ret = stream_select($r, $w, $e, 1); 29 var_dump($ret === (count($r) + count($w)));
|
/PHP-7.3/ext/opcache/Optimizer/ |
H A D | zend_worklist.h | 74 #define ZEND_WORKLIST_ALLOCA(w, _len, use_heap) do { \ argument 75 …(w)->stack.buf = (int*)do_alloca(ZEND_MM_ALIGNED_SIZE(sizeof(int) * _len) + sizeof(zend_ulong) * z… 76 (w)->stack.len = 0; \ 77 (w)->stack.capacity = _len; \ 78 (w)->visited = (zend_bitset)((char*)(w)->stack.buf + ZEND_MM_ALIGNED_SIZE(sizeof(int) * _len)); \ 79 memset((w)->visited, 0, sizeof(zend_ulong) * zend_bitset_len(_len)); \ 82 #define ZEND_WORKLIST_FREE_ALLOCA(w, use_heap) \ argument 83 free_alloca((w)->stack.buf, use_heap)
|