Home
last modified time | relevance | path

Searched refs:c1 (Results 76 – 100 of 232) sorted by relevance

12345678910

/PHP-7.0/ext/mysqli/tests/
H A Dmysqli_stmt_datatype_change.phpt12 if (!$c1 = my_mysqli_connect($host, $user, $passwd, $db, $port, $socket)) {
23 $c1->query("use $db");
25 $c1->query("drop table if exists type_change");
26 $c1->query("create table type_change(a int, b char(10)) ENGINE = " . $engine);
27 $c1->query("insert into type_change values (1, 'one'), (2, 'two')");
28 $s1 = $c1->prepare("select a from type_change order by a");
43 var_dump($c1->error);
H A D023.phpt19 mysqli_query($link,"CREATE TABLE test_bind_fetch(c1 int unsigned,
28 mysqli_stmt_bind_param($stmt, "iiiiiii", $c1,$c2,$c3,$c4,$c5,$c6,$c7);
29 $c1 = -23;
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.phpt19 mysqli_query($link,"CREATE TABLE test_bind_fetch(c1 smallint unsigned,
28 mysqli_stmt_bind_param($stmt, "iiiiiii", $c1,$c2,$c3,$c4,$c5,$c6,$c7);
30 $c1 = -23;
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.phpt21 c1 date,
31 c1 date,
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);
H A D017.phpt19 mysqli_stmt_bind_result($stmt, $c0, $c1, $c2);
25 $test = array($c0, $c1, $c2);
26 if ($c1 !== $db) {
H A D009.phpt25 $rc = mysqli_query($link,"CREATE TABLE test_bind_fetch(c1 bigint default 5,
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";
/PHP-7.0/ext/oci8/tests/
H A Dimp_res_get_dbmsoutput.phpt26 "create table imp_res_get_dbmsoutput_tab_1 (c1 number, c2 varchar2(10))",
38 c1 sys_refcursor;
41 open c1 for select * from imp_res_get_dbmsoutput_tab_1 order by 1;
42 dbms_sql.return_result(c1);
44 open c1 for select * from imp_res_get_dbmsoutput_tab_2 order by 1;
45 dbms_sql.return_result(c1);
47 open c1 for select * from dual;
48 dbms_sql.return_result (c1);
H A Darray_bind_014.phpt24 PROCEDURE iobind(c1 IN OUT ARRTYPE);
32 PROCEDURE iobind(c1 IN OUT ARRTYPE) IS
38 FETCH CUR INTO c1(i);
54 $statement = oci_parse($c, "BEGIN array_bind_014_pkg.iobind(:c1); END;");
56 oci_bind_array_by_name($statement, ":c1", $array, 5, -1, SQLT_INT);
H A Darray_bind_013.phpt14 var_dump(oci_bind_array_by_name($statement, ":c1", $array, 5, -10, SQLT_CHR, -10));
15 var_dump(oci_bind_array_by_name($statement, ":c1", $array, 5, -10));
16 var_dump(oci_bind_array_by_name($statement, ":c1", $array, 5, -1));
17 var_dump(oci_bind_array_by_name($statement, ":c1", $array, 5, 0));
H A Dbind_unsupported_3.phpt24 $s = oci_parse($c, "select * from dual where dummy = :c1");
25 $c1 = "Doug";
26 oci_bind_by_name($s, ":c1", $c1, -1, $v);
H A Dconnect_1_old.phpt11 var_dump($c1 = ociplogon($user, $password, $dbase));
14 var_dump($c1 = ociplogon($user, $password));
24 var_dump(ocilogoff($c1));
H A Dconnect_1.phpt11 var_dump($c1 = oci_pconnect($user, $password, $dbase));
14 var_dump($c1 = oci_pconnect($user, $password));
24 var_dump(oci_close($c1));
H A Drefcur_prefetch_2.phpt27 "CREATE TABLE refcurtest (c1 NUMBER, c2 VARCHAR(20))",
31 procedure fetch_ref_cur(cur1 in refcursortype, c1 out number,c2 out varchar2);
36 open cur1 for select * from refcurtest order by c1;
38 procedure fetch_ref_cur(cur1 in refcursortype, c1 out number,
41 fetch cur1 into c1,c2;
49 $insert_sql = "INSERT INTO refcurtest (c1, c2) VALUES (:c1,:c2)";
56 oci_bind_by_name($s,':c1',$i);
75 $sql2 = "begin refcurpkg.fetch_ref_cur(:curs1,:c1,:c2); end;";
80 if (!oci_bind_by_name($s2, ":c1", $c1, -1, SQLT_INT)) {
128 var_dump($c1);
H A Dimp_res_get_5.phpt32 c1 sys_refcursor;
34 open c1 for select 1 from dual union all select 2 from dual;
35 dbms_sql.return_result(c1);
36 open c1 for select 3 from dual union all select 4 from dual;
37 dbms_sql.return_result(c1);
38 open c1 for select 5 from dual union all select 6 from dual;
39 dbms_sql.return_result(c1);
H A Ddrcp_characterset.phpt12 $c1 = oci_connect($user,$password,$dbase,"UTF8");
13 var_dump($c1);
30 // The two connections c1 and c2 should not share resources as they use different
33 if((int)$c1 === (int)$c2)
47 oci_close($c1);
H A Drefcur_prefetch_1.phpt27 "CREATE TABLE refcurtest (c1 NUMBER, c2 VARCHAR(20))",
31 procedure fetch_ref_cur(cur1 in refcursortype, c1 out number,c2 out varchar2);
36 open cur1 for select * from refcurtest order by c1;
38 procedure fetch_ref_cur(cur1 in refcursortype, c1 out number,
41 fetch cur1 into c1,c2;
49 $insert_sql = "INSERT INTO refcurtest (c1, c2) VALUES (:c1,:c2)";
56 oci_bind_by_name($s,':c1',$i);
93 $sql2 = "begin refcurpkg.fetch_ref_cur(:curs1,:c1,:c2); end;";
98 if (!oci_bind_by_name($s2,":c1",$c1,-1,SQLT_INT)) {
106 var_dump($c1);
H A Dimp_res_get_3.phpt28 "create table imp_res_get_3_tab_1 (c1 number, c2 varchar2(10))",
40 c1 sys_refcursor;
44 open c1 for select * from imp_res_get_3_tab_1 order by 1;
45 dbms_sql.return_result(c1);
46 open c1 for select * from imp_res_get_3_tab_2 where rownum < 3 order by 1;
47 dbms_sql.return_result(c1);
48 open c1 for select * from dual;
49 dbms_sql.return_result (c1);
H A Derror_parse.phpt18 $c1 = oci_connect($user,$password,$dbase);
21 $c1 = oci_connect($user,$password);
24 $s = @oci_parse($c1, "select ' from dual");
27 $m = oci_error($c1);
71 $m = oci_error($c1);
85 $s = @oci_new_collection($c1, "ABC");
86 $m = oci_error($c1);
H A Dedition_2.phpt92 if ($c1) {
94 oci_close($c1);
99 $c1 = get_conn(3);
105 $c1 = get_conn(1);
106 get_edit_attr($c1);
107 oci_close($c1);
115 $c1 = get_conn(3);
117 get_edit_attr($c1);
122 oci_commit($c1);
124 get_edit_attr($c1);
[all …]
/PHP-7.0/ext/mbstring/libmbfl/filters/
H A Dmbfilter_hz.c83 int c1, s, w; in mbfl_filt_conv_hz_wchar() local
106 c1 = filter->cache; in mbfl_filt_conv_hz_wchar()
107 if (c1 > 0x20 && c1 < 0x7f && c > 0x20 && c < 0x7f) { in mbfl_filt_conv_hz_wchar()
108 s = (c1 - 1)*192 + c + 0x40; /* GB2312 */ in mbfl_filt_conv_hz_wchar()
115 w = (c1 << 8) | c; in mbfl_filt_conv_hz_wchar()
123 w = (c1 << 8) | c; in mbfl_filt_conv_hz_wchar()
/PHP-7.0/ext/gd/libgd/
H A Dgd_topal.c478 int c0, c1, c2; local
492 for (c1 = c1min; c1 <= c1max; c1++)
505 for (c1 = c1min; c1 <= c1max; c1++)
517 for (c1 = c1min; c1 <= c1max; c1++)
530 for (c1 = c1max; c1 >= c1min; c1--)
547 for (c1 = c1min; c1 <= c1max; c1++, histp += HIST_C2_ELEMS)
560 for (c1 = c1min; c1 <= c1max; c1++, histp += HIST_C2_ELEMS)
585 for (c1 = c1min; c1 <= c1max; c1++)
646 cmax = c1;
658 cmax = c1;
[all …]
/PHP-7.0/ext/standard/
H A Dcrypt_blowfish.c395 BF_safe_atoi64(c1, *sptr++); in BF_decode()
423 unsigned int c1, c2; in BF_encode() local
426 c1 = *sptr++; in BF_encode()
428 c1 = (c1 & 0x03) << 4; in BF_encode()
430 *dptr++ = BF_itoa64[c1]; in BF_encode()
435 c1 |= c2 >> 4; in BF_encode()
436 *dptr++ = BF_itoa64[c1]; in BF_encode()
437 c1 = (c2 & 0x0f) << 2; in BF_encode()
439 *dptr++ = BF_itoa64[c1]; in BF_encode()
444 c1 |= c2 >> 6; in BF_encode()
[all …]
H A Dlevenshtein.c33 zend_long c0, c1, c2; in reference_levdist() local
57 c1 = p1[i2 + 1] + cost_del; in reference_levdist()
58 if (c1 < c0) { in reference_levdist()
59 c0 = c1; in reference_levdist()
/PHP-7.0/ext/reflection/tests/
H A D022.phpt8 const c1 = 1;
11 var_dump($class->getConstant("c1"));
H A D021.phpt8 const c1 = 1;
11 var_dump($class->hasConstant("c1"));

Completed in 35 milliseconds

12345678910