Home
last modified time | relevance | path

Searched defs:size (Results 1 – 25 of 205) sorted by relevance

123456789

/PHP-7.2/Zend/
H A Dzend_alloc.h45 #define ZEND_MM_ALIGNED_SIZE_EX(size, alignment) \ argument
50 size_t size; member
59 size_t size; member
106 # define ZEND_ALLOCATOR(size) \ argument
111 # define _emalloc(size) \ argument
129 # define ZEND_DEALLOCATOR(ptr, size) \ argument
134 # define efree_size(ptr, size) do { \ argument
141 # define efree_size_rel(ptr, size) \ argument
146 # define efree_size(ptr, size) \ argument
148 # define efree_size_rel(ptr, size) \ argument
[all …]
H A Dzend_range_check.h54 #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 Dzend_alloc.c149 #define ZEND_MM_ALIGNED_OFFSET(size, alignment) \ argument
151 #define ZEND_MM_ALIGNED_BASE(size, alignment) \ argument
153 #define ZEND_MM_SIZE_TO_NUM(size, alignment) \ argument
310 size_t size; member
373 size_t size) in zend_mm_safe_error()
446 static void *zend_mm_mmap(size_t size) in zend_mm_mmap()
1665 size_t size; local
1775 size_t size = heap->real_size + new_size; local
1781 size_t size = heap->size + new_size; local
1794 size_t size; local
[all …]
H A Dzend_multiply.h159 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address()
180 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address()
210 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address()
232 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address()
253 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address()
277 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address()
291 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, int *o… in zend_safe_address()
306 static zend_always_inline size_t zend_safe_address_guarded(size_t nmemb, size_t size, size_t offset) in zend_safe_address_guarded()
319 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 Dzend_arena.h34 static zend_always_inline zend_arena* zend_arena_create(size_t size) in zend_arena_create()
55 static zend_always_inline void* zend_arena_alloc(zend_arena **arena_ptr, size_t size) in zend_arena_alloc()
84 size_t size; in zend_arena_calloc() local
/PHP-7.2/main/streams/
H A Dphp_streams_int.h24 #define emalloc_rel_orig(size) \ argument
29 #define erealloc_rel_orig(ptr, size) \ argument
34 #define pemalloc_rel_orig(size, persistent) ((persistent) ? malloc((size)) : emalloc_rel_orig((size… argument
35 #define perealloc_rel_orig(ptr, size, persistent) ((persistent) ? realloc((ptr), (size)) : erealloc… argument
37 # define pemalloc_rel_orig(size, persistent) pemalloc((size), (persistent)) argument
38 # define perealloc_rel_orig(ptr, size, persistent) perealloc((ptr), (size), (persistent)) argument
39 # define emalloc_rel_orig(size) emalloc((size)) argument
H A Dcast.c63 static int stream_cookie_reader(void *cookie, char *buffer, int size) in stream_cookie_reader()
71 static int stream_cookie_writer(void *cookie, const char *buffer, int size) in stream_cookie_writer()
92 static ssize_t stream_cookie_reader(void *cookie, char *buffer, size_t size) in stream_cookie_reader()
100 static ssize_t stream_cookie_writer(void *cookie, const char *buffer, size_t size) in stream_cookie_writer()
/PHP-7.2/ext/pcre/pcrelib/sljit/
H A DsljitExecAllocator.c84 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()
97 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) in alloc_chunk()
114 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk()
128 sljit_uw size; member
136 sljit_uw size; member
144 #define ALIGN_SIZE(size) (((size) + sizeof(struct block_header) + 7) & ~7) argument
150 static SLJIT_INLINE void sljit_insert_free_block(struct free_block *free_block, sljit_uw size) in sljit_insert_free_block()
175 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) in sljit_malloc_exec()
H A DsljitNativeX86_32.c70 sljit_s32 size; in sljit_emit_enter() local
266 sljit_s32 size; in sljit_emit_return() local
326 static sljit_u8* emit_x86_instruction(struct sljit_compiler *compiler, sljit_s32 size, in emit_x86_instruction()
/PHP-7.2/ext/mysqlnd/
H A Dmysqlnd_alloc.h52 #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 Dmysqlnd_block_alloc.c52 …pool_resize_chunk(MYSQLND_MEMORY_POOL * pool, MYSQLND_MEMORY_POOL_CHUNK * chunk, unsigned int size) in mysqlnd_mempool_resize_chunk()
107 MYSQLND_MEMORY_POOL_CHUNK * mysqlnd_mempool_get_chunk(MYSQLND_MEMORY_POOL * pool, unsigned int size) in mysqlnd_mempool_get_chunk()
/PHP-7.2/ext/mbstring/oniguruma/src/
H A Dreggnu.c44 re_adjust_startpos(regex_t* reg, const char* string, int size, in re_adjust_startpos()
64 re_match(regex_t* reg, const char* str, int size, int pos, in re_match()
72 re_search(regex_t* bufp, const char* string, int size, int startpos, int range, in re_search()
82 re_compile_pattern(const char* pattern, int size, regex_t* reg, char* ebuf) in re_compile_pattern()
H A Dregposerr.c47 #define xstrncpy(dest,src,size) strncpy_s(dest,size,src,_TRUNCATE) argument
80 size_t size) in regerror()
/PHP-7.2/sapi/fpm/fpm/
H A Dfpm_shm.c19 void *fpm_shm_alloc(size_t size) /* {{{ */ in fpm_shm_alloc()
42 int fpm_shm_free(void *mem, size_t size) /* {{{ */ in fpm_shm_free()
/PHP-7.2/ext/gd/libgd/
H A Dgd_webp.c26 gdImagePtr gdImageCreateFromWebpPtr (int size, void *data) in gdImageCreateFromWebpPtr()
42 size_t size = 0, n; in gdImageCreateFromWebpCtx() local
179 void * gdImageWebpPtr (gdImagePtr im, int *size) in gdImageWebpPtr()
190 void * gdImageWebpPtrEx (gdImagePtr im, int *size, int quantization) in gdImageWebpPtrEx()
H A Dgdhelpers.h15 #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 Dgd_io_ss.c79 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 Dgd_io_file.c77 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.2/ext/intl/
H A Dintl_common.h33 # 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.2/TSRM/
H A Dtsrm_config_common.h59 # define tsrm_do_alloca_ex(size, limit, use_heap) \ argument
61 # define tsrm_do_alloca(size, use_heap) \ argument
/PHP-7.2/ext/ftp/
H A Dftp.c122 socklen_t size; in ftp_open() local
654 ftp_alloc(ftpbuf_t *ftp, const zend_long size, zend_string **response) in ftp_alloc()
989 zend_long size; in ftp_put() local
1072 zend_long size; in ftp_append() local
1271 int size; in ftp_putcmd() local
1312 long size, rcvd; in ftp_readline() local
1402 zend_long size, sent; in my_send() local
1655 socklen_t size; in ftp_getdata() local
1783 socklen_t size; in data_accept() local
1993 size_t size, rcvd; in ftp_genlist() local
[all …]
/PHP-7.2/ext/standard/
H A Drandom.c84 PHPAPI int php_random_bytes(void *bytes, size_t size, zend_bool should_throw) in php_random_bytes()
189 zend_long size; in PHP_FUNCTION() local
H A Dcrypt_blowfish.c387 static int BF_decode(BF_word *dst, const char *src, int size) in BF_decode()
418 static void BF_encode(char *dst, const BF_word *src, int size) in BF_encode()
659 char *output, int size, in BF_crypt()
790 static int _crypt_output_magic(const char *setting, char *output, int size) in _crypt_output_magic()
826 char *output, int size) in php_crypt_blowfish_rn()
/PHP-7.2/ext/opcache/
H A Dzend_shared_alloc.c105 static void copy_shared_segments(void *to, void *from, int count, int size) in copy_shared_segments()
309 void *zend_shared_alloc(size_t size) in zend_shared_alloc()
337 int zend_shared_memdup_size(void *source, size_t size) in zend_shared_memdup_size()
349 void *_zend_shared_memdup(void *source, size_t size, zend_bool free_source) in _zend_shared_memdup()
/PHP-7.2/main/
H A Dmergesort.c105 PHPAPI int php_mergesort(void *base, size_t nmemb, size_t size, int (*cmp)(const void *, const void… in php_mergesort()
265 static void setup(u_char *list1, u_char *list2, size_t n, size_t size, int (*cmp)(const void *, con… in setup()
336 static void insertionsort(u_char *a, size_t n, size_t size, int (*cmp)(const void *, const void *)) in insertionsort()

Completed in 181 milliseconds

123456789