Home
last modified time | relevance | path

Searched refs:IWPOOL (Results 1 – 24 of 24) sorted by relevance

/third_party/iowow/src/utils/
Diwpool.h41 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,
[all …]
Diwpool.c28 IWPOOL *iwpool_create(size_t siz) { in iwpool_create()
29 IWPOOL *pool; in iwpool_create()
63 IWPOOL *iwpool_create_empty(void) { in iwpool_create_empty()
67 IW_INLINE int iwpool_extend(IWPOOL *pool, size_t siz) { in iwpool_extend()
86 void *iwpool_alloc(size_t siz, IWPOOL *pool) { in iwpool_alloc()
108 void *iwpool_calloc(size_t siz, IWPOOL *pool) { in iwpool_calloc()
117 char *iwpool_strndup(IWPOOL *pool, const char *str, size_t len, iwrc *rcp) { in iwpool_strndup()
130 char *iwpool_strdup(IWPOOL *pool, const char *str, iwrc *rcp) { in iwpool_strdup()
139 static char *_iwpool_printf_va(IWPOOL *pool, int size, const char *format, va_list ap) { in _iwpool_printf_va()
148 char *iwpool_printf(IWPOOL *pool, const char *format, ...) { in iwpool_printf()
[all …]
/third_party/ejdb/src/jbl/
Djbl.h364 IW_EXPORT iwrc jbn_clone(JBL_NODE src, JBL_NODE *targetp, IWPOOL *pool);
399 IWPOOL *pool);
420 IWPOOL *pool);
429 IW_EXPORT iwrc jbl_clone_into_pool(JBL src, JBL *targetp, IWPOOL *pool);
638 IW_EXPORT iwrc jbl_to_node(JBL jbl, JBL_NODE *node, bool clone_strings, IWPOOL *pool);
648 IW_EXPORT iwrc jbn_from_json(const char *json, JBL_NODE *node, IWPOOL *pool);
650 IW_EXPORT iwrc jbn_from_json_printf(JBL_NODE *node, IWPOOL *pool, const char *format, ...);
652 IW_EXPORT iwrc jbn_from_json_printf_va(JBL_NODE *node, IWPOOL *pool, const char *format, va_list va…
672 IW_EXPORT IW_DEPRECATED iwrc jbl_node_from_json(const char *json, JBL_NODE *node, IWPOOL *pool);
733 IWPOOL *pool);
[all …]
Djbl_internal.h52 IWPOOL *pool; /**< Pool placeholder, initialization is responsibility of `JBL_VCTX` creator */
67 IWPOOL *pool;
77 iwrc _jbl_node_from_binn(const binn *bn, JBL_NODE *node, bool clone_strings, IWPOOL *pool);
Djbl.c165 iwrc jbn_from_json_printf_va(JBL_NODE *node, IWPOOL *pool, const char *format, va_list va) { in jbn_from_json_printf_va()
183 iwrc jbn_from_json_printf(JBL_NODE *node, IWPOOL *pool, const char *format, ...) { in jbn_from_json_printf()
348 iwrc jbl_clone_into_pool(JBL src, JBL *targetp, IWPOOL *pool) { in jbl_clone_into_pool()
505 IWPOOL *pool = iwpool_create(2 * strlen(jsonstr)); in jbl_from_json()
1017 static iwrc _jbl_ptr_pool(const char *path, JBL_PTR *jpp, IWPOOL *pool) { in _jbl_ptr_pool()
1084 iwrc jbl_ptr_alloc_pool(const char *path, JBL_PTR *jpp, IWPOOL *pool) { in jbl_ptr_alloc_pool()
1583 …tr(JBL_NODE parent, const char *key, const char *val, int vlen, JBL_NODE *node_out, IWPOOL *pool) { in jbn_add_item_str()
1617 iwrc jbn_add_item_null(JBL_NODE parent, const char *key, IWPOOL *pool) { in jbn_add_item_null()
1640 iwrc jbn_add_item_i64(JBL_NODE parent, const char *key, int64_t val, JBL_NODE *node_out, IWPOOL *po… in jbn_add_item_i64()
1667 iwrc jbn_add_item_f64(JBL_NODE parent, const char *key, double val, JBL_NODE *node_out, IWPOOL *poo… in jbn_add_item_f64()
[all …]
Djbl_json.c10 IWPOOL *pool;
487 static JBL_NODE _jbl_clone_node_struct(JBL_NODE src, IWPOOL *pool) { in _jbl_clone_node_struct()
560 iwrc jbn_clone(JBL_NODE src, JBL_NODE *targetp, IWPOOL *pool) { in jbn_clone()
581 iwrc jbn_from_json(const char *json, JBL_NODE *node, IWPOOL *pool) { in jbn_from_json()
594 iwrc jbl_node_from_json(const char *json, JBL_NODE *node, IWPOOL *pool) { in jbl_node_from_json()
/third_party/ejdb/src/jql/
Djql.h169 IW_EXPORT WUR iwrc jql_apply(JQL q, JBL_NODE root, IWPOOL *pool);
171 IW_EXPORT WUR iwrc jql_project(JQL q, JBL_NODE root, IWPOOL *pool, void *exec_ctx);
173 IW_EXPORT WUR iwrc jql_apply_and_project(JQL q, JBL jbl, JBL_NODE *out, void *exec_ctx, IWPOOL *poo…
Djql.c119 iwpool_destroy((IWPOOL*) op); in _jql_free_iwpool()
123 IWPOOL *pool = iwpool_create(jbl_size(jbl)); in jql_set_json_jbl()
628 IWPOOL *pool = iwpool_create(rv->vbinn->size * 2); in _jql_cmp_jqval_pair()
1495 IWPOOL *pool;
1598 IWPOOL *pool = exec_ctx->ux->pool; in _jql_proj_join_matched()
1699 static iwrc _jql_project(JBL_NODE root, JQL q, IWPOOL *pool, JBEXEC *exec_ctx) { in _jql_project()
1742 iwrc jql_apply(JQL q, JBL_NODE root, IWPOOL *pool) { in jql_apply()
1756 iwrc jql_project(JQL q, JBL_NODE root, IWPOOL *pool, void *exec_ctx) { in jql_project()
1764 iwrc jql_apply_and_project(JQL q, JBL jbl, JBL_NODE *out, void *exec_ctx, IWPOOL *pool) { in jql_apply_and_project()
Djqp.h273 IWPOOL *pool;
/third_party/iowow/src/utils/tests/
Diwutils_test1.c41 IWPOOL *pool = iwpool_create(128); in test_iwpool_split_string()
125 IWPOOL *pool = iwpool_create(128); in test_iwpool_printf()
/third_party/ejdb/src/
Dejdb2.h155 IWPOOL *pool; /**< Memory pool used to store list of documents */
185 IWPOOL *pool; /**< Optional pool which can be used in query apply */
262 IW_EXPORT WUR iwrc ejdb_list(EJDB db, JQL q, EJDB_DOC *first, int64_t limit, IWPOOL *pool);
Dejdb2_internal.h195 IWPOOL *proj_joined_nodes_pool;
Dejdb2.c506 IWPOOL *pool = 0; in _jb_idx_record_add()
935 IWPOOL *pool = ctx->pool; in _jb_exec_list_visitor()
961 static iwrc _jb_list(EJDB db, JQL q, EJDB_DOC *first, int64_t limit, IWXSTR *log, IWPOOL *pool) { in _jb_list()
1023 iwrc ejdb_list(EJDB db, JQL q, EJDB_DOC *first, int64_t limit, IWPOOL *pool) { in ejdb_list()
1033 IWPOOL *pool = iwpool_create(1024); in ejdb_list3()
1064 IWPOOL *pool = iwpool_create(1024); in ejdb_list4()
1270 IWPOOL *pool = 0; in _jb_patch()
/third_party/ejdb/src/tests/
Dejdb_test4.c16 iwpool_destroy((IWPOOL*) op); in free_iwpool()
21 IWPOOL *pool = iwpool_create(64); in set_apply_int()
148 IWPOOL *pool = iwpool_create_empty(); in ejdb_test4_2()
Dejdb_test3.c707 IWPOOL *pool = iwpool_create(1024); in ejdb_test3_4()
1050 IWPOOL *pool = iwpool_create(255); in ejdb_test3_8()
/third_party/ejdb/src/jbl/tests/
Djbl_test1.c24 IWPOOL *pool; in _jbl_test1_1()
766 IWPOOL *pool = iwpool_create(512); in jbl_test1_9()
767 IWPOOL *cpool = iwpool_create(512); in jbl_test1_9()
800 IWPOOL *pool = iwpool_create(512); in jbl_test1_10()
801 IWPOOL *tpool = iwpool_create(512); in jbl_test1_10()
838 IWPOOL *pool = iwpool_create(512); in jbl_test1_11()
/third_party/ejdb/src/bindings/ejdb2_node/
Dejdb2_node.c119 IWPOOL *pool;
133 IWPOOL *pool;
206 static char *jn_string(napi_env env, napi_value val_, IWPOOL *pool, bool nulls, bool coerce, iwrc *… in jn_string()
246 napi_env env, IWPOOL *pool, napi_value arr, in jn_string_at()
360 IWPOOL *pool = iwpool_create(255); in jb_jbn_alloc()
398 IWPOOL *pool = iwpool_create(255); in jn_work_create()
1353 IWPOOL *pool = iwpool_create(255); in jn_jql_init()
1851 IWPOOL *pool = op; in jn_jql_free_set_string_value()
1869 IWPOOL *vpool = 0; // jql_set_xxx value in jn_jql_set()
1870 IWPOOL *pool = iwpool_create(32); in jn_jql_set()
/third_party/ejdb/src/jbi/
Djbi_sorter_consumer.c57 static iwrc _jbi_scan_sorter_apply(IWPOOL *pool, struct _JBEXEC *ctx, JQL q, struct _EJDB_DOC *doc)… in _jbi_scan_sorter_apply()
91 IWPOOL *pool = ux->pool; in _jbi_scan_sorter_do()
Djbi_consumer.c12 IWPOOL *pool = ux->pool; in jbi_consumer()
/third_party/ejdb/src/jql/tests/
Djql_test1.c207 IWPOOL *pool = iwpool_create(512); in _jql_test1_3()
/third_party/iowow/
DChangelog39 * `IWPOOL` is able to store associated user data (iwpool.h)
259 * Added size_t iwpool_allocated_size(IWPOOL *pool) (iwpool.h)
/third_party/ejdb/src/bindings/ejdb2_jni/src/
Dejdb2jni.c916 IWPOOL *pool = op; in jbn_free_json_node()
951 IWPOOL *pool = iwpool_create(1024); in Java_com_softmotions_ejdb2_JQL__1set_1string()
/third_party/ejdb/src/bindings/ejdb2_dart/lib/
Dejdb2_dart.c680 IWPOOL *pool = op; in ejd_free_json_node()
744 IWPOOL *pool = iwpool_create(64); in ejd_jql_set()
/third_party/ejdb/
DChangelog156 * Added `jbl_clone_into_pool(JBL src, IWPOOL *pool, JBL *targetp)` (jbl.h)