Searched refs:json_t (Results 1 - 24 of 24) sorted by relevance

/seL4-camkes-master/projects/projects_libs/libjansson/jansson-2.7/src/
H A Djansson.h51 typedef struct json_t { struct
54 } json_t; typedef in typeref:struct:json_t
91 json_t *json_object(void);
92 json_t *json_array(void);
93 json_t *json_string(const char *value);
94 json_t *json_stringn(const char *value, size_t len);
95 json_t *json_string_nocheck(const char *value);
96 json_t *json_stringn_nocheck(const char *value, size_t len);
97 json_t *json_integer(json_int_t value);
98 json_t *json_rea
[all...]
H A Dvalue.c40 static JSON_INLINE void json_init(json_t *json, json_type type)
51 json_t *json_object(void)
82 size_t json_object_size(const json_t *json)
93 json_t *json_object_get(const json_t *json, const char *key)
104 int json_object_set_new_nocheck(json_t *json, const char *key, json_t *value)
127 int json_object_set_new(json_t *json, const char *key, json_t *value)
138 int json_object_del(json_t *jso
[all...]
H A Djansson_private.h35 json_t json;
42 json_t json;
45 json_t **table;
50 json_t json;
56 json_t json;
61 json_t json;
72 json_t *jsonp_stringn_nocheck_own(const char *value, size_t len);
H A Dhashtable.h22 json_t *value;
82 json_t *value);
179 void hashtable_iter_set(void *iter, json_t *value);
H A Dpack_unpack.c122 static json_t *pack(scanner_t *s, va_list *ap);
207 static json_t *pack_object(scanner_t *s, va_list *ap)
209 json_t *object = json_object();
216 json_t *value;
263 static json_t *pack_array(scanner_t *s, va_list *ap)
265 json_t *array = json_array();
269 json_t *value;
294 static json_t *pack(scanner_t *s, va_list *ap)
334 case 'O': /* a json_t object; increments refcount */
335 return json_incref(va_arg(*ap, json_t *));
[all...]
H A Ddump.c178 static int dump_integer(const json_t *json, json_dump_callback_t dump, const char *fmt,
191 static int do_dump(const json_t *json, size_t flags, int depth,
301 iter = json_object_iter((json_t *)json);
328 iter = json_object_iter_next((json_t *)json, iter);
343 json_t *value;
384 void *next = json_object_iter_next((json_t *)json, iter);
423 char *json_dumps(const json_t *json, size_t flags)
440 int json_dumpf(const json_t *json, FILE *output, size_t flags)
445 int json_dump_file(const json_t *json, const char *path, size_t flags)
459 int json_dump_callback(const json_t *jso
[all...]
H A Dload.c677 static json_t *parse_value(lex_t *lex, size_t flags, json_error_t *error);
679 static json_t *parse_object(lex_t *lex, size_t flags, json_error_t *error)
681 json_t *object = json_object();
692 json_t *value;
758 static json_t *parse_array(lex_t *lex, size_t flags, json_error_t *error)
760 json_t *array = json_array();
769 json_t *elem = parse_value(lex, flags, error);
798 static json_t *parse_value(lex_t *lex, size_t flags, json_error_t *error)
800 json_t *json;
876 static json_t *parse_jso
[all...]
H A Dhashtable.c211 json_t *value)
346 void hashtable_iter_set(void *iter, json_t *value)
/seL4-camkes-master/projects/projects_libs/libjansson/jansson-2.7/test/suites/api/
H A Dtest_loadb.c14 json_t *json;
H A Dtest_load.c14 json_t *json;
49 json_t *json;
66 json_t *json;
92 json_t *json;
123 json_t *json;
140 json_t *json;
162 json_t *json;
H A Dtest_copy.c14 json_t *value, *copy;
94 json_t *value, *copy;
176 json_t *array, *copy;
205 json_t *array, *copy;
235 json_t *object, *copy;
254 json_t *value1, *value2;
275 json_t *object, *copy;
294 json_t *value1, *value2;
H A Dtest_dump.c39 json_t *json;
81 json_t *json;
126 json_t *json;
163 json_t *json;
185 json_t *json;
H A Dtest_equal.c13 json_t *value1, *value2;
84 json_t *array1, *array2;
117 json_t *object1, *object2;
155 json_t *value1, *value2;
H A Dtest_memory_funcs.c12 json_t *obj;
H A Dtest_number.c14 json_t *integer, *real;
H A Dtest_object.c14 json_t *object, *ten;
45 json_t *object, *other, *nine, *ten;
144 json_t *object, *other;
186 json_t *object1, *object2;
214 json_t *object, *string;
253 json_t *object, *foo, *bar, *baz;
256 json_t *iter_values[3];
357 json_t *object, *string, *other_string, *value;
465 json_t *object;
501 json_t *object
[all...]
H A Dtest_array.c13 json_t *array, *five, *seven, *value;
119 json_t *array, *five, *seven, *eleven, *value;
208 json_t *array, *five, *seven;
277 json_t *array, *five, *seven;
314 json_t *array1, *array2, *five, *seven;
359 json_t *array1, *array2;
406 json_t *array1, *array2, *value;
H A Dtest_dump_callback.c32 json_t *json;
H A Dtest_load_callback.c38 json_t *json;
H A Dtest_simple.c15 json_t *value;
H A Dtest_pack.c22 json_t *value;
H A Dtest_unpack.c16 json_t *j, *j2;
/seL4-camkes-master/projects/projects_libs/libjansson/jansson-2.7/doc/
H A Dgithub_commits.c124 json_t *root;
158 json_t *data, *sha, *commit, *message;
/seL4-camkes-master/projects/projects_libs/libjansson/jansson-2.7/test/bin/
H A Djson_process.c166 json_t *json;
262 json_t *json;

Completed in 55 milliseconds