Lines Matching refs:IWPOOL
41 typedef struct _IWPOOL IWPOOL; typedef
50 IW_EXPORT IWPOOL *iwpool_create(size_t siz);
56 IW_EXPORT IWPOOL *iwpool_create_empty(void);
65 IW_EXPORT void *iwpool_alloc(size_t siz, IWPOOL *pool);
75 IW_EXPORT void *iwpool_calloc(size_t siz, IWPOOL *pool);
86 IW_EXPORT char *iwpool_strndup(IWPOOL *pool, const char *str, size_t len, iwrc *rcp);
96 IW_EXPORT char *iwpool_strdup(IWPOOL *pool, const char *str, iwrc *rcp);
106 IW_EXPORT char *iwpool_printf(IWPOOL *pool, const char *format, ...);
108 IW_EXPORT char **iwpool_split_string(IWPOOL *pool, const char *haystack,
111 IW_EXPORT char **iwpool_printf_split(IWPOOL *pool,
121 IW_EXPORT void iwpool_destroy(IWPOOL *pool);
138 IW_EXPORT void iwpool_user_data_set(IWPOOL *pool, void *data, void (*free_fn)(void *));
143 IW_EXPORT void *iwpool_user_data_get(IWPOOL *pool);
151 IW_EXPORT void *iwpool_user_data_detach(IWPOOL *pool);
158 IW_EXPORT size_t iwpool_allocated_size(IWPOOL *pool);
165 IW_EXPORT size_t iwpool_used_size(IWPOOL *pool);