Lines Matching refs:JBL
20 iwrc jbl_create_empty_object(JBL *jblp) { in jbl_create_empty_object()
29 iwrc jbl_create_empty_array(JBL *jblp) { in jbl_create_empty_array()
38 void jbl_set_user_data(JBL jbl, void *user_data, void (*user_data_free_fn)(void*)) { in jbl_set_user_data()
42 void *jbl_get_user_data(JBL jbl) { in jbl_get_user_data()
46 iwrc jbl_set_int64(JBL jbl, const char *key, int64_t v) { in jbl_set_int64()
70 iwrc jbl_set_f64(JBL jbl, const char *key, double v) { in jbl_set_f64()
94 iwrc jbl_set_string(JBL jbl, const char *key, const char *v) { in jbl_set_string()
118 iwrc jbl_set_string_printf(JBL jbl, const char *key, const char *format, ...) { in jbl_set_string_printf()
138 iwrc jbl_from_json_printf_va(JBL *jblp, const char *format, va_list va) { in jbl_from_json_printf_va()
156 iwrc jbl_from_json_printf(JBL *jblp, const char *format, ...) { in jbl_from_json_printf()
192 iwrc jbl_set_bool(JBL jbl, const char *key, bool v) { in jbl_set_bool()
216 iwrc jbl_set_null(JBL jbl, const char *key) { in jbl_set_null()
240 iwrc jbl_set_empty_array(JBL jbl, const char *key) { in jbl_set_empty_array()
241 JBL v = 0; in jbl_set_empty_array()
250 iwrc jbl_set_empty_object(JBL jbl, const char *key) { in jbl_set_empty_object()
251 JBL v = 0; in jbl_set_empty_object()
260 iwrc jbl_set_nested(JBL jbl, const char *key, JBL v) { in jbl_set_nested()
284 iwrc jbl_from_buf_keep(JBL *jblp, void *buf, size_t bufsz, bool keep_on_destroy) { in jbl_from_buf_keep()
296 JBL jbl = *jblp; in jbl_from_buf_keep()
306 iwrc jbl_clone(JBL src, JBL *targetp) { in jbl_clone()
308 JBL t = *targetp; in jbl_clone()
323 IW_EXPORT iwrc jbl_object_copy_to(JBL src, JBL target) { in jbl_object_copy_to()
329 JBL holder = 0; in jbl_object_copy_to()
348 iwrc jbl_clone_into_pool(JBL src, JBL *targetp, IWPOOL *pool) { in jbl_clone_into_pool()
355 JBL jbl = iwpool_alloc(sizeof(*jbl) + src->bn.size, pool); in jbl_clone_into_pool()
368 iwrc jbl_from_buf_keep_onstack(JBL jbl, void *buf, size_t bufsz) { in jbl_from_buf_keep_onstack()
385 iwrc jbl_from_buf_keep_onstack2(JBL jbl, void *buf) { in jbl_from_buf_keep_onstack2()
399 void jbl_destroy(JBL *jblp) { in jbl_destroy()
401 JBL jbl = *jblp; in jbl_destroy()
408 iwrc jbl_create_iterator_holder(JBL *jblp) { in jbl_create_iterator_holder()
416 iwrc jbl_iterator_init(JBL jbl, JBL_iterator *iter) { in jbl_iterator_init()
429 bool jbl_iterator_next(JBL_iterator *iter, JBL holder, char **pkey, int *klen) { in jbl_iterator_next()
483 jbl_type_t jbl_type(JBL jbl) { in jbl_type()
490 size_t jbl_count(JBL jbl) { in jbl_count()
494 size_t jbl_size(JBL jbl) { in jbl_size()
502 iwrc jbl_from_json(JBL *jblp, const char *jsonstr) { in jbl_from_json()
509 JBL jbl; in jbl_from_json()
769 iwrc jbl_as_json(JBL jbl, jbl_json_printer pt, void *op, jbl_print_flags_t pf) { in jbl_as_json()
849 int64_t jbl_get_i64(JBL jbl) { in jbl_get_i64()
879 int32_t jbl_get_i32(JBL jbl) { in jbl_get_i32()
883 double jbl_get_f64(JBL jbl) { in jbl_get_f64()
913 const char *jbl_get_str(JBL jbl) { in jbl_get_str()
922 size_t jbl_copy_strn(JBL jbl, char *buf, size_t bufsz) { in jbl_copy_strn()
933 jbl_type_t jbl_object_get_type(JBL jbl, const char *key) { in jbl_object_get_type()
944 iwrc jbl_object_get_i64(JBL jbl, const char *key, int64_t *out) { in jbl_object_get_i64()
957 iwrc jbl_object_get_f64(JBL jbl, const char *key, double *out) { in jbl_object_get_f64()
968 iwrc jbl_object_get_bool(JBL jbl, const char *key, bool *out) { in jbl_object_get_bool()
981 iwrc jbl_object_get_str(JBL jbl, const char *key, const char **out) { in jbl_object_get_str()
992 iwrc jbl_object_get_fill_jbl(JBL jbl, const char *key, JBL out) { in jbl_object_get_fill_jbl()
1003 iwrc jbl_as_buf(JBL jbl, void **buf, size_t *size) { in jbl_as_buf()
1297 JBL jbl = vctx->result; in _jbl_get_visitor2()
1311 JBL jbl = malloc(sizeof(struct _JBL)); in _jbl_get_visitor()
1325 bool _jbl_at(JBL jbl, JBL_PTR jp, JBL res) { in _jbl_at()
1336 iwrc jbl_at2(JBL jbl, JBL_PTR jp, JBL *res) { in jbl_at2()
1350 *res = (JBL) vctx.result; in jbl_at2()
1356 iwrc jbl_at(JBL jbl, const char *path, JBL *res) { in jbl_at()
2476 iwrc _jbl_from_node(JBL jbl, JBL_NODE node) { in _jbl_from_node()
2509 static iwrc _jbl_patch(JBL jbl, const JBL_PATCH *p, size_t cnt, IWPOOL *pool) { in _jbl_patch()
2544 int _jbl_cmp_atomic_values(JBL v1, JBL v2) { in _jbl_cmp_atomic_values()
2569 bool _jbl_is_eq_atomic_values(JBL v1, JBL v2) { in _jbl_is_eq_atomic_values()
2600 iwrc jbl_to_node(JBL jbl, JBL_NODE *node, bool clone_strings, IWPOOL *pool) { in jbl_to_node()
2612 iwrc jbl_patch(JBL jbl, const JBL_PATCH *p, size_t cnt) { in jbl_patch()
2692 iwrc jbl_patch_from_json(JBL jbl, const char *patchjson) { in jbl_patch_from_json()
2722 iwrc jbl_fill_from_node(JBL jbl, JBL_NODE node) { in jbl_fill_from_node()
2739 iwrc jbl_from_node(JBL *jblp, JBL_NODE node) { in jbl_from_node()
2825 iwrc jbl_merge_patch(JBL jbl, const char *patchjson) { in jbl_merge_patch()
2852 iwrc jbl_merge_patch_jbl(JBL jbl, JBL patch) { in jbl_merge_patch_jbl()