/php-src/sapi/fpm/fpm/ |
H A D | fpm_arrays.h | 15 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-src/ext/dom/lexbor/lexbor/core/ |
H A D | dobject.c | 36 dobject->allocated = 0UL; in lexbor_dobject_init() 67 dobject->allocated = 0UL; in lexbor_dobject_clean() 96 dobject->allocated++; in lexbor_dobject_alloc() 117 dobject->allocated++; in lexbor_dobject_alloc() 146 dobject->allocated--; in lexbor_dobject_free() 159 if (pos >= dobject->allocated) { in lexbor_dobject_by_absolute_position()
|
H A D | dobject.h | 23 size_t allocated; member 67 return dobject->allocated; in lexbor_dobject_allocated()
|
/php-src/sapi/phpdbg/ |
H A D | phpdbg_sigsafe.c | 11 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 D | phpdbg_sigsafe.h | 10 bool allocated; member
|
/php-src/ext/pcre/tests/ |
H A D | bug81243.phpt | 2 Bug #81243 (Too much memory is allocated for preg_replace())
|
/php-src/ext/ftp/tests/ |
H A D | ftp_alloc_basic2.phpt | 22 string(20) "1024 bytes allocated"
|
/php-src/Zend/tests/ |
H A D | is_callable_trampoline_uaf.phpt | 22 // Extra X::foo() wrapper to force use of allocated trampoline.
|
H A D | bug70258.phpt | 2 Bug #70258 (Segfault if do_resize fails to allocated memory)
|
H A D | gh12073.phpt | 2 GH-12073: Freeing of non-ZMM pointer of incompletely allocated closure
|
H A D | is_callable_trampoline_uaf-deprecated.phpt | 22 // Extra X::foo() wrapper to force use of allocated trampoline.
|
/php-src/Zend/asm/ |
H A D | make_arm64_aapcs_macho_gas.S | 59 ; shift address in x0 (allocated stack) to lower 16 byte boundary
|
H A D | make_arm64_aapcs_elf_gas.S | 60 # shift address in x0 (allocated stack) to lower 16 byte boundary
|
H A D | make_riscv64_sysv_elf_gas.S | 66 # shift address in a0 (allocated stack) to lower 16 byte boundary
|
H A D | make_arm64_aapcs_pe_armasm.asm | 68 ; shift address in x0 (allocated stack) to lower 16 byte boundary
|
H A D | make_sparc64_sysv_elf_gas.S | 25 # shift address in %i0 (allocated stack) to lower 16 byte boundary
|
/php-src/docs-old/ |
H A D | streams.md | 116 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-src/ext/pcre/pcre2lib/ |
H A D | pcre2_convert.c | 1124 PCRE2_UCHAR *allocated; in pcre2_pattern_convert() local 1153 allocated = PRIV(memctl_malloc)(sizeof(pcre2_memctl) + in pcre2_pattern_convert() 1155 if (allocated == NULL) return PCRE2_ERROR_NOMEMORY; in pcre2_pattern_convert() 1156 *buffptr = (PCRE2_UCHAR *)(((char *)allocated) + sizeof(pcre2_memctl)); in pcre2_pattern_convert()
|
/php-src/ext/pdo_pgsql/tests/ |
H A D | bug75402.phpt | 70 // With the following option memory is de-allocated
|
/php-src/docs/source/core/data-structures/ |
H A D | reference-counting.rst | 14 a reference count to each allocated value, often abbreviated as refcount or RC. Whenever a reference 207 #define GC_PERSISTENT (1<<7) /* allocated using malloc */ 221 The ``GC_PERSISTENT`` flag indicates that the value was allocated using ``malloc``, instead of PHPs
|
H A D | zend_string.rst | 51 string at compile time. The ``persistent`` parameter indicates whether the string is allocated using 57 string was allocated. After releasing the string, you must not access any of its fields anymore, as
|
/php-src/sapi/embed/ |
H A D | README.md | 125 * allocated so any INI settings added via this callback will have the lowest
|
/php-src/ext/mbstring/tests/ |
H A D | mb_encode_mimeheader_basic4.phpt | 117 // the input string), but we aim to only use a constant amount of temporarily allocated memory
|
/php-src/ |
H A D | CODING_STANDARDS.md | 74 In almost all cases, memory returned to the engine must be allocated using
|
/php-src/ext/standard/ |
H A D | string.c | 893 size_t allocated = EXPLODE_ALLOC_STEP, found = 0; in php_explode_negative_limit() local 895 const char **positions = emalloc(allocated * sizeof(char *)); in php_explode_negative_limit() 899 if (found >= allocated) { in php_explode_negative_limit() 900 allocated = found + EXPLODE_ALLOC_STEP;/* make sure we have enough memory */ in php_explode_negative_limit() 901 positions = erealloc(ZEND_VOIDP(positions), allocated*sizeof(char *)); in php_explode_negative_limit()
|