Home
last modified time | relevance | path

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

1234567891011

/php-src/Zend/
H A Dzend_alloc.h37 #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 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.h170 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 Dzend_alloc.c179 #define ZEND_MM_ALIGNED_OFFSET(size, alignment) \ argument
181 #define ZEND_MM_ALIGNED_BASE(size, alignment) \ argument
183 #define ZEND_MM_SIZE_TO_NUM(size, alignment) \ argument
345 size_t size; member
408 size_t size) in zend_mm_safe_error()
528 static void *zend_mm_mmap(size_t size) in zend_mm_mmap()
1863 size_t size; local
1973 size_t size = heap->real_size + new_size; local
1979 size_t size = heap->size + new_size; local
1992 size_t size; local
[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-src/main/streams/
H A Dphp_streams_int.h21 #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
/php-src/ext/dom/lexbor/lexbor/core/
H A Dbst.c18 lexbor_bst_init(lexbor_bst_t *bst, size_t size) in lexbor_bst_init()
71 lexbor_bst_entry_make(lexbor_bst_t *bst, size_t size) in lexbor_bst_entry_make()
87 size_t size, void *value) in lexbor_bst_insert()
146 size_t size) in lexbor_bst_insert_not_exists()
188 lexbor_bst_search(lexbor_bst_t *bst, lexbor_bst_entry_t *scope, size_t size) in lexbor_bst_search()
207 size_t size) in lexbor_bst_search_close()
228 lexbor_bst_remove(lexbor_bst_t *bst, lexbor_bst_entry_t **scope, size_t size) in lexbor_bst_remove()
249 size_t size, size_t *found_size) in lexbor_bst_remove_close()
H A Dmraw.c15 #define lexbor_mraw_meta_set(data, size) \ argument
180 lexbor_mraw_alloc(lexbor_mraw_t *mraw, size_t size) in lexbor_mraw_alloc()
227 lexbor_mraw_calloc(lexbor_mraw_t *mraw, size_t size) in lexbor_mraw_calloc()
243 size_t size, size_t begin_len, size_t new_size, in lexbor_mraw_realloc_tail()
318 size_t size, begin_len; in lexbor_mraw_realloc() local
394 size_t size = lexbor_mraw_data_size(data); in lexbor_mraw_free() local
419 lexbor_mraw_data_size_set_noi(void *data, size_t size) in lexbor_mraw_data_size_set_noi()
425 lexbor_mraw_dup_noi(lexbor_mraw_t *mraw, const void *src, size_t size) in lexbor_mraw_dup_noi()
H A Dshs.c15 #define lexbor_shs_make_id_m(key, size, table_size) \ argument
18 #define lexbor_shs_make_id_lower_m(key, size, table_size) \ argument
25 #define lexbor_shs_make_id_upper_m(key, size, table_size) \ argument
H A Dmem.h25 size_t size; member
103 lexbor_mem_align(size_t size) in lexbor_mem_align()
111 lexbor_mem_align_floor(size_t size) in lexbor_mem_align_floor()
H A Dprint.c41 size_t size; in lexbor_vprintf_size() local
87 lexbor_sprintf(lxb_char_t *dst, size_t size, const char *format, ...) in lexbor_sprintf()
100 lexbor_vsprintf(lxb_char_t *dst, size_t size, const char *format, va_list va) in lexbor_vsprintf()
/php-src/ext/opcache/
H A Dzend_shared_alloc.c133 static void copy_shared_segments(void *to, void *from, int count, int size) in copy_shared_segments()
367 void *zend_shared_alloc(size_t size) in zend_shared_alloc()
401 int zend_shared_memdup_size(void *source, size_t size) in zend_shared_memdup_size()
415 static zend_always_inline void *_zend_shared_memdup(void *source, size_t size, bool get_xlat, bool … in _zend_shared_memdup()
444 void *zend_shared_memdup_get_put_free(void *source, size_t size) in zend_shared_memdup_get_put_free()
449 void *zend_shared_memdup_put_free(void *source, size_t size) in zend_shared_memdup_put_free()
454 void *zend_shared_memdup_free(void *source, size_t size) in zend_shared_memdup_free()
459 void *zend_shared_memdup_get_put(void *source, size_t size) in zend_shared_memdup_get_put()
464 void *zend_shared_memdup_put(void *source, size_t size) in zend_shared_memdup_put()
469 void *zend_shared_memdup(void *source, size_t size) in zend_shared_memdup()
/php-src/ext/dom/lexbor/lexbor/ports/posix/lexbor/core/
H A Dmemory.c15 lexbor_malloc(size_t size) in lexbor_malloc()
21 lexbor_realloc(void *dst, size_t size) in lexbor_realloc()
27 lexbor_calloc(size_t num, size_t size) in lexbor_calloc()
/php-src/ext/dom/lexbor/lexbor/ports/windows_nt/lexbor/core/
H A Dmemory.c15 lexbor_malloc(size_t size) in lexbor_malloc()
21 lexbor_realloc(void *dst, size_t size) in lexbor_realloc()
27 lexbor_calloc(size_t num, size_t size) in lexbor_calloc()
/php-src/ext/pcre/pcre2lib/sljit/allocator_src/
H A DsljitExecAllocatorCore.c95 sljit_uw size; member
106 sljit_uw size; member
115 #define ALIGN_SIZE(size) (((size) + sizeof(struct block_header) + 7u) & ~(sljit_uw)7) argument
122 static SLJIT_INLINE void sljit_insert_free_block(struct free_block *free_block, sljit_uw size) in sljit_insert_free_block()
147 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) in sljit_malloc_exec()
H A DsljitExecAllocatorPosix.c30 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) in alloc_chunk()
57 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk()
H A DsljitExecAllocatorWindows.c29 static SLJIT_INLINE void* alloc_chunk(sljit_uw size) in alloc_chunk()
34 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk()
H A DsljitWXExecAllocatorPosix.c68 #define SLJIT_WX_IS_BLOCK(ptr, size) generic_check_is_wx_block(ptr, size) argument
70 static SLJIT_INLINE int generic_check_is_wx_block(void *ptr, sljit_uw size) in generic_check_is_wx_block()
78 SLJIT_API_FUNC_ATTRIBUTE void* sljit_malloc_exec(sljit_uw size) in sljit_malloc_exec()
H A DsljitProtExecAllocatorNetBSD.c38 static SLJIT_INLINE struct sljit_chunk_header* alloc_chunk(sljit_uw size) in alloc_chunk()
64 static SLJIT_INLINE void free_chunk(void *chunk, sljit_uw size) in free_chunk()
/php-src/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-src/ext/opcache/jit/ir/
H A Dir_perf.c58 #define ALIGN8(size) (((size) + 7) & ~7) argument
59 #define PADDING8(size) (ALIGN8(size) - (size)) argument
64 uint32_t size; member
74 uint32_t size; member
205 int ir_perf_jitdump_register(const char *name, const void *start, size_t size) in ir_perf_jitdump_register()
252 void ir_perf_map_register(const char *name, const void *start, size_t size) in ir_perf_map_register()
/php-src/ext/dom/lexbor/lexbor/html/tree/insertion_mode/
H A Dinitial.c292 size_t size, i; in lxb_html_tree_insertion_mode_initial_doctype_ckeck_public() local
332 size_t size; in lxb_html_tree_insertion_mode_initial_doctype_ckeck_system() local
357 size_t size; in lxb_html_tree_insertion_mode_initial_doctype_ckeck_pubsys() local
383 size_t size; in lxb_html_tree_insertion_mode_initial_doctype_check_limq() local
/php-src/ext/dom/lexbor/lexbor/html/
H A Dparser.c121 lxb_html_parse(lxb_html_parser_t *parser, const lxb_char_t *html, size_t size) in lxb_html_parse()
149 const lxb_char_t *html, size_t size) in lxb_html_parse_fragment()
162 const lxb_char_t *html, size_t size) in lxb_html_parse_fragment_by_tag_id()
281 const lxb_char_t *html, size_t size) in lxb_html_parse_fragment_chunk_process()
404 const lxb_char_t *html, size_t size) in lxb_html_parse_chunk_process()
/php-src/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-src/ext/gd/libgd/
H A Dgd_webp.c28 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()

Completed in 71 milliseconds

1234567891011