Home
last modified time | relevance | path

Searched refs:p2 (Results 1 – 25 of 75) sorted by path

123

/PHP-7.4/Zend/
H A Dzend_hash.c2548 Bucket *p1 = ht1->arData + idx1, *p2; in zend_hash_compare_impl() local
2556 p2 = ht2->arData + idx2; in zend_hash_compare_impl()
2557 if (Z_TYPE(p2->val) != IS_UNDEF) break; in zend_hash_compare_impl()
2560 if (p1->key == NULL && p2->key == NULL) { /* numeric indices */ in zend_hash_compare_impl()
2561 if (p1->h != p2->h) { in zend_hash_compare_impl()
2562 return p1->h > p2->h ? 1 : -1; in zend_hash_compare_impl()
2564 } else if (p1->key != NULL && p2->key != NULL) { /* string indices */ in zend_hash_compare_impl()
2565 if (ZSTR_LEN(p1->key) != ZSTR_LEN(p2->key)) { in zend_hash_compare_impl()
2566 return ZSTR_LEN(p1->key) > ZSTR_LEN(p2->key) ? 1 : -1; in zend_hash_compare_impl()
2569 result = memcmp(ZSTR_VAL(p1->key), ZSTR_VAL(p2->key), ZSTR_LEN(p1->key)); in zend_hash_compare_impl()
[all …]
H A Dzend_object_handlers.c1646 zval *p2 = OBJ_PROP(zobj2, info->offset); in zend_std_compare_objects() local
1653 if (Z_TYPE_P(p2) != IS_UNDEF) { in zend_std_compare_objects()
1656 if (compare_function(&result, p1, p2)==FAILURE) { in zend_std_compare_objects()
1669 if (Z_TYPE_P(p2) != IS_UNDEF) { in zend_std_compare_objects()
H A Dzend_strtod.c2167 dshift(b, p2) Bigint *b; int p2; in dshift() argument
2173 if (p2 > 0)
2174 rv -= p2;
2346 p2 = Emin - P + 1;
2359 --p2;
2368 p2 -= bc->scale;
2377 p2 = Emin;
2405 p2 -= p5 + i;
2414 if (p2 > 0) {
2415 b2 = p2;
[all …]
H A Dzend_vm_trace_handlers.h54 static int zend_vm_trace_compare(const Bucket *p1, const Bucket *p2) in zend_vm_trace_compare() argument
56 if (Z_LVAL(p1->val) < Z_LVAL(p2->val)) { in zend_vm_trace_compare()
58 } else if (Z_LVAL(p1->val) > Z_LVAL(p2->val)) { in zend_vm_trace_compare()
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()
/PHP-7.4/build/
H A Dphp_cxx_compile_stdcxx.m4802 pair (T1 p1, T2 p2)
804 m2 {p2}
/PHP-7.4/ext/ffi/
H A Dffi.c1778 char *p1, *p2; in zend_ffi_cdata_do_operation() local
1789 p2 = (char*)(*(void**)cdata2->ptr); in zend_ffi_cdata_do_operation()
1792 p2 = cdata2->ptr; in zend_ffi_cdata_do_operation()
1796 (zend_long)(p1 - p2) / (zend_long)t1->size); in zend_ffi_cdata_do_operation()
/PHP-7.4/ext/ffi/tests/
H A D033.phpt10 $p2 = FFI::new("uint16_t[2]", true, true);
11 var_dump($p1, $p2);
H A D034.phpt10 $p2 = FFI::new("uint16_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($…
/PHP-7.4/ext/fileinfo/libmagic/
H A Dapprentice.c1183 cmpstrp(const void *p1, const void *p2) in cmpstrp() argument
1185 return strcmp(*RCAST(char *const *, p1), *RCAST(char *const *, p2)); in cmpstrp()
/PHP-7.4/ext/ftp/tests/
H A Dserver.inc461 $p2 = $pasv_port % ((int) 1 << 8);
462 $p1 = ($pasv_port-$p2)/((int) 1 << 8);
463 fputs($s, "227 Entering Passive Mode. (127,0,0,1,{$p1},{$p2})\r\n");
/PHP-7.4/ext/gd/libgd/
H A Dgd.c2867 int p1, p2; in gdImageCompare() local
2906 p2 = im2->trueColor ? gdImageTrueColorPixel(im2, x, y) : gdImagePalettePixel(im2, x, y); in gdImageCompare()
2908 if (gdImageRed(im1, p1) != gdImageRed(im2, p2)) { in gdImageCompare()
2912 if (gdImageGreen(im1, p1) != gdImageGreen(im2, p2)) { in gdImageCompare()
2916 if (gdImageBlue(im1, p1) != gdImageBlue(im2, p2)) { in gdImageCompare()
2922 if (gdImageAlpha(im1, p1) != gdImageAlpha(im2, p2)) { in gdImageCompare()
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-7.4/ext/gd/tests/
H A Dcopy.phpt20 $p2 = imagecolorat($dst_tc, 0,0) == 0x0000ff;
23 if ($p1 && $p2 && $p3) {
45 $p2 = $c2['red'] == 0x00 && $c2['blue']==0xff && $c2['green']==0x00;
48 if ($p1 && $p2 && $p3) {
74 $p2 = $c2['red'] == 0x00 && $c2['blue']==0xff && $c2['green']==0x00;
78 if ($p1 && $p2 && $p3) {
98 $p2 = imagecolorat($dst_tc, 0,0) == 0x0000ff;
101 if ($p1 && $p2 && $p3) {
H A Dcopyresized.phpt30 $p2 = imagecolorat($dst, $x, $y);
31 if (get_hexcolor($im, $p1) != get_hexcolor($dst, $p2)) {
H A Ddashedlines.phpt21 $p2 = imagecolorat($im, 1,5) == $b;
28 if ($p1 && $p2 && $p3 && $p4 && $p5) {
42 $p2 = imagecolorat($im, 2,1) == $b;
48 if ($p1 && $p2 && $p3 && $p4 && $p5 && $p6) {
62 $p2 = imagecolorat($im, 1,1) == $b;
68 if ($p1 && $p2 && $p3 && $p4 && $p5 && $p6) {
H A Dlines.phpt20 $p2 = imagecolorat($im, 5,5)==0x00ff00;
25 if ($p1 && $p2 && $p3) {
34 $p2 = imagecolorat($im, 0,5)==0x00ff00;
40 if ($p1 && $p2 && $p3) {
52 $p2 = imagecolorat($im, 5,5)==0x00ff00;
61 if ($p1 && $p2 && $p3) {
/PHP-7.4/ext/intl/collator/
H A Dcollator_sort.c254 static int collator_cmp_sort_keys( const void *p1, const void *p2 ) in collator_cmp_sort_keys() argument
257 char* key2 = ((collator_sort_key_index_t*)p2)->key; in collator_cmp_sort_keys()
/PHP-7.4/ext/mbstring/
H A Dmbstring.c713 char *p, *p1, *p2, *endp, *tmpstr; in php_mb_parse_encoding_list() local
737 while ((p2 = (char*)php_memnstr(p1, ",", 1, endp)) != NULL) { in php_mb_parse_encoding_list()
738 p1 = p2 + 1; in php_mb_parse_encoding_list()
749 p2 = p = (char*)php_memnstr(p1, ",", 1, endp); in php_mb_parse_encoding_list()
784 p1 = p2 + 1; in php_mb_parse_encoding_list()
785 } while (n < size && p2 != NULL); in php_mb_parse_encoding_list()
/PHP-7.4/ext/oci8/tests/
H A Dbind_sqltint.phpt130 unset($p2);
132 oci_bind_by_name($s, ":p2", $p2, -1, SQLT_INT);
139 $p2 = null;
141 oci_bind_by_name($s, ":p2", $p2, -1, SQLT_INT);
150 oci_bind_by_name($s, ":p2", $p2, -1, SQLT_INT);
159 oci_bind_by_name($s, ":p2", $p2, -1, SQLT_INT);
168 oci_bind_by_name($s, ":p2", $p2, -1, SQLT_INT);
177 oci_bind_by_name($s, ":p2", $p2, -1, SQLT_INT);
186 oci_bind_by_name($s, ":p2", $p2, -1, SQLT_INT);
195 oci_bind_by_name($s, ":p2", $p2, -1, SQLT_INT);
[all …]
H A Dbug37581.phpt18 $p2 = "create or replace package body BUG37581_PKG as
28 $s2 = oci_parse($c, $p2);
H A Ddrcp_characterset.phpt27 $p2 = oci_pconnect($user,$password,$dbase,"US7ASCII");
28 var_dump($p2);
38 // The two connections p1 and p2 should not share resources as they use different
41 if((int)$p1 === (int)$p2)
50 oci_close($p2);
/PHP-7.4/ext/pcre/pcre2lib/sljit/
H A DsljitNativeTILEGX_64.c362 #define BUNDLE_FORMAT_MASK(p0, p1, p2) \ argument
363 ((p0) | ((p1) << 8) | ((p2) << 16))
365 #define BUNDLE_FORMAT(p0, p1, p2) \ argument
370 (tilegx_pipeline)(p2) \
372 BUNDLE_FORMAT_MASK(1 << (p0), 1 << (p1), (1 << (p2))) \
/PHP-7.4/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-7.4/ext/pdo_oci/tests/
H A Dpecl_bug_6364.phpt19 … IN varchar2, p2 IN varchar2, p3 IN varchar2, p4 OUT varchar2, p5 OUT varchar2) as begin insert in…
21 $stmt = $dbh->prepare("call bug_6364_sp('p1','p2','p3',?,?)");
54 string(2) "p2"
56 string(2) "p2"

Completed in 115 milliseconds

123