Home
last modified time | relevance | path

Searched refs:c2 (Results 1 – 25 of 137) sorted by relevance

123456

/PHP-5.3/ext/oci8/tests/
H A Dbind_misccoltypes_errs.phpt70 $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 Dbind_sqltafc.phpt36 …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 Dbind_sqltnum.phpt43 $s = oci_parse($c, "INSERT INTO bind_sqltnum_tab (id, varchar2_t10) VALUES (100, :c2)");
44 $c2 = "Hood";
45 $r = oci_bind_by_name($s, ":c2", $c2, -1);
63 $s = oci_parse($c, "INSERT INTO bind_sqltnum_tab (id, varchar2_t10) VALUES (100, :c2)");
64 $c2 = "Hood";
65 $r = oci_bind_by_name($s, ":c2", $c2, -1, SQLT_NUM);
78 $c2 = "Hood41";
79 $s = oci_parse($c, "INSERT INTO bind_sqltnum_tab (id, varchar2_t10) VALUES (41, :c2)");
80 oci_bind_by_name($s, ":c2", $c2, -1, SQLT_NUM);
H A Drefcur_prefetch_4.phpt21 "CREATE TABLE refcurtest (c1 NUMBER, c2 VARCHAR(20))",
26 procedure fetch_ref_cur(cur1 in refcursortype, c1 out number, c2 out varchar2);
34 procedure fetch_ref_cur(cur1 in refcursortype, c1 out number, c2 out varchar2) is
36 fetch cur1 into c1,c2;
44 $insert_sql = "INSERT INTO refcurtest (c1, c2) VALUES (:c1,:c2)";
52 oci_bind_by_name($s,':c2',$val2);
70 $sql2 = "begin refcurpkg.fetch_ref_cur(:curs1,:c1,:c2); end;";
78 if (!oci_bind_by_name($s2, ":c2", $c2, 20, SQLT_CHR)) {
92 var_dump($c2);
125 var_dump($c2);
H A Dbind_misccoltypes.phpt78 . " :c2, "
97 $c2 = "char10";
111 oci_bind_by_name($s, ":c2", $c2);
237 $s = oci_parse($c, "INSERT INTO bind_misccoltypes_tab (id, varchar2_t10) VALUES (58, :c2)");
238 $c2 = "Hood";
239 oci_bind_by_name($s, ":c2", $c2);
246 $s = oci_parse($c, "INSERT INTO bind_misccoltypes_tab (id, char_t10) VALUES (59, :c2)");
247 $c2 = "Hood";
248 oci_bind_by_name($s, ":c2", $c2);
256 $c2 = '2010-04-09';
[all …]
H A Dconnect_1.phpt18 var_dump($c2 = oci_new_connect($user, $password, $dbase));
21 var_dump($c2 = oci_new_connect($user, $password));
25 var_dump(ocilogoff($c2));
H A Dconnect_1_old.phpt18 var_dump($c2 = ocinlogon($user, $password, $dbase));
21 var_dump($c2 = ocinlogon($user, $password));
25 var_dump(ocilogoff($c2));
/PHP-5.3/win32/
H A Dfnmatch.c156 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-5.3/ext/gd/tests/
H A Dcopy.phpt41 $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 Dcolorexact.phpt12 $c2 = imagecolorexactalpha($im, 255,0,255, 100);
15 printf("%X\n", $c2);
21 $c2 = imagecolorallocate($im, 255,200,0);
/PHP-5.3/ext/mbstring/libmbfl/filters/
H A Dmbfilter_cp932.c99 #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 Dmbfilter_sjis_open.c99 #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_sjis_open() local
249 c2 = s1%94 + 0x21; in mbfl_filt_conv_wchar_sjis_open()
250 s1 = (c1 << 8) | c2; in mbfl_filt_conv_wchar_sjis_open()
287 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 Dmbfilter_cp51932.c101 #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 Dmbfilter_sjis.c99 #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; \
214 int c1, c2, s1, s2; in mbfl_filt_conv_wchar_sjis() local
262 c2 = s1 & 0xff; in mbfl_filt_conv_wchar_sjis()
263 SJIS_ENCODE(c1, c2, s1, s2); in mbfl_filt_conv_wchar_sjis()
/PHP-5.3/ext/json/
H A Dutf8_decode.c158 int c2 = 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()
170 int c2 = 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/Zend/
H A Dzend_multibyte.c744 c2 = *p++; in sjis_input_filter()
748 c2 -= 0x7e; in sjis_input_filter()
757 c2 |= 0x80; in sjis_input_filter()
760 *q++ = c2; in sjis_input_filter()
775 c2 = *p++; in sjis_input_filter()
795 c2 |= 0x80; in sjis_input_filter()
798 *q++ = c2; in sjis_input_filter()
872 c2++; in sjis_output_filter()
880 *p++ = c2; in sjis_output_filter()
901 c2++; in sjis_output_filter()
[all …]
/PHP-5.3/ext/sqlite/tests/
H A Dsqlite_011.phpt12 sqlite_query("CREATE TABLE foo (c1 char, c2 char, c3 char)", $db);
13 sqlite_query("CREATE TABLE bar (c1 char, c2 char, c3 char)", $db);
24 ["foo.c2"]=>
30 ["bar.c2"]=>
H A Dsqlite_oo_011.phpt12 $db->query("CREATE TABLE foo (c1 char, c2 char, c3 char)");
13 $db->query("CREATE TABLE bar (c1 char, c2 char, c3 char)");
23 ["foo.c2"]=>
29 ["bar.c2"]=>
H A Dsqlite_007.phpt12 sqlite_query("CREATE TABLE foo(c1 date, c2 time, c3 varchar(64))", $db);
30 ["c2"]=>
48 ["c2"]=>
/PHP-5.3/ext/sqlite/libsqlite/src/
H A Dutil.c946 int c2; in sqliteGlobCompare() local
966 while( c2 != 0 && c2 != c ){ c2 = *++zString; } in sqliteGlobCompare()
985 c2 = *++zPattern; in sqliteGlobCompare()
986 if( c2=='^' ){ invert = 1; c2 = *++zPattern; } in sqliteGlobCompare()
987 if( c2==']' ){ in sqliteGlobCompare()
989 c2 = *++zPattern; in sqliteGlobCompare()
991 while( (c2 = sqliteCharVal(zPattern))!=0 && c2!=']' ){ in sqliteGlobCompare()
999 prior_c = c2; in sqliteGlobCompare()
1001 prior_c = c2; in sqliteGlobCompare()
1033 int c2; in sqliteLikeCompare() local
[all …]
/PHP-5.3/ext/mysqli/tests/
H A D025.phpt20 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 D009.phpt26 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 D023.phpt20 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 D024.phpt20 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);
H A D020.phpt22 c2 time,
32 c2 time,
53 $stmt = mysqli_prepare($link, "SELECT c1, c2, c3, c4, c5, c6, c7 FROM test_bind_result");
55 mysqli_stmt_bind_result($stmt,$c1, $c2, $c3, $c4, $c5, $c6, $c7);
60 $test = array($c1,$c2,$c3,$c4,$c5,$c6,$c7);

Completed in 64 milliseconds

123456