/PHP-5.4/ext/mysqli/ |
H A D | mysqli_warning.c | 44 while (w) { in php_clear_warnings() 45 n = w; in php_clear_warnings() 48 w = w->next; in php_clear_warnings() 70 return w; in php_new_warning() 91 first = w; in php_get_warnings() 96 prev = w; in php_get_warnings() 114 ZVAL_UTF8_STRINGL(&(w->reason), Z_STRVAL(w->reason), Z_STRLEN(w->reason), ZSTR_AUTOFREE); in php_new_warning() 120 return w; in php_new_warning() 173 prev = w; in php_get_warnings() 200 if (w && w->next) { in PHP_METHOD() [all …]
|
/PHP-5.4/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_uhc.c | 126 if (w >= 0 && w < uhc1_ucs_table_size) { in mbfl_filt_conv_uhc_wchar() 128 w = uhc1_ucs_table[w]; in mbfl_filt_conv_uhc_wchar() 130 w = 0; in mbfl_filt_conv_uhc_wchar() 134 if (w >= 0 && w < uhc2_ucs_table_size) { in mbfl_filt_conv_uhc_wchar() 136 w = uhc2_ucs_table[w]; in mbfl_filt_conv_uhc_wchar() 138 w = 0; in mbfl_filt_conv_uhc_wchar() 142 if (w >= 0 && w < uhc3_ucs_table_size) { in mbfl_filt_conv_uhc_wchar() 144 w = uhc3_ucs_table[w]; in mbfl_filt_conv_uhc_wchar() 146 w = 0; in mbfl_filt_conv_uhc_wchar() 150 if (w <= 0) { in mbfl_filt_conv_uhc_wchar() [all …]
|
H A D | mbfilter_euc_jp_win.c | 108 int c1, s, w, n; in mbfl_filt_conv_eucjpwin_wchar() local 132 w = 0; in mbfl_filt_conv_eucjpwin_wchar() 151 if (w == 0) { in mbfl_filt_conv_eucjpwin_wchar() 160 if (w <= 0) { in mbfl_filt_conv_eucjpwin_wchar() 169 w = (c1 << 8) | c; in mbfl_filt_conv_eucjpwin_wchar() 179 w = 0xfec0 + c; in mbfl_filt_conv_eucjpwin_wchar() 184 w = 0x8e00 | c; in mbfl_filt_conv_eucjpwin_wchar() 212 w = 0; in mbfl_filt_conv_eucjpwin_wchar() 226 w = 0; in mbfl_filt_conv_eucjpwin_wchar() 228 if (w == 0x00A6) { in mbfl_filt_conv_eucjpwin_wchar() [all …]
|
H A D | mbfilter_euc_tw.c | 105 int c1, s, w, plane; in mbfl_filt_conv_euctw_wchar() local 129 if (w >= 0 && w < cns11643_1_ucs_table_size) { in mbfl_filt_conv_euctw_wchar() 130 w = cns11643_1_ucs_table[w]; in mbfl_filt_conv_euctw_wchar() 132 w = 0; in mbfl_filt_conv_euctw_wchar() 134 if (w <= 0) { in mbfl_filt_conv_euctw_wchar() 135 w = (c1 << 8) | c; in mbfl_filt_conv_euctw_wchar() 143 w = (c1 << 8) | c; in mbfl_filt_conv_euctw_wchar() 159 w = (c1 << 8) | c; in mbfl_filt_conv_euctw_wchar() 176 w = (c1 << 8) | c; in mbfl_filt_conv_euctw_wchar() 189 w = 0; in mbfl_filt_conv_euctw_wchar() [all …]
|
H A D | mbfilter_euc_kr.c | 104 int c1, w, flag; in mbfl_filt_conv_euckr_wchar() local 132 if (w >= 0 && w < uhc2_ucs_table_size) { in mbfl_filt_conv_euckr_wchar() 133 w = uhc2_ucs_table[w]; in mbfl_filt_conv_euckr_wchar() 135 w = 0; in mbfl_filt_conv_euckr_wchar() 139 if (w >= 0 && w < uhc3_ucs_table_size) { in mbfl_filt_conv_euckr_wchar() 140 w = uhc3_ucs_table[w]; in mbfl_filt_conv_euckr_wchar() 142 w = 0; in mbfl_filt_conv_euckr_wchar() 146 if (w <= 0) { in mbfl_filt_conv_euckr_wchar() 147 w = (c1 << 8) | c; in mbfl_filt_conv_euckr_wchar() 155 w = (c1 << 8) | c; in mbfl_filt_conv_euckr_wchar() [all …]
|
H A D | mbfilter_sjis_mobile.c | 280 int w = s; in mbfilter_sjis_emoji_docomo2unicode() local 298 if (!w) { in mbfilter_sjis_emoji_docomo2unicode() 299 w = s; in mbfilter_sjis_emoji_docomo2unicode() 304 return w; in mbfilter_sjis_emoji_docomo2unicode() 352 return w; in mbfilter_sjis_emoji_kddi2unicode() 369 w = 0x20E3; in mbfilter_sjis_emoji_sb2unicode() 382 w += 0x10000; in mbfilter_sjis_emoji_sb2unicode() 400 return w; in mbfilter_sjis_emoji_sb2unicode() 637 w = 0; in mbfl_filt_conv_sjis_mobile_wchar() 730 w = 0; in mbfl_filt_conv_sjis_mobile_wchar() [all …]
|
H A D | mbfilter_cp51932.c | 114 int c1, s, w; in mbfl_filt_conv_cp51932_wchar() local 126 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_cp51932_wchar() 136 w = 0; in mbfl_filt_conv_cp51932_wchar() 155 if (w == 0) { in mbfl_filt_conv_cp51932_wchar() 164 if (w <= 0) { in mbfl_filt_conv_cp51932_wchar() 166 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_cp51932_wchar() 173 w = (c1 << 8) | c; in mbfl_filt_conv_cp51932_wchar() 174 w &= MBFL_WCSGROUP_MASK; in mbfl_filt_conv_cp51932_wchar() 183 w = 0xfec0 + c; in mbfl_filt_conv_cp51932_wchar() 188 w = 0x8e00 | c; in mbfl_filt_conv_cp51932_wchar() [all …]
|
H A D | mbfilter_gb18030.c | 88 if (w <= tbl[2*k+1]) { in mbfl_bisec_srch() 104 if (w == tbl[0]) { in mbfl_bisec_srch2() 110 if (w < tbl[k]) { in mbfl_bisec_srch2() 173 if (w <= 0 && in mbfl_filt_conv_gb18030_wchar() 188 if (w <= 0) { in mbfl_filt_conv_gb18030_wchar() 195 if (w >= 0 && w < cp936_ucs_table_size) { in mbfl_filt_conv_gb18030_wchar() 196 w = cp936_ucs_table[w]; in mbfl_filt_conv_gb18030_wchar() 198 w = 0; in mbfl_filt_conv_gb18030_wchar() 200 if (w <= 0) { in mbfl_filt_conv_gb18030_wchar() 209 w = (c1 << 8) | c; in mbfl_filt_conv_gb18030_wchar() [all …]
|
H A D | mbfilter_euc_jp.c | 105 int c1, s, w; in mbfl_filt_conv_eucjp_wchar() local 133 w = 0; in mbfl_filt_conv_eucjp_wchar() 135 if (w <= 0) { in mbfl_filt_conv_eucjp_wchar() 144 w = (c1 << 8) | c; in mbfl_filt_conv_eucjp_wchar() 145 w &= MBFL_WCSGROUP_MASK; in mbfl_filt_conv_eucjp_wchar() 154 w = 0xfec0 + c; in mbfl_filt_conv_eucjp_wchar() 159 w = 0x8e00 | c; in mbfl_filt_conv_eucjp_wchar() 160 w &= MBFL_WCSGROUP_MASK; in mbfl_filt_conv_eucjp_wchar() 183 w = 0; in mbfl_filt_conv_eucjp_wchar() 185 if (w <= 0) { in mbfl_filt_conv_eucjp_wchar() [all …]
|
H A D | mbfilter_sjis_2004.c | 236 if (w <= 0) { in mbfl_filt_conv_jis2004_wchar() 244 if (w <= 0) { in mbfl_filt_conv_jis2004_wchar() 252 if (w <= 0) { in mbfl_filt_conv_jis2004_wchar() 277 w = 0xfec0 + c; in mbfl_filt_conv_jis2004_wchar() 282 w = 0x8e00 | c; in mbfl_filt_conv_jis2004_wchar() 304 w = c | 0x8f00; in mbfl_filt_conv_jis2004_wchar() 308 w = c & 0x7f; in mbfl_filt_conv_jis2004_wchar() 344 w = 0; in mbfl_filt_conv_jis2004_wchar() 348 if (w <= 0) { in mbfl_filt_conv_jis2004_wchar() 356 if (w <= 0) { in mbfl_filt_conv_jis2004_wchar() [all …]
|
H A D | mbfilter_euc_cn.c | 104 int c1, w; in mbfl_filt_conv_euccn_wchar() local 114 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_euccn_wchar() 115 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_euccn_wchar() 125 if (w >= 0 && w < cp936_ucs_table_size) { in mbfl_filt_conv_euccn_wchar() 126 w = cp936_ucs_table[w]; in mbfl_filt_conv_euccn_wchar() 128 w = 0; in mbfl_filt_conv_euccn_wchar() 130 if (w <= 0) { in mbfl_filt_conv_euccn_wchar() 131 w = (c1 << 8) | c; in mbfl_filt_conv_euccn_wchar() 132 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_euccn_wchar() 139 w = (c1 << 8) | c; in mbfl_filt_conv_euccn_wchar() [all …]
|
H A D | mbfilter_sjis.c | 152 int c1, s1, s2, w; in mbfl_filt_conv_sjis_wchar() local 176 if (w >= 0 && w < jisx0208_ucs_table_size) { in mbfl_filt_conv_sjis_wchar() 177 w = jisx0208_ucs_table[w]; in mbfl_filt_conv_sjis_wchar() 179 w = 0; in mbfl_filt_conv_sjis_wchar() 181 if (w <= 0) { in mbfl_filt_conv_sjis_wchar() 183 w = (s1 << 8) | s2; in mbfl_filt_conv_sjis_wchar() 184 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_sjis_wchar() 187 w = (c1 << 8) | c; in mbfl_filt_conv_sjis_wchar() 188 w &= MBFL_WCSGROUP_MASK; in mbfl_filt_conv_sjis_wchar() 196 w = (c1 << 8) | c; in mbfl_filt_conv_sjis_wchar() [all …]
|
H A D | mbfilter_cp932.c | 149 int c1, s, s1, s2, w; in mbfl_filt_conv_cp932_wchar() local 161 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_cp932_wchar() 162 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_cp932_wchar() 171 w = 0; in mbfl_filt_conv_cp932_wchar() 191 if (w == 0) { in mbfl_filt_conv_cp932_wchar() 201 w = s - (94*94) + 0xe000; in mbfl_filt_conv_cp932_wchar() 204 if (w <= 0) { in mbfl_filt_conv_cp932_wchar() 205 w = (s1 << 8) | s2; in mbfl_filt_conv_cp932_wchar() 206 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_cp932_wchar() 213 w = (c1 << 8) | c; in mbfl_filt_conv_cp932_wchar() [all …]
|
H A D | mbfilter_sjis_open.c | 148 int c1, s, s1, s2, w; in mbfl_filt_conv_sjis_open_wchar() local 160 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_sjis_open_wchar() 161 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_sjis_open_wchar() 170 w = 0; in mbfl_filt_conv_sjis_open_wchar() 190 if (w == 0) { in mbfl_filt_conv_sjis_open_wchar() 200 w = s - (94*94) + 0xe000; in mbfl_filt_conv_sjis_open_wchar() 203 if (w <= 0) { in mbfl_filt_conv_sjis_open_wchar() 204 w = (s1 << 8) | s2; in mbfl_filt_conv_sjis_open_wchar() 205 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_sjis_open_wchar() 212 w = (c1 << 8) | c; in mbfl_filt_conv_sjis_open_wchar() [all …]
|
H A D | mbfilter_cp936.c | 106 int c1, c2, w = -1; in mbfl_filt_conv_cp936_wchar() local 139 if (w <= 0 && in mbfl_filt_conv_cp936_wchar() 154 if (w <= 0) { in mbfl_filt_conv_cp936_wchar() 157 if (w >= 0 && w < cp936_ucs_table_size) { in mbfl_filt_conv_cp936_wchar() 158 w = cp936_ucs_table[w]; in mbfl_filt_conv_cp936_wchar() 160 w = 0; in mbfl_filt_conv_cp936_wchar() 162 if (w <= 0) { in mbfl_filt_conv_cp936_wchar() 163 w = (c1 << 8) | c; in mbfl_filt_conv_cp936_wchar() 164 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_cp936_wchar() 171 w = (c1 << 8) | c; in mbfl_filt_conv_cp936_wchar() [all …]
|
H A D | mbfilter_iso2022_kr.c | 82 int c1, w, flag; in mbfl_filt_conv_2022kr_wchar() local 121 if (w >= 0 && w < uhc2_ucs_table_size) { in mbfl_filt_conv_2022kr_wchar() 122 w = uhc2_ucs_table[w]; in mbfl_filt_conv_2022kr_wchar() 124 w = 0; in mbfl_filt_conv_2022kr_wchar() 128 if (w >= 0 && w < uhc3_ucs_table_size) { in mbfl_filt_conv_2022kr_wchar() 129 w = uhc3_ucs_table[w]; in mbfl_filt_conv_2022kr_wchar() 131 w = 0; in mbfl_filt_conv_2022kr_wchar() 135 if (w <= 0) { in mbfl_filt_conv_2022kr_wchar() 136 w = (c1 << 8) | c; in mbfl_filt_conv_2022kr_wchar() 146 w = (c1 << 8) | c; in mbfl_filt_conv_2022kr_wchar() [all …]
|
H A D | mbfilter_big5.c | 148 int c1, w, c2; in mbfl_filt_conv_big5_wchar() local 181 if (w >= 0 && w < big5_ucs_table_size) { in mbfl_filt_conv_big5_wchar() 182 w = big5_ucs_table[w]; in mbfl_filt_conv_big5_wchar() 184 w = 0; in mbfl_filt_conv_big5_wchar() 189 if (w <= 0 && in mbfl_filt_conv_big5_wchar() 210 if (w <= 0) { in mbfl_filt_conv_big5_wchar() 211 w = (c1 << 8) | c; in mbfl_filt_conv_big5_wchar() 212 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_big5_wchar() 213 w |= MBFL_WCSPLANE_BIG5; in mbfl_filt_conv_big5_wchar() 219 w = (c1 << 8) | c; in mbfl_filt_conv_big5_wchar() [all …]
|
H A D | mbfilter_iso2022jp_mobile.c | 145 int c1, s, w, snd = 0; in mbfl_filt_conv_2022jp_mobile_wchar() local 166 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_2022jp_mobile_wchar() 174 w = 0; in mbfl_filt_conv_2022jp_mobile_wchar() 198 if (w == 0) { in mbfl_filt_conv_2022jp_mobile_wchar() 204 w = 0; in mbfl_filt_conv_2022jp_mobile_wchar() 213 if (w > 0 && snd > 0) { in mbfl_filt_conv_2022jp_mobile_wchar() 218 if (w <= 0) { in mbfl_filt_conv_2022jp_mobile_wchar() 219 w = (c1 << 8) | c; in mbfl_filt_conv_2022jp_mobile_wchar() 220 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_2022jp_mobile_wchar() 229 w = (c1 << 8) | c; in mbfl_filt_conv_2022jp_mobile_wchar() [all …]
|
H A D | mbfilter_iso2022_jp_ms.c | 94 int c1, s, w; in mbfl_filt_conv_2022jpms_wchar() local 125 w = 0; in mbfl_filt_conv_2022jpms_wchar() 148 if (w == 0) { in mbfl_filt_conv_2022jpms_wchar() 156 w = 0; in mbfl_filt_conv_2022jpms_wchar() 159 if (w <= 0) { in mbfl_filt_conv_2022jpms_wchar() 160 w = (c1 << 8) | c; in mbfl_filt_conv_2022jpms_wchar() 161 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_2022jpms_wchar() 169 if (w <= 0) { in mbfl_filt_conv_2022jpms_wchar() 171 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_2022jpms_wchar() 181 w = (c1 << 8) | c; in mbfl_filt_conv_2022jpms_wchar() [all …]
|
H A D | mbfilter_hz.c | 83 int c1, s, w; in mbfl_filt_conv_hz_wchar() local 97 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_hz_wchar() 98 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_hz_wchar() 110 w = cp936_ucs_table[s]; in mbfl_filt_conv_hz_wchar() 112 w = 0; in mbfl_filt_conv_hz_wchar() 114 if (w <= 0) { in mbfl_filt_conv_hz_wchar() 115 w = (c1 << 8) | c; in mbfl_filt_conv_hz_wchar() 116 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_hz_wchar() 117 w |= MBFL_WCSPLANE_GB2312; in mbfl_filt_conv_hz_wchar() 123 w = (c1 << 8) | c; in mbfl_filt_conv_hz_wchar() [all …]
|
/PHP-5.4/ext/hash/ |
H A D | hash_gost.c | 73 ((w[4] & 0x000000ff) << 16) | ((w[6] & 0x000000ff) << 24); \ 75 ((w[4] & 0x0000ff00) << 8) | ((w[6] & 0x0000ff00) << 16); \ 77 (w[4] & 0x00ff0000) | ((w[6] & 0x00ff0000) << 8); \ 79 ((w[4] & 0xff000000) >> 8) | (w[6] & 0xff000000); \ 80 key[4] = (w[1] & 0x000000ff) | ((w[3] & 0x000000ff) << 8) | \ 81 ((w[5] & 0x000000ff) << 16) | ((w[7] & 0x000000ff) << 24); \ 83 ((w[5] & 0x0000ff00) << 8) | ((w[7] & 0x0000ff00) << 16); \ 85 (w[5] & 0x00ff0000) | ((w[7] & 0x00ff0000) << 8); \ 87 ((w[5] & 0xff000000) >> 8) | (w[7] & 0xff000000); 198 X(w, u, v); \ [all …]
|
/PHP-5.4/ext/gd/libgd/ |
H A D | gd_io.c | 34 void Putword (int w, gdIOCtx * ctx) in Putword() argument 38 buf[0] = w & 0xff; in Putword() 39 buf[1] = (w / 256) & 0xff; in Putword() 53 void gdPutWord (int w, gdIOCtx * ctx) in gdPutWord() argument 56 (ctx->putC) (ctx, (unsigned char) (w >> 8)); in gdPutWord() 57 (ctx->putC) (ctx, (unsigned char) (w & 0xFF)); in gdPutWord() 61 void gdPutInt (int w, gdIOCtx * ctx) in gdPutInt() argument 64 (ctx->putC) (ctx, (unsigned char) (w >> 24)); in gdPutInt() 65 (ctx->putC) (ctx, (unsigned char) ((w >> 16) & 0xFF)); in gdPutInt() 66 (ctx->putC) (ctx, (unsigned char) ((w >> 8) & 0xFF)); in gdPutInt() [all …]
|
/PHP-5.4/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-5.4/ext/pcre/pcrelib/testdata/ |
H A D | testinput3 | 10 /^[\w]+/ 14 /^[\w]+/Lfr_FR 17 /^[\w]+/ 38 /^\w+/ 42 /^\w+/Lfr_FR 61 /\w/IS 63 /\w/ISLfr_FR 86 /\w+/Lfr_FR 90 /[\w]+/Lfr_FR
|
/PHP-5.4/ext/standard/tests/file/ |
H A D | 007_variation3.phpt | 2 Test fopen and fclose() functions - usage variations - "w" mode 17 /* Test fopen() and fclose(): Opening the file in "w" mode, 20 checking for the file truncation when trying to open an existing file in "w" mode, 26 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 3, "bytes"); 30 echo "*** Test fopen() & fclose() functions: with 'w' mode ***\n"; 31 $file_handle = fopen($file, "w"); //opening the file "w" mode 43 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w"… 45 fclose( fopen($file, "w") ); //Opening the existing data file again in "w" mode 46 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w" … 50 fclose( fopen($file, "w") ); //Opening the non-existing file in "w" mode, which will be created [all …]
|