Home
last modified time | relevance | path

Searched refs:allocated (Results 1 – 25 of 31) sorted by relevance

12

/PHP-8.2/sapi/fpm/fpm/
H A Dfpm_arrays.h15 size_t allocated; member
20 void *allocated = 0; in fpm_array_init() local
29 allocated = a; in fpm_array_init()
37 free(allocated); in fpm_array_init()
41 a->allocated = initial_num; in fpm_array_init()
87 if (a->used == a->allocated) { in fpm_array_push()
88 size_t new_allocated = a->allocated ? a->allocated * 2 : 20; in fpm_array_push()
96 a->allocated = new_allocated; in fpm_array_push()
112 a->used = a->allocated = 0; in fpm_array_free()
/PHP-8.2/sapi/phpdbg/
H A Dphpdbg_sigsafe.c11 if (EXPECTED(size <= PHPDBG_SIGSAFE_MEM_SIZE && !PHPDBG_G(sigsafe_mem).allocated)) { in ZEND_EXTERN_MODULE_GLOBALS()
12 PHPDBG_G(sigsafe_mem).allocated = 1; in ZEND_EXTERN_MODULE_GLOBALS()
40 mem->allocated = 0; in phpdbg_set_sigsafe_mem()
H A Dphpdbg_sigsafe.h10 bool allocated; member
/PHP-8.2/ext/pcre/tests/
H A Dbug81243.phpt2 Bug #81243 (Too much memory is allocated for preg_replace())
/PHP-8.2/ext/ftp/tests/
H A Dftp_alloc_basic2.phpt22 string(20) "1024 bytes allocated"
H A Dserver.inc451 fputs($s, "200 " . $matches[1] . " bytes allocated\r\n");
/PHP-8.2/Zend/tests/
H A Dis_callable_trampoline_uaf.phpt22 // Extra X::foo() wrapper to force use of allocated trampoline.
H A Dbug70258.phpt2 Bug #70258 (Segfault if do_resize fails to allocated memory)
H A Dgh12073.phpt2 GH-12073: Freeing of non-ZMM pointer of incompletely allocated closure
H A Dis_callable_trampoline_uaf-deprecated.phpt22 // Extra X::foo() wrapper to force use of allocated trampoline.
/PHP-8.2/Zend/asm/
H A Dmake_arm64_aapcs_macho_gas.S59 ; shift address in x0 (allocated stack) to lower 16 byte boundary
H A Dmake_arm64_aapcs_elf_gas.S60 # shift address in x0 (allocated stack) to lower 16 byte boundary
H A Dmake_riscv64_sysv_elf_gas.S66 # shift address in a0 (allocated stack) to lower 16 byte boundary
H A Dmake_arm64_aapcs_pe_armasm.asm68 ; shift address in x0 (allocated stack) to lower 16 byte boundary
/PHP-8.2/ext/zend_test/tests/
H A Dgh11078.phpt2 GH-11078 (PHP Fatal error triggers pointer being freed was not allocated and malloc: double free fo…
/PHP-8.2/docs/
H A Dstreams.md116 If you want to read the contents of a stream into an allocated memory buffer,
124 This function will set buf to the address of the buffer that it allocated, which
127 is allocated using `pemalloc()`. You need to call `pefree()` to release the
301 * `persistent` controls how the memory is to be allocated - persistently so that
401 and free the resources you allocated for the abstract field. In the case of the
403 connection and then use pefree to dispose of the struct you allocated. You may
404 read the stream->persistent field to determine if your struct was allocated in
/PHP-8.2/ext/pcre/pcre2lib/
H A Dpcre2_convert.c1117 PCRE2_UCHAR *allocated; in pcre2_pattern_convert() local
1146 allocated = PRIV(memctl_malloc)(sizeof(pcre2_memctl) + in pcre2_pattern_convert()
1148 if (allocated == NULL) return PCRE2_ERROR_NOMEMORY; in pcre2_pattern_convert()
1149 *buffptr = (PCRE2_UCHAR *)(((char *)allocated) + sizeof(pcre2_memctl)); in pcre2_pattern_convert()
/PHP-8.2/ext/pdo_pgsql/tests/
H A Dbug75402.phpt71 // With the following option memory is de-allocated
/PHP-8.2/sapi/embed/
H A DREADME.md125 * allocated so any INI settings added via this callback will have the lowest
/PHP-8.2/
H A DUPGRADING.INTERNALS42 * Added smart_str_trim_to_size(). The function trims the memory allocated for the
H A DCODING_STANDARDS.md70 In almost all cases, memory returned to the engine must be allocated using
H A DNEWS133 allocated and malloc: double free for ptr errors). (nielsdos)
820 . Fixed trait property types not being arena allocated if copied from
824 . Fixed memory freeing of DNF types for non arena allocated types.
939 . Prevent potential deadlock if accelerated globals cannot be allocated.
/PHP-8.2/ext/standard/
H A Dstring.c1033 size_t allocated = EXPLODE_ALLOC_STEP, found = 0; in php_explode_negative_limit() local
1035 const char **positions = emalloc(allocated * sizeof(char *)); in php_explode_negative_limit()
1039 if (found >= allocated) { in php_explode_negative_limit()
1040 allocated = found + EXPLODE_ALLOC_STEP;/* make sure we have enough memory */ in php_explode_negative_limit()
1041 positions = erealloc(ZEND_VOIDP(positions), allocated*sizeof(char *)); in php_explode_negative_limit()
H A Durl_scanner_ex.re141 /* Note: the hash table is persistently allocated, so the strings must be too! */
/PHP-8.2/sapi/fpm/
H A Dwww.conf.in320 ; %M: peak of memory allocated by PHP

Completed in 87 milliseconds

12