Home
last modified time | relevance | path

Searched refs:p2 (Results 1 – 25 of 78) sorted by relevance

1234

/php-src/ext/pcre/tests/
H A D005.phpt88 [2] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c
91 [5] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c
103 [2] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c
106 [5] => /p2/var/php_gcov/PHP_4_4/ext/ming/ming.c
119 [5] => /p2/var/php_gcov/PHP_4_4/ext/oci8/oci8.c
222 [5] => /p2/var/php_gcov/PHP_4_4/regex/regexec.c
305 [2] => /p2/var/php_gcov/PHP_4_4/ext/yp/yp.c
308 [5] => /p2/var/php_gcov/PHP_4_4/ext/yp/yp.c
402 [5] => /p2/var/php_gcov/PHP_4_4/Zend/zend_ini.c
449 [5] => /p2/var/php_gcov/PHP_5_2/ext/ming/ming.c
[all …]
/php-src/ext/gd/libgd/
H A Dgdkanji.c237 *p2 -= cellOffset; in SJIStoJIS()
328 if ((*p2 >= 74 && *p2 <= 103) || (*p2 >= 110 && *p2 <= 122)) in han2zen()
329 (*p2)++; in han2zen()
330 else if (*p2 == 131 || *p2 == 69) in han2zen()
331 *p2 = 148; in han2zen()
333 else if (handaku && *p2 >= 110 && *p2 <= 122) in han2zen()
334 (*p2) += 2; in han2zen()
379 int p1, p2, i, j; in do_convert()
522 if (p2 == 222 || p2 == 223) in do_check_and_conv()
525 p2 = 0; in do_check_and_conv()
[all …]
/php-src/ext/standard/
H A Dlevenshtein.c23 zend_long *p1, *p2, *tmp; in reference_levdist() local
44 p2 = safe_emalloc((ZSTR_LEN(string2) + 1), sizeof(zend_long), 0); in reference_levdist()
50 p2[0] = p1[0] + cost_del; in reference_levdist()
58 c2 = p2[i2] + cost_ins; in reference_levdist()
62 p2[i2 + 1] = c0; in reference_levdist()
65 p1 = p2; in reference_levdist()
66 p2 = tmp; in reference_levdist()
71 efree(p2); in reference_levdist()
H A Dversioning.c125 char *p1, *p2, *n1, *n2; in php_version_compare() local
147 p2 = n2 = ver2; in php_version_compare()
148 while (*p1 && *p2 && n1 && n2) { in php_version_compare()
152 if ((n2 = strchr(p2, '.')) != NULL) { in php_version_compare()
155 if (isdigit(*p1) && isdigit(*p2)) { in php_version_compare()
158 l2 = strtol(p2, NULL, 10); in php_version_compare()
160 } else if (!isdigit(*p1) && !isdigit(*p2)) { in php_version_compare()
162 compare = compare_special_version_forms(p1, p2); in php_version_compare()
178 p2 = n2 + 1; in php_version_compare()
189 if (isdigit(*p2)) { in php_version_compare()
[all …]
/php-src/ext/phar/tests/
H A Dphar_copy.phpt40 $p2 = new Phar($fname2);
42 echo 'a: ' , file_get_contents($p2['a']->getPathName());
43 echo 'b: ' ,file_get_contents($p2['b']->getPathName());
44 echo 'c: ' ,file_get_contents($p2['c']->getPathName()), $p2['c']->getMetaData(), "\n";
47 $p2->copy('notexisting', 'another');
52 $p2->copy('a', 'b');
56 $p2['a']->compress(Phar::GZ);
57 $p2->copy('a', 'd');
58 echo $p2['d']->getContent() . "\n";
60 $p2->copy('d', '.phar/stub.php');
[all …]
/php-src/ext/ffi/tests/
H A D034.phpt12 $p2 = $ffi->new("uint16_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($…
/php-src/ext/phar/tests/tar/
H A Dbignames.phpt19 $p2 = new PharData($fname2);
20 echo $p2[str_repeat('a', 100) . '/b']->getContent() . "\n";
21 echo $p2[str_repeat('a', 155) . '/' . str_repeat('b', 100)]->getContent() . "\n";
24 $p2[str_repeat('a', 400)] = 'yuck';
30 $p2 = new PharData($fname3);
31 $p2[str_repeat('a', 101)] = 'yuck';
37 $p2 = new PharData($fname4);
38 $p2[str_repeat('b', 160) . '/' . str_repeat('a', 90)] = 'yuck';
H A Dphar_copy.phpt39 $p2 = new Phar($fname2);
40 var_dump($p2->isFileFormat(Phar::TAR));
42 echo 'a: ' , file_get_contents($p2['a']->getPathName());
43 echo 'b: ' ,file_get_contents($p2['b']->getPathName());
44 echo 'c: ' ,file_get_contents($p2['c']->getPathName());
/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/tests/classes/
H A Dclone_001.phpt7 public $p2 = 2;
12 $obj->p2 = 'A';
27 ["p2"]=>
36 ["p2"]=>
H A Dclone_002.phpt7 public $p2 = 2;
14 $obj->p2 = 'A';
29 ["p2"]=>
38 ["p2"]=>
H A Dclone_003.phpt7 public $p2 = 'base:2';
40 [p2] => base:2
50 [p2] => base:2
/php-src/ext/gd/tests/
H A Ddashedlines.phpt19 $p2 = imagecolorat($im, 1,5) == $b;
26 if ($p1 && $p2 && $p3 && $p4 && $p5) {
40 $p2 = imagecolorat($im, 2,1) == $b;
46 if ($p1 && $p2 && $p3 && $p4 && $p5 && $p6) {
60 $p2 = imagecolorat($im, 1,1) == $b;
66 if ($p1 && $p2 && $p3 && $p4 && $p5 && $p6) {
H A Dcopy.phpt18 $p2 = imagecolorat($dst_tc, 0,0) == 0x0000ff;
21 if ($p1 && $p2 && $p3) {
43 $p2 = $c2['red'] == 0x00 && $c2['blue']==0xff && $c2['green']==0x00;
46 if ($p1 && $p2 && $p3) {
72 $p2 = $c2['red'] == 0x00 && $c2['blue']==0xff && $c2['green']==0x00;
76 if ($p1 && $p2 && $p3) {
96 $p2 = imagecolorat($dst_tc, 0,0) == 0x0000ff;
99 if ($p1 && $p2 && $p3) {
H A Dlines.phpt14 $p2 = imagecolorat($im, 5,5)==0x00ff00;
19 if ($p1 && $p2 && $p3) {
28 $p2 = imagecolorat($im, 0,5)==0x00ff00;
34 if ($p1 && $p2 && $p3) {
46 $p2 = imagecolorat($im, 5,5)==0x00ff00;
55 if ($p1 && $p2 && $p3) {
/php-src/ext/reflection/tests/
H A Dproperty_exists.phpt24 foreach($props as $p2) {
25 echo $oc, '::$' , $p2, "\n";
26 var_dump(property_exists($oc, $p2));
38 foreach($props as $p2) {
39 echo $oc, '::$' , $p2, "\n";
40 var_dump(property_exists($oc, $p2));
52 foreach($props as $p2) {
53 echo $oc, '::$' , $p2, "\n";
75 foreach($pr as $p2) {
76 echo $p1, '::$' , $p2, "\n";
[all …]
H A DReflectionParameter_new_initializer.phpt8 $p2 = new SomeClass(new With, some: new Parameters)
12 echo new ReflectionParameter('test', 'p2'), "\n";
17 Parameter #1 [ <optional> $p2 = new \SomeClass(new \With(), some: new \Parameters()) ]
/php-src/ext/phar/tests/zip/
H A Dphar_copy.phpt38 $p2 = new Phar($fname2);
39 var_dump($p2->isFileFormat(Phar::ZIP));
41 echo 'a: ' , file_get_contents($p2['a']->getPathName());
42 echo 'b: ' ,file_get_contents($p2['b']->getPathName());
43 echo 'c: ' ,file_get_contents($p2['c']->getPathName());
H A Dphar_setalias.phpt41 $p2 = new Phar($fname2);
42 echo $p2->getAlias(), "\n";
43 $p2->compressFiles(Phar::BZ2);
45 $p2->setAlias('unused2');
/php-src/Zend/tests/attributes/override/
H A D001.phpt17 public function p2() {}
25 public function p2() {}
36 public function p2() {}
/php-src/ext/phar/tests/cache_list/files/
H A Dwrite8.phar4 $p2 = new Phar(__FILE__);
6 echo $p2->getAlias(),"\n";
H A Dwrite11.phar4 $p2 = new Phar(__FILE__);
6 echo strlen($p2->getStub()),"\n";
H A Dwrite9.phar4 $p2 = new Phar(__FILE__);
6 echo $p2->getStub(),"\n";
H A Dwrite10.phar4 $p2 = new Phar(__FILE__);
7 echo $p2->getStub(),"\n";
/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 89 milliseconds

1234