Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 61) sorted by relevance

123

/PHP-8.1/ext/standard/
H A Dquot_print.c53 unsigned const char *p1; in php_quot_print_decode() local
86 if (*p1 == '=') { in php_quot_print_decode()
88 p1++; in php_quot_print_decode()
91 p1++; in php_quot_print_decode()
100 if (*p1 == '=') { in php_quot_print_decode()
101 i--, p1++; in php_quot_print_decode()
113 i--, p1++; in php_quot_print_decode()
122 if (p1[0] == '\r' && i >= 2 && p1[1] == '\n') { in php_quot_print_decode()
123 i--, p1++; in php_quot_print_decode()
125 i--, p1++; in php_quot_print_decode()
[all …]
H A Dlevenshtein.c24 zend_long *p1, *p2, *tmp; in reference_levdist() local
35 p1 = safe_emalloc((ZSTR_LEN(string2) + 1), sizeof(zend_long), 0); in reference_levdist()
39 p1[i2] = i2 * cost_ins; in reference_levdist()
42 p2[0] = p1[0] + cost_del; in reference_levdist()
45 c0 = p1[i2] + ((ZSTR_VAL(string1)[i1] == ZSTR_VAL(string2)[i2]) ? 0 : cost_rep); in reference_levdist()
46 c1 = p1[i2 + 1] + cost_del; in reference_levdist()
56 tmp = p1; in reference_levdist()
57 p1 = p2; in reference_levdist()
60 c0 = p1[ZSTR_LEN(string2)]; in reference_levdist()
62 efree(p1); in reference_levdist()
H A Dversioning.c125 char *p1, *p2, *n1, *n2; in php_version_compare() local
146 p1 = n1 = ver1; in php_version_compare()
148 while (*p1 && *p2 && n1 && n2) { in php_version_compare()
149 if ((n1 = strchr(p1, '.')) != NULL) { in php_version_compare()
155 if (isdigit(*p1) && isdigit(*p2)) { in php_version_compare()
157 l1 = strtol(p1, NULL, 10); in php_version_compare()
160 } else if (!isdigit(*p1) && !isdigit(*p2)) { in php_version_compare()
165 if (isdigit(*p1)) { in php_version_compare()
175 p1 = n1 + 1; in php_version_compare()
183 if (isdigit(*p1)) { in php_version_compare()
[all …]
/PHP-8.1/ext/oci8/tests/
H A Dbind_sqltint.phpt129 unset($p1);
131 oci_bind_by_name($s, ":p1", $p1, 10);
138 unset($p1);
140 oci_bind_by_name($s, ":p1", $p1, 10);
149 oci_bind_by_name($s, ":p1", $p1, 10);
158 oci_bind_by_name($s, ":p1", $p1, 10);
167 oci_bind_by_name($s, ":p1", $p1, 10);
176 oci_bind_by_name($s, ":p1", $p1, 10);
185 oci_bind_by_name($s, ":p1", $p1, 10);
194 oci_bind_by_name($s, ":p1", $p1, 10);
[all …]
H A Dbug46994.phpt18 "create or replace procedure bug46994_proc1(p1 in out nocopy clob) is
20 dbms_lob.trim(p1, 0);
21 dbms_lob.writeappend(p1, 26, 'This should be the output.');
23 "create or replace procedure bug46994_proc2(p1 in out nocopy clob) is
25 dbms_lob.trim(p1, 0);
26 dbms_lob.writeappend(p1, 37, 'The output should be even longer now.');
H A Ddrcp_characterset.phpt17 $p1 = oci_pconnect($user,$password,$dbase,"UTF8");
18 var_dump($p1);
38 // The two connections p1 and p2 should not share resources as they use different
41 if((int)$p1 === (int)$p2)
49 oci_close($p1);
/PHP-8.1/ext/gd/libgd/
H A Dgdkanji.c246 han2zen (int *p1, int *p2) in han2zen() argument
248 int c = *p1; in han2zen()
379 int p1, p2, i, j; in do_convert()
425 p1 = from[i]; in do_convert()
426 if (p1 < 127) in do_convert()
427 to[j++] = p1; in do_convert()
428 else if ((p1 >= 161) && (p1 <= 223)) in do_convert()
431 to[j++] = p1; in do_convert()
437 to[j++] = p1 + 128; in do_convert()
462 int p1, p2, i, j; in do_check_and_conv() local
[all …]
/PHP-8.1/ext/ffi/tests/
H A D034.phpt9 $p1 = FFI::new("uint8_t[2]");
12 var_dump(FFI::sizeof($p1), FFI::sizeof($p2), FFI::sizeof($p3));
13 var_dump(FFI::alignof($p1), FFI::alignof($p2), FFI::alignof($p3));
14 var_dump(FFI::sizeof(FFI::typeof($p1)), FFI::sizeof(FFI::typeof($p2)), FFI::sizeof(FFI::typeof($p3)…
15 var_dump(FFI::alignof(FFI::typeof($p1)), FFI::alignof(FFI::typeof($p2)), FFI::alignof(FFI::typeof($…
H A D033.phpt9 $p1 = FFI::new("uint8_t[2]");
11 var_dump($p1, $p2);
13 $t1 = FFI::typeof($p1);
/PHP-8.1/ext/gd/tests/
H A Ddashedlines.phpt18 $p1 = imagecolorat($im, 0,5) == $r;
26 if ($p1 && $p2 && $p3 && $p4 && $p5) {
39 $p1 = imagecolorat($im, 2,0) == $r;
46 if ($p1 && $p2 && $p3 && $p4 && $p5 && $p6) {
59 $p1 = imagecolorat($im, 0,0) == $r;
66 if ($p1 && $p2 && $p3 && $p4 && $p5 && $p6) {
H A Dcopy.phpt17 $p1 = imagecolorat($dst_tc, 3,3) == 0xff0000;
21 if ($p1 && $p2 && $p3) {
42 $p1 = $c1['red'] == 0xff && $c1['blue']==0x00 && $c1['green']==0x00;
46 if ($p1 && $p2 && $p3) {
71 $p1 = $c1['red'] == 0xff && $c1['blue']==0x00 && $c1['green']==0x00;
76 if ($p1 && $p2 && $p3) {
95 $p1 = imagecolorat($dst_tc, 3,3) == 0xff0000;
99 if ($p1 && $p2 && $p3) {
H A Dlines.phpt13 $p1 = imagecolorat($im, 0,5)==0x00ff00;
19 if ($p1 && $p2 && $p3) {
27 $p1 = imagecolorat($im, 0,0)==0x00ff00;
34 if ($p1 && $p2 && $p3) {
45 $p1 = imagecolorat($im, 0,0)==0x00ff00;
55 if ($p1 && $p2 && $p3) {
/PHP-8.1/Zend/tests/
H A Dbug40757.phpt6 private $p1='sadf';
23 [p1] => sadf
27 [p1] => sadf
/PHP-8.1/ext/reflection/tests/
H A DReflectionParameter_new_initializer.phpt7 $p1 = new stdClass,
11 echo new ReflectionParameter('test', 'p1'), "\n";
16 Parameter #0 [ <optional> $p1 = new \stdClass() ]
H A Dproperty_exists.phpt66 foreach($pc as $p1) {
67 if (is_object($p1)) {
68 $p1->test($p1, $pr);
70 $r = new ReflectionMethod($p1, 'test');
71 $r->invoke(NULL, $p1, $pr);
75 echo $p1, '::$' , $p2, "\n";
76 var_dump(property_exists($p1, $p2));
/PHP-8.1/tests/classes/
H A Dclone_003.phpt6 protected $p1 = 'base:1';
17 public $p1 = 'test:1';
39 [p1] => test:1
49 [p1] => test:1
H A Dclone_001.phpt6 public $p1 = 1;
25 ["p1"]=>
34 ["p1"]=>
H A Dclone_002.phpt6 public $p1 = 1;
27 ["p1"]=>
36 ["p1"]=>
/PHP-8.1/ext/phar/tests/tar/
H A Dbignames_overflow.phpt21 $p1 = new PharData($fname);
22 foreach ($p1 as $file) {
25 echo $p1['a/' . str_repeat('a', 100)]->getContent() . "\n";
26 echo $p1[str_repeat('a', 155) . '/' . str_repeat('a', 100)]->getContent() . "\n";
/PHP-8.1/ext/standard/tests/array/
H A Dbug28739.phpt12 $p1 = array(new p(2), new p(1), new p(0));
15 uasort($p1, 'a');
16 print_r($p1);
18 print_r(array_udiff($p1,$p2, 'b'));
/PHP-8.1/ext/pdo_oci/tests/
H A Dpecl_bug_6364.phpt22 …6364_sp(p1 IN varchar2, p2 IN varchar2, p3 IN varchar2, p4 OUT varchar2, p5 OUT varchar2) as begin…
24 $stmt = $dbh->prepare("call bug_6364_sp('p1','p2','p3',?,?)");
53 string(2) "p1"
55 string(2) "p1"
/PHP-8.1/ext/mysqli/tests/
H A Dbug42548.phpt27 $mysqli->query("DROP PROCEDURE IF EXISTS p1") or die($mysqli->error);
28 $mysqli->query("CREATE PROCEDURE p1() BEGIN SELECT 23; SELECT 42; END") or die($mysqli->error);
30 if ($mysqli->multi_query("CALL p1();"))
50 $mysqli->query("DROP PROCEDURE p1") or die($mysqli->error);
60 mysqli_query($link, "DROP PROCEDURE IF EXISTS p1");
/PHP-8.1/ext/spl/tests/
H A DarrayObject_clone_basic2.phpt9 $c->p1 = 'new prop added to c before clone';
20 ["p1"]=>
30 ["p1"]=>
41 ["p1"]=>
/PHP-8.1/ext/iconv/
H A Diconv.c1200 const char *p1; in _php_iconv_mime_decode() local
1227 p1 = str; in _php_iconv_mime_decode()
1233 switch (*p1) { in _php_iconv_mime_decode()
1248 spaces = p1; in _php_iconv_mime_decode()
1271 if (*p1 == '\r' || *p1 == '\n') { in _php_iconv_mime_decode()
1272 --p1; in _php_iconv_mime_decode()
1301 --p1; in _php_iconv_mime_decode()
1381 ++p1; in _php_iconv_mime_decode()
1487 if (*p1 != ' ' && *p1 != '\t') { in _php_iconv_mime_decode()
1488 --p1; in _php_iconv_mime_decode()
[all …]
/PHP-8.1/Zend/
H A Dzend_vm_trace_map.h46 static int zend_vm_trace_compare(const Bucket *p1, const Bucket *p2) in zend_vm_trace_compare() argument
48 if (Z_LVAL(p1->val) > Z_LVAL(p2->val)) { in zend_vm_trace_compare()
50 } else if (Z_LVAL(p1->val) < Z_LVAL(p2->val)) { in zend_vm_trace_compare()

Completed in 49 milliseconds

123