/PHP-7.4/ext/opcache/ |
H A D | ZendAccelerator.c | 1382 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 63L) & ~63L); in store_script_in_file_cache() 1386 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 7L) & ~7L); in store_script_in_file_cache() 1502 if (ZCG(mem)) { in cache_script_in_shared_memory() 1503 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 63L) & ~63L); in cache_script_in_shared_memory() 1536 if (ZCG(mem)) { in cache_script_in_shared_memory() 1540 if (!ZCG(mem)) { in cache_script_in_shared_memory() 2722 void *mem; in accel_remap_huge_pages() local 4151 if (ZCG(mem)) { in preload_script_in_shared_memory() 4152 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 63L) & ~63L); in preload_script_in_shared_memory() 4185 if (ZCG(mem)) { in preload_script_in_shared_memory() [all …]
|
H A D | zend_file_cache.c | 114 (((char*)(ptr) >= (char*)script->mem && (char*)(ptr) < (char*)script->mem + script->size) || \ 232 (zend_string*)ZCG(mem), 829 new_script->mem = NULL; 895 void *mem, *buf; local 963 efree(mem); 977 efree(mem); 985 efree(mem); 1505 script->mem = buf; 1591 mem = (void*)(((zend_uintptr_t)mem + 63L) & ~63L); 1666 buf = mem; [all …]
|
H A D | zend_persist.c | 125 ZEND_ASSERT(((zend_uintptr_t)ZCG(mem) & 0x7) == 0); /* should be 8 byte aligned */ in zend_hash_persist() 126 HT_SET_DATA_ADDR(ht, ZCG(mem)); in zend_hash_persist() 127 …ZCG(mem) = (void*)((char*)ZCG(mem) + ZEND_ALIGNED_SIZE((hash_size * sizeof(uint32_t)) + (ht->nNumU… in zend_hash_persist() 141 void *data = ZCG(mem); in zend_hash_persist() 145 ZCG(mem) = (void*)((char*)data + ZEND_ALIGNED_SIZE(HT_USED_SIZE(ht))); in zend_hash_persist() 347 …ZCG(mem) = (void*)((char*)ZCG(mem) + ZEND_ALIGNED_SIZE(zend_extensions_op_array_persist(op_array, … in zend_persist_op_array_ex() 537 …ZCG(mem) = (void*)((char*)ZCG(mem) + ZEND_ALIGNED_SIZE(zend_extensions_op_array_persist(op_array, … in zend_persist_op_array_ex() 1052 script->mem = ZCG(mem); in zend_accel_script_persist() 1073 ZCG(mem) = (void*)(((zend_uintptr_t)ZCG(mem) + 63L) & ~63L); in zend_accel_script_persist() 1078 script->arena_mem = ZCG(arena_mem) = ZCG(mem); in zend_accel_script_persist() [all …]
|
H A D | zend_accelerator_util_funcs.c | 887 unsigned char *mem = (unsigned char*)persistent_script->mem; in zend_accel_script_checksum() local 892 if (mem < (unsigned char*)persistent_script) { in zend_accel_script_checksum() 893 checksum = zend_adler32(checksum, mem, (unsigned char*)persistent_script - mem); in zend_accel_script_checksum() 894 size -= (unsigned char*)persistent_script - mem; in zend_accel_script_checksum() 895 mem += (unsigned char*)persistent_script - mem; in zend_accel_script_checksum() 898 zend_adler32(checksum, mem, persistent_script_check_block_size); in zend_accel_script_checksum() 899 mem += sizeof(*persistent_script); in zend_accel_script_checksum() 903 checksum = zend_adler32(checksum, mem, size); in zend_accel_script_checksum()
|
H A D | zend_persist_calc.c | 505 new_persistent_script->mem = NULL; in zend_accel_script_persist_calc()
|
/PHP-7.4/ext/standard/ |
H A D | string.c | 4079 uint8_t mem[16]; member 4092 vst1q_u8(qw.mem, s0123); 4101 if (res.mem[i] == 0) 4228 vst1q_u8(q.mem, vceqq_u8(x, vdupq_n_u8('\\'))); 4232 if (q.mem[i] == 0) {
|
/PHP-7.4/ext/pdo_firebird/ |
H A D | firebird_statement.c | 598 zend_string *mem = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in firebird_stmt_param_hook() local 600 ZVAL_STR(parameter, mem ? mem : ZSTR_EMPTY_ALLOC()); in firebird_stmt_param_hook()
|
/PHP-7.4/ |
H A D | run-tests.php | 3300 $mem = "<a href='$url'>leaks</a>"; 3302 $mem = " "; 3312 "<td>$mem</td>" .
|
/PHP-7.4/ext/pdo_mysql/ |
H A D | mysql_statement.c | 532 zend_string *mem = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in pdo_mysql_stmt_param_hook() local 534 ZVAL_STR(parameter, mem ? mem : ZSTR_EMPTY_ALLOC()); in pdo_mysql_stmt_param_hook()
|
/PHP-7.4/ext/mysqli/tests/ |
H A D | mysqli_stmt_bind_param.phpt | 78 $mem = memory_get_usage(); 83 if (($tmp = (memory_get_usage() - $mem)) > 600)
|
/PHP-7.4/ext/dom/ |
H A D | document.c | 1635 xmlChar *mem; in PHP_FUNCTION() local 1672 if (!mem) { in PHP_FUNCTION() 1676 RETVAL_STRING((char *) mem); in PHP_FUNCTION() 1688 if (!size || !mem) { in PHP_FUNCTION() 1691 RETVAL_STRINGL((char *) mem, size); in PHP_FUNCTION() 1692 xmlFree(mem); in PHP_FUNCTION() 2180 xmlChar *mem = NULL; in PHP_FUNCTION() local 2229 if (!mem) { in PHP_FUNCTION() 2244 if (!size || !mem) { in PHP_FUNCTION() 2249 if (mem) in PHP_FUNCTION() [all …]
|
/PHP-7.4/ext/pcre/pcre2lib/sljit/ |
H A D | sljitNativePPC_common.c | 2229 sljit_s32 mem, sljit_sw memw) in sljit_emit_mem() argument 2235 CHECK(check_sljit_emit_mem(compiler, type, reg, mem, memw)); in sljit_emit_mem() 2259 if (mem & OFFS_REG_MASK) in sljit_emit_mem() 2289 if (SLJIT_UNLIKELY(mem & OFFS_REG_MASK)) { in sljit_emit_mem() 2297 …FAIL_IF(push_inst(compiler, INST_CODE_AND_DST(inst, 0, reg) | A(mem & REG_MASK) | B(OFFS_REG(mem))… in sljit_emit_mem() 2313 FAIL_IF(push_inst(compiler, INST_CODE_AND_DST(inst, 0, reg) | A(mem & REG_MASK) | IMM(memw))); in sljit_emit_mem() 2323 sljit_s32 mem, sljit_sw memw) in sljit_emit_fmem() argument 2329 CHECK(check_sljit_emit_fmem(compiler, type, freg, mem, memw)); in sljit_emit_fmem() 2334 if (SLJIT_UNLIKELY(mem & OFFS_REG_MASK)) { in sljit_emit_fmem() 2351 if (SLJIT_UNLIKELY(mem & OFFS_REG_MASK)) { in sljit_emit_fmem() [all …]
|
H A D | sljitNativeARM_T2_32.c | 2269 sljit_s32 mem, sljit_sw memw) in sljit_emit_mem() argument 2275 CHECK(check_sljit_emit_mem(compiler, type, reg, mem, memw)); in sljit_emit_mem() 2277 if ((mem & OFFS_REG_MASK) || (memw > 255 || memw < -255)) in sljit_emit_mem() 2321 return push_inst32(compiler, inst | RT4(reg) | RN4(mem & REG_MASK) | memw); in sljit_emit_mem()
|
H A D | sljitNativeARM_32.c | 2586 sljit_s32 mem, sljit_sw memw) in sljit_emit_mem() argument 2592 CHECK(check_sljit_emit_mem(compiler, type, reg, mem, memw)); in sljit_emit_mem() 2630 if (SLJIT_UNLIKELY(mem & OFFS_REG_MASK)) { in sljit_emit_mem() 2648 if (SLJIT_UNLIKELY(mem & OFFS_REG_MASK)) { in sljit_emit_mem() 2651 inst = EMIT_DATA_TRANSFER(flags, 1, reg, mem & REG_MASK, RM(OFFS_REG(mem)) | (memw << 7)); in sljit_emit_mem() 2664 inst = EMIT_DATA_TRANSFER(flags, 0, reg, mem & REG_MASK, 0); in sljit_emit_mem()
|
H A D | sljitNativeARM_64.c | 1874 sljit_s32 mem, sljit_sw memw) in sljit_emit_mem() argument 1879 CHECK(check_sljit_emit_mem(compiler, type, reg, mem, memw)); in sljit_emit_mem() 1881 if ((mem & OFFS_REG_MASK) || (memw > 255 || memw < -256)) in sljit_emit_mem() 1919 return push_inst(compiler, inst | RT(reg) | RN(mem & REG_MASK) | ((memw & 0x1ff) << 12)); in sljit_emit_mem() 1924 sljit_s32 mem, sljit_sw memw) in sljit_emit_fmem() argument 1929 CHECK(check_sljit_emit_fmem(compiler, type, freg, mem, memw)); in sljit_emit_fmem() 1931 if ((mem & OFFS_REG_MASK) || (memw > 255 || memw < -256)) in sljit_emit_fmem() 1948 return push_inst(compiler, inst | VT(freg) | RN(mem & REG_MASK) | ((memw & 0x1ff) << 12)); in sljit_emit_fmem()
|
H A D | sljitLir.c | 1871 sljit_s32 mem, sljit_sw memw) in check_sljit_emit_mem() argument 1880 FUNCTION_CHECK_SRC_MEM(mem, memw); in check_sljit_emit_mem() 1883 CHECK_ARGUMENT((mem & REG_MASK) != SLJIT_UNUSED && (mem & REG_MASK) != reg); in check_sljit_emit_mem() 1906 sljit_s32 mem, sljit_sw memw) in check_sljit_emit_fmem() argument 1914 FUNCTION_CHECK_SRC_MEM(mem, memw); in check_sljit_emit_fmem() 2229 sljit_s32 mem, sljit_sw memw) in sljit_emit_mem() argument 2234 SLJIT_UNUSED_ARG(mem); in sljit_emit_mem() 2250 sljit_s32 mem, sljit_sw memw) in sljit_emit_fmem() argument 2255 SLJIT_UNUSED_ARG(mem); in sljit_emit_fmem() 2633 SLJIT_UNUSED_ARG(mem); in sljit_emit_mem() [all …]
|
H A D | sljitLir.h | 1345 sljit_s32 mem, sljit_sw memw); 1356 sljit_s32 mem, sljit_sw memw);
|
/PHP-7.4/ext/pcre/pcre2lib/ |
H A D | pcre2_jit_neon_inc.h | 232 VST1Q(qw.mem, eq); in FF_FUN() 307 VST1Q(qw.mem, eq); in FF_FUN()
|
H A D | pcre2_jit_simd_inc.h | 798 uint8_t mem[16]; member 812 uint16_t mem[8]; member 826 uint32_t mem[4]; member
|
/PHP-7.4/ext/pdo_sqlite/ |
H A D | sqlite_statement.c | 182 zend_string *mem = php_stream_copy_to_mem(stm, PHP_STREAM_COPY_ALL, 0); in pdo_sqlite_stmt_param_hook() local 184 ZVAL_STR(parameter, mem ? mem : ZSTR_EMPTY_ALLOC()); in pdo_sqlite_stmt_param_hook()
|
/PHP-7.4/sapi/phpdbg/ |
H A D | phpdbg_watch.c | 454 phpdbg_watchpoint_t *mem = emalloc(sizeof(*mem)); local 455 *mem = *watch; 456 watch = mem;
|
H A D | phpdbg.c | 169 pg->sigsafe_mem.mem = NULL; in php_phpdbg_globals_ctor() 1160 char mem[PHPDBG_SIGSAFE_MEM_SIZE + 1]; in phpdbg_sigint_handler() local 1162 phpdbg_set_sigsafe_mem(mem); in phpdbg_sigint_handler() 1246 char mem[PHPDBG_SIGSAFE_MEM_SIZE + 1]; in phpdbg_sigio_handler() local 1249 …if ((newlen = recv(PHPDBG_G(io)[PHPDBG_STDIN].fd, mem, PHPDBG_SIGSAFE_MEM_SIZE, MSG_PEEK)) == (siz… in phpdbg_sigio_handler() 1253 switch (mem[off + i]) { in phpdbg_sigio_handler() 1259 phpdbg_set_sigsafe_mem(mem); in phpdbg_sigio_handler()
|
/PHP-7.4/sapi/cli/tests/ |
H A D | php_cli_server_016.phpt | 4 this is an indirect test for bug 60591, since mem leak is reproted in the server side
|
/PHP-7.4/sapi/fpm/ |
H A D | config.m4 | 222 if test -r /proc/$$/mem ; then 223 proc_mem_file="mem" 231 AC_MSG_CHECKING([for proc mem file]) 270 AC_DEFINE_UNQUOTED([PROC_MEM_FILE], "$proc_mem_file", [/proc/pid/mem interface])
|
/PHP-7.4/ext/sysvshm/ |
H A D | php_sysvshm.h | 54 char mem; member
|