/PHP-5.3/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.3/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_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_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_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_big5.c | 104 int c1, w; in mbfl_filt_conv_big5_wchar() local 114 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_big5_wchar() 129 if (w >= 0 && w < big5_ucs_table_size) { in mbfl_filt_conv_big5_wchar() 130 w = big5_ucs_table[w]; in mbfl_filt_conv_big5_wchar() 132 w = 0; in mbfl_filt_conv_big5_wchar() 134 if (w <= 0) { in mbfl_filt_conv_big5_wchar() 135 w = (c1 << 8) | c; in mbfl_filt_conv_big5_wchar() 136 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_big5_wchar() 137 w |= MBFL_WCSPLANE_BIG5; in mbfl_filt_conv_big5_wchar() 143 w = (c1 << 8) | c; in mbfl_filt_conv_big5_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 | 149 int c1, s1, s2, w; in mbfl_filt_conv_sjis_wchar() local 173 if (w >= 0 && w < jisx0208_ucs_table_size) { in mbfl_filt_conv_sjis_wchar() 174 w = jisx0208_ucs_table[w]; in mbfl_filt_conv_sjis_wchar() 176 w = 0; in mbfl_filt_conv_sjis_wchar() 178 if (w <= 0) { in mbfl_filt_conv_sjis_wchar() 180 w = (s1 << 8) | s2; in mbfl_filt_conv_sjis_wchar() 181 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_sjis_wchar() 184 w = (c1 << 8) | c; in mbfl_filt_conv_sjis_wchar() 185 w &= MBFL_WCSGROUP_MASK; in mbfl_filt_conv_sjis_wchar() 193 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 | 149 int c1, s, s1, s2, w; in mbfl_filt_conv_sjis_open_wchar() local 161 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_sjis_open_wchar() 162 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_sjis_open_wchar() 171 w = 0; in mbfl_filt_conv_sjis_open_wchar() 191 if (w == 0) { in mbfl_filt_conv_sjis_open_wchar() 201 w = s - (94*94) + 0xe000; in mbfl_filt_conv_sjis_open_wchar() 204 if (w <= 0) { in mbfl_filt_conv_sjis_open_wchar() 205 w = (s1 << 8) | s2; in mbfl_filt_conv_sjis_open_wchar() 206 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_sjis_open_wchar() 213 w = (c1 << 8) | c; in mbfl_filt_conv_sjis_open_wchar() [all …]
|
H A D | mbfilter_cp936.c | 105 int c1, w; in mbfl_filt_conv_cp936_wchar() local 117 w = c & MBFL_WCSGROUP_MASK; in mbfl_filt_conv_cp936_wchar() 118 w |= MBFL_WCSGROUP_THROUGH; in mbfl_filt_conv_cp936_wchar() 128 if (w >= 0 && w < cp936_ucs_table_size) { in mbfl_filt_conv_cp936_wchar() 129 w = cp936_ucs_table[w]; in mbfl_filt_conv_cp936_wchar() 131 w = 0; in mbfl_filt_conv_cp936_wchar() 133 if (w <= 0) { in mbfl_filt_conv_cp936_wchar() 134 w = (c1 << 8) | c; in mbfl_filt_conv_cp936_wchar() 135 w &= MBFL_WCSPLANE_MASK; in mbfl_filt_conv_cp936_wchar() 142 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_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.3/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.3/ext/pcre/pcrelib/testdata/ |
H A D | testinput3 | 5 /^[\w]+/ 9 /^[\w]+/Lfr_FR 12 /^[\w]+/ 33 /^\w+/ 37 /^\w+/Lfr_FR 56 /\w/IS 58 /\w/ISLfr_FR 81 /\w+/Lfr_FR 85 /[\w]+/Lfr_FR
|
/PHP-5.3/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.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-5.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-5.3/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 …]
|
H A D | 007_variation4.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", 4, "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 …]
|
H A D | 007_variation12-win32.phpt | 2 Test fopen and fclose() functions - usage variations - "w+t" mode 22 /* Test fopen() and fclose(): Opening the file in "w+t" mode, 25 checking for the file truncation when trying to open an existing file in "w+t" mode, 31 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 12, "bytes"); 35 echo "*** Test fopen() & fclose() functions: with 'w+t' mode ***\n"; 36 $file_handle = fopen($file, "w+t"); //opening the file "w+t" mode 48 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+… 50 fclose( fopen($file, "w+t") ); //Opening the existing data file again in "w+t" mode 51 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+t… 55 fclose( fopen($file, "w+t") ); //Opening the non-existing file in "w+t" mode, which will be created [all …]
|
/PHP-5.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,… 17 var_dump(preg_split('/PHP_(?:NAMED_)?(?:FUNCTION|METHOD)\s*\((\w+(?:,\s*\w+)?)\)/S', "PHP_FUNCTION(…
|