Home
last modified time | relevance | path

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

12345678910>>...39

/PHP-8.1/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()
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.1/ext/mbstring/libmbfl/filters/
H A Dmbfilter_euc_cn.c94 int c1, w; in mbfl_filt_conv_euccn_wchar() local
113 if (w >= 0 && w < cp936_ucs_table_size) { in mbfl_filt_conv_euccn_wchar()
114 if (w == 0x1864) { in mbfl_filt_conv_euccn_wchar()
115 w = 0x30FB; in mbfl_filt_conv_euccn_wchar()
117 w = 0x2015; in mbfl_filt_conv_euccn_wchar()
118 …} else if ((w >= 0x1921 && w <= 0x192A) || w == 0x1963 || (w >= 0x1C59 && w <= 0x1C7E) || (w >= 0x… in mbfl_filt_conv_euccn_wchar()
119 w = 0; in mbfl_filt_conv_euccn_wchar()
121 w = cp936_ucs_table[w]; in mbfl_filt_conv_euccn_wchar()
124 w = 0; in mbfl_filt_conv_euccn_wchar()
127 if (w <= 0) { in mbfl_filt_conv_euccn_wchar()
[all …]
H A Dmbfilter_uhc.c112 int c1 = filter->cache, w = 0; in mbfl_filt_conv_uhc_wchar() local
115 w = (c1 - 0x81)*190 + (c - 0x41); in mbfl_filt_conv_uhc_wchar()
116 if (w >= 0 && w < uhc1_ucs_table_size) { in mbfl_filt_conv_uhc_wchar()
117 w = uhc1_ucs_table[w]; in mbfl_filt_conv_uhc_wchar()
121 if (w >= 0 && w < uhc2_ucs_table_size) { in mbfl_filt_conv_uhc_wchar()
122 w = uhc2_ucs_table[w]; in mbfl_filt_conv_uhc_wchar()
125 w = (c1 - 0xc7)*94 + (c - 0xa1); in mbfl_filt_conv_uhc_wchar()
126 if (w >= 0 && w < uhc3_ucs_table_size) { in mbfl_filt_conv_uhc_wchar()
127 w = uhc3_ucs_table[w]; in mbfl_filt_conv_uhc_wchar()
131 if (w == 0) { in mbfl_filt_conv_uhc_wchar()
[all …]
H A Dmbfilter_euc_jp_win.c96 int c1, s, w, n; in mbfl_filt_conv_eucjpwin_wchar() local
118 w = 0; in mbfl_filt_conv_eucjpwin_wchar()
138 if (w == 0) { in mbfl_filt_conv_eucjpwin_wchar()
148 if (w <= 0) { in mbfl_filt_conv_eucjpwin_wchar()
149 w = MBFL_BAD_INPUT; in mbfl_filt_conv_eucjpwin_wchar()
160 w = 0xfec0 + c; in mbfl_filt_conv_eucjpwin_wchar()
180 if (w == 0x007e) { in mbfl_filt_conv_eucjpwin_wchar()
185 w = 0; in mbfl_filt_conv_eucjpwin_wchar()
199 w = 0; in mbfl_filt_conv_eucjpwin_wchar()
202 if (w == 0x00A6) { in mbfl_filt_conv_eucjpwin_wchar()
[all …]
H A Dmbfilter_big5.c146 int k, c1, w; in mbfl_filt_conv_big5_wchar() local
172 if (w >= 0 && w < big5_ucs_table_size) { in mbfl_filt_conv_big5_wchar()
173 w = big5_ucs_table[w]; in mbfl_filt_conv_big5_wchar()
175 w = 0; in mbfl_filt_conv_big5_wchar()
196 w = 0x2027; in mbfl_filt_conv_big5_wchar()
198 w = 0xFE51; in mbfl_filt_conv_big5_wchar()
200 w = 0x2574; in mbfl_filt_conv_big5_wchar()
202 w = 0x00AF; in mbfl_filt_conv_big5_wchar()
204 w = 0xFFE3; in mbfl_filt_conv_big5_wchar()
206 w = 0x02CD; in mbfl_filt_conv_big5_wchar()
[all …]
H A Dmbfilter_euc_kr.c93 int c1, w, flag; in mbfl_filt_conv_euckr_wchar() local
118 w = (c1 - 0xa1)*190 + (c - 0x41); in mbfl_filt_conv_euckr_wchar()
119 if (w >= 0 && w < uhc2_ucs_table_size) { in mbfl_filt_conv_euckr_wchar()
120 w = uhc2_ucs_table[w]; in mbfl_filt_conv_euckr_wchar()
122 w = 0; in mbfl_filt_conv_euckr_wchar()
125 w = (c1 - 0xc7)*94 + (c - 0xa1); in mbfl_filt_conv_euckr_wchar()
126 if (w >= 0 && w < uhc3_ucs_table_size) { in mbfl_filt_conv_euckr_wchar()
127 w = uhc3_ucs_table[w]; in mbfl_filt_conv_euckr_wchar()
129 w = 0; in mbfl_filt_conv_euckr_wchar()
133 if (w <= 0) { in mbfl_filt_conv_euckr_wchar()
[all …]
H A Dmbfilter_cp51932.c100 int c1, s, w; in mbfl_filt_conv_cp51932_wchar() local
120 w = 0; in mbfl_filt_conv_cp51932_wchar()
126 w = 0xff5e; /* FULLWIDTH TILDE */ in mbfl_filt_conv_cp51932_wchar()
128 w = 0x2225; /* PARALLEL TO */ in mbfl_filt_conv_cp51932_wchar()
132 w = 0xffe0; /* FULLWIDTH CENT SIGN */ in mbfl_filt_conv_cp51932_wchar()
136 w = 0xffe2; /* FULLWIDTH NOT SIGN */ in mbfl_filt_conv_cp51932_wchar()
139 if (w == 0) { in mbfl_filt_conv_cp51932_wchar()
143 w = jisx0208_ucs_table[s]; in mbfl_filt_conv_cp51932_wchar()
148 if (w <= 0) { in mbfl_filt_conv_cp51932_wchar()
149 w = MBFL_BAD_INPUT; in mbfl_filt_conv_cp51932_wchar()
[all …]
H A Dmbfilter_gb18030.c81 if (w < lo) { in mbfl_bisec_srch()
83 } else if (w > hi) { in mbfl_bisec_srch()
99 if (w < val) { in mbfl_bisec_srch2()
101 } else if (w > val) { in mbfl_bisec_srch2()
113 int c1, c2, c3, w = -1; in mbfl_filt_conv_gb18030_wchar() local
153 if (w <= 0 && in mbfl_filt_conv_gb18030_wchar()
166 if (w <= 0) { in mbfl_filt_conv_gb18030_wchar()
173 if (w >= 0 && w < cp936_ucs_table_size) { in mbfl_filt_conv_gb18030_wchar()
174 w = cp936_ucs_table[w]; in mbfl_filt_conv_gb18030_wchar()
175 if (!w) in mbfl_filt_conv_gb18030_wchar()
[all …]
H A Dmbfilter_euc_tw.c95 int c1, s, w; in mbfl_filt_conv_euctw_wchar() local
116 if (w >= 0 && w < cns11643_1_ucs_table_size) { in mbfl_filt_conv_euctw_wchar()
117 w = cns11643_1_ucs_table[w]; in mbfl_filt_conv_euctw_wchar()
119 w = 0; in mbfl_filt_conv_euctw_wchar()
122 if (w <= 0) { in mbfl_filt_conv_euctw_wchar()
123 w = MBFL_BAD_INPUT; in mbfl_filt_conv_euctw_wchar()
162 w = 0; in mbfl_filt_conv_euctw_wchar()
169 w = cns11643_1_ucs_table[s]; in mbfl_filt_conv_euctw_wchar()
171 w = cns11643_2_ucs_table[s]; in mbfl_filt_conv_euctw_wchar()
177 if (w <= 0) { in mbfl_filt_conv_euctw_wchar()
[all …]
H A Dmbfilter_cp936.c96 int c1, c2, w = -1; in mbfl_filt_conv_cp936_wchar() local
120 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar()
124 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_cp936_wchar()
129 if (w <= 0 && in mbfl_filt_conv_cp936_wchar()
144 if (w <= 0) { in mbfl_filt_conv_cp936_wchar()
146 w = (c1 - 0x81)*192 + (c - 0x40); in mbfl_filt_conv_cp936_wchar()
147 if (w >= 0 && w < cp936_ucs_table_size) { in mbfl_filt_conv_cp936_wchar()
148 w = cp936_ucs_table[w]; in mbfl_filt_conv_cp936_wchar()
149 if (!w) in mbfl_filt_conv_cp936_wchar()
150 w = MBFL_BAD_INPUT; in mbfl_filt_conv_cp936_wchar()
[all …]
H A Dmbfilter_iso2022_kr.c78 int w = 0; in mbfl_filt_conv_2022kr_wchar() local
116 w = (c1 - 0x21)*190 + (c - 0x41) + 0x80; in mbfl_filt_conv_2022kr_wchar()
117 if (w >= 0 && w < uhc2_ucs_table_size) { in mbfl_filt_conv_2022kr_wchar()
118 w = uhc2_ucs_table[w]; in mbfl_filt_conv_2022kr_wchar()
120 w = 0; in mbfl_filt_conv_2022kr_wchar()
124 w = (c1 - 0x47)*94 + (c - 0x21); in mbfl_filt_conv_2022kr_wchar()
125 if (w >= 0 && w < uhc3_ucs_table_size) { in mbfl_filt_conv_2022kr_wchar()
126 w = uhc3_ucs_table[w]; in mbfl_filt_conv_2022kr_wchar()
128 w = 0; in mbfl_filt_conv_2022kr_wchar()
132 if (w <= 0) { in mbfl_filt_conv_2022kr_wchar()
[all …]
H A Dmbfilter_cp932.c201 int c1, s, s1, s2, w; in mbfl_filt_conv_cp932_wchar() local
221 w = 0; in mbfl_filt_conv_cp932_wchar()
228 w = 0xff5e; /* FULLWIDTH TILDE */ in mbfl_filt_conv_cp932_wchar()
230 w = 0x2225; /* PARALLEL TO */ in mbfl_filt_conv_cp932_wchar()
234 w = 0xffe0; /* FULLWIDTH CENT SIGN */ in mbfl_filt_conv_cp932_wchar()
238 w = 0xffe2; /* FULLWIDTH NOT SIGN */ in mbfl_filt_conv_cp932_wchar()
241 if (w == 0) { in mbfl_filt_conv_cp932_wchar()
245 w = jisx0208_ucs_table[s]; in mbfl_filt_conv_cp932_wchar()
251 w = s - (94*94) + 0xe000; in mbfl_filt_conv_cp932_wchar()
255 if (w <= 0) { in mbfl_filt_conv_cp932_wchar()
[all …]
H A Dmbfilter_euc_jp.c99 int c1, s, w = 0; in mbfl_filt_conv_eucjp_wchar() local
123 w = jisx0208_ucs_table[s]; in mbfl_filt_conv_eucjp_wchar()
124 if (!w) in mbfl_filt_conv_eucjp_wchar()
125 w = MBFL_BAD_INPUT; in mbfl_filt_conv_eucjp_wchar()
127 w = MBFL_BAD_INPUT; in mbfl_filt_conv_eucjp_wchar()
130 CK((*filter->output_function)(w, filter->data)); in mbfl_filt_conv_eucjp_wchar()
139 w = 0xfec0 + c; in mbfl_filt_conv_eucjp_wchar()
157 w = jisx0212_ucs_table[s]; in mbfl_filt_conv_eucjp_wchar()
158 if (!w) in mbfl_filt_conv_eucjp_wchar()
159 w = MBFL_BAD_INPUT; in mbfl_filt_conv_eucjp_wchar()
[all …]
/PHP-8.1/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.1/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; }
/PHP-8.1/ext/standard/tests/file/
H A D007_variation4.phpt2 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 …]
H A D007_variation12-win32.phpt2 Test fopen and fclose() functions - usage variations - "w+t" mode
11 /* Test fopen() and fclose(): Opening the file in "w+t" mode,
14 checking for the file truncation when trying to open an existing file in "w+t" mode,
20 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 12, "bytes");
24 echo "*** Test fopen() & fclose() functions: with 'w+t' mode ***\n";
25 $file_handle = fopen($file, "w+t"); //opening the file "w+t" mode
37 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+…
39 fclose( fopen($file, "w+t") ); //Opening the existing data file again in "w+t" mode
40 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+t…
44 fclose( fopen($file, "w+t") ); //Opening the non-existing file in "w+t" mode, which will be created
[all …]
H A D007_variation12.phpt2 Test fopen and fclose() functions - usage variations - "w+t" mode
11 /* Test fopen() and fclose(): Opening the file in "w+t" mode,
14 checking for the file truncation when trying to open an existing file in "w+t" mode,
20 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 12, "bytes");
24 echo "*** Test fopen() & fclose() functions: with 'w+t' mode ***\n";
25 $file_handle = fopen($file, "w+t"); //opening the file "w+t" mode
37 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+…
39 fclose( fopen($file, "w+t") ); //Opening the existing data file again in "w+t" mode
40 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+t…
44 fclose( fopen($file, "w+t") ); //Opening the non-existing file in "w+t" mode, which will be created
[all …]
H A D007_variation20.phpt2 Test fopen and fclose() functions - usage variations - "w+b" mode
6 /* Test fopen() and fclose(): Opening the file in "w+b" mode,
9 checking for the file truncation when trying to open an existing file in "w+b" mode,
15 create_files($file_path, 1, "text_with_new_line", 0755, 20, "w", "007_variation", 20, "bytes");
19 echo "*** Test fopen() & fclose() functions: with 'w+b' mode ***\n";
20 $file_handle = fopen($file, "w+b"); //opening the file "w+b" mode
32 var_dump( filesize($file) ); //Check for size of existing data file before opening the file in "w+…
34 fclose( fopen($file, "w+b") ); //Opening the existing data file again in "w+b" mode
35 var_dump( filesize($file) ); //Check for size of existing data file after opening the file in "w+b…
39 fclose( fopen($file, "w+b") ); //Opening the non-existing file in "w+b" mode, which will be created
[all …]
H A D007_variation3.phpt2 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", 3, "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.1/ext/pcre/tests/
H A D004.phpt6 …(?:(?: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.1/Zend/Optimizer/
H A Dzend_worklist.h74 #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)
/PHP-8.1/ext/standard/tests/general_functions/
H A Dphpcredits.phpt24 %wPHP Authors%w
27 %wSAPI Modules%w
30 %wModule Authors%w
33 %wPHP Documentation%w
39 %wWebsites and Infrastructure team%w
/PHP-8.1/ext/gd/libgd/
H A Dgd_io.c34 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-8.1/ext/standard/tests/streams/
H A Dbug46024.phpt16 ,array(0 => array('pipe', 'r'), 1 => array('pipe', 'w'))
24 $w = array($pipes[0]);
26 $ret = stream_select($r, $w, $e, 1);
27 var_dump($ret === (count($r) + count($w)));
31 $w = array($pipes[0]);
33 $ret = stream_select($r, $w, $e, 1);
34 var_dump($ret === (count($r) + count($w)));

Completed in 48 milliseconds

12345678910>>...39