Home
last modified time | relevance | path

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

1234567

/PHP-8.0/ext/pcre/pcre2lib/
H A Dpcre2_string_utils.c104 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.0/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_misccoltypes.phpt75 . " :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 Drefcur_prefetch_4.phpt28 "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 Dbind_sqltnum.phpt44 $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 Dbind_sqltnum_11g.phpt44 $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 Dconnect_1.phpt18 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.0/win32/
H A Dfnmatch.c155 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.0/ext/standard/tests/array/
H A Dcount_symbol_table.phpt7 $c2 = 0;
13 $c2 = count($GLOBALS);
15 var_dump($c1 - $c2);
18 var_dump($c1 - $c2);
/PHP-8.0/ext/mbstring/libmbfl/filters/
H A Dmbfilter_iso2022jp_mobile.c82 #define sjistoidx(c1, c2) \ argument
84 ? (((c1) - 0xc1) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40)) \
85 : (((c1) - 0x81) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40)))
99 s2 = c2; \
101 if ((c2) < 0x60) { \
120 s2 = c2; \
135 s1 = ((c1) << 8) | (c2); \
321 int c1, c2, s1, s2; in mbfl_filt_conv_wchar_2022jp_mobile() local
336 c2 = s1%94 + 0x21; in mbfl_filt_conv_wchar_2022jp_mobile()
337 s1 = (c1 << 8) | c2; in mbfl_filt_conv_wchar_2022jp_mobile()
[all …]
H A Dmbfilter_cp932.c98 #define SJIS_ENCODE(c1,c2,s1,s2) \ argument
108 s2 = c2; \
110 if ((c2) < 0x60) { \
119 #define SJIS_DECODE(c1,c2,s1,s2) \ argument
129 s2 = c2; \
233 int c1, c2, s1, s2; in mbfl_filt_conv_wchar_cp932() local
248 c2 = s1%94 + 0x21; in mbfl_filt_conv_wchar_cp932()
249 s1 = (c1 << 8) | c2; in mbfl_filt_conv_wchar_cp932()
286 while (c1 < c2) { /* CP932 vendor ext1 (13ku) */ in mbfl_filt_conv_wchar_cp932()
315 c2 = s1 & 0xff; in mbfl_filt_conv_wchar_cp932()
[all …]
H A Dmbfilter_sjis_open.c98 #define SJIS_ENCODE(c1,c2,s1,s2) \ argument
108 s2 = c2; \
110 if ((c2) < 0x60) { \
119 #define SJIS_DECODE(c1,c2,s1,s2) \ argument
129 s2 = c2; \
232 int c1, c2, s1, s2; in mbfl_filt_conv_wchar_sjis_open() local
247 c2 = s1%94 + 0x21; in mbfl_filt_conv_wchar_sjis_open()
248 s1 = (c1 << 8) | c2; in mbfl_filt_conv_wchar_sjis_open()
285 while (c1 < c2) { /* CP932 vendor ext1 (13ku) */ in mbfl_filt_conv_wchar_sjis_open()
315 c2 = s1 & 0xff; in mbfl_filt_conv_wchar_sjis_open()
[all …]
H A Dmbfilter_gb18030.c127 int c1, c2, c3, w = -1; in mbfl_filt_conv_gb18030_wchar() local
170 c2 = (c1 << 8) | c; in mbfl_filt_conv_gb18030_wchar()
173 ((c2 >= 0xa2ab && c2 <= 0xa9f0 + (0xe80f-0xe801)) || in mbfl_filt_conv_gb18030_wchar()
174 (c2 >= 0xd7fa && c2 <= 0xd7fa + (0xe814-0xe810)) || in mbfl_filt_conv_gb18030_wchar()
175 (c2 >= 0xfe50 && c2 <= 0xfe80 + (0xe864-0xe844)))) { in mbfl_filt_conv_gb18030_wchar()
177 if (c2 >= mbfl_gb18030_pua_tbl[k][2] && in mbfl_filt_conv_gb18030_wchar()
217 c2 = filter->cache & 0xff; in mbfl_filt_conv_gb18030_wchar()
221 c2 >= 0x30 && c2 <= 0x39 && c >= 0x81 && c <= 0xfe) { in mbfl_filt_conv_gb18030_wchar()
225 w = (c1 << 16) | (c2 << 8) | c; in mbfl_filt_conv_gb18030_wchar()
234 c2 = (filter->cache >> 8) & 0xff; in mbfl_filt_conv_gb18030_wchar()
[all …]
H A Dmbfilter_cp936.c105 int c1, c2, w = -1; in mbfl_filt_conv_cp936_wchar() local
136 c2 = (c1 << 8) | c; in mbfl_filt_conv_cp936_wchar()
139 ((c2 >= 0xa2ab && c2 <= 0xa9f0 + (0xe80f-0xe801)) || in mbfl_filt_conv_cp936_wchar()
140 (c2 >= 0xd7fa && c2 <= 0xd7fa + (0xe814-0xe810)) || in mbfl_filt_conv_cp936_wchar()
141 (c2 >= 0xfe50 && c2 <= 0xfe80 + (0xe864-0xe844)))) { in mbfl_filt_conv_cp936_wchar()
143 if (c2 >= mbfl_cp936_pua_tbl[k][2] && in mbfl_filt_conv_cp936_wchar()
144 c2 <= mbfl_cp936_pua_tbl[k][2] + in mbfl_filt_conv_cp936_wchar()
146 w = c2 - mbfl_cp936_pua_tbl[k][2] + mbfl_cp936_pua_tbl[k][0]; in mbfl_filt_conv_cp936_wchar()
H A Dmbfilter_cp51932.c100 #define sjistoidx(c1, c2) \ argument
102 ? (((c1) - 0xc1) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40)) \
103 : (((c1) - 0x81) * 188 + (c2) - (((c2) > 0x7e) ? 0x41 : 0x40)))
208 int c1, c2, s1; in mbfl_filt_conv_wchar_cp51932() local
257 c2 = cp932ext1_ucs_table_max - cp932ext1_ucs_table_min; in mbfl_filt_conv_wchar_cp51932()
258 while (c1 < c2) { /* CP932 vendor ext1 (13ku) */ in mbfl_filt_conv_wchar_cp51932()
267 c2 = cp932ext2_ucs_table_max - cp932ext2_ucs_table_min; in mbfl_filt_conv_wchar_cp51932()
268 while (c1 < c2) { /* CP932 vendor ext3 (115ku - 119ku) */ in mbfl_filt_conv_wchar_cp51932()
H A Dmbfilter_sjis.c101 #define SJIS_ENCODE(c1,c2,s1,s2) \ argument
111 s2 = c2; \
113 if ((c2) < 0x60) { \
122 #define SJIS_DECODE(c1,c2,s1,s2) \ argument
132 s2 = c2; \
216 int c1, c2, s1, s2; in mbfl_filt_conv_wchar_sjis() local
264 c2 = s1 & 0xff; in mbfl_filt_conv_wchar_sjis()
265 SJIS_ENCODE(c1, c2, s1, s2); in mbfl_filt_conv_wchar_sjis()
H A Dmbfilter_sjis_2004.c93 s2 = c2; \
95 if ((c2) < 0x60) { \
114 s2 = c2; \
319 c2 = c - 0x80; in mbfl_filt_conv_jis2004_wchar()
321 c2 = c; in mbfl_filt_conv_jis2004_wchar()
324 s2 = c2 - 0x21; in mbfl_filt_conv_jis2004_wchar()
523 c2 = s1 & 0xff; in mbfl_filt_conv_wchar_jis2004()
620 c2 = s1 & 0xff; in mbfl_filt_conv_wchar_jis2004()
641 c2 = s1 & 0xff; in mbfl_filt_conv_wchar_jis2004()
677 int k, c1, c2, s1, s2; in mbfl_filt_conv_jis2004_flush() local
[all …]
/PHP-8.0/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-8.0/tests/basic/
H A Dbug73969.phpt5 trait c2
15 use c2
17 c2::f1 as f2;
/PHP-8.0/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 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);
/PHP-8.0/ext/gd/libgd/
H A Dgd_topal.c422 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 …]

Completed in 76 milliseconds

1234567