/PHP-7.4/Zend/ |
H A D | zend_alloc.h | 43 #define ZEND_MM_ALIGNED_SIZE_EX(size, alignment) \ argument 48 size_t size; member 57 size_t size; member 104 # define ZEND_ALLOCATOR(size) \ argument 109 # define _emalloc(size) \ argument 127 # define ZEND_DEALLOCATOR(ptr, size) \ argument 132 # define efree_size(ptr, size) do { \ argument 139 # define efree_size_rel(ptr, size) \ argument 144 # define efree_size(ptr, size) \ argument 146 # 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 | 157 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() 185 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() 222 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() 244 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() 265 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() 289 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() 303 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address() 318 static zend_always_inline size_t zend_safe_address_guarded(size_t nmemb, size_t size, size_t offset) in zend_safe_address_guarded() 331 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 | 153 #define ZEND_MM_ALIGNED_BASE(size, alignment) \ argument 155 #define ZEND_MM_SIZE_TO_NUM(size, alignment) \ argument 313 size_t size; member 376 size_t size) in zend_mm_safe_error() 449 static void *zend_mm_mmap(size_t size) in zend_mm_mmap() 1696 size_t size; local 1806 size_t size = heap->real_size + new_size; local 1812 size_t size = heap->size + new_size; local 1825 size_t size; local 2456 # 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-7.4/main/streams/ |
H A D | php_streams_int.h | 21 #define emalloc_rel_orig(size) \ argument 26 #define erealloc_rel_orig(ptr, size) \ argument 31 #define pemalloc_rel_orig(size, persistent) ((persistent) ? malloc((size)) : emalloc_rel_orig((size… argument 32 #define perealloc_rel_orig(ptr, size, persistent) ((persistent) ? realloc((ptr), (size)) : erealloc… argument 34 # define pemalloc_rel_orig(size, persistent) pemalloc((size), (persistent)) argument 35 # define perealloc_rel_orig(ptr, size, persistent) perealloc((ptr), (size), (persistent)) argument 36 # define emalloc_rel_orig(size) emalloc((size)) argument
|
H A D | cast.c | 61 static int stream_cookie_reader(void *cookie, char *buffer, int size) in stream_cookie_reader() 69 static int stream_cookie_writer(void *cookie, const char *buffer, int size) in stream_cookie_writer() 91 static ssize_t stream_cookie_reader(void *cookie, char *buffer, size_t size) in stream_cookie_reader() 99 static ssize_t stream_cookie_writer(void *cookie, const char *buffer, size_t size) in stream_cookie_writer()
|
/PHP-7.4/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() 154 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) in alloc_chunk() 188 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() 202 sljit_uw size; member 210 sljit_uw size; member 218 #define ALIGN_SIZE(size) (((size) + sizeof(struct block_header) + 7) & ~7) argument 224 static SLJIT_INLINE void sljit_insert_free_block(struct free_block *free_block, sljit_uw size) in sljit_insert_free_block() 249 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) in sljit_malloc_exec()
|
H A D | sljitProtExecAllocator.c | 187 static SLJIT_INLINE struct chunk_header* alloc_chunk(sljit_uw size) in alloc_chunk() 220 static SLJIT_INLINE struct chunk_header* alloc_chunk(sljit_uw size) in alloc_chunk() 249 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk() 264 sljit_uw size; member 273 sljit_uw size; member 281 #define ALIGN_SIZE(size) (((size) + sizeof(struct block_header) + 7) & ~7) argument 287 static SLJIT_INLINE void sljit_insert_free_block(struct free_block *free_block, sljit_uw size) in sljit_insert_free_block() 312 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) in sljit_malloc_exec()
|
H A D | sljitNativeX86_32.c | 72 sljit_s32 args, size; in sljit_emit_enter() local 291 sljit_s32 size; in sljit_emit_return() local 348 static sljit_u8* emit_x86_instruction(struct sljit_compiler *compiler, sljit_s32 size, in emit_x86_instruction() 898 sljit_s32 size, saved_size; in skip_frames_before_return() local
|
H A D | sljitNativeX86_64.c | 131 sljit_s32 args, i, tmp, size, saved_register_size; in sljit_emit_enter() local 305 sljit_s32 i, tmp, size; in sljit_emit_return() local 393 static sljit_u8* emit_x86_instruction(struct sljit_compiler *compiler, sljit_s32 size, in emit_x86_instruction() 903 sljit_s32 tmp, size; in skip_frames_before_return() local
|
/PHP-7.4/ext/opcache/ |
H A D | zend_shared_alloc.c | 104 static void copy_shared_segments(void *to, void *from, int count, int size) in copy_shared_segments() 319 void *zend_shared_alloc(size_t size) in zend_shared_alloc() 347 int zend_shared_memdup_size(void *source, size_t size) in zend_shared_memdup_size() 395 void *zend_shared_memdup_get_put_free(void *source, size_t size) in zend_shared_memdup_get_put_free() 400 void *zend_shared_memdup_put_free(void *source, size_t size) in zend_shared_memdup_put_free() 405 void *zend_shared_memdup_free(void *source, size_t size) in zend_shared_memdup_free() 410 void *zend_shared_memdup_get_put(void *source, size_t size) in zend_shared_memdup_get_put() 415 void *zend_shared_memdup_put(void *source, size_t size) in zend_shared_memdup_put() 420 void *zend_shared_memdup(void *source, size_t size) in zend_shared_memdup() 425 void *zend_shared_memdup_arena_put(void *source, size_t size) in zend_shared_memdup_arena_put() [all …]
|
H A D | zend_accelerator_util_funcs.c | 588 static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t size) in fast_memcpy() 609 static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t size) in fast_memcpy() 630 static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t size) in fast_memcpy() 655 static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t size) in fast_memcpy() 680 static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t size) in fast_memcpy() 705 static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t size) in fast_memcpy() 888 size_t size = persistent_script->size; in zend_accel_script_checksum() local
|
/PHP-7.4/ext/mysqlnd/ |
H A D | mysqlnd_alloc.h | 52 #define mnd_emalloc(size) mysqlnd_allocator.m_emalloc((size) MYSQLND_MEM_C) argument 53 #define mnd_pemalloc(size, pers) mysqlnd_allocator.m_pemalloc((size), (pers) MYSQLND_MEM_C) argument 54 #define mnd_ecalloc(nmemb, size) mysqlnd_allocator.m_ecalloc((nmemb), (size) MYSQLND_MEM_C) argument 55 #define mnd_pecalloc(nmemb, size, p) mysqlnd_allocator.m_pecalloc((nmemb), (size), (p) MYSQLND_MEM_… argument 60 #define mnd_malloc(size) mysqlnd_allocator.m_malloc((size) MYSQLND_MEM_C) argument 61 #define mnd_calloc(nmemb, size) mysqlnd_allocator.m_calloc((nmemb), (size) MYSQLND_MEM_C) argument 64 #define mnd_pememdup(ptr, size, pers) mysqlnd_allocator.m_pememdup((ptr), (size), (pers) MYSQLND_ME… argument 65 #define mnd_pestrndup(ptr, size, pers) mysqlnd_allocator.m_pestrndup((ptr), (size), (pers) MYSQLND_… argument
|
H A D | mysqlnd_block_alloc.c | 50 mysqlnd_mempool_resize_chunk(MYSQLND_MEMORY_POOL * pool, void * ptr, size_t old_size, size_t size) in mysqlnd_mempool_resize_chunk() 77 mysqlnd_mempool_get_chunk(MYSQLND_MEMORY_POOL * pool, size_t size) in mysqlnd_mempool_get_chunk()
|
/PHP-7.4/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-7.4/ext/gd/libgd/ |
H A D | gd_webp.c | 27 gdImagePtr gdImageCreateFromWebpPtr (int size, void *data) in gdImageCreateFromWebpPtr() 43 size_t size = 0, n; in gdImageCreateFromWebpCtx() local 180 void * gdImageWebpPtr (gdImagePtr im, int *size) in gdImageWebpPtr() 191 void * gdImageWebpPtrEx (gdImagePtr im, int *size, int quantization) 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
|
H A D | gd_io_ss.c | 79 static int sourceGetbuf (gdIOCtx * ctx, void *buf, int size) in sourceGetbuf() 116 static int sinkPutbuf (gdIOCtx * ctx, const void *buf, int size) in sinkPutbuf()
|
H A D | gd_io_file.c | 77 static int filePutbuf (gdIOCtx * ctx, const void *buf, int size) in filePutbuf() 86 static int fileGetbuf (gdIOCtx * ctx, void *buf, int size) in fileGetbuf()
|
/PHP-7.4/ext/intl/ |
H A D | intl_common.h | 33 # define eumalloc(size) (UChar*)safe_emalloc(size, sizeof(UChar), 0) argument 37 # define eurealloc(ptr, size) (UChar*)erealloc((ptr), size * sizeof(UChar)) argument
|
/PHP-7.4/ext/ftp/ |
H A D | ftp.c | 125 socklen_t size; in ftp_open() local 657 ftp_alloc(ftpbuf_t *ftp, const zend_long size, zend_string **response) in ftp_alloc() 992 zend_long size; in ftp_put() local 1075 zend_long size; in ftp_append() local 1277 int size; in ftp_putcmd() local 1319 long size, rcvd; in ftp_readline() local 1469 zend_long size, sent; in my_send() local 1665 socklen_t size; in ftp_getdata() local 1793 socklen_t size; in data_accept() local 2009 size_t size, rcvd; in ftp_genlist() local [all …]
|
/PHP-7.4/ext/standard/ |
H A D | random.c | 89 PHPAPI int php_random_bytes(void *bytes, size_t size, zend_bool should_throw) in php_random_bytes() 202 zend_long size; in PHP_FUNCTION() local
|
H A D | crypt_blowfish.c | 386 static int BF_decode(BF_word *dst, const char *src, int size) in BF_decode() 417 static void BF_encode(char *dst, const BF_word *src, int size) in BF_encode() 658 char *output, int size, in BF_crypt() 789 static int _crypt_output_magic(const char *setting, char *output, int size) in _crypt_output_magic() 825 char *output, int size) in php_crypt_blowfish_rn()
|
/PHP-7.4/ext/opcache/Optimizer/ |
H A D | escape_analysis.c | 35 static zend_always_inline void union_find_init(int *parent, int *size, int count) /* {{{ */ in union_find_init() 60 static zend_always_inline void union_find_unite(int *parent, int *size, int i, int j) /* {{{ */ in union_find_unite() 83 int *size; in zend_build_equi_escape_sets() local
|