Lines Matching refs:ZEND_API
65 ZEND_API ZEND_ATTRIBUTE_MALLOC char* ZEND_FASTCALL zend_strndup(const char *s, size_t length);
67 ZEND_API ZEND_ATTRIBUTE_MALLOC void* ZEND_FASTCALL _emalloc(size_t size ZEND_FILE_LINE_DC ZEND_FIL…
68 ZEND_API ZEND_ATTRIBUTE_MALLOC void* ZEND_FASTCALL _safe_emalloc(size_t nmemb, size_t size, size_t…
69 ZEND_API ZEND_ATTRIBUTE_MALLOC void* ZEND_FASTCALL _safe_malloc(size_t nmemb, size_t size, size_t …
70 ZEND_API void ZEND_FASTCALL _efree(void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_DC);
71 ZEND_API ZEND_ATTRIBUTE_MALLOC void* ZEND_FASTCALL _ecalloc(size_t nmemb, size_t size ZEND_FILE_LI…
72 ZEND_API void* ZEND_FASTCALL _erealloc(void *ptr, size_t size ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORI…
73 ZEND_API void* ZEND_FASTCALL _erealloc2(void *ptr, size_t size, size_t copy_size ZEND_FILE_LINE_DC…
74 ZEND_API void* ZEND_FASTCALL _safe_erealloc(void *ptr, size_t nmemb, size_t size, size_t offset ZE…
75 ZEND_API void* ZEND_FASTCALL _safe_realloc(void *ptr, size_t nmemb, size_t size, size_t offset);
76 ZEND_API ZEND_ATTRIBUTE_MALLOC char* ZEND_FASTCALL _estrdup(const char *s ZEND_FILE_LINE_DC ZEND_F…
77 ZEND_API ZEND_ATTRIBUTE_MALLOC char* ZEND_FASTCALL _estrndup(const char *s, size_t length ZEND_FIL…
78 ZEND_API size_t ZEND_FASTCALL _zend_mem_block_size(void *ptr ZEND_FILE_LINE_DC ZEND_FILE_LINE_ORIG_…
86 ZEND_API ZEND_ATTRIBUTE_MALLOC void* ZEND_FASTCALL _emalloc_ ## _size(void);
90 ZEND_API ZEND_ATTRIBUTE_MALLOC void* ZEND_FASTCALL _emalloc_large(size_t size) ZEND_ATTRIBUTE_ALLOC…
91 ZEND_API ZEND_ATTRIBUTE_MALLOC void* ZEND_FASTCALL _emalloc_huge(size_t size) ZEND_ATTRIBUTE_ALLOC_…
111 ZEND_API void ZEND_FASTCALL _efree_ ## _size(void *);
115 ZEND_API void ZEND_FASTCALL _efree_large(void *, size_t size);
116 ZEND_API void ZEND_FASTCALL _efree_huge(void *, size_t size);
182 ZEND_API ZEND_ATTRIBUTE_MALLOC void * __zend_malloc(size_t len) ZEND_ATTRIBUTE_ALLOC_SIZE(1);
183 ZEND_API ZEND_ATTRIBUTE_MALLOC void * __zend_calloc(size_t nmemb, size_t len) ZEND_ATTRIBUTE_ALLOC_…
184 ZEND_API void * __zend_realloc(void *p, size_t len) ZEND_ATTRIBUTE_ALLOC_SIZE(2);
185 ZEND_API ZEND_ATTRIBUTE_MALLOC char * __zend_strdup(const char *s);
217 ZEND_API zend_result zend_set_memory_limit(size_t memory_limit);
218 ZEND_API bool zend_alloc_in_memory_limit_error_reporting(void);
220 ZEND_API void start_memory_manager(void);
221 ZEND_API void shutdown_memory_manager(bool silent, bool full_shutdown);
222 ZEND_API bool is_zend_mm(void);
223 ZEND_API bool is_zend_ptr(const void *ptr);
225 ZEND_API size_t zend_memory_usage(bool real_usage);
226 ZEND_API size_t zend_memory_peak_usage(bool real_usage);
227 ZEND_API void zend_memory_reset_peak_usage(void);
245 ZEND_API zend_mm_heap *zend_mm_startup(void);
246 ZEND_API void zend_mm_shutdown(zend_mm_heap *heap, bool full_shutdown, bool silent);
247 ZEND_API ZEND_ATTRIBUTE_MALLOC void* ZEND_FASTCALL _zend_mm_alloc(zend_mm_heap *heap, size_t size …
248 ZEND_API void ZEND_FASTCALL _zend_mm_free(zend_mm_heap *heap, void *p ZEND_FILE_LINE_DC ZEND_FILE…
249 ZEND_API void* ZEND_FASTCALL _zend_mm_realloc(zend_mm_heap *heap, void *p, size_t size ZEND_FILE_L…
250 ZEND_API void* ZEND_FASTCALL _zend_mm_realloc2(zend_mm_heap *heap, void *p, size_t size, size_t co…
251 ZEND_API size_t ZEND_FASTCALL _zend_mm_block_size(zend_mm_heap *heap, void *p ZEND_FILE_LINE_DC ZEN…
265 ZEND_API zend_mm_heap *zend_mm_set_heap(zend_mm_heap *new_heap);
266 ZEND_API zend_mm_heap *zend_mm_get_heap(void);
268 ZEND_API size_t zend_mm_gc(zend_mm_heap *heap);
274 ZEND_API bool zend_mm_is_custom_heap(zend_mm_heap *new_heap);
275 ZEND_API void zend_mm_set_custom_handlers(zend_mm_heap *heap,
279 ZEND_API void zend_mm_get_custom_handlers(zend_mm_heap *heap,
285 ZEND_API void zend_mm_set_custom_debug_handlers(zend_mm_heap *heap,
310 ZEND_API zend_mm_storage *zend_mm_get_storage(zend_mm_heap *heap);
311 ZEND_API zend_mm_heap *zend_mm_startup_ex(const zend_mm_handlers *handlers, void *data, size_t data…