/PHP-8.0/ext/mysqli/ |
H A D | mysqli_warning.c | 41 while (w) { in php_clear_warnings() 42 n = w; in php_clear_warnings() 45 w = w->next; in php_clear_warnings() 66 return w; in php_new_warning() 86 first = w; in php_get_warnings() 91 prev = w; in php_get_warnings() 113 return w; in php_new_warning() 158 first = w; in php_get_warnings() 163 prev = w; in php_get_warnings() 187 if (w && w->next) { in PHP_METHOD() [all …]
|
/PHP-8.0/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_uhc.c | 125 if (w >= 0 && w < uhc1_ucs_table_size) { in mbfl_filt_conv_uhc_wchar() 127 w = uhc1_ucs_table[w]; in mbfl_filt_conv_uhc_wchar() 129 w = 0; in mbfl_filt_conv_uhc_wchar() 133 if (w >= 0 && w < uhc2_ucs_table_size) { in mbfl_filt_conv_uhc_wchar() 135 w = uhc2_ucs_table[w]; in mbfl_filt_conv_uhc_wchar() 137 w = 0; in mbfl_filt_conv_uhc_wchar() 141 if (w >= 0 && w < uhc3_ucs_table_size) { in mbfl_filt_conv_uhc_wchar() 143 w = uhc3_ucs_table[w]; in mbfl_filt_conv_uhc_wchar() 145 w = 0; in mbfl_filt_conv_uhc_wchar() 149 if (w <= 0) { in mbfl_filt_conv_uhc_wchar() [all …]
|
H A D | mbfilter_euc_tw.c | 104 int c1, s, w, plane; in mbfl_filt_conv_euctw_wchar() local 128 if (w >= 0 && w < cns11643_1_ucs_table_size) { in mbfl_filt_conv_euctw_wchar() 129 w = cns11643_1_ucs_table[w]; in mbfl_filt_conv_euctw_wchar() 131 w = 0; in mbfl_filt_conv_euctw_wchar() 133 if (w <= 0) { in mbfl_filt_conv_euctw_wchar() 134 w = (c1 << 8) | c; in mbfl_filt_conv_euctw_wchar() 142 w = (c1 << 8) | c; in mbfl_filt_conv_euctw_wchar() 158 w = (c1 << 8) | c; in mbfl_filt_conv_euctw_wchar() 175 w = (c1 << 8) | c; in mbfl_filt_conv_euctw_wchar() 188 w = 0; in mbfl_filt_conv_euctw_wchar() [all …]
|
H A D | mbfilter_euc_jp_win.c | 107 int c1, s, w, n; in mbfl_filt_conv_eucjpwin_wchar() local 131 w = 0; in mbfl_filt_conv_eucjpwin_wchar() 150 if (w == 0) { in mbfl_filt_conv_eucjpwin_wchar() 159 if (w <= 0) { in mbfl_filt_conv_eucjpwin_wchar() 168 w = (c1 << 8) | c; in mbfl_filt_conv_eucjpwin_wchar() 178 w = 0xfec0 + c; in mbfl_filt_conv_eucjpwin_wchar() 183 w = 0x8e00 | c; in mbfl_filt_conv_eucjpwin_wchar() 211 w = 0; in mbfl_filt_conv_eucjpwin_wchar() 225 w = 0; in mbfl_filt_conv_eucjpwin_wchar() 227 if (w == 0x00A6) { in mbfl_filt_conv_eucjpwin_wchar() [all …]
|
H A D | mbfilter_euc_kr.c | 103 int c1, w, flag; in mbfl_filt_conv_euckr_wchar() local 131 if (w >= 0 && w < uhc2_ucs_table_size) { in mbfl_filt_conv_euckr_wchar() 132 w = uhc2_ucs_table[w]; in mbfl_filt_conv_euckr_wchar() 134 w = 0; in mbfl_filt_conv_euckr_wchar() 138 if (w >= 0 && w < uhc3_ucs_table_size) { in mbfl_filt_conv_euckr_wchar() 139 w = uhc3_ucs_table[w]; in mbfl_filt_conv_euckr_wchar() 141 w = 0; in mbfl_filt_conv_euckr_wchar() 145 if (w <= 0) { in mbfl_filt_conv_euckr_wchar() 146 w = (c1 << 8) | c; in mbfl_filt_conv_euckr_wchar() 154 w = (c1 << 8) | c; in mbfl_filt_conv_euckr_wchar() [all …]
|
H A D | mbfilter_cp51932.c | 113 int c1, s, w; in mbfl_filt_conv_cp51932_wchar() local 125 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_cp51932_wchar() 135 w = 0; in mbfl_filt_conv_cp51932_wchar() 154 if (w == 0) { in mbfl_filt_conv_cp51932_wchar() 163 if (w <= 0) { in mbfl_filt_conv_cp51932_wchar() 165 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_cp51932_wchar() 172 w = (c1 << 8) | c; in mbfl_filt_conv_cp51932_wchar() 173 w &= MBFL_WCSGROUP_MASK; in mbfl_filt_conv_cp51932_wchar() 182 w = 0xfec0 + c; in mbfl_filt_conv_cp51932_wchar() 187 w = 0x8e00 | c; in mbfl_filt_conv_cp51932_wchar() [all …]
|
H A D | mbfilter_sjis_mobile.c | 284 int w = s; in mbfilter_sjis_emoji_docomo2unicode() local 289 w = 0x20E3; in mbfilter_sjis_emoji_docomo2unicode() 302 if (!w) { in mbfilter_sjis_emoji_docomo2unicode() 303 w = s; in mbfilter_sjis_emoji_docomo2unicode() 308 return w; in mbfilter_sjis_emoji_docomo2unicode() 356 return w; in mbfilter_sjis_emoji_kddi2unicode() 373 w = 0x20E3; in mbfilter_sjis_emoji_sb2unicode() 404 return w; in mbfilter_sjis_emoji_sb2unicode() 641 w = 0; in mbfl_filt_conv_sjis_mobile_wchar() 734 w = 0; in mbfl_filt_conv_sjis_mobile_wchar() [all …]
|
H A D | mbfilter_euc_jp.c | 104 int c1, s, w; in mbfl_filt_conv_eucjp_wchar() local 132 w = 0; in mbfl_filt_conv_eucjp_wchar() 134 if (w <= 0) { in mbfl_filt_conv_eucjp_wchar() 143 w = (c1 << 8) | c; in mbfl_filt_conv_eucjp_wchar() 144 w &= MBFL_WCSGROUP_MASK; in mbfl_filt_conv_eucjp_wchar() 153 w = 0xfec0 + c; in mbfl_filt_conv_eucjp_wchar() 158 w = 0x8e00 | c; in mbfl_filt_conv_eucjp_wchar() 159 w &= MBFL_WCSGROUP_MASK; in mbfl_filt_conv_eucjp_wchar() 182 w = 0; in mbfl_filt_conv_eucjp_wchar() 184 if (w <= 0) { in mbfl_filt_conv_eucjp_wchar() [all …]
|
H A D | mbfilter_gb18030.c | 87 if (w <= tbl[2*k+1]) { in mbfl_bisec_srch() 103 if (w == tbl[0]) { in mbfl_bisec_srch2() 109 if (w < tbl[k]) { in mbfl_bisec_srch2() 172 if (w <= 0 && in mbfl_filt_conv_gb18030_wchar() 187 if (w <= 0) { in mbfl_filt_conv_gb18030_wchar() 194 if (w >= 0 && w < cp936_ucs_table_size) { in mbfl_filt_conv_gb18030_wchar() 195 w = cp936_ucs_table[w]; in mbfl_filt_conv_gb18030_wchar() 197 w = 0; in mbfl_filt_conv_gb18030_wchar() 199 if (w <= 0) { in mbfl_filt_conv_gb18030_wchar() 208 w = (c1 << 8) | c; in mbfl_filt_conv_gb18030_wchar() [all …]
|
H A D | mbfilter_sjis_2004.c | 233 if (w <= 0) { in mbfl_filt_conv_jis2004_wchar() 241 if (w <= 0) { in mbfl_filt_conv_jis2004_wchar() 249 if (w <= 0) { in mbfl_filt_conv_jis2004_wchar() 274 w = 0xfec0 + c; in mbfl_filt_conv_jis2004_wchar() 279 w = 0x8e00 | c; in mbfl_filt_conv_jis2004_wchar() 301 w = c | 0x8f00; in mbfl_filt_conv_jis2004_wchar() 305 w = c & 0x7f; in mbfl_filt_conv_jis2004_wchar() 341 w = 0; in mbfl_filt_conv_jis2004_wchar() 345 if (w <= 0) { in mbfl_filt_conv_jis2004_wchar() 353 if (w <= 0) { in mbfl_filt_conv_jis2004_wchar() [all …]
|
H A D | mbfilter_euc_cn.c | 103 int c1, w; in mbfl_filt_conv_euccn_wchar() local 113 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_euccn_wchar() 114 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_euccn_wchar() 124 if (w >= 0 && w < cp936_ucs_table_size) { in mbfl_filt_conv_euccn_wchar() 125 w = cp936_ucs_table[w]; in mbfl_filt_conv_euccn_wchar() 127 w = 0; in mbfl_filt_conv_euccn_wchar() 129 if (w <= 0) { in mbfl_filt_conv_euccn_wchar() 130 w = (c1 << 8) | c; in mbfl_filt_conv_euccn_wchar() 131 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_euccn_wchar() 138 w = (c1 << 8) | c; in mbfl_filt_conv_euccn_wchar() [all …]
|
H A D | mbfilter_sjis.c | 151 int c1, s1, s2, w; in mbfl_filt_conv_sjis_wchar() local 175 if (w >= 0 && w < jisx0208_ucs_table_size) { in mbfl_filt_conv_sjis_wchar() 176 w = jisx0208_ucs_table[w]; in mbfl_filt_conv_sjis_wchar() 178 w = 0; in mbfl_filt_conv_sjis_wchar() 180 if (w <= 0) { in mbfl_filt_conv_sjis_wchar() 182 w = (s1 << 8) | s2; in mbfl_filt_conv_sjis_wchar() 183 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_sjis_wchar() 186 w = (c1 << 8) | c; in mbfl_filt_conv_sjis_wchar() 187 w &= MBFL_WCSGROUP_MASK; in mbfl_filt_conv_sjis_wchar() 195 w = (c1 << 8) | c; in mbfl_filt_conv_sjis_wchar() [all …]
|
H A D | mbfilter_cp932.c | 148 int c1, s, s1, s2, w; in mbfl_filt_conv_cp932_wchar() local 160 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_cp932_wchar() 161 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_cp932_wchar() 170 w = 0; in mbfl_filt_conv_cp932_wchar() 190 if (w == 0) { in mbfl_filt_conv_cp932_wchar() 200 w = s - (94*94) + 0xe000; in mbfl_filt_conv_cp932_wchar() 203 if (w <= 0) { in mbfl_filt_conv_cp932_wchar() 204 w = (s1 << 8) | s2; in mbfl_filt_conv_cp932_wchar() 205 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_cp932_wchar() 212 w = (c1 << 8) | c; in mbfl_filt_conv_cp932_wchar() [all …]
|
H A D | mbfilter_sjis_open.c | 147 int c1, s, s1, s2, w; in mbfl_filt_conv_sjis_open_wchar() local 159 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_sjis_open_wchar() 160 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_sjis_open_wchar() 169 w = 0; in mbfl_filt_conv_sjis_open_wchar() 189 if (w == 0) { in mbfl_filt_conv_sjis_open_wchar() 199 w = s - (94*94) + 0xe000; in mbfl_filt_conv_sjis_open_wchar() 202 if (w <= 0) { in mbfl_filt_conv_sjis_open_wchar() 203 w = (s1 << 8) | s2; in mbfl_filt_conv_sjis_open_wchar() 204 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_sjis_open_wchar() 211 w = (c1 << 8) | c; in mbfl_filt_conv_sjis_open_wchar() [all …]
|
H A D | mbfilter_cp936.c | 105 int c1, c2, w = -1; in mbfl_filt_conv_cp936_wchar() local 138 if (w <= 0 && in mbfl_filt_conv_cp936_wchar() 153 if (w <= 0) { in mbfl_filt_conv_cp936_wchar() 156 if (w >= 0 && w < cp936_ucs_table_size) { in mbfl_filt_conv_cp936_wchar() 157 w = cp936_ucs_table[w]; in mbfl_filt_conv_cp936_wchar() 159 w = 0; in mbfl_filt_conv_cp936_wchar() 161 if (w <= 0) { in mbfl_filt_conv_cp936_wchar() 162 w = (c1 << 8) | c; in mbfl_filt_conv_cp936_wchar() 163 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_cp936_wchar() 170 w = (c1 << 8) | c; in mbfl_filt_conv_cp936_wchar() [all …]
|
H A D | mbfilter_iso2022_kr.c | 81 int c1, w, flag; in mbfl_filt_conv_2022kr_wchar() local 120 if (w >= 0 && w < uhc2_ucs_table_size) { in mbfl_filt_conv_2022kr_wchar() 121 w = uhc2_ucs_table[w]; in mbfl_filt_conv_2022kr_wchar() 123 w = 0; in mbfl_filt_conv_2022kr_wchar() 127 if (w >= 0 && w < uhc3_ucs_table_size) { in mbfl_filt_conv_2022kr_wchar() 128 w = uhc3_ucs_table[w]; in mbfl_filt_conv_2022kr_wchar() 130 w = 0; in mbfl_filt_conv_2022kr_wchar() 134 if (w <= 0) { in mbfl_filt_conv_2022kr_wchar() 135 w = (c1 << 8) | c; in mbfl_filt_conv_2022kr_wchar() 145 w = (c1 << 8) | c; in mbfl_filt_conv_2022kr_wchar() [all …]
|
H A D | mbfilter_big5.c | 161 int c1, w, c2; in mbfl_filt_conv_big5_wchar() local 179 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_big5_wchar() 194 if (w >= 0 && w < big5_ucs_table_size) { in mbfl_filt_conv_big5_wchar() 195 w = big5_ucs_table[w]; in mbfl_filt_conv_big5_wchar() 197 w = 0; in mbfl_filt_conv_big5_wchar() 219 if (w <= 0) { in mbfl_filt_conv_big5_wchar() 220 w = (c1 << 8) | c; in mbfl_filt_conv_big5_wchar() 221 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_big5_wchar() 222 w |= MBFL_WCSPLANE_BIG5; in mbfl_filt_conv_big5_wchar() 228 w = (c1 << 8) | c; in mbfl_filt_conv_big5_wchar() [all …]
|
H A D | mbfilter_iso2022jp_mobile.c | 144 int c1, s, w, snd = 0; in mbfl_filt_conv_2022jp_mobile_wchar() local 165 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_2022jp_mobile_wchar() 173 w = 0; in mbfl_filt_conv_2022jp_mobile_wchar() 197 if (w == 0) { in mbfl_filt_conv_2022jp_mobile_wchar() 203 w = 0; in mbfl_filt_conv_2022jp_mobile_wchar() 212 if (w > 0 && snd > 0) { in mbfl_filt_conv_2022jp_mobile_wchar() 217 if (w <= 0) { in mbfl_filt_conv_2022jp_mobile_wchar() 218 w = (c1 << 8) | c; in mbfl_filt_conv_2022jp_mobile_wchar() 219 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_2022jp_mobile_wchar() 228 w = (c1 << 8) | c; in mbfl_filt_conv_2022jp_mobile_wchar() [all …]
|
H A D | mbfilter_iso2022_jp_ms.c | 93 int c1, s, w; in mbfl_filt_conv_2022jpms_wchar() local 124 w = 0; in mbfl_filt_conv_2022jpms_wchar() 147 if (w == 0) { in mbfl_filt_conv_2022jpms_wchar() 155 w = 0; in mbfl_filt_conv_2022jpms_wchar() 158 if (w <= 0) { in mbfl_filt_conv_2022jpms_wchar() 159 w = (c1 << 8) | c; in mbfl_filt_conv_2022jpms_wchar() 160 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_2022jpms_wchar() 168 if (w <= 0) { in mbfl_filt_conv_2022jpms_wchar() 170 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_2022jpms_wchar() 180 w = (c1 << 8) | c; in mbfl_filt_conv_2022jpms_wchar() [all …]
|
H A D | mbfilter_hz.c | 82 int c1, s, w; in mbfl_filt_conv_hz_wchar() local 96 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_hz_wchar() 97 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_hz_wchar() 109 w = cp936_ucs_table[s]; in mbfl_filt_conv_hz_wchar() 111 w = 0; in mbfl_filt_conv_hz_wchar() 113 if (w <= 0) { in mbfl_filt_conv_hz_wchar() 114 w = (c1 << 8) | c; in mbfl_filt_conv_hz_wchar() 115 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_hz_wchar() 116 w |= MBFL_WCSPLANE_GB2312; in mbfl_filt_conv_hz_wchar() 122 w = (c1 << 8) | c; in mbfl_filt_conv_hz_wchar() [all …]
|
/PHP-8.0/ext/hash/ |
H A D | hash_gost.c | 69 ((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.0/ext/standard/tests/array/ |
H A D | array_reduce.phpt | 10 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; }
|
/PHP-8.0/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-8.0/ext/standard/tests/file/ |
H A D | 007_variation4.phpt | 2 Test fopen and fclose() functions - usage variations - "w+" mode 6 /* Test fopen() and fclose(): Opening the file in "w+" mode, 9 checking for the file truncation when trying to open an existing file in "w+" mode, 15 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 4, "bytes"); 19 echo "*** Test fopen() & fclose() functions: with 'w+' mode ***\n"; 20 $file_handle = fopen($file, "w+"); //opening the file "w+" mode 32 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+… 34 fclose( fopen($file, "w+") ); //Opening the existing data file again in "w+" mode 35 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+"… 39 fclose( fopen($file, "w+") ); //Opening the non-existing file in "w+" mode, which will be created [all …]
|
/PHP-8.0/ext/standard/tests/general_functions/ |
H A D | phpcredits.phpt | 24 %wPHP Authors%w 27 %wSAPI Modules%w 30 %wModule Authors%w 33 %wPHP Documentation%w 39 %wWebsites and Infrastructure team%w
|