/PHP-8.2/ext/pcre/pcre2lib/ |
H A D | pcre2_string_utils.c | 104 PCRE2_UCHAR c1, c2; in PRIV() local 108 c2 = *str2++; in PRIV() 109 if (c1 != c2) return ((c1 > c2) << 1) - 1; in PRIV() 132 PCRE2_UCHAR c1, c2; in PRIV() local 136 c2 = *str2++; in PRIV() 137 if (c1 != c2) return ((c1 > c2) << 1) - 1; in PRIV() 159 PCRE2_UCHAR c1, c2; in PRIV() local 163 c2 = *str2++; in PRIV() 164 if (c1 != c2) return ((c1 > c2) << 1) - 1; in PRIV() 192 c2 = *str2++; in PRIV() [all …]
|
/PHP-8.2/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_big5.c | 189 int c2 = (c1 << 8) | c; in mbfl_filt_conv_big5_wchar() local 192 if (c2 >= cp950_pua_tbl[k][2] && c2 <= cp950_pua_tbl[k][3]) { in mbfl_filt_conv_big5_wchar() 402 unsigned char c2 = *p++; in mb_big5_to_wchar() local 404 if ((c2 >= 0x40 && c2 <= 0x7E) || (c2 >= 0xA1 && c2 <= 0xFE)) { in mb_big5_to_wchar() 405 unsigned int w = ((c - 0xA1)*157) + c2 - ((c2 <= 0x7E) ? 0x40 : 0xA1 - 0x3F); in mb_big5_to_wchar() 476 unsigned char c2 = *p++; in mb_cp950_to_wchar() local 478 if ((c2 >= 0x40 && c2 <= 0x7E) || (c2 >= 0xA1 && c2 <= 0xFE)) { in mb_cp950_to_wchar() 479 unsigned int w = ((c - 0xA1)*157) + c2 - ((c2 <= 0x7E) ? 0x40 : 0xA1 - 0x3F); in mb_cp950_to_wchar() 499 if (c2 == 0x45) { in mb_cp950_to_wchar() 501 } else if (c2 == 0x4E) { in mb_cp950_to_wchar() [all …]
|
H A D | mbfilter_gb18030.c | 155 c2 = (c1 << 8) | c; in mbfl_filt_conv_gb18030_wchar() 158 ((c2 >= 0xa2ab && c2 <= 0xa9f0 + (0xe80f-0xe801)) || in mbfl_filt_conv_gb18030_wchar() 159 (c2 >= 0xd7fa && c2 <= 0xd7fa + (0xe814-0xe810)) || in mbfl_filt_conv_gb18030_wchar() 160 (c2 >= 0xfe50 && c2 <= 0xfe80 + (0xe864-0xe844)))) { in mbfl_filt_conv_gb18030_wchar() 438 } else if (c >= 0xA1 && c <= 0xA7 && c2 >= 0x40 && c2 < 0xA1 && c2 != 0x7F) { in mb_gb18030_to_wchar() 440 *out++ = 96*(c - 0xA1) + c2 - (c2 >= 0x80 ? 0x41 : 0x40) + 0xE4C6; in mb_gb18030_to_wchar() 451 if ((c >= 0xA1 && c <= 0xA9 && c2 >= 0xA1 && c2 <= 0xFE) || in mb_gb18030_to_wchar() 452 (c >= 0xB0 && c <= 0xf7 && c2 >= 0xa1 && c2 <= 0xfe) || in mb_gb18030_to_wchar() 453 (c >= 0x81 && c <= 0xa0 && c2 >= 0x40 && c2 <= 0xfe && c2 != 0x7f) || in mb_gb18030_to_wchar() 454 (c >= 0xAA && c <= 0xfe && c2 >= 0x40 && c2 <= 0xa0 && c2 != 0x7f) || in mb_gb18030_to_wchar() [all …]
|
H A D | mbfilter_cp936.c | 101 int c1, c2, w = -1; in mbfl_filt_conv_cp936_wchar() local 132 c2 = (c1 << 8) | c; in mbfl_filt_conv_cp936_wchar() 135 ((c2 >= 0xa2ab && c2 <= 0xa9f0 + (0xe80f-0xe801)) || in mbfl_filt_conv_cp936_wchar() 136 (c2 >= 0xd7fa && c2 <= 0xd7fa + (0xe814-0xe810)) || in mbfl_filt_conv_cp936_wchar() 137 (c2 >= 0xfe50 && c2 <= 0xfe80 + (0xe864-0xe844)))) { in mbfl_filt_conv_cp936_wchar() 294 unsigned char c2 = *p++; in mb_cp936_to_wchar() local 296 if (((c >= 0xAA && c <= 0xAF) || (c >= 0xF8 && c <= 0xFE)) && (c2 >= 0xA1 && c2 <= 0xFE)) { in mb_cp936_to_wchar() 299 } else if (c >= 0xA1 && c <= 0xA7 && c2 >= 0x40 && c2 < 0xA1 && c2 != 0x7F) { in mb_cp936_to_wchar() 301 *out++ = 96*(c - 0xA1) + c2 - (c2 >= 0x80 ? 0x41 : 0x40) + 0xE4C6; in mb_cp936_to_wchar() 303 unsigned int w = (c << 8) | c2; in mb_cp936_to_wchar() [all …]
|
H A D | mbfilter_cp932.c | 173 s2 = c2; \ 194 s2 = c2; \ 294 int c1, c2, s1, s2; in mbfl_filt_conv_wchar_cp932() local 311 c2 = s1%94 + 0x21; in mbfl_filt_conv_wchar_cp932() 312 s1 = (c1 << 8) | c2; in mbfl_filt_conv_wchar_cp932() 365 c2 = s1 & 0xff; in mbfl_filt_conv_wchar_cp932() 407 if (c2 >= 0x40 && c2 <= 0xFC && c2 != 0x7F) { in mb_cp932_to_wchar() 483 c2 = s1%94 + 0x21; in mb_wchar_to_cp932() 532 c2 = s1 & 0xFF; in mb_wchar_to_cp932() 562 c2 = s1%94 + 0x21; in mb_wchar_to_sjiswin() [all …]
|
H A D | mbfilter_euc_jp_win.c | 242 int c1, c2, s1 = 0; in mbfl_filt_conv_wchar_eucjpwin() local 259 c2 = s1%94 + 0x21; in mbfl_filt_conv_wchar_eucjpwin() 260 s1 = (c1 << 8) | c2; in mbfl_filt_conv_wchar_eucjpwin() 264 c2 = s1%94 + 0xa1; in mbfl_filt_conv_wchar_eucjpwin() 265 s1 = (c1 << 8) | c2; in mbfl_filt_conv_wchar_eucjpwin() 356 unsigned char c2 = *p++; in mb_eucjpwin_to_wchar() local 358 if (c2 >= 0xA1 && c2 <= 0xFE) { in mb_eucjpwin_to_wchar() 397 if (c2 >= 0xA1 && c2 <= 0xDF) { in mb_eucjpwin_to_wchar() 398 *out++ = 0xFEC0 + c2; in mb_eucjpwin_to_wchar() 410 if (c2 >= 0xA1 && c2 <= 0xFE && c3 >= 0xA1 && c3 <= 0xFE) { in mb_eucjpwin_to_wchar() [all …]
|
H A D | mbfilter_utf8.c | 231 unsigned char c2 = *p++; in mb_utf8_to_wchar() local 232 if ((c2 & 0xC0) != 0x80) { in mb_utf8_to_wchar() 236 *out++ = ((c & 0x1F) << 6) | (c2 & 0x3F); in mb_utf8_to_wchar() 243 unsigned char c2 = *p++; in mb_utf8_to_wchar() local 245 if ((c2 & 0xC0) != 0x80 || (c == 0xE0 && c2 < 0xA0) || (c == 0xED && c2 >= 0xA0)) { in mb_utf8_to_wchar() 252 uint32_t decoded = ((c & 0xF) << 12) | ((c2 & 0x3F) << 6) | (c3 & 0x3F); in mb_utf8_to_wchar() 270 unsigned char c2 = *p++; in mb_utf8_to_wchar() local 276 if ((c2 & 0xC0) != 0x80 || (c == 0xF0 && c2 < 0x90) || (c == 0xF4 && c2 >= 0x90)) { in mb_utf8_to_wchar() 286 uint32_t decoded = ((c & 0x7) << 18) | ((c2 & 0x3F) << 12) | ((c3 & 0x3F) << 6) | (c4 & 0x3F); in mb_utf8_to_wchar() 292 unsigned char c2 = *p; in mb_utf8_to_wchar() local [all …]
|
H A D | mbfilter_sjis.c | 100 #define SJIS_ENCODE(c1,c2,s1,s2) \ argument 110 s2 = c2; \ 112 if ((c2) < 0x60) { \ 131 s2 = c2; \ 199 int c1, c2, s1, s2; in mbfl_filt_conv_wchar_sjis() local 242 c2 = s1 & 0xFF; in mbfl_filt_conv_wchar_sjis() 243 SJIS_ENCODE(c1, c2, s1, s2); in mbfl_filt_conv_wchar_sjis() 267 unsigned char c2 = *p++; in mb_sjis_to_wchar() local 268 if (c2 >= 0x40 && c2 <= 0xFC && c2 != 0x7F) { in mb_sjis_to_wchar() 270 SJIS_DECODE(c, c2, s1, s2); in mb_sjis_to_wchar() [all …]
|
H A D | mbfilter_sjis_2004.c | 174 s2 = c2; \ 195 s2 = c2; \ 359 c2 = c - 0x80; in mbfl_filt_conv_jis2004_wchar() 361 c2 = c; in mbfl_filt_conv_jis2004_wchar() 364 if (c2 < 0x21 || c2 > 0x7E) { in mbfl_filt_conv_jis2004_wchar() 370 s2 = c2 - 0x21; in mbfl_filt_conv_jis2004_wchar() 777 if (c2 < 0x40 || c2 > 0xFC || c2 == 0x7F) { in mb_sjis2004_to_wchar() 942 if (c2 <= 0xA0 || c2 == 0xFF) { in mb_eucjp2004_to_wchar() 979 if (c2 >= 0xA1 && c2 <= 0xDF) { in mb_eucjp2004_to_wchar() 986 …if ((c2 == 0xA1 || (c2 >= 0xA3 && c2 <= 0xA5) || c2 == 0xA8 || (c2 >= 0xAC && c2 <= 0xAF) || (c2 >… in mb_eucjp2004_to_wchar() [all …]
|
H A D | mbfilter_cp51932.c | 198 int c1, c2, s1; in mbfl_filt_conv_wchar_cp51932() local 229 c2 = cp932ext1_ucs_table_max - cp932ext1_ucs_table_min; in mbfl_filt_conv_wchar_cp51932() 230 while (c1 < c2) { /* CP932 vendor ext1 (13ku) */ in mbfl_filt_conv_wchar_cp51932() 239 c2 = cp932ext2_ucs_table_max - cp932ext2_ucs_table_min; in mbfl_filt_conv_wchar_cp51932() 240 while (c1 < c2) { /* CP932 vendor ext3 (115ku - 119ku) */ in mbfl_filt_conv_wchar_cp51932() 286 unsigned char c2 = *p++; in mb_cp51932_to_wchar() local 287 if (c2 >= 0xA1 && c2 <= 0xFE) { in mb_cp51932_to_wchar() 288 unsigned int s = (c - 0xA1)*94 + c2 - 0xA1, w = 0; in mb_cp51932_to_wchar() 325 unsigned char c2 = *p++; in mb_cp51932_to_wchar() local 326 if (c2 >= 0xA1 && c2 <= 0xDF) { in mb_cp51932_to_wchar() [all …]
|
H A D | mbfilter_euc_jp.c | 265 unsigned char c2 = *p++; in mb_eucjp_to_wchar() local 266 if (c2 >= 0xA1 && c2 <= 0xFE) { in mb_eucjp_to_wchar() 267 unsigned int s = (c - 0xA1)*94 + c2 - 0xA1; in mb_eucjp_to_wchar() 281 unsigned char c2 = *p++; in mb_eucjp_to_wchar() local 282 *out++ = (c2 >= 0xA1 && c2 <= 0xDF) ? 0xFEC0 + c2 : MBFL_BAD_INPUT; in mb_eucjp_to_wchar() 286 unsigned char c2 = *p++; in mb_eucjp_to_wchar() local 288 if (c3 >= 0xA1 && c3 <= 0xFE && c2 >= 0xA1 && c2 <= 0xFE) { in mb_eucjp_to_wchar() 289 unsigned int s = (c2 - 0xA1)*94 + c3 - 0xA1; in mb_eucjp_to_wchar()
|
H A D | mbfilter_uhc.c | 211 unsigned char c2 = *p++; in mb_uhc_to_wchar() local 214 if (c >= 0x81 && c <= 0xA0 && c2 >= 0x41 && c2 <= 0xFE) { in mb_uhc_to_wchar() 215 w = (c - 0x81)*190 + (c2 - 0x41); in mb_uhc_to_wchar() 219 } else if (c >= 0xA1 && c <= 0xC6 && c2 >= 0x41 && c2 <= 0xFE) { in mb_uhc_to_wchar() 220 w = (c - 0xA1)*190 + (c2 - 0x41); in mb_uhc_to_wchar() 224 } else if (c >= 0xC7 && c < 0xFE && c2 >= 0xA1 && c2 <= 0xFE) { in mb_uhc_to_wchar() 225 w = (c - 0xC7)*94 + (c2 - 0xA1); in mb_uhc_to_wchar()
|
/PHP-8.2/ext/oci8/tests/ |
H A D | bind_misccoltypes_errs.phpt | 70 $s = oci_parse($c, "INSERT INTO bind_misccoltypes_errs_tab (id, char_t) VALUES (3, :c2)"); 71 $c2 = "AB"; 72 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC); 78 $c2 = "AAAAAAAAAAB"; 79 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC); 85 $c2 = "ABC"; 86 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC); 92 $c2 = "Hood 6"; 93 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_BIN); 101 $c2 = "Hood 7"; [all …]
|
H A D | bind_sqltafc.phpt | 36 …O bind_sqltafc_tab (id, char_t, char_t10, varchar2_t10, number_t) VALUES (1, :c2, :c3, :c4, :c5)"); 37 $c2 = "H"; 41 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC); 51 …O bind_sqltafc_tab (id, char_t, char_t10, varchar2_t10, number_t) VALUES (5, :c2, :c3, :c4, :c5)"); 52 $c2 = ""; 56 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC); 66 …O bind_sqltafc_tab (id, char_t, char_t10, varchar2_t10, number_t) VALUES (6, :c2, :c3, :c4, :c5)"); 67 $c2 = null; 71 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_AFC);
|
H A D | bind_misccoltypes.phpt | 77 . " :c2, " 96 $c2 = "char10"; 110 oci_bind_by_name($s, ":c2", $c2); 236 $s = oci_parse($c, "INSERT INTO bind_misccoltypes_tab (id, varchar2_t10) VALUES (58, :c2)"); 237 $c2 = "Hood"; 238 oci_bind_by_name($s, ":c2", $c2); 245 $s = oci_parse($c, "INSERT INTO bind_misccoltypes_tab (id, char_t10) VALUES (59, :c2)"); 246 $c2 = "Hood"; 247 oci_bind_by_name($s, ":c2", $c2); 255 $c2 = '2010-04-09'; [all …]
|
H A D | refcur_prefetch_4.phpt | 28 "CREATE TABLE refcurtest (c1 NUMBER, c2 VARCHAR(20))", 33 procedure fetch_ref_cur(cur1 in refcursortype, c1 out number, c2 out varchar2); 41 procedure fetch_ref_cur(cur1 in refcursortype, c1 out number, c2 out varchar2) is 43 fetch cur1 into c1,c2; 51 $insert_sql = "INSERT INTO refcurtest (c1, c2) VALUES (:c1,:c2)"; 59 oci_bind_by_name($s,':c2',$val2); 77 $sql2 = "begin refcurpkg.fetch_ref_cur(:curs1,:c1,:c2); end;"; 85 if (!oci_bind_by_name($s2, ":c2", $c2, 20, SQLT_CHR)) { 99 var_dump($c2); 132 var_dump($c2);
|
H A D | bind_sqltnum.phpt | 45 $s = oci_parse($c, "INSERT INTO bind_sqltnum_tab (id, varchar2_t10) VALUES (100, :c2)"); 46 $c2 = "Hood"; 47 $r = oci_bind_by_name($s, ":c2", $c2, -1); 65 $s = oci_parse($c, "INSERT INTO bind_sqltnum_tab (id, varchar2_t10) VALUES (100, :c2)"); 66 $c2 = "Hood"; 67 $r = oci_bind_by_name($s, ":c2", $c2, -1, SQLT_NUM); 80 $c2 = "Hood41"; 81 $s = oci_parse($c, "INSERT INTO bind_sqltnum_tab (id, varchar2_t10) VALUES (41, :c2)"); 82 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_NUM);
|
H A D | connect_1.phpt | 18 var_dump($c2 = oci_new_connect($user, $password, $dbase)); 21 var_dump($c2 = oci_new_connect($user, $password)); 25 var_dump(oci_close($c2));
|
/PHP-8.2/win32/ |
H A D | fnmatch.c | 155 char c, c2; in rangematch() local 180 && (c2 = *(pattern+1)) != EOS && c2 != ']') { in rangematch() 182 if (c2 == '\\' && !(flags & FNM_NOESCAPE)) in rangematch() 183 c2 = *pattern++; in rangematch() 184 if (c2 == EOS) in rangematch() 188 c2 = tolower((unsigned char)c2); in rangematch() 191 (unsigned char)test <= (unsigned char)c2) in rangematch()
|
/PHP-8.2/ext/gd/tests/ |
H A D | copy.phpt | 39 $c2 = imagecolorsforindex($dst_tc, imagecolorat($dst_tc, 0,0)); 43 $p2 = $c2['red'] == 0x00 && $c2['blue']==0xff && $c2['green']==0x00; 56 $c2 = imagecolorallocate($src_tc, 0x00, 0x00, 0xff); 60 imagesetpixel($src_tc, 0,0, $c2); 68 $c2 = imagecolorsforindex($dst_tc, imagecolorat($dst_tc, 0,0)); 72 $p2 = $c2['red'] == 0x00 && $c2['blue']==0xff && $c2['green']==0x00; 85 $c2 = imagecolorallocate($src_tc, 0x00, 0x00, 0xff); 89 imagesetpixel($src_tc, 0,0, $c2);
|
H A D | colorexact.phpt | 10 $c2 = imagecolorexactalpha($im, 255,0,255, 100); 13 printf("%X\n", $c2); 19 $c2 = imagecolorallocate($im, 255,200,0);
|
/PHP-8.2/ext/standard/tests/array/ |
H A D | count_symbol_table.phpt | 7 $c2 = 0; 13 $c2 = count($GLOBALS); 15 var_dump($c1 - $c2); 18 var_dump($c1 - $c2);
|
/PHP-8.2/tests/basic/ |
H A D | bug73969.phpt | 5 trait c2 15 use c2 17 c2::f1 as f2;
|
/PHP-8.2/ext/gd/libgd/ |
H A D | gd_topal.c | 422 int c0, c1, c2; in update_box() local 439 for (c2 = c2min; c2 <= c2max; c2++) in update_box() 452 for (c2 = c2min; c2 <= c2max; c2++) in update_box() 465 for (c2 = c2min; c2 <= c2max; c2++) in update_box() 478 for (c2 = c2min; c2 <= c2max; c2++) in update_box() 487 for (c2 = c2min; c2 <= c2max; c2++) in update_box() 500 for (c2 = c2max; c2 >= c2min; c2--) in update_box() 532 for (c2 = c2min; c2 <= c2max; c2++, histp++) in update_box() 601 cmax = c2; in median_cut() 651 int c0, c1, c2; in compute_color() local [all …]
|
/PHP-8.2/ext/mysqli/tests/ |
H A D | 025.phpt | 21 c2 tinyint unsigned, 29 mysqli_stmt_bind_param($stmt, "iiiiiii", $c1,$c2,$c3,$c4,$c5,$c6,$c7); 32 $c2 = 300; 44 $c1 = $c2 = $c3 = $c4 = $c5 = $c6 = $c7 = NULL; 47 mysqli_stmt_bind_result($stmt, $c1, $c2, $c3, $c4, $c5, $c6, $c7); 51 $test = array($c1,$c2,$c3,$c4,$c5,$c6,$c7);
|