Home
last modified time | relevance | path

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

123456789

/PHP-8.0/Zend/
H A Dzend_alloc.h43 #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 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_multiply.h157 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address()
185 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address()
222 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address()
244 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address()
265 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address()
289 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… in zend_safe_address()
303 static zend_always_inline size_t zend_safe_address(size_t nmemb, size_t size, size_t offset, bool *… 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 Dzend_alloc.c153 #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
2457 # define ZEND_MM_CUSTOM_ALLOCATOR(size) argument
[all …]
H A Dzend_arena.h34 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.0/main/streams/
H A Dphp_streams_int.h19 #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 Dcast.c59 static int stream_cookie_reader(void *cookie, char *buffer, int size) in stream_cookie_reader()
67 static int stream_cookie_writer(void *cookie, const char *buffer, int size) in stream_cookie_writer()
89 static ssize_t stream_cookie_reader(void *cookie, char *buffer, size_t size) in stream_cookie_reader()
97 static ssize_t stream_cookie_writer(void *cookie, const char *buffer, size_t size) in stream_cookie_writer()
/PHP-8.0/ext/pcre/pcre2lib/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()
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 DsljitProtExecAllocator.c187 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()
/PHP-8.0/ext/opcache/
H A Dzend_shared_alloc.c104 static void copy_shared_segments(void *to, void *from, int count, int size) in copy_shared_segments()
336 void *zend_shared_alloc(size_t size) in zend_shared_alloc()
364 int zend_shared_memdup_size(void *source, size_t size) in zend_shared_memdup_size()
412 void *zend_shared_memdup_get_put_free(void *source, size_t size) in zend_shared_memdup_get_put_free()
417 void *zend_shared_memdup_put_free(void *source, size_t size) in zend_shared_memdup_put_free()
422 void *zend_shared_memdup_free(void *source, size_t size) in zend_shared_memdup_free()
427 void *zend_shared_memdup_get_put(void *source, size_t size) in zend_shared_memdup_get_put()
432 void *zend_shared_memdup_put(void *source, size_t size) in zend_shared_memdup_put()
437 void *zend_shared_memdup(void *source, size_t size) in zend_shared_memdup()
442 void *zend_shared_memdup_arena_put(void *source, size_t size) in zend_shared_memdup_arena_put()
[all …]
H A Dzend_accelerator_util_funcs.c605 static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t size) in fast_memcpy()
626 static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t size) in fast_memcpy()
647 static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t size) in fast_memcpy()
672 static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t size) in fast_memcpy()
697 static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t size) in fast_memcpy()
722 static zend_always_inline void fast_memcpy(void *dest, const void *src, size_t size) in fast_memcpy()
905 size_t size = persistent_script->size; in zend_accel_script_checksum() local
/PHP-8.0/ext/mysqlnd/
H A Dmysqlnd_alloc.h50 #define mnd_emalloc(size) mysqlnd_allocator.m_emalloc((size) MYSQLND_MEM_C) argument
51 #define mnd_pemalloc(size, pers) mysqlnd_allocator.m_pemalloc((size), (pers) MYSQLND_MEM_C) argument
52 #define mnd_ecalloc(nmemb, size) mysqlnd_allocator.m_ecalloc((nmemb), (size) MYSQLND_MEM_C) argument
53 #define mnd_pecalloc(nmemb, size, p) mysqlnd_allocator.m_pecalloc((nmemb), (size), (p) MYSQLND_MEM_… argument
58 #define mnd_malloc(size) mysqlnd_allocator.m_malloc((size) MYSQLND_MEM_C) argument
59 #define mnd_calloc(nmemb, size) mysqlnd_allocator.m_calloc((nmemb), (size) MYSQLND_MEM_C) argument
62 #define mnd_pememdup(ptr, size, pers) mysqlnd_allocator.m_pememdup((ptr), (size), (pers) MYSQLND_ME… argument
63 #define mnd_pestrndup(ptr, size, pers) mysqlnd_allocator.m_pestrndup((ptr), (size), (pers) MYSQLND_… argument
H A Dmysqlnd_block_alloc.c48 mysqlnd_mempool_resize_chunk(MYSQLND_MEMORY_POOL * pool, void * ptr, size_t old_size, size_t size) in mysqlnd_mempool_resize_chunk()
75 mysqlnd_mempool_get_chunk(MYSQLND_MEMORY_POOL * pool, size_t size) in mysqlnd_mempool_get_chunk()
/PHP-8.0/ext/opcache/jit/
H A Dzend_jit_perf_dump.c71 #define ALIGN8(size) (((size) + 7) & ~7) argument
72 #define PADDING8(size) (ALIGN8(size) - (size)) argument
77 uint32_t size; member
87 uint32_t size; member
210 static void zend_jit_perf_jitdump_register(const char *name, void *start, size_t size) in zend_jit_perf_jitdump_register()
254 static void zend_jit_perf_map_register(const char *name, void *start, size_t size) in zend_jit_perf_map_register()
/PHP-8.0/ext/ffi/
H A Dffi.stub.php47 public static function memcpy(FFI\CData $to, $from, int $size): void {}
55 public static function memcmp($ptr1, $ptr2, int $size): int {}
58 public static function memset(FFI\CData $ptr, int $value, int $size): void {}
61 public static function string(FFI\CData $ptr, ?int $size = null): string {}
/PHP-8.0/ext/opcache/jit/libudis86/
H A Ddecode.c432 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.0/sapi/fpm/fpm/
H A Dfpm_shm.c18 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.0/ext/gd/libgd/
H A Dgd_webp.c27 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 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
/PHP-8.0/ext/intl/
H A Dintl_common.h31 # 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.0/ext/shmop/
H A Dshmop.stub.php7 function shmop_open(int $key, string $mode, int $permissions, int $size): Shmop|false {}
9 function shmop_read(Shmop $shmop, int $offset, int $size): string {}
/PHP-8.0/ext/spl/
H A Dspl_fixedarray.stub.php7 public function __construct(int $size = 0) {}
25 public function setSize(int $size) {}
/PHP-8.0/ext/ftp/
H A Dftp.c120 socklen_t size; in ftp_open() local
637 ftp_alloc(ftpbuf_t *ftp, const zend_long size, zend_string **response) in ftp_alloc()
964 zend_long size; in ftp_put() local
1046 zend_long size; in ftp_append() local
1242 int size; in ftp_putcmd() local
1283 long size, rcvd; in ftp_readline() local
1431 zend_long size, sent; in my_send() local
1622 socklen_t size; in ftp_getdata() local
1749 socklen_t size; in data_accept() local
1962 size_t size, rcvd; in ftp_genlist() local
[all …]
/PHP-8.0/ext/standard/
H A Dcrypt_blowfish.c380 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()
H A Drandom.c91 PHPAPI int php_random_bytes(void *bytes, size_t size, zend_bool should_throw) in php_random_bytes()
216 zend_long size; in PHP_FUNCTION() local

Completed in 74 milliseconds

123456789