/php-src/ext/ffi/ |
H A D | ffi.c | 1874 char *p1, *p2; in zend_ffi_cdata_do_operation() local 1885 p2 = (char*)(*(void**)cdata2->ptr); in zend_ffi_cdata_do_operation() 1888 p2 = cdata2->ptr; in zend_ffi_cdata_do_operation() 1892 (zend_long)(p1 - p2) / (zend_long)t1->size); in zend_ffi_cdata_do_operation()
|
/php-src/ext/mbstring/ |
H A D | mbstring.c | 4116 uint32_t *p2 = p; in html_numeric_entity_decode() local 4119 if (*++p2 == '#') { in html_numeric_entity_decode() 4124 w = *++p2; in html_numeric_entity_decode() 4152 p2++; in html_numeric_entity_decode() 4162 w = *++p2; in html_numeric_entity_decode() 4190 p2++; in html_numeric_entity_decode() 4209 p = p2; in html_numeric_entity_decode() 4210 while (*p2 != '&') in html_numeric_entity_decode() 4211 p2++; in html_numeric_entity_decode() 4213 if (p2 > p) { in html_numeric_entity_decode() [all …]
|
/php-src/ext/opcache/jit/ir/ |
H A D | ir_ra.c | 1724 ir_use_pos *p, *p1 = NULL, *p2 = NULL; in ir_swap_operands() local 1771 p2 = p; in ir_swap_operands() 1777 if (p1 && p2) { in ir_swap_operands() 1779 p1->flags = p2->flags; in ir_swap_operands() 1780 p2->flags = tmp; in ir_swap_operands()
|
H A D | ir.h | 300 _(PI, p2, reg, def, ___) /* e-SSA Pi constraint ??? */ \
|
/php-src/Zend/ |
H A D | zend_strtod.c | 2153 dshift(b, p2) Bigint *b; int p2; in dshift() argument 2159 if (p2 > 0) 2160 rv -= p2; 2332 p2 = Emin - P + 1; 2345 --p2; 2354 p2 -= bc->scale; 2363 p2 = Emin; 2391 p2 -= p5 + i; 2400 if (p2 > 0) { 2401 b2 = p2; [all …]
|
H A D | zend_object_handlers.c | 1762 zval *p1, *p2; in zend_std_compare_objects() local 1771 p2 = OBJ_PROP(zobj2, info->offset); in zend_std_compare_objects() 1774 if (Z_TYPE_P(p2) != IS_UNDEF) { in zend_std_compare_objects() 1777 ret = zend_compare(p1, p2); in zend_std_compare_objects() 1787 if (Z_TYPE_P(p2) != IS_UNDEF) { in zend_std_compare_objects()
|
/php-src/ext/dom/lexbor/lexbor/core/ |
H A D | dtoa.c | 83 uint64_t p2, tmp; in lexbor_grisu2_gen() local 103 p2 = Mp.significand & (one.significand - 1); in lexbor_grisu2_gen() 140 tmp = ((uint64_t) p1 << -one.exp) + p2; in lexbor_grisu2_gen() 153 p2 *= 10; in lexbor_grisu2_gen() 155 c = (char) (p2 >> -one.exp); in lexbor_grisu2_gen() 166 p2 &= one.significand - 1; in lexbor_grisu2_gen() 169 if (p2 < delta) { in lexbor_grisu2_gen() 172 lexbor_grisu2_round(begin, p - begin, delta, p2, one.significand, in lexbor_grisu2_gen()
|
/php-src/ext/standard/ |
H A D | levenshtein.c | 24 zend_long *p1, *p2, *tmp; in reference_levdist() local 45 p2 = safe_emalloc((ZSTR_LEN(string2) + 1), sizeof(zend_long), 0); in reference_levdist() 51 p2[0] = p1[0] + cost_del; in reference_levdist() 59 c2 = p2[i2] + cost_ins; in reference_levdist() 63 p2[i2 + 1] = c0; in reference_levdist() 66 p1 = p2; in reference_levdist() 67 p2 = tmp; in reference_levdist() 72 efree(p2); in reference_levdist()
|
H A D | string.c | 851 const char *p2 = php_memnstr(ZSTR_VAL(str), ZSTR_VAL(delim), ZSTR_LEN(delim), endp); in php_explode() local 854 if (p2 == NULL) { in php_explode() 862 ZEND_HASH_FILL_SET_STR(zend_string_init_fast(p1, p2 - p1)); in php_explode() 864 p1 = p2 + ZSTR_LEN(delim); in php_explode() 865 p2 = php_memnstr(p1, ZSTR_VAL(delim), ZSTR_LEN(delim), endp); in php_explode() 866 } while (p2 != NULL && --limit > 1); in php_explode() 884 const char *p2 = php_memnstr(ZSTR_VAL(str), ZSTR_VAL(delim), ZSTR_LEN(delim), endp); in php_explode_negative_limit() local 887 if (p2 == NULL) { in php_explode_negative_limit() 903 positions[found++] = p1 = p2 + ZSTR_LEN(delim); in php_explode_negative_limit() 904 p2 = php_memnstr(p1, ZSTR_VAL(delim), ZSTR_LEN(delim), endp); in php_explode_negative_limit() [all …]
|
/php-src/sapi/fpm/fpm/ |
H A D | fpm_conf.c | 191 char *p2 = token + strlen("$pool"); in fpm_conf_expand_pool_name() local 202 spprintf(&buf, 0, "%s%s%s", *value, current_wp->config->name, p2); in fpm_conf_expand_pool_name()
|
/php-src/ext/session/ |
H A D | session.c | 655 char *p2; in PHP_INI_MH() local 657 if ((p2 = strchr(p, ';'))) { in PHP_INI_MH() 658 p = p2 + 1; in PHP_INI_MH()
|
/php-src/ext/dom/tests/modern/spec/ |
H A D | serialize_element_unqualified.phpt | 8 $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 D | gd.c | 2837 int p1, p2; in gdImageCompare() local 2876 p2 = im2->trueColor ? gdImageTrueColorPixel(im2, x, y) : gdImagePalettePixel(im2, x, y); in gdImageCompare() 2878 if (gdImageRed(im1, p1) != gdImageRed(im2, p2)) { in gdImageCompare() 2882 if (gdImageGreen(im1, p1) != gdImageGreen(im2, p2)) { in gdImageCompare() 2886 if (gdImageBlue(im1, p1) != gdImageBlue(im2, p2)) { in gdImageCompare() 2892 if (gdImageAlpha(im1, p1) != gdImageAlpha(im2, p2)) { in gdImageCompare()
|
/php-src/win32/ |
H A D | sendmail.c | 1016 char *p1 = address, *p2; in get_angle_addr() local 1033 p2 = ++p1; in get_angle_addr() 1034 while ((p2 = strpbrk(p2, ">\"\\")) != NULL) { in get_angle_addr() 1035 if (*p2 == '\\' && in_quotes) { in get_angle_addr() 1036 if (p2[1] == '\0') { in get_angle_addr() 1040 p2++; in get_angle_addr() 1041 } else if (*p2 == '"') { in get_angle_addr() 1043 } else if (*p2 == '>' && !in_quotes) { in get_angle_addr() 1046 p2++; in get_angle_addr() 1048 if (p2 == NULL) return NULL; in get_angle_addr() [all …]
|
/php-src/build/ |
H A D | php_cxx_compile_stdcxx.m4 | 817 pair (T1 p1, T2 p2) 819 m2 {p2}
|
/php-src/ext/fileinfo/libmagic/ |
H A D | apprentice.c | 1350 cmpstrp(const void *p1, const void *p2) in cmpstrp() argument 1352 return strcmp(*RCAST(char *const *, p1), *RCAST(char *const *, p2)); in cmpstrp()
|
/php-src/ext/opcache/jit/ir/dynasm/ |
H A D | minilua.c | 2551 if(ttisstring(p1)||ttisnumber(p1))p1=p2; 2557 p2=p1; 2562 const char*t2=luaT_typenames[ttype(p2)]; 4711 const TValue*p1,const TValue*p2){ 4715 setobj(L,L->top+2,p2); 4724 const TValue*p2,const TValue*p3){ 4727 setobj(L,L->top+2,p2); 4787 tm=luaT_gettmbyobj(L,p2,event); 4789 callTMres(L,res,tm,p1,p2); 4809 tm2=luaT_gettmbyobj(L,p2,event); [all …]
|
H A D | dasm_arm.lua | 728 local p2 = params[n+1] 730 if not p2 then 749 if p2 then 753 local imm = match(p2, "^#(.*)$") 759 local m, neg = parse_gpr_pm(p2) 765 local p1a, p2 = match(p1, "^([^,%s]*)%s*(.*)$") 767 if p2 ~= "" then 768 local imm = match(p2, "^,%s*#(.*)$") 773 local p2a, p3 = match(p2, "^,%s*([^,%s]*)%s*,?%s*(.*)$")
|
H A D | dasm_arm64.lua | 481 local pn, p2 = params[n], params[n+1] 484 if not p2 then 496 if p2 then 498 op = op + parse_reg_base(p1) + parse_imm(p2, 9, 12, 0, true) + 0x400 551 local pn, p2 = params[n], params[n+1] 555 if not p2 then 567 if p2 then 572 if p1a then p1, p2 = p1a, p2a else p2 = "#0" end 575 return op + parse_reg_base(p1) + parse_imm(p2, 7, 15, scale, true)
|
/php-src/ext/soap/ |
H A D | soap.c | 265 char *p2; in PHP_INI_MH() local 267 if ((p2 = strchr(p, ';'))) { in PHP_INI_MH() 268 p = p2 + 1; in PHP_INI_MH()
|
/php-src/ext/standard/tests/general_functions/ |
H A D | debug_zval_dump_o.phpt | 56 private $p2 = 50; 148 ["p2":"contains_object_class":private]=>
|
/php-src/ext/phar/tests/cache_list/ |
H A D | copyonwrite10.phar.phpt | 15 $p2 = new Phar(__FILE__); 18 echo $p2->getStub(),"\n";
|
/php-src/ext/ffi/tests/ |
H A D | 033.phpt | 12 $p2 = $ffi->new("uint16_t[2]", true, true); 13 var_dump($p1, $p2);
|
H A D | 034.phpt | 12 $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/Zend/tests/attributes/override/ |
H A D | 001.phpt | 17 public function p2() {} 25 public function p2() {} 36 public function p2() {}
|