Home
last modified time | relevance | path

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

12

/php-src/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-src/ext/dom/lexbor/lexbor/core/
H A Ddobject.c36 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 Ddobject.h23 size_t allocated; member
67 return dobject->allocated; in lexbor_dobject_allocated()
/php-src/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-src/ext/pcre/tests/
H A Dbug81243.phpt2 Bug #81243 (Too much memory is allocated for preg_replace())
/php-src/ext/ftp/tests/
H A Dftp_alloc_basic2.phpt22 string(20) "1024 bytes allocated"
/php-src/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-src/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
H A Dmake_sparc64_sysv_elf_gas.S25 # shift address in %i0 (allocated stack) to lower 16 byte boundary
/php-src/docs-old/
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-src/ext/pcre/pcre2lib/
H A Dpcre2_convert.c1124 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 Dbug75402.phpt70 // With the following option memory is de-allocated
/php-src/docs/source/core/data-structures/
H A Dreference-counting.rst14 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 Dzend_string.rst51 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 DREADME.md125 * allocated so any INI settings added via this callback will have the lowest
/php-src/ext/mbstring/tests/
H A Dmb_encode_mimeheader_basic4.phpt117 // the input string), but we aim to only use a constant amount of temporarily allocated memory
/php-src/
H A DCODING_STANDARDS.md74 In almost all cases, memory returned to the engine must be allocated using
/php-src/ext/standard/
H A Dstring.c893 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()

Completed in 152 milliseconds

12