Home
last modified time | relevance | path

Searched refs:jblp (Results 1 – 5 of 5) sorted by relevance

/third_party/iowow/src/json/
Diwjson.h202 IW_EXPORT WUR iwrc jbl_create_empty_object(JBL *jblp);
211 IW_EXPORT WUR iwrc jbl_create_empty_array(JBL *jblp);
336 IW_EXPORT iwrc jbl_from_buf_keep(JBL *jblp, void *buf, size_t bufsz, bool keep_on_destroy);
438 IW_EXPORT iwrc jbl_from_json(JBL *jblp, const char *jsonstr);
441 IW_EXPORT iwrc jbl_from_json_printf(JBL *jblp, const char *format, ...);
443 IW_EXPORT iwrc jbl_from_json_printf_va(JBL *jblp, const char *format, va_list va);
597 IW_EXPORT void jbl_destroy(JBL *jblp);
604 IW_EXPORT iwrc jbl_create_iterator_holder(JBL *jblp);
688 IW_EXPORT iwrc jbl_from_node(JBL *jblp, JBL_NODE node);
Diwjson.c46 iwrc jbl_create_empty_object(JBL *jblp) { in jbl_create_empty_object() argument
47 *jblp = calloc(1, sizeof(**jblp)); in jbl_create_empty_object()
48 if (!*jblp) { in jbl_create_empty_object()
51 binn_create(&(*jblp)->bn, BINN_OBJECT, 0, 0); in jbl_create_empty_object()
55 iwrc jbl_create_empty_array(JBL *jblp) { in jbl_create_empty_array() argument
56 *jblp = calloc(1, sizeof(**jblp)); in jbl_create_empty_array()
57 if (!*jblp) { in jbl_create_empty_array()
60 binn_create(&(*jblp)->bn, BINN_LIST, 0, 0); in jbl_create_empty_array()
168 iwrc jbl_from_json_printf_va(JBL *jblp, const char *format, va_list va) { in jbl_from_json_printf_va() argument
183 rc = jbl_from_json(jblp, buf); in jbl_from_json_printf_va()
[all …]
/third_party/ejdb/src/
Dejdb2.h524 IW_EXPORT WUR iwrc ejdb_get(EJDB db, const char *coll, int64_t id, JBL *jblp);
660 IW_EXPORT iwrc ejdb_get_meta(EJDB db, JBL *jblp);
Dejdb2.c1411 iwrc jb_get(EJDB db, const char *coll, int64_t id, jb_coll_acquire_t acm, JBL *jblp) { in jb_get() argument
1412 if (!id || !jblp) { in jb_get()
1415 *jblp = 0; in jb_get()
1429 *jblp = jbl; in jb_get()
1443 iwrc ejdb_get(EJDB db, const char *coll, int64_t id, JBL *jblp) { in ejdb_get() argument
1444 return jb_get(db, coll, id, JB_COLL_ACQUIRE_EXISTING, jblp); in ejdb_get()
1644 iwrc ejdb_get_meta(EJDB db, JBL *jblp) { in ejdb_get_meta() argument
1646 *jblp = 0; in ejdb_get_meta()
1692 *jblp = jbl; in ejdb_get_meta()
Dejdb2_internal.h218 iwrc jb_get(EJDB db, const char *coll, int64_t id, jb_coll_acquire_t acm, JBL *jblp);