/PHP-5.3/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_cp932.c | 101 s1 = c1; \ 122 s1 = c1; \ 169 c1 = filter->cache; in mbfl_filt_conv_cp932_wchar() 234 int c1, c2, s1, s2; in mbfl_filt_conv_wchar_cp932() local 248 c1 = s1/94 + 0x7f; in mbfl_filt_conv_wchar_cp932() 285 c1 = 0; in mbfl_filt_conv_wchar_cp932() 289 s1 = ((c1/94 + 0x2d) << 8) + (c1%94 + 0x21); in mbfl_filt_conv_wchar_cp932() 292 c1++; in mbfl_filt_conv_wchar_cp932() 295 c1 = 0; in mbfl_filt_conv_wchar_cp932() 299 s1 = ((c1/94 + 0x93) << 8) + (c1%94 + 0x21); in mbfl_filt_conv_wchar_cp932() [all …]
|
H A D | mbfilter_sjis_open.c | 101 s1 = c1; \ 122 s1 = c1; \ 169 c1 = filter->cache; in mbfl_filt_conv_sjis_open_wchar() 234 int c1, c2, s1, s2; in mbfl_filt_conv_wchar_sjis_open() local 248 c1 = s1/94 + 0x7f; in mbfl_filt_conv_wchar_sjis_open() 285 c1 = 0; in mbfl_filt_conv_wchar_sjis_open() 289 s1 = ((c1/94 + 0x2d) << 8) + (c1%94 + 0x21); in mbfl_filt_conv_wchar_sjis_open() 292 c1++; in mbfl_filt_conv_wchar_sjis_open() 295 c1 = 0; in mbfl_filt_conv_wchar_sjis_open() 299 s1 = ((c1/94 + 0x93) << 8) + (c1%94 + 0x21); in mbfl_filt_conv_wchar_sjis_open() [all …]
|
H A D | mbfilter_cp51932.c | 102 (((c1) > 0x9f) \ 114 int c1, s, w; in mbfl_filt_conv_cp51932_wchar() local 134 c1 = filter->cache; in mbfl_filt_conv_cp51932_wchar() 173 w = (c1 << 8) | c; in mbfl_filt_conv_cp51932_wchar() 209 int c1, c2, s1; in mbfl_filt_conv_wchar_cp51932() local 257 c1 = 0; in mbfl_filt_conv_wchar_cp51932() 261 s1 = ((c1/94 + 0x2d) << 8) + (c1%94 + 0x21); in mbfl_filt_conv_wchar_cp51932() 264 c1++; in mbfl_filt_conv_wchar_cp51932() 267 c1 = 0; in mbfl_filt_conv_wchar_cp51932() 271 s1 = ((c1/94 + 0x79) << 8) +(c1%94 + 0x21); in mbfl_filt_conv_wchar_cp51932() [all …]
|
H A D | mbfilter_euc_jp_win.c | 108 int c1, s, w, n; in mbfl_filt_conv_eucjpwin_wchar() local 130 c1 = filter->cache; in mbfl_filt_conv_eucjpwin_wchar() 203 if (c1 > 0xa0 && c1 < 0xff && c > 0xa0 && c < 0xff) { in mbfl_filt_conv_eucjpwin_wchar() 261 int c1, c2, s1; in mbfl_filt_conv_wchar_eucjpwin() local 274 c1 = s1/94 + 0x75; in mbfl_filt_conv_wchar_eucjpwin() 279 c1 = s1/94 + 0xf5; in mbfl_filt_conv_wchar_eucjpwin() 327 c1 = 0; in mbfl_filt_conv_wchar_eucjpwin() 333 s1 = ((c1 / 94 + oh + 0x21) << 8) + (c1 % 94 + 0x21); in mbfl_filt_conv_wchar_eucjpwin() 336 c1++; in mbfl_filt_conv_wchar_eucjpwin() 339 c1 = 0; in mbfl_filt_conv_wchar_eucjpwin() [all …]
|
H A D | mbfilter_euc_kr.c | 104 int c1, w, flag; in mbfl_filt_conv_euckr_wchar() local 122 c1 = filter->cache; in mbfl_filt_conv_euckr_wchar() 124 if (c1 >= 0xa1 && c1 <= 0xc6) { in mbfl_filt_conv_euckr_wchar() 126 } else if (c1 >= 0xc7 && c1 <= 0xfe && c1 != 0xc9) { in mbfl_filt_conv_euckr_wchar() 138 w = (c1 - 0xc7)*94 + (c - 0xa1); 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() 176 int c1, c2, s; in mbfl_filt_conv_wchar_euckr() local 196 c1 = (s >> 8) & 0xff; in mbfl_filt_conv_wchar_euckr() 199 if (c1 < 0xa1 || c2 < 0xa1){ in mbfl_filt_conv_wchar_euckr() [all …]
|
H A D | mbfilter_uhc.c | 103 int c1, w = 0, flag = 0; in mbfl_filt_conv_uhc_wchar() local 121 c1 = filter->cache; in mbfl_filt_conv_uhc_wchar() 123 if ( c1 >= 0x81 && c1 <= 0xa0){ in mbfl_filt_conv_uhc_wchar() 124 w = (c1 - 0x81)*190 + (c - 0x41); in mbfl_filt_conv_uhc_wchar() 131 } else if ( c1 >= 0xa1 && c1 <= 0xc6){ in mbfl_filt_conv_uhc_wchar() 139 } else if ( c1 >= 0xc7 && c1 <= 0xfe){ in mbfl_filt_conv_uhc_wchar() 150 w = (c1 << 8) | c; in mbfl_filt_conv_uhc_wchar() 159 w = (c1 << 8) | c; in mbfl_filt_conv_uhc_wchar() 181 int c1, s; in mbfl_filt_conv_wchar_uhc() local 200 c1 = c & ~MBFL_WCSPLANE_MASK; in mbfl_filt_conv_wchar_uhc() [all …]
|
H A D | mbfilter_iso2022_jp_ms.c | 94 int c1, s, w; in mbfl_filt_conv_2022jpms_wchar() local 127 c1 = filter->cache; in mbfl_filt_conv_2022jpms_wchar() 166 if (c1 > 0x20 && c1 < 0x35) { in mbfl_filt_conv_2022jpms_wchar() 181 w = (c1 << 8) | c; in mbfl_filt_conv_2022jpms_wchar() 295 int c1, c2, s1, s2; in mbfl_filt_conv_wchar_2022jpms() local 309 c1 = s1/94 + 0x7f; in mbfl_filt_conv_wchar_2022jpms() 345 c1 = 0; in mbfl_filt_conv_wchar_2022jpms() 349 s1 = ((c1/94 + 0x2d) << 8) + (c1%94 + 0x21); in mbfl_filt_conv_wchar_2022jpms() 352 c1++; in mbfl_filt_conv_wchar_2022jpms() 355 c1 = 0; in mbfl_filt_conv_wchar_2022jpms() [all …]
|
H A D | mbfilter_euc_tw.c | 105 int c1, s, w, plane; in mbfl_filt_conv_euctw_wchar() local 126 c1 = filter->cache; 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() 151 c1 = filter->cache; in mbfl_filt_conv_euctw_wchar() 159 w = (c1 << 8) | c; in mbfl_filt_conv_euctw_wchar() 168 c1 = filter->cache; in mbfl_filt_conv_euctw_wchar() 176 w = (c1 << 8) | c; in mbfl_filt_conv_euctw_wchar() 185 c1 = filter->cache; in mbfl_filt_conv_euctw_wchar() 186 if (c1 >= 0x100 && c1 <= 0xdff && c > 0xa0 && c < 0xff) { in mbfl_filt_conv_euctw_wchar() [all …]
|
H A D | mbfilter_sjis.c | 101 s1 = c1; \ 104 if ((c1) < 0x5f) { \ 110 if ((c1) & 1) { \ 122 s1 = c1; \ 149 int c1, s1, s2, w; in mbfl_filt_conv_sjis_wchar() local 169 c1 = filter->cache; in mbfl_filt_conv_sjis_wchar() 171 SJIS_DECODE(c1, c, s1, s2); in mbfl_filt_conv_sjis_wchar() 184 w = (c1 << 8) | c; in mbfl_filt_conv_sjis_wchar() 193 w = (c1 << 8) | c; in mbfl_filt_conv_sjis_wchar() 214 int c1, c2, s1, s2; in mbfl_filt_conv_wchar_sjis() local [all …]
|
H A D | mbfilter_euc_cn.c | 104 int c1, w; in mbfl_filt_conv_euccn_wchar() local 122 c1 = filter->cache; in mbfl_filt_conv_euccn_wchar() 123 if (c1 > 0xa0 && c1 < 0xff && c > 0xa0 && c < 0xff) { in mbfl_filt_conv_euccn_wchar() 124 w = (c1 - 0x81)*192 + (c - 0x40); in mbfl_filt_conv_euccn_wchar() 131 w = (c1 << 8) | c; in mbfl_filt_conv_euccn_wchar() 139 w = (c1 << 8) | c; in mbfl_filt_conv_euccn_wchar() 160 int c1, c2, s; in mbfl_filt_conv_wchar_euccn() local 174 c1 = (s >> 8) & 0xff; in mbfl_filt_conv_wchar_euccn() 177 if (c1 < 0xa1 || c2 < 0xa1) { /* exclude CP936 extension */ in mbfl_filt_conv_wchar_euccn() 182 c1 = c & ~MBFL_WCSPLANE_MASK; in mbfl_filt_conv_wchar_euccn() [all …]
|
H A D | mbfilter_iso2022_kr.c | 82 int c1, w, flag; in mbfl_filt_conv_2022kr_wchar() local 111 c1 = filter->cache; in mbfl_filt_conv_2022kr_wchar() 113 if (c1 > 0x20 && c1 < 0x47) { in mbfl_filt_conv_2022kr_wchar() 115 } else if (c1 >= 0x47 && c1 <= 0x7e && c1 != 0x49) { in mbfl_filt_conv_2022kr_wchar() 127 w = (c1 - 0x47)*94 + (c - 0x21); 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() 198 int c1, c2, s; in mbfl_filt_conv_wchar_2022kr() local 218 c1 = (s >> 8) & 0xff; in mbfl_filt_conv_wchar_2022kr() 221 if (c1 < 0xa1 || c2 < 0xa1){ in mbfl_filt_conv_wchar_2022kr() [all …]
|
H A D | mbfilter_euc_jp.c | 105 int c1, s, w; in mbfl_filt_conv_eucjp_wchar() local 127 c1 = filter->cache; in mbfl_filt_conv_eucjp_wchar() 129 s = (c1 - 0xa1)*94 + c - 0xa1; in mbfl_filt_conv_eucjp_wchar() 144 w = (c1 << 8) | c; in mbfl_filt_conv_eucjp_wchar() 177 c1 = filter->cache; in mbfl_filt_conv_eucjp_wchar() 178 if (c1 > 0xa0 && c1 < 0xff && c > 0xa0 && c < 0xff) { in mbfl_filt_conv_eucjp_wchar() 179 s = (c1 - 0xa1)*94 + c - 0xa1; in mbfl_filt_conv_eucjp_wchar() 194 w = (c1 << 8) | c | 0x8f0000; in mbfl_filt_conv_eucjp_wchar() 215 int c1, s; in mbfl_filt_conv_wchar_eucjp() local 228 c1 = c & ~MBFL_WCSPLANE_MASK; in mbfl_filt_conv_wchar_eucjp() [all …]
|
H A D | mbfilter_cp936.c | 105 int c1, w; in mbfl_filt_conv_cp936_wchar() local 125 c1 = filter->cache; in mbfl_filt_conv_cp936_wchar() 126 if ( c1 < 0xff && c1 > 0x80 && c > 0x39 && c < 0xff && c != 0x7f) { in mbfl_filt_conv_cp936_wchar() 127 w = (c1 - 0x81)*192 + (c - 0x40); in mbfl_filt_conv_cp936_wchar() 134 w = (c1 << 8) | c; in mbfl_filt_conv_cp936_wchar() 142 w = (c1 << 8) | c; in mbfl_filt_conv_cp936_wchar() 163 int c1, s; in mbfl_filt_conv_wchar_cp936() local 184 c1 = c & ~MBFL_WCSPLANE_MASK; in mbfl_filt_conv_wchar_cp936() 185 if (c1 == MBFL_WCSPLANE_WINCP936) { in mbfl_filt_conv_wchar_cp936()
|
H A D | mbfilter_big5.c | 104 int c1, w; in mbfl_filt_conv_big5_wchar() local 122 c1 = filter->cache; in mbfl_filt_conv_big5_wchar() 125 w = (c1 - 0xa1)*157 + (c - 0x40); in mbfl_filt_conv_big5_wchar() 127 w = (c1 - 0xa1)*157 + (c - 0xa1) + 0x3f; in mbfl_filt_conv_big5_wchar() 135 w = (c1 << 8) | c; in mbfl_filt_conv_big5_wchar() 143 w = (c1 << 8) | c; in mbfl_filt_conv_big5_wchar() 164 int c1, s; in mbfl_filt_conv_wchar_big5() local 183 c1 = c & ~MBFL_WCSPLANE_MASK; in mbfl_filt_conv_wchar_big5() 184 if (c1 == MBFL_WCSPLANE_BIG5) { in mbfl_filt_conv_wchar_big5()
|
/PHP-5.3/ext/oci8/tests/ |
H A D | bug40078.phpt | 16 PROCEDURE nullbind(c1 OUT ARRTYPE); 23 PROCEDURE nullbind(c1 OUT ARRTYPE) IS 25 c1(1) := 'one'; 26 c1(2) := 'two'; 27 c1(3) := ''; 28 c1(4) := 'four'; 29 c1(5) := 'five'; 35 $statement = oci_parse($c, "BEGIN ARRAYBINDPKG1.nullbind(:c1); END;"); 37 oci_bind_array_by_name($statement, ":c1", $array, 5, 20, SQLT_CHR);
|
H A D | connect_scope1.phpt | 14 "create table connect_scope1_tab (c1 number)", 18 $c1 = oci_new_connect($user,$password,$dbase); 20 $c1 = oci_new_connect($user,$password); 22 oci8_test_sql_execute($c1, $stmtarray); 45 $s1 = oci_parse($c1, "select * from connect_scope1_tab"); 55 $s1 = oci_parse($c1, "select * from connect_scope1_tab"); 66 oci8_test_sql_execute($c1, $stmtarray);
|
H A D | connect_scope2.phpt | 14 "create table connect_scope2_tab (c1 number)", 18 $c1 = oci_new_connect($user,$password,$dbase); 20 $c1 = oci_new_connect($user,$password); 22 oci8_test_sql_execute($c1, $stmtarray); 45 $s1 = oci_parse($c1, "select * from connect_scope2_tab"); 55 $s1 = oci_parse($c1, "select * from connect_scope2_tab"); 66 oci8_test_sql_execute($c1, $stmtarray);
|
H A D | bug51253.phpt | 24 PROCEDURE iobind(c1 IN OUT ARRTYPE); 32 PROCEDURE iobind(c1 IN OUT ARRTYPE) IS 35 INSERT INTO bind_test VALUES (c1(i)); 41 FETCH CUR INTO c1(i); 53 $statement = oci_parse($c, "BEGIN ARRAYBINDPKG1.iobind(:c1); END;"); 56 oci_bind_array_by_name($statement, ":c1", $array2, 5, -1, SQLT_CHR); 64 $statement = oci_parse($c, "BEGIN ARRAYBINDPKG1.iobind(:c1); END;"); 67 oci_bind_array_by_name($statement, ":c1", $array2, 5, -1, SQLT_CHR); 75 $statement = oci_parse($c, "BEGIN ARRAYBINDPKG1.iobind(:c1); END;"); 78 oci_bind_array_by_name($statement, ":c1", $array1, 5, -1, SQLT_CHR);
|
H A D | connect_scope_try1.phpt | 16 "create table scope_try1_tab (c1 number)" 20 $c1 = oci_new_connect($user,$password,$dbase); 22 $c1 = oci_new_connect($user,$password); 24 oci8_test_sql_execute($c1, $stmtarray); 51 $s1 = oci_parse($c1, "select * from scope_try1_tab"); 62 $s1 = oci_parse($c1, "select * from scope_try1_tab"); 73 oci8_test_sql_execute($c1, $stmtarray);
|
H A D | connect_scope_try3.phpt | 16 "create table scope_try3_tab (c1 number)" 20 $c1 = oci_new_connect($user,$password,$dbase); 22 $c1 = oci_new_connect($user,$password); 24 oci8_test_sql_execute($c1, $stmtarray); 51 $s1 = oci_parse($c1, "select * from scope_try3_tab"); 62 $s1 = oci_parse($c1, "select * from scope_try3_tab"); 73 oci8_test_sql_execute($c1, $stmtarray);
|
H A D | connect_scope_try4.phpt | 16 "create table scope_try4_tab (c1 number)" 20 $c1 = oci_new_connect($user,$password,$dbase); 22 $c1 = oci_new_connect($user,$password); 24 oci8_test_sql_execute($c1, $stmtarray); 51 $s1 = oci_parse($c1, "select * from scope_try4_tab"); 62 $s1 = oci_parse($c1, "select * from scope_try4_tab"); 73 oci8_test_sql_execute($c1, $stmtarray);
|
/PHP-5.3/ext/json/ |
H A D | utf8_decode.c | 146 int c1 = cont(utf8); in utf8_decode_next() local 147 if (c1 < 0) { in utf8_decode_next() 150 r = ((c & 0x1F) << 6) | c1; in utf8_decode_next() 157 int c1 = cont(utf8); in utf8_decode_next() local 159 if (c1 < 0 || c2 < 0) { in utf8_decode_next() 162 r = ((c & 0x0F) << 12) | (c1 << 6) | c2; in utf8_decode_next() 169 int c1 = cont(utf8); in utf8_decode_next() local 172 if (c1 < 0 || c2 < 0 || c3 < 0) { in utf8_decode_next() 175 r = ((c & 0x0F) << 18) | (c1 << 12) | (c2 << 6) | c3; in utf8_decode_next()
|
/PHP-5.3/ext/standard/tests/strings/ |
H A D | strnatcmp_basic.phpt | 13 $c1 = "abc15"; 23 var_dump(strnatcmp($a1, $c1)); 25 var_dump(strnatcmp($b1, $c1)); 26 var_dump(strnatcmp($d1, $c1)); 41 var_dump(strnatcmp($c1, $a1)); 43 var_dump(strnatcmp($c1, $b1)); 44 var_dump(strnatcmp($c1, $d1)); 47 var_dump(strnatcmp($c1, $a2)); 49 var_dump(strnatcmp($c1, $b2)); 50 var_dump(strnatcmp($c1, $d2));
|
/PHP-5.3/ext/gd/tests/ |
H A D | copy.phpt | 40 $c1 = imagecolorsforindex($dst_tc, imagecolorat($dst_tc, 3,3)); 44 $p1 = $c1['red'] == 0xff && $c1['blue']==0x00 && $c1['green']==0x00; 57 $c1 = imagecolorallocate($src_tc, 0xff, 0x00, 0x00); 61 imagesetpixel($src_tc, 3,3, $c1); 69 $c1 = imagecolorsforindex($dst_tc, imagecolorat($dst_tc, 3,3)); 73 $p1 = $c1['red'] == 0xff && $c1['blue']==0x00 && $c1['green']==0x00; 86 $c1 = imagecolorallocate($src_tc, 0xff, 0x00, 0x00); 90 imagesetpixel($src_tc, 3,3, $c1);
|
/PHP-5.3/Zend/ |
H A D | zend_multibyte.c | 740 c1 = *p++; in sjis_input_filter() 745 c1 -= (c1 <= 0x9f) ? 0x71 : 0xb1; in sjis_input_filter() 746 c1 = (c1 << 1) + 1; in sjis_input_filter() 749 c1++; in sjis_input_filter() 759 *q++ = c1; in sjis_input_filter() 783 c1 -= (c1 > 0xf9) ? (0x79+0x71) : (0x0a+0xb1); in sjis_input_filter() 784 c1 = (c1 << 1) + 1; in sjis_input_filter() 787 c1++; in sjis_input_filter() 874 c1 = ((c1 - 0x21) >> 1) + 0x81; in sjis_output_filter() 903 c1 = ((c1 - 0x21) >> 1) + 0x81; in sjis_output_filter() [all …]
|