Searched refs:iwpool_alloc (Results 1 – 7 of 7) sorted by relevance
/third_party/iowow/src/utils/ |
D | iwpool.c | 86 void* iwpool_alloc(size_t siz, IWPOOL *pool) { in iwpool_alloc() function 109 void *res = iwpool_alloc(siz, pool); in iwpool_calloc() 118 char *ret = iwpool_alloc(len + 1, pool); in iwpool_strndup() 150 char *wbuf = iwpool_alloc(size, pool); in _iwpool_printf_va() 174 const char **ret = iwpool_alloc((hsz + 1) * sizeof(char*), pool); in iwpool_split_string() 193 char *s = iwpool_alloc(ep - sp + 1, pool); in iwpool_split_string()
|
D | iwpool.h | 65 IW_EXPORT void* iwpool_alloc(size_t siz, IWPOOL *pool);
|
/third_party/iowow/src/json/ |
D | iwjser.c | 200 char *kptr = iwpool_alloc(len + 1, ctx->pool); in _jbl_parse_key() 302 char *vptr = iwpool_alloc(len + 1, ctx->pool); in _jbl_parse_value()
|
D | iwjson.c | 393 JBL jbl = iwpool_alloc(sizeof(*jbl) + src->bn.size, pool); in jbl_clone_into_pool() 1075 jp = iwpool_alloc(sz, pool); in _jbl_ptr_pool() 1925 JBL_NODE n = iwpool_alloc(sizeof(*n), ctx->pool); in _jbl_create_node() 2680 JBL_PATCH *p = iwpool_alloc(i * sizeof(*p), pool); in _jbl_create_patch() 2804 target = iwpool_alloc(sizeof(*target), pool); in _jbl_merge_patch_node()
|
/third_party/ejdb/src/jql/inc/ |
D | jqpx.c | 48 char *buf = iwpool_alloc(len, aux->pool); in _jqp_aux_set_input() 358 char *dest = iwpool_alloc(len + 1, aux->pool); in _jqp_unescaped_string() 380 char *dest = iwpool_alloc(len + 1, aux->pool); in _jqp_json_string() 936 aux->orderby_ptrs = iwpool_alloc(cnt * sizeof(JBL_PTR), aux->pool); in _jqp_finish()
|
/third_party/ejdb/src/ |
D | ejdb2.c | 887 …struct _EJDB_DOC *ndoc = iwpool_alloc(sizeof(*ndoc) + sizeof(*doc->raw) + doc->raw->bn.size, pool); in _jb_exec_list_visitor() 988 EJDB_LIST list = iwpool_alloc(sizeof(*list), pool); in ejdb_list3() 1018 EJDB_LIST list = iwpool_alloc(sizeof(*list), pool); in ejdb_list4()
|
/third_party/ejdb/src/bindings/ejdb2_node/ |
D | ejdb2_node.c | 231 char *buf = iwpool_alloc(len + 1, pool); in jn_string()
|