/PHP-7.0/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 | 75 . " :c2, " 94 $c2 = "char10"; 108 oci_bind_by_name($s, ":c2", $c2); 234 $s = oci_parse($c, "INSERT INTO bind_misccoltypes_tab (id, varchar2_t10) VALUES (58, :c2)"); 235 $c2 = "Hood"; 236 oci_bind_by_name($s, ":c2", $c2); 243 $s = oci_parse($c, "INSERT INTO bind_misccoltypes_tab (id, char_t10) VALUES (59, :c2)"); 244 $c2 = "Hood"; 245 oci_bind_by_name($s, ":c2", $c2); 253 $c2 = '2010-04-09'; [all …]
|
H A D | bind_sqltnum.phpt | 44 $s = oci_parse($c, "INSERT INTO bind_sqltnum_tab (id, varchar2_t10) VALUES (100, :c2)"); 45 $c2 = "Hood"; 46 $r = oci_bind_by_name($s, ":c2", $c2, -1); 64 $s = oci_parse($c, "INSERT INTO bind_sqltnum_tab (id, varchar2_t10) VALUES (100, :c2)"); 65 $c2 = "Hood"; 66 $r = oci_bind_by_name($s, ":c2", $c2, -1, SQLT_NUM); 79 $c2 = "Hood41"; 80 $s = oci_parse($c, "INSERT INTO bind_sqltnum_tab (id, varchar2_t10) VALUES (41, :c2)"); 81 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_NUM);
|
H A D | bind_sqltnum_11g.phpt | 44 $s = oci_parse($c, "INSERT INTO bind_sqltnum_tab (id, varchar2_t10) VALUES (100, :c2)"); 45 $c2 = "Hood"; 46 $r = oci_bind_by_name($s, ":c2", $c2, -1); 64 $s = oci_parse($c, "INSERT INTO bind_sqltnum_tab (id, varchar2_t10) VALUES (100, :c2)"); 65 $c2 = "Hood"; 66 $r = oci_bind_by_name($s, ":c2", $c2, -1, SQLT_NUM); 79 $c2 = "Hood41"; 80 $s = oci_parse($c, "INSERT INTO bind_sqltnum_tab (id, varchar2_t10) VALUES (41, :c2)"); 81 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_NUM);
|
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 | connect_1_old.phpt | 18 var_dump($c2 = ocinlogon($user, $password, $dbase)); 21 var_dump($c2 = ocinlogon($user, $password)); 25 var_dump(ocilogoff($c2));
|
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(ocilogoff($c2));
|
/PHP-7.0/win32/ |
H A D | fnmatch.c | 156 char c, c2; in rangematch() local 181 && (c2 = *(pattern+1)) != EOS && c2 != ']') { in rangematch() 183 if (c2 == '\\' && !(flags & FNM_NOESCAPE)) in rangematch() 184 c2 = *pattern++; in rangematch() 185 if (c2 == EOS) in rangematch() 189 c2 = tolower((unsigned char)c2); in rangematch() 192 (unsigned char)test <= (unsigned char)c2) in rangematch()
|
/PHP-7.0/ext/mbstring/libmbfl/filters/ |
H A D | mbfilter_iso2022jp_mobile.c | 83 #define sjistoidx(c1, c2) \ argument 85 ? (((c1) - 0xc1) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40)) \ 86 : (((c1) - 0x81) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40))) 100 s2 = c2; \ 102 if ((c2) < 0x60) { \ 121 s2 = c2; \ 136 s1 = ((c1) << 8) | (c2); \ 322 int c1, c2, s1, s2; in mbfl_filt_conv_wchar_2022jp_mobile() local 337 c2 = s1%94 + 0x21; in mbfl_filt_conv_wchar_2022jp_mobile() 338 s1 = (c1 << 8) | c2; in mbfl_filt_conv_wchar_2022jp_mobile() [all …]
|
H A D | mbfilter_cp932.c | 99 #define SJIS_ENCODE(c1,c2,s1,s2) \ argument 109 s2 = c2; \ 111 if ((c2) < 0x60) { \ 120 #define SJIS_DECODE(c1,c2,s1,s2) \ argument 130 s2 = c2; \ 234 int c1, c2, s1, s2; in mbfl_filt_conv_wchar_cp932() local 249 c2 = s1%94 + 0x21; in mbfl_filt_conv_wchar_cp932() 250 s1 = (c1 << 8) | c2; in mbfl_filt_conv_wchar_cp932() 287 while (c1 < c2) { /* CP932 vendor ext1 (13ku) */ in mbfl_filt_conv_wchar_cp932() 316 c2 = s1 & 0xff; in mbfl_filt_conv_wchar_cp932() [all …]
|
H A D | mbfilter_sjis_open.c | 99 #define SJIS_ENCODE(c1,c2,s1,s2) \ argument 109 s2 = c2; \ 111 if ((c2) < 0x60) { \ 120 #define SJIS_DECODE(c1,c2,s1,s2) \ argument 130 s2 = c2; \ 233 int c1, c2, s1, s2; in mbfl_filt_conv_wchar_sjis_open() local 248 c2 = s1%94 + 0x21; in mbfl_filt_conv_wchar_sjis_open() 249 s1 = (c1 << 8) | c2; in mbfl_filt_conv_wchar_sjis_open() 286 while (c1 < c2) { /* CP932 vendor ext1 (13ku) */ in mbfl_filt_conv_wchar_sjis_open() 316 c2 = s1 & 0xff; in mbfl_filt_conv_wchar_sjis_open() [all …]
|
H A D | mbfilter_gb18030.c | 128 int c1, c2, c3, w = -1; in mbfl_filt_conv_gb18030_wchar() local 171 c2 = (c1 << 8) | c; in mbfl_filt_conv_gb18030_wchar() 174 ((c2 >= 0xa2ab && c2 <= 0xa9f0 + (0xe80f-0xe801)) || in mbfl_filt_conv_gb18030_wchar() 175 (c2 >= 0xd7fa && c2 <= 0xd7fa + (0xe814-0xe810)) || in mbfl_filt_conv_gb18030_wchar() 176 (c2 >= 0xfe50 && c2 <= 0xfe80 + (0xe864-0xe844)))) { in mbfl_filt_conv_gb18030_wchar() 178 if (c2 >= mbfl_gb18030_pua_tbl[k][2] && in mbfl_filt_conv_gb18030_wchar() 218 c2 = filter->cache & 0xff; in mbfl_filt_conv_gb18030_wchar() 222 c2 >= 0x30 && c2 <= 0x39 && c >= 0x81 && c <= 0xfe) { in mbfl_filt_conv_gb18030_wchar() 226 w = (c1 << 16) | (c2 << 8) | c; in mbfl_filt_conv_gb18030_wchar() 235 c2 = (filter->cache >> 8) & 0xff; in mbfl_filt_conv_gb18030_wchar() [all …]
|
H A D | mbfilter_cp936.c | 106 int c1, c2, w = -1; in mbfl_filt_conv_cp936_wchar() local 137 c2 = (c1 << 8) | c; in mbfl_filt_conv_cp936_wchar() 140 ((c2 >= 0xa2ab && c2 <= 0xa9f0 + (0xe80f-0xe801)) || in mbfl_filt_conv_cp936_wchar() 141 (c2 >= 0xd7fa && c2 <= 0xd7fa + (0xe814-0xe810)) || in mbfl_filt_conv_cp936_wchar() 142 (c2 >= 0xfe50 && c2 <= 0xfe80 + (0xe864-0xe844)))) { in mbfl_filt_conv_cp936_wchar() 144 if (c2 >= mbfl_cp936_pua_tbl[k][2] && in mbfl_filt_conv_cp936_wchar() 145 c2 <= mbfl_cp936_pua_tbl[k][2] + in mbfl_filt_conv_cp936_wchar() 147 w = c2 - mbfl_cp936_pua_tbl[k][2] + mbfl_cp936_pua_tbl[k][0]; in mbfl_filt_conv_cp936_wchar()
|
H A D | mbfilter_cp51932.c | 101 #define sjistoidx(c1, c2) \ argument 103 ? (((c1) - 0xc1) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40)) \ 104 : (((c1) - 0x81) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40))) 209 int c1, c2, s1; in mbfl_filt_conv_wchar_cp51932() local 258 c2 = cp932ext1_ucs_table_max - cp932ext1_ucs_table_min; in mbfl_filt_conv_wchar_cp51932() 259 while (c1 < c2) { /* CP932 vendor ext1 (13ku) */ in mbfl_filt_conv_wchar_cp51932() 268 c2 = cp932ext2_ucs_table_max - cp932ext2_ucs_table_min; in mbfl_filt_conv_wchar_cp51932() 269 while (c1 < c2) { /* CP932 vendor ext3 (115ku - 119ku) */ in mbfl_filt_conv_wchar_cp51932()
|
H A D | mbfilter_sjis.c | 102 #define SJIS_ENCODE(c1,c2,s1,s2) \ argument 112 s2 = c2; \ 114 if ((c2) < 0x60) { \ 123 #define SJIS_DECODE(c1,c2,s1,s2) \ argument 133 s2 = c2; \ 217 int c1, c2, s1, s2; in mbfl_filt_conv_wchar_sjis() local 265 c2 = s1 & 0xff; in mbfl_filt_conv_wchar_sjis() 266 SJIS_ENCODE(c1, c2, s1, s2); in mbfl_filt_conv_wchar_sjis()
|
H A D | mbfilter_sjis_2004.c | 96 s2 = c2; \ 98 if ((c2) < 0x60) { \ 117 s2 = c2; \ 322 c2 = c - 0x80; in mbfl_filt_conv_jis2004_wchar() 324 c2 = c; in mbfl_filt_conv_jis2004_wchar() 327 s2 = c2 - 0x21; in mbfl_filt_conv_jis2004_wchar() 526 c2 = s1 & 0xff; in mbfl_filt_conv_wchar_jis2004() 623 c2 = s1 & 0xff; in mbfl_filt_conv_wchar_jis2004() 644 c2 = s1 & 0xff; in mbfl_filt_conv_wchar_jis2004() 682 int k, c1, c2, s1, s2; in mbfl_filt_conv_jis2004_flush() local [all …]
|
/PHP-7.0/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-7.0/ext/gd/tests/ |
H A D | copy.phpt | 41 $c2 = imagecolorsforindex($dst_tc, imagecolorat($dst_tc, 0,0)); 45 $p2 = $c2['red'] == 0x00 && $c2['blue']==0xff && $c2['green']==0x00; 58 $c2 = imagecolorallocate($src_tc, 0x00, 0x00, 0xff); 62 imagesetpixel($src_tc, 0,0, $c2); 70 $c2 = imagecolorsforindex($dst_tc, imagecolorat($dst_tc, 0,0)); 74 $p2 = $c2['red'] == 0x00 && $c2['blue']==0xff && $c2['green']==0x00; 87 $c2 = imagecolorallocate($src_tc, 0x00, 0x00, 0xff); 91 imagesetpixel($src_tc, 0,0, $c2);
|
H A D | colorexact.phpt | 12 $c2 = imagecolorexactalpha($im, 255,0,255, 100); 15 printf("%X\n", $c2); 21 $c2 = imagecolorallocate($im, 255,200,0);
|
/PHP-7.0/tests/basic/ |
H A D | bug73969.phpt | 5 trait c2 15 use c2 17 c2::f1 as f2;
|
/PHP-7.0/ext/mysqli/tests/ |
H A D | 025.phpt | 20 c2 tinyint unsigned, 28 mysqli_stmt_bind_param($stmt, "iiiiiii", $c1,$c2,$c3,$c4,$c5,$c6,$c7); 31 $c2 = 300; 43 $c1 = $c2 = $c3 = $c4 = $c5 = $c6 = $c7 = NULL; 46 mysqli_stmt_bind_result($stmt, $c1, $c2, $c3, $c4, $c5, $c6, $c7); 50 $test = array($c1,$c2,$c3,$c4,$c5,$c6,$c7);
|
H A D | 009.phpt | 26 c2 bigint, 36 $rc = mysqli_query($link, "INSERT INTO test_bind_fetch (c2,c3,c4,c5,c6,c7,c8) ". 42 mysqli_stmt_bind_result($stmt, $c1, $c2, $c3, $c4, $c5, $c6, $c7, $c8); 53 $test = array($c1,$c2,$c3,$c4,$c5,$c6,$c7,$c8); 61 …$rc = mysqli_query($link, "CREATE TABLE test_bind_fetch_uint(c1 integer unsigned, c2 integer unsig… 65 if (!mysqli_query($link, "INSERT INTO test_bind_fetch_uint (c1,c2) VALUES (20123456, 3123456789)")) 69 mysqli_stmt_bind_result($stmt, $c1, $c2); 73 echo $c1, "\n", $c2, "\n";
|
H A D | 023.phpt | 20 c2 int unsigned, 28 mysqli_stmt_bind_param($stmt, "iiiiiii", $c1,$c2,$c3,$c4,$c5,$c6,$c7); 30 $c2 = 35999; 41 mysqli_stmt_bind_result($stmt, $c1, $c2, $c3, $c4, $c5, $c6, $c7); 45 $test = array($c1,$c2,$c3,$c4,$c5,$c6,$c7);
|
H A D | 024.phpt | 20 c2 smallint unsigned, 28 mysqli_stmt_bind_param($stmt, "iiiiiii", $c1,$c2,$c3,$c4,$c5,$c6,$c7); 31 $c2 = 35999; 42 mysqli_stmt_bind_result($stmt, $c1, $c2, $c3, $c4, $c5, $c6, $c7); 46 $test = array($c1,$c2,$c3,$c4,$c5,$c6,$c7);
|