Home
last modified time | relevance | path

Searched refs:p1 (Results 1 – 25 of 59) sorted by path

123

/PHP-7.4/Zend/tests/
H A Dbug40757.phpt6 private $p1='sadf';
23 [p1] => sadf
27 [p1] => sadf
/PHP-7.4/Zend/
H A Dzend_hash.c2548 Bucket *p1 = ht1->arData + idx1, *p2; in zend_hash_compare_impl() local
2552 if (Z_TYPE(p1->val) == IS_UNDEF) continue; 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()
2565 if (ZSTR_LEN(p1->key) != ZSTR_LEN(p2->key)) { 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()
2575 return p1->key != NULL ? 1 : -1; in zend_hash_compare_impl()
2580 if (p1->key == NULL) { /* numeric index */ in zend_hash_compare_impl()
2581 pData2 = zend_hash_index_find(ht2, p1->h); in zend_hash_compare_impl()
2586 pData2 = zend_hash_find(ht2, p1->key); in zend_hash_compare_impl()
[all …]
H A Dzend_object_handlers.c1645 zval *p1 = OBJ_PROP(zobj1, info->offset); in zend_std_compare_objects() local
1652 if (Z_TYPE_P(p1) != IS_UNDEF) { in zend_std_compare_objects()
1656 if (compare_function(&result, p1, p2)==FAILURE) { in zend_std_compare_objects()
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)
803 : m1 {p1},
/PHP-7.4/ext/ffi/
H A Dffi.c1778 char *p1, *p2; in zend_ffi_cdata_do_operation() local
1782 p1 = (char*)(*(void**)cdata1->ptr); in zend_ffi_cdata_do_operation()
1785 p1 = cdata1->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.phpt9 $p1 = FFI::new("uint8_t[2]");
11 var_dump($p1, $p2);
13 $t1 = FFI::typeof($p1);
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($…
/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.inc462 $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
2905 p1 = im1->trueColor ? gdImageTrueColorPixel(im1, x, y) : gdImagePalettePixel(im1, 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.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-7.4/ext/gd/tests/
H A Dbug38179.phpt21 $p1 = imagecolorat($dst_tc, 3,3);
22 printf("%X\n", $p1);
H A Dcopy.phpt19 $p1 = imagecolorat($dst_tc, 3,3) == 0xff0000;
23 if ($p1 && $p2 && $p3) {
44 $p1 = $c1['red'] == 0xff && $c1['blue']==0x00 && $c1['green']==0x00;
48 if ($p1 && $p2 && $p3) {
73 $p1 = $c1['red'] == 0xff && $c1['blue']==0x00 && $c1['green']==0x00;
78 if ($p1 && $p2 && $p3) {
97 $p1 = imagecolorat($dst_tc, 3,3) == 0xff0000;
101 if ($p1 && $p2 && $p3) {
H A Dcopyresized.phpt29 $p1 = imagecolorat($im, $x, $y);
31 if (get_hexcolor($im, $p1) != get_hexcolor($dst, $p2)) {
H A Ddashedlines.phpt20 $p1 = imagecolorat($im, 0,5) == $r;
28 if ($p1 && $p2 && $p3 && $p4 && $p5) {
41 $p1 = imagecolorat($im, 2,0) == $r;
48 if ($p1 && $p2 && $p3 && $p4 && $p5 && $p6) {
61 $p1 = imagecolorat($im, 0,0) == $r;
68 if ($p1 && $p2 && $p3 && $p4 && $p5 && $p6) {
H A Dlines.phpt19 $p1 = imagecolorat($im, 0,5)==0x00ff00;
25 if ($p1 && $p2 && $p3) {
33 $p1 = imagecolorat($im, 0,0)==0x00ff00;
40 if ($p1 && $p2 && $p3) {
51 $p1 = imagecolorat($im, 0,0)==0x00ff00;
61 if ($p1 && $p2 && $p3) {
/PHP-7.4/ext/iconv/
H A Diconv.c1467 const char *p1; in _php_iconv_mime_decode() local
1498 p1 = str; in _php_iconv_mime_decode()
1504 switch (*p1) { in _php_iconv_mime_decode()
1519 spaces = p1; in _php_iconv_mime_decode()
1542 if (*p1 == '\r' || *p1 == '\n') { in _php_iconv_mime_decode()
1543 --p1; in _php_iconv_mime_decode()
1572 --p1; in _php_iconv_mime_decode()
1652 ++p1; in _php_iconv_mime_decode()
1762 if (*p1 != ' ' && *p1 != '\t') { in _php_iconv_mime_decode()
1763 --p1; in _php_iconv_mime_decode()
[all …]
/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
256 char* key1 = ((collator_sort_key_index_t*)p1)->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
736 p1 = tmpstr; in php_mb_parse_encoding_list()
738 p1 = p2 + 1; in php_mb_parse_encoding_list()
747 p1 = tmpstr; in php_mb_parse_encoding_list()
749 p2 = p = (char*)php_memnstr(p1, ",", 1, endp); in php_mb_parse_encoding_list()
755 while (p1 < p && (*p1 == ' ' || *p1 == '\t')) { in php_mb_parse_encoding_list()
756 p1++; in php_mb_parse_encoding_list()
759 while (p > p1 && (*p == ' ' || *p == '\t')) { in php_mb_parse_encoding_list()
764 if (strcasecmp(p1, "auto") == 0) { in php_mb_parse_encoding_list()
776 const mbfl_encoding *encoding = mbfl_name2encoding(p1); in php_mb_parse_encoding_list()
[all …]
/PHP-7.4/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-7.4/ext/oci8/tests/
H A Dbind_char_3.phpt23 "create or replace function bind_char_3_fn(p1 char) return char as begin return p1; end;",
H A Dbind_char_3_11gR1.phpt23 "create or replace function bind_char_3_fn(p1 char) return char as begin return p1; end;",
H A Dbind_char_4.phpt25 "create or replace function bind_char_3_fn(p1 varchar2) return varchar2 as begin return p1; end;",

Completed in 101 milliseconds

123