Home
last modified time | relevance | path

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

12345

/php-src/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-src/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-src/ext/gd/tests/
H A Dcopy.phpt39 $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 Dcolorexact.phpt10 $c2 = imagecolorexactalpha($im, 255,0,255, 100);
13 printf("%X\n", $c2);
19 $c2 = imagecolorallocate($im, 255,200,0);
/php-src/ext/dom/tests/modern/xml/
H A Dxpath_query_context_in_scope_ns.phpt29 <c:c2 xmlns:c="urn:c2"/>
40 $c2 = $dom->getElementsByTagNameNS('*', 'c1')->item(0);
48 dump($xpath, '//c:c2', $c1);
54 echo "\n=== Tests with c2 ===\n\n";
56 dump($xpath, '//c:c1', $c2);
57 dump($xpath, '//c:c2', $c2);
58 dump($xpath, '//d:d', $c2);
72 --- //c:c2 ---
87 === Tests with c2 ===
93 --- //c:c2 ---
/php-src/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-src/ext/mysqli/tests/bind_insert/
H A Dtinyint_types.phpt22 c2 tinyint unsigned,
32 mysqli_stmt_bind_param($stmt, "iiiiiii", $c1,$c2,$c3,$c4,$c5,$c6,$c7);
35 $c2 = 300;
45 $c1 = $c2 = $c3 = $c4 = $c5 = $c6 = $c7 = NULL;
48 mysqli_stmt_bind_result($stmt, $c1, $c2, $c3, $c4, $c5, $c6, $c7);
52 $test = array($c1,$c2,$c3,$c4,$c5,$c6,$c7);
H A Dinteger_types.phpt23 c2 int unsigned,
33 mysqli_stmt_bind_param($stmt, "iiiiiii", $c1,$c2,$c3,$c4,$c5,$c6,$c7);
35 $c2 = 35999;
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 Dsmallint_types.phpt23 c2 smallint unsigned,
33 mysqli_stmt_bind_param($stmt, "iiiiiii", $c1,$c2,$c3,$c4,$c5,$c6,$c7);
36 $c2 = 35999;
47 mysqli_stmt_bind_result($stmt, $c1, $c2, $c3, $c4, $c5, $c6, $c7);
51 $test = array($c1,$c2,$c3,$c4,$c5,$c6,$c7);
H A Dvaried_data_types.phpt31 mysqli_stmt_bind_param($stmt, "issd", $c1, $c2, $c3, $c4);
34 $c2 = "foo";
43 mysqli_stmt_bind_result($stmt, $c1, $c2, $c3, $c4, $c5, $c6, $c7, $c8, $c9, $c10, $c11);
48 $test = array($c1,$c2,$c3,$c4,$c5,$c6,$c7,$c8,$c9,$c10,$c11);
H A Ddatetime_types.phpt24 c2 time,
47 $stmt = mysqli_prepare($link, "SELECT c1, c2, c3, c4, c5, c6, c7 FROM insert_bind_datetime");
49 mysqli_stmt_bind_result($stmt,$c1, $c2, $c3, $c4, $c5, $c6, $c7);
54 $test = array($c1,$c2,$c3,$c4,$c5,$c6,$c7);
/php-src/tests/basic/
H A Dbug73969.phpt5 trait c2
15 use c2
17 c2::f1 as f2;
/php-src/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 …]
/php-src/ext/mysqli/tests/bind_fetch/
H A Dunsigned_integer_types.phpt19 …mysqli_query($link, "CREATE TABLE test_bind_fetch_uint(c1 integer unsigned, c2 integer unsigned) E…
21 mysqli_query($link, "INSERT INTO test_bind_fetch_uint (c1,c2) VALUES (20123456, 3123456789)");
24 mysqli_stmt_bind_result($stmt, $c1, $c2);
28 echo $c1, "\n", $c2, "\n";
H A Ddatetime_types.phpt23 c2 time,
40 $stmt = mysqli_prepare($link, "SELECT c1, c2, c3, c4, c5, c6, c7 FROM test_bind_result_datetime");
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 Dchar_text_types.phpt16 …mysqli_query($link,"CREATE TABLE test_bind_fetch_char(c1 char(10), c2 text) ENGINE=" . get_default…
30 $c1 = $c2 = NULL;
31 mysqli_stmt_bind_result($stmt, $c1, $c2);
36 $test = array($c1, $c2);
H A Dfloat_types.phpt25 c2 float,
35 mysqli_query($link, "INSERT INTO test_bind_fetch_float (c1,c2,c3,c4,c5,c6,c7)
39 mysqli_stmt_bind_result($stmt, $c1, $c2, $c3, $c4, $c5, $c6, $c7);
43 $test = array($c1,$c2,$c3,$c4,$c5,$c6,$c7);
H A Dchar_text_big_types.phpt16 …mysqli_query($link, "CREATE TABLE test_bind_fetch_char_long(c1 char(10), c2 text) ENGINE=" . get_d…
23 mysqli_stmt_bind_result($stmt, $c1, $c2);
28 $test[] = ($a == $c2) ? "32K String ok" : "32K String failed";
H A Dbigint_types.phpt27 c2 bigint,
37 mysqli_query($link, "INSERT INTO test_bind_fetch_integers_big (c2,c3,c4,c5,c6,c7,c8)
41 mysqli_stmt_bind_result($stmt, $c1, $c2, $c3, $c4, $c5, $c6, $c7, $c8);
46 $test = array($c1,$c2,$c3,$c4,$c5,$c6,$c7,$c8);
/php-src/ext/mbstring/libmbfl/filters/
H A Dmbfilter_cjk.c554 if (c2 > 0x20 && c2 < 0x7F) { in mb_iso2022jp_to_wchar()
846 if (c2 > 0x20 && c2 < 0x7F) { in mb_check_jis()
914 if (c2 > 0x20 && c2 < 0x7F) { in mb_check_iso2022jp()
1712 if (c2 < 0x21 || c2 > 0x7E) { in mbfl_filt_conv_jis2004_wchar()
6903 if ((c2 < 'E' || c2 > 'G') && (c2 < 'O' || c2 > 'Q')) { in mb_sjis_sb_to_wchar()
9255 …if ((c2 == 0xA1 || (c2 >= 0xA3 && c2 <= 0xA5) || c2 == 0xA8 || (c2 >= 0xAC && c2 <= 0xAF) || (c2 >… in mb_eucjp2004_to_wchar()
11036 } else if (c2 >= 0x40 && c2 != 0x7F && c2 != 0xFF) { in mb_gb18030_to_wchar()
11417 if (c2 < 0x40 || c2 == 0x7F || c2 == 0xFF) { in mb_cp936_to_wchar()
11657 } else if (c2 >= 0x40 && c2 != 0x7F && c2 != 0xFF) { in mb_gb18030_2022_to_wchar()
12283 if ((c2 >= 0x40 && c2 <= 0x7E) || (c2 >= 0xA1 && c2 <= 0xFE)) { in mb_big5_to_wchar()
[all …]
H A Dmbfilter_utf8.c460 unsigned char c2 = *p++; in mb_utf8_to_wchar() local
472 unsigned char c2 = *p++; in mb_utf8_to_wchar() local
474 if ((c2 & 0xC0) != 0x80 || (c == 0xE0 && c2 < 0xA0) || (c == 0xED && c2 >= 0xA0)) { in mb_utf8_to_wchar()
503 if ((c2 & 0xC0) != 0x80 || (c == 0xF0 && c2 < 0x90) || (c == 0xF4 && c2 >= 0x90)) { in mb_utf8_to_wchar()
520 unsigned char c2 = *p; in mb_utf8_to_wchar() local
745 unsigned char c2 = *p++; in mb_mobile_utf8_to_wchar() local
765 unsigned char c2 = *p++; in mb_mobile_utf8_to_wchar() local
768 if ((c2 & 0xC0) != 0x80 || (c == 0xE0 && c2 < 0xA0) || (c == 0xED && c2 >= 0xA0)) { in mb_mobile_utf8_to_wchar()
783 unsigned char c2 = *p; in mb_mobile_utf8_to_wchar() local
792 unsigned char c2 = *p++; in mb_mobile_utf8_to_wchar() local
[all …]
/php-src/ext/sodium/tests/
H A Dcrypto_secretstream.phpt23 $c2 = sodium_crypto_secretstream_xchacha20poly1305_push($stream, $msg2, '', SODIUM_CRYPTO_SECRETSTR…
28 $r2 = sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c2);
35 var_dump(sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c2));
48 $r2 = sodium_crypto_secretstream_xchacha20poly1305_pull($stream, $c2);
/php-src/ext/standard/
H A Dlevenshtein.c25 zend_long c0, c1, c2; in reference_levdist() local
59 c2 = p2[i2] + cost_ins; in reference_levdist()
60 if (c2 < c0) { in reference_levdist()
61 c0 = c2; in reference_levdist()
/php-src/ext/standard/tests/strings/
H A Dstrnatcmp_basic.phpt14 $c2 = "ABC15";
25 var_dump(strnatcmp($a1, $c2));
27 var_dump(strnatcmp($b1, $c2));
28 var_dump(strnatcmp($d1, $c2));
/php-src/ext/mysqli/tests/
H A D042.phpt21 c2 smallint unsigned,
29 mysqli_stmt_bind_param($stmt, "iiiiiii", $c1,$c2,$c3,$c4,$c5,$c6,$c7);
32 $c2 = 35999;
67 ["c2"]=>

Completed in 81 milliseconds

12345