Home
last modified time | relevance | path

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

123456789

/PHP-8.1/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.c154 #define ZEND_MM_ALIGNED_BASE(size, alignment) \ argument
156 #define ZEND_MM_SIZE_TO_NUM(size, alignment) \ argument
314 size_t size; member
377 size_t size) in zend_mm_safe_error()
496 static void *zend_mm_mmap(size_t size) in zend_mm_mmap()
1734 size_t size; local
1844 size_t size = heap->real_size + new_size; local
1850 size_t size = heap->size + new_size; local
1863 size_t size; local
2498 # 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
H A Dzend_string.c128 …ring *zend_interned_string_ht_lookup_ex(zend_ulong h, const char *str, size_t size, HashTable *int… in zend_interned_string_ht_lookup_ex()
260 static zend_string* ZEND_FASTCALL zend_string_init_interned_permanent(const char *str, size_t size,… in zend_string_init_interned_permanent()
276 …FASTCALL zend_string_init_existing_interned_permanent(const char *str, size_t size, bool permanent) in zend_string_init_existing_interned_permanent()
290 static zend_string* ZEND_FASTCALL zend_string_init_interned_request(const char *str, size_t size, b… in zend_string_init_interned_request()
320 …D_FASTCALL zend_string_init_existing_interned_request(const char *str, size_t size, bool permanent) in zend_string_init_existing_interned_request()
/PHP-8.1/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.1/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()
166 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) in alloc_chunk()
203 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk()
217 sljit_uw size; member
225 sljit_uw size; member
233 #define ALIGN_SIZE(size) (((size) + sizeof(struct block_header) + 7) & ~7) argument
239 static SLJIT_INLINE void sljit_insert_free_block(struct free_block *free_block, sljit_uw size) in sljit_insert_free_block()
264 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) in sljit_malloc_exec()
H A DsljitProtExecAllocator.c188 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) + 7) & ~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 DsljitWXExecAllocator.c63 #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.1/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()
338 void *zend_shared_alloc(size_t size) in zend_shared_alloc()
366 int zend_shared_memdup_size(void *source, size_t size) in zend_shared_memdup_size()
380 static zend_always_inline void *_zend_shared_memdup(void *source, size_t size, bool get_xlat, bool … in _zend_shared_memdup()
409 void *zend_shared_memdup_get_put_free(void *source, size_t size) in zend_shared_memdup_get_put_free()
414 void *zend_shared_memdup_put_free(void *source, size_t size) in zend_shared_memdup_put_free()
419 void *zend_shared_memdup_free(void *source, size_t size) in zend_shared_memdup_free()
424 void *zend_shared_memdup_get_put(void *source, size_t size) in zend_shared_memdup_get_put()
429 void *zend_shared_memdup_put(void *source, size_t size) in zend_shared_memdup_put()
434 void *zend_shared_memdup(void *source, size_t size) in zend_shared_memdup()
/PHP-8.1/ext/mysqlnd/
H A Dmysqlnd_alloc.h43 #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.1/ext/opcache/jit/
H A Dzend_jit_perf_dump.c74 #define ALIGN8(size) (((size) + 7) & ~7) argument
75 #define PADDING8(size) (ALIGN8(size) - (size)) argument
80 uint32_t size; member
90 uint32_t size; member
213 static void zend_jit_perf_jitdump_register(const char *name, void *start, size_t size) in zend_jit_perf_jitdump_register()
257 static void zend_jit_perf_map_register(const char *name, void *start, size_t size) in zend_jit_perf_map_register()
/PHP-8.1/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.1/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.1/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
186 void * gdImageWebpPtr (gdImagePtr im, int *size) in gdImageWebpPtr()
197 void * gdImageWebpPtrEx (gdImagePtr im, int *size, int quality) 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.1/ext/ffi/
H A Dffi.stub.php48 public static function memcpy(FFI\CData $to, $from, int $size): void {}
56 public static function memcmp($ptr1, $ptr2, int $size): int {}
59 public static function memset(FFI\CData $ptr, int $value, int $size): void {}
62 public static function string(FFI\CData $ptr, ?int $size = null): string {}
/PHP-8.1/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.1/ext/shmop/
H A Dshmop.stub.php11 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.1/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
1239 int size; in ftp_putcmd() local
1280 long size, rcvd; in ftp_readline() local
1428 zend_long size, sent; in my_send() local
1619 socklen_t size; in ftp_getdata() local
1746 socklen_t size; in data_accept() local
1959 size_t size, rcvd; in ftp_genlist() local
[all …]
/PHP-8.1/ext/spl/
H A Dspl_fixedarray.stub.php7 public function __construct(int $size = 0) {}
25 public function setSize(int $size) {} // TODO make return type void
/PHP-8.1/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, bool should_throw) in php_random_bytes()
216 zend_long size; in PHP_FUNCTION() local

Completed in 78 milliseconds

123456789