Home
last modified time | relevance | path

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

123

/php-src/ext/standard/
H A Dquot_print.c49 unsigned const char *p1; in php_quot_print_decode() local
82 if (*p1 == '=') { in php_quot_print_decode()
84 p1++; in php_quot_print_decode()
87 p1++; in php_quot_print_decode()
96 if (*p1 == '=') { in php_quot_print_decode()
97 i--, p1++; in php_quot_print_decode()
109 i--, p1++; in php_quot_print_decode()
118 if (p1[0] == '\r' && i >= 2 && p1[1] == '\n') { in php_quot_print_decode()
119 i--, p1++; in php_quot_print_decode()
121 i--, p1++; in php_quot_print_decode()
[all …]
H A Dlevenshtein.c23 zend_long *p1, *p2, *tmp; in reference_levdist() local
43 p1 = safe_emalloc((ZSTR_LEN(string2) + 1), sizeof(zend_long), 0); in reference_levdist()
47 p1[i2] = i2 * cost_ins; in reference_levdist()
50 p2[0] = p1[0] + cost_del; in reference_levdist()
53 c0 = p1[i2] + ((ZSTR_VAL(string1)[i1] == ZSTR_VAL(string2)[i2]) ? 0 : cost_rep); in reference_levdist()
54 c1 = p1[i2 + 1] + cost_del; in reference_levdist()
64 tmp = p1; in reference_levdist()
65 p1 = p2; in reference_levdist()
68 c0 = p1[ZSTR_LEN(string2)]; in reference_levdist()
70 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-src/ext/dom/lexbor/lexbor/core/
H A Ddtoa.c82 uint32_t p1, d; in lexbor_grisu2_gen() local
114 case 10: d = p1 / 1000000000; p1 %= 1000000000; break; in lexbor_grisu2_gen()
115 case 9: d = p1 / 100000000; p1 %= 100000000; break; in lexbor_grisu2_gen()
116 case 8: d = p1 / 10000000; p1 %= 10000000; break; in lexbor_grisu2_gen()
117 case 7: d = p1 / 1000000; p1 %= 1000000; break; in lexbor_grisu2_gen()
118 case 6: d = p1 / 100000; p1 %= 100000; break; in lexbor_grisu2_gen()
119 case 5: d = p1 / 10000; p1 %= 10000; break; in lexbor_grisu2_gen()
120 case 4: d = p1 / 1000; p1 %= 1000; break; in lexbor_grisu2_gen()
121 case 3: d = p1 / 100; p1 %= 100; break; in lexbor_grisu2_gen()
122 case 2: d = p1 / 10; p1 %= 10; break; in lexbor_grisu2_gen()
[all …]
/php-src/ext/dom/tests/modern/spec/
H A Dserialize_element_unqualified.phpt8 $dom = Dom\XMLDocument::createFromString('<root xmlns:p1="u1"><child xmlns:p2="u1"><p1:child2/></ch…
11 $dom = Dom\XMLDocument::createFromString('<root xmlns:p1="u1"><child xmlns:p2="u1"></child></root>'…
20 <root xmlns:p1="u1"><child xmlns:p2="u1"><p1:child2/></child></root>
22 <root xmlns:p1="u1"><child xmlns:p2="u1"><p2:child2/></child></root>
/php-src/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-src/ext/ffi/tests/
H A D034.phpt11 $p1 = $ffi->new("uint8_t[2]");
14 var_dump(FFI::sizeof($p1), FFI::sizeof($p2), FFI::sizeof($p3));
15 var_dump(FFI::alignof($p1), FFI::alignof($p2), FFI::alignof($p3));
16 var_dump(FFI::sizeof(FFI::typeof($p1)), FFI::sizeof(FFI::typeof($p2)), FFI::sizeof(FFI::typeof($p3)…
17 var_dump(FFI::alignof(FFI::typeof($p1)), FFI::alignof(FFI::typeof($p2)), FFI::alignof(FFI::typeof($…
H A Ddeprecations.phpt10 $p1 = FFI::new("uint8_t[2]");
22 var_dump($p1);
36 $p = FFI::cast("uint8_t[2]", $p1);
41 FFI::cast("uint8_t[2]", $p1);
H A D033.phpt11 $p1 = $ffi->new("uint8_t[2]");
13 var_dump($p1, $p2);
15 $t1 = FFI::typeof($p1);
/php-src/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-src/ext/phar/tests/tar/
H A Dbignames_overflow.phpt20 $p1 = new PharData($fname);
21 foreach ($p1 as $file) {
24 echo $p1['a/' . str_repeat('a', 100)]->getContent() . "\n";
25 echo $p1[str_repeat('a', 155) . '/' . str_repeat('a', 100)]->getContent() . "\n";
/php-src/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.phpt67 foreach($pc as $p1) {
68 if (is_object($p1)) {
69 $p1->test($p1, $pr);
71 $r = new ReflectionMethod($p1, 'test');
72 $r->invoke(NULL, $p1, $pr);
76 echo $p1, '::$' , $p2, "\n";
77 var_dump(property_exists($p1, $p2));
/php-src/Zend/tests/
H A Dbug40757.phpt6 private $p1='sadf';
23 [p1] => sadf
27 [p1] => sadf
/php-src/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-src/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-src/ext/mysqli/tests/
H A Dbug42548.phpt26 $mysqli->query("DROP PROCEDURE IF EXISTS p1") or die($mysqli->error);
27 $mysqli->query("CREATE PROCEDURE p1() BEGIN SELECT 23; SELECT 42; END") or die($mysqli->error);
29 if ($mysqli->multi_query("CALL p1();"))
49 $mysqli->query("DROP PROCEDURE p1") or die($mysqli->error);
59 mysqli_query($link, "DROP PROCEDURE IF EXISTS p1");
/php-src/Zend/tests/attributes/override/
H A D001.phpt16 public function p1() {}
24 public function p1() {}
34 public function p1() {}
/php-src/ext/spl/tests/
H A DarrayObject_clone_basic2.phpt11 $c->p1 = 'new prop added to c before clone';
22 ["p1"]=>
32 ["p1"]=>
43 ["p1"]=>
/php-src/ext/iconv/
H A Diconv.c1199 const char *p1; in _php_iconv_mime_decode() local
1226 p1 = str; in _php_iconv_mime_decode()
1232 switch (*p1) { in _php_iconv_mime_decode()
1247 spaces = p1; in _php_iconv_mime_decode()
1270 if (*p1 == '\r' || *p1 == '\n') { in _php_iconv_mime_decode()
1271 --p1; in _php_iconv_mime_decode()
1300 --p1; in _php_iconv_mime_decode()
1380 ++p1; in _php_iconv_mime_decode()
1486 if (*p1 != ' ' && *p1 != '\t') { in _php_iconv_mime_decode()
1487 --p1; in _php_iconv_mime_decode()
[all …]
/php-src/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 34 milliseconds

123