/PHP-8.2/Zend/ |
H A D | zend_alloc.h | 37 #define ZEND_MM_ALIGNED_SIZE_EX(size, alignment) \ argument 42 size_t size; member 51 size_t size; member 98 # define ZEND_ALLOCATOR(size) \ argument 103 # define _emalloc(size) \ argument 121 # define ZEND_DEALLOCATOR(ptr, size) \ argument 126 # define efree_size(ptr, size) do { \ argument 133 # define efree_size_rel(ptr, size) \ argument 138 # define efree_size(ptr, size) \ argument 140 # define efree_size_rel(ptr, size) \ argument [all …]
|
H A D | zend_range_check.h | 54 #define ZEND_SIZE_T_INT_OVFL(size) UNEXPECTED((size) > (size_t)INT_MAX) argument 56 # define ZEND_SIZE_T_UINT_OVFL(size) UNEXPECTED((size) > (size_t)UINT_MAX) argument 58 # define ZEND_SIZE_T_UINT_OVFL(size) (0) argument 62 #define ZEND_SIZE_T_GT_ZEND_LONG(size, zlong) ((zlong) < 0 || (size) > (size_t)(zlong)) argument 63 #define ZEND_SIZE_T_GTE_ZEND_LONG(size, zlong) ((zlong) < 0 || (size) >= (size_t)(zlong)) argument 64 #define ZEND_SIZE_T_LT_ZEND_LONG(size, zlong) ((zlong) >= 0 && (size) < (size_t)(zlong)) argument 65 #define ZEND_SIZE_T_LTE_ZEND_LONG(size, zlong) ((zlong) >= 0 && (size) <= (size_t)(zlong)) argument
|
H A D | zend_multiply.h | 170 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address() 198 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address() 235 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address() 257 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address() 278 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address() 302 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address() 316 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address() 331 static zend_always_inline size_t zend_safe_address_guarded(size_t nmemb, size_t size, size_t offset) in zend_safe_address_guarded() 344 static zend_always_inline size_t zend_safe_addmult(size_t nmemb, size_t size, size_t offset, const … in zend_safe_addmult()
|
H A D | zend_alloc.c | 155 #define ZEND_MM_ALIGNED_BASE(size, alignment) \ argument 157 #define ZEND_MM_SIZE_TO_NUM(size, alignment) \ argument 315 size_t size; member 378 size_t size) in zend_mm_safe_error() 499 static void *zend_mm_mmap(size_t size) in zend_mm_mmap() 1754 size_t size; local 1864 size_t size = heap->real_size + new_size; local 1870 size_t size = heap->size + new_size; local 1883 size_t size; local 2516 # define ZEND_MM_CUSTOM_ALLOCATOR(size) argument [all …]
|
H A D | zend_arena.h | 34 static zend_always_inline zend_arena* zend_arena_create(size_t size) in zend_arena_create() 53 static zend_always_inline void* zend_arena_alloc(zend_arena **arena_ptr, size_t size) in zend_arena_alloc() 82 size_t size; in zend_arena_calloc() local 163 static zend_always_inline void *zend_arena_alloc(zend_arena **arena_ptr, size_t size) in zend_arena_alloc() 178 size_t size; in zend_arena_calloc() local
|
/PHP-8.2/main/streams/ |
H A D | php_streams_int.h | 19 #define emalloc_rel_orig(size) \ argument 24 #define erealloc_rel_orig(ptr, size) \ argument 29 #define pemalloc_rel_orig(size, persistent) ((persistent) ? malloc((size)) : emalloc_rel_orig((size… argument 30 #define perealloc_rel_orig(ptr, size, persistent) ((persistent) ? realloc((ptr), (size)) : erealloc… argument 32 # define pemalloc_rel_orig(size, persistent) pemalloc((size), (persistent)) argument 33 # define perealloc_rel_orig(ptr, size, persistent) perealloc((ptr), (size), (persistent)) argument 34 # define emalloc_rel_orig(size) emalloc((size)) argument
|
H A D | cast.c | 68 static int stream_cookie_reader(void *cookie, char *buffer, int size) in stream_cookie_reader() 76 static int stream_cookie_writer(void *cookie, const char *buffer, int size) in stream_cookie_writer() 98 static ssize_t stream_cookie_reader(void *cookie, char *buffer, size_t size) in stream_cookie_reader() 106 static ssize_t stream_cookie_writer(void *cookie, const char *buffer, size_t size) in stream_cookie_writer()
|
/PHP-8.2/ext/pcre/pcre2lib/sljit/ |
H A D | sljitExecAllocator.c | 84 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) in alloc_chunk() 89 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() 171 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) in alloc_chunk() 208 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() 222 sljit_uw size; member 230 sljit_uw size; member 238 #define ALIGN_SIZE(size) (((size) + sizeof(struct block_header) + 7u) & ~(sljit_uw)7) argument 244 static SLJIT_INLINE void sljit_insert_free_block(struct free_block *free_block, sljit_uw size) in sljit_insert_free_block() 269 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) in sljit_malloc_exec()
|
H A D | sljitProtExecAllocator.c | 188 static SLJIT_INLINE struct chunk_header* alloc_chunk(sljit_uw size) in alloc_chunk() 225 static SLJIT_INLINE struct chunk_header* alloc_chunk(sljit_uw size) in alloc_chunk() 252 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() 267 sljit_uw size; member 276 sljit_uw size; member 284 #define ALIGN_SIZE(size) (((size) + sizeof(struct block_header) + 7u) & ~(sljit_uw)7) argument 290 static SLJIT_INLINE void sljit_insert_free_block(struct free_block *free_block, sljit_uw size) in sljit_insert_free_block() 315 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) in sljit_malloc_exec()
|
H A D | sljitWXExecAllocator.c | 63 #define check_se_protected(ptr, size) (0) argument 75 #define check_se_protected(ptr, size) netbsd_se_protected() argument 94 #define check_se_protected(ptr, size) generic_se_protected(ptr, size) argument 96 static SLJIT_INLINE int generic_se_protected(void *ptr, sljit_uw size) in generic_se_protected() 118 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) in sljit_malloc_exec() 181 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) in sljit_malloc_exec()
|
/PHP-8.2/ext/opcache/jit/ |
H A D | zend_jit_perf_dump.c | 76 #define ALIGN8(size) (((size) + 7) & ~7) argument 77 #define PADDING8(size) (ALIGN8(size) - (size)) argument 82 uint32_t size; member 92 uint32_t size; member 218 static void zend_jit_perf_jitdump_register(const char *name, void *start, size_t size) in zend_jit_perf_jitdump_register() 262 static void zend_jit_perf_map_register(const char *name, void *start, size_t size) in zend_jit_perf_map_register() 315 static void zend_jit_perf_jitdump_register(const char *name, void *start, size_t size) in zend_jit_perf_jitdump_register() 319 static void zend_jit_perf_map_register(const char *name, void *start, size_t size) in zend_jit_perf_map_register()
|
/PHP-8.2/ext/opcache/ |
H A D | zend_shared_alloc.c | 105 static void copy_shared_segments(void *to, void *from, int count, int size) in copy_shared_segments() 339 void *zend_shared_alloc(size_t size) in zend_shared_alloc() 376 int zend_shared_memdup_size(void *source, size_t size) in zend_shared_memdup_size() 390 static zend_always_inline void *_zend_shared_memdup(void *source, size_t size, bool get_xlat, bool … in _zend_shared_memdup() 419 void *zend_shared_memdup_get_put_free(void *source, size_t size) in zend_shared_memdup_get_put_free() 424 void *zend_shared_memdup_put_free(void *source, size_t size) in zend_shared_memdup_put_free() 429 void *zend_shared_memdup_free(void *source, size_t size) in zend_shared_memdup_free() 434 void *zend_shared_memdup_get_put(void *source, size_t size) in zend_shared_memdup_get_put() 439 void *zend_shared_memdup_put(void *source, size_t size) in zend_shared_memdup_put() 444 void *zend_shared_memdup(void *source, size_t size) in zend_shared_memdup()
|
/PHP-8.2/ext/mysqlnd/ |
H A D | mysqlnd_alloc.h | 43 #define mnd_emalloc(size) mysqlnd_allocator.m_emalloc((size) MYSQLND_MEM_C) argument 44 #define mnd_pemalloc(size, pers) mysqlnd_allocator.m_pemalloc((size), (pers) MYSQLND_MEM_C) argument 45 #define mnd_ecalloc(nmemb, size) mysqlnd_allocator.m_ecalloc((nmemb), (size) MYSQLND_MEM_C) argument 46 #define mnd_pecalloc(nmemb, size, p) mysqlnd_allocator.m_pecalloc((nmemb), (size), (p) MYSQLND_MEM_… argument 51 #define mnd_pememdup(ptr, size, pers) mysqlnd_allocator.m_pememdup((ptr), (size), (pers) MYSQLND_ME… argument 52 #define mnd_pestrndup(ptr, size, pers) mysqlnd_allocator.m_pestrndup((ptr), (size), (pers) MYSQLND_… argument
|
/PHP-8.2/ext/opcache/jit/libudis86/ |
H A D | decode.c | 432 int size) in decode_reg() 472 decode_imm(struct ud* u, unsigned int size, struct ud_operand *op) in decode_imm() 493 decode_mem_disp(struct ud* u, unsigned int size, struct ud_operand *op) in decode_mem_disp() 528 unsigned int size) in decode_modrm_reg() 545 unsigned int size) /* operand size */ in decode_modrm_rm() 684 decode_moffset(struct ud *u, unsigned int size, struct ud_operand *opr) in decode_moffset() 696 decode_vex_vvvv(struct ud *u, struct ud_operand *opr, unsigned size) in decode_vex_vvvv() 710 decode_vex_immreg(struct ud *u, struct ud_operand *opr, unsigned size) in decode_vex_immreg() 731 unsigned int size) in decode_operand()
|
/PHP-8.2/sapi/fpm/fpm/ |
H A D | fpm_shm.c | 18 void *fpm_shm_alloc(size_t size) /* {{{ */ in fpm_shm_alloc() 41 int fpm_shm_free(void *mem, size_t size) /* {{{ */ in fpm_shm_free()
|
/PHP-8.2/ext/gd/libgd/ |
H A D | gd_webp.c | 28 gdImagePtr gdImageCreateFromWebpPtr (int size, void *data) in gdImageCreateFromWebpPtr() 44 size_t size = 0, n; in gdImageCreateFromWebpCtx() local 187 void * gdImageWebpPtr (gdImagePtr im, int *size) in gdImageWebpPtr() 198 void * gdImageWebpPtrEx (gdImagePtr im, int *size, int quality) in gdImageWebpPtrEx()
|
H A D | gdhelpers.h | 15 #define gdCalloc(nmemb, size) ecalloc(nmemb, size) argument 16 #define gdMalloc(size) emalloc(size) argument 17 #define gdRealloc(ptr, size) erealloc(ptr, size) argument
|
/PHP-8.2/ext/intl/ |
H A D | intl_common.h | 31 # define eumalloc(size) (UChar*)safe_emalloc(size, sizeof(UChar), 0) argument 35 # define eurealloc(ptr, size) (UChar*)erealloc((ptr), size * sizeof(UChar)) argument
|
/PHP-8.2/ext/shmop/ |
H A D | shmop.stub.php | 11 function shmop_open(int $key, string $mode, int $permissions, int $size): Shmop|false {} 13 function shmop_read(Shmop $shmop, int $offset, int $size): string {}
|
/PHP-8.2/ext/ftp/ |
H A D | ftp.c | 120 socklen_t size; in ftp_open() local 661 ftp_alloc(ftpbuf_t *ftp, const zend_long size, zend_string **response) in ftp_alloc() 988 zend_long size; in ftp_put() local 1070 zend_long size; in ftp_append() local 1263 int size; in ftp_putcmd() local 1304 long size, rcvd; in ftp_readline() local 1452 zend_long size, sent; in my_send() local 1643 socklen_t size; in ftp_getdata() local 1770 socklen_t size; in data_accept() local 1984 size_t size, rcvd; in ftp_genlist() local [all …]
|
/PHP-8.2/ext/spl/ |
H A D | spl_fixedarray.stub.php | 7 public function __construct(int $size = 0) {} 29 public function setSize(int $size) {} // TODO make return type void
|
H A D | spl_fixedarray.c | 48 zend_long size; member 108 static void spl_fixedarray_init_non_empty_struct(spl_fixedarray *array, zend_long size) in spl_fixedarray_init_non_empty_struct() 117 static void spl_fixedarray_init(spl_fixedarray *array, zend_long size) in spl_fixedarray_init() 143 zend_long size = from->size; in spl_fixedarray_copy_ctor() local 179 static void spl_fixedarray_resize(spl_fixedarray *array, zend_long size) in spl_fixedarray_resize() 565 zend_long size = 0; in PHP_METHOD() local 598 int size = zend_hash_num_elements(intern_ht); in PHP_METHOD() local 652 zend_long size; in PHP_METHOD() local 804 zend_long size; in PHP_METHOD() local
|
/PHP-8.2/ext/standard/ |
H A D | crypt_blowfish.c | 380 static int BF_decode(BF_word *dst, const char *src, int size) in BF_decode() 404 static void BF_encode(char *dst, const BF_word *src, int size) in BF_encode() 640 char *output, int size, in BF_crypt() 768 static int _crypt_output_magic(const char *setting, char *output, int size) in _crypt_output_magic() 804 char *output, int size) in php_crypt_blowfish_rn()
|
/PHP-8.2/Zend/Optimizer/ |
H A D | escape_analysis.c | 34 static zend_always_inline void union_find_init(int *parent, int *size, int count) /* {{{ */ in union_find_init() 59 static zend_always_inline void union_find_unite(int *parent, int *size, int i, int j) /* {{{ */ in union_find_unite() 82 int *size; in zend_build_equi_escape_sets() local
|
/PHP-8.2/ext/ffi/ |
H A D | ffi.stub.php | 55 public static function memcpy(FFI\CData $to, $from, int $size): void {} 63 public static function memcmp($ptr1, $ptr2, int $size): int {} 66 public static function memset(FFI\CData $ptr, int $value, int $size): void {} 69 public static function string(FFI\CData $ptr, ?int $size = null): string {}
|