Home
last modified time | relevance | path

Searched refs:json_object (Results 1 – 25 of 48) sorted by relevance

12

/device/google/crosshatch/json-c/
Djson_object.h71 struct json_object *val;
81 typedef struct json_object json_object; typedef
88 typedef void (json_object_delete_fn)(struct json_object *jso, void *userdata);
93 typedef int (json_object_to_json_string_fn)(struct json_object *jso,
119 extern struct json_object* json_object_get(struct json_object *obj);
129 int json_object_put(struct json_object *obj);
143 extern int json_object_is_type(struct json_object *obj, enum json_type type);
159 extern enum json_type json_object_get_type(struct json_object *obj);
171 extern const char* json_object_to_json_string(struct json_object *obj);
179 extern const char* json_object_to_json_string_ext(struct json_object *obj, int
[all …]
Djson_object.c52 static void json_object_generic_delete(struct json_object* jso);
53 static struct json_object* json_object_new(enum json_type o_type);
87 struct json_object* obj = (struct json_object*)ent->v; in json_object_fini()
152 extern struct json_object* json_object_get(struct json_object *jso) in json_object_get()
159 int json_object_put(struct json_object *jso) in json_object_put()
178 static void json_object_generic_delete(struct json_object* jso) in json_object_generic_delete()
189 static struct json_object* json_object_new(enum json_type o_type) in json_object_new()
191 struct json_object *jso; in json_object_new()
193 jso = (struct json_object*)calloc(sizeof(struct json_object), 1); in json_object_new()
209 int json_object_is_type(struct json_object *jso, enum json_type type) in json_object_is_type()
[all …]
Djson_object_iterator.h49 struct json_object;
109 json_object_iter_begin(struct json_object* obj);
140 json_object_iter_end(const struct json_object* obj);
199 struct json_object*
Djson_tokener.h71 struct json_object *obj;
72 struct json_object *current;
125 extern struct json_object* json_tokener_parse(const char *str);
126 extern struct json_object* json_tokener_parse_verbose(const char *str, enum json_tokener_error *err…
201 extern struct json_object* json_tokener_parse_ex(struct json_tokener *tok,
Djson_util.h33 extern struct json_object* json_object_from_file(const char *filename);
34 extern int json_object_to_file(const char *filename, struct json_object *obj);
35 extern int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags);
Djson_object_iterator.c67 json_object_iter_begin(struct json_object* obj) in json_object_iter_begin()
87 json_object_iter_end(const struct json_object* obj) in json_object_iter_end()
128 struct json_object*
134 return (struct json_object*)(((struct lh_entry *)iter->opaque_)->v); in json_object_iter_peek_value()
Djson_object_private.h19 typedef void (json_object_private_delete_fn)(struct json_object *o);
21 struct json_object struct
/device/google/coral/json-c/
Djson_object.h71 struct json_object *val;
81 typedef struct json_object json_object; typedef
88 typedef void (json_object_delete_fn)(struct json_object *jso, void *userdata);
93 typedef int (json_object_to_json_string_fn)(struct json_object *jso,
119 extern struct json_object* json_object_get(struct json_object *obj);
129 int json_object_put(struct json_object *obj);
143 extern int json_object_is_type(struct json_object *obj, enum json_type type);
159 extern enum json_type json_object_get_type(struct json_object *obj);
171 extern const char* json_object_to_json_string(struct json_object *obj);
179 extern const char* json_object_to_json_string_ext(struct json_object *obj, int
[all …]
Djson_object.c52 static void json_object_generic_delete(struct json_object* jso);
53 static struct json_object* json_object_new(enum json_type o_type);
87 struct json_object* obj = (struct json_object*)ent->v; in json_object_fini()
152 extern struct json_object* json_object_get(struct json_object *jso) in json_object_get()
159 int json_object_put(struct json_object *jso) in json_object_put()
178 static void json_object_generic_delete(struct json_object* jso) in json_object_generic_delete()
189 static struct json_object* json_object_new(enum json_type o_type) in json_object_new()
191 struct json_object *jso; in json_object_new()
193 jso = (struct json_object*)calloc(sizeof(struct json_object), 1); in json_object_new()
209 int json_object_is_type(struct json_object *jso, enum json_type type) in json_object_is_type()
[all …]
Djson_object_iterator.h49 struct json_object;
109 json_object_iter_begin(struct json_object* obj);
140 json_object_iter_end(const struct json_object* obj);
199 struct json_object*
Djson_tokener.h71 struct json_object *obj;
72 struct json_object *current;
125 extern struct json_object* json_tokener_parse(const char *str);
126 extern struct json_object* json_tokener_parse_verbose(const char *str, enum json_tokener_error *err…
201 extern struct json_object* json_tokener_parse_ex(struct json_tokener *tok,
Djson_util.h33 extern struct json_object* json_object_from_file(const char *filename);
34 extern int json_object_to_file(const char *filename, struct json_object *obj);
35 extern int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags);
Djson_object_iterator.c67 json_object_iter_begin(struct json_object* obj) in json_object_iter_begin()
87 json_object_iter_end(const struct json_object* obj) in json_object_iter_end()
128 struct json_object*
134 return (struct json_object*)(((struct lh_entry *)iter->opaque_)->v); in json_object_iter_peek_value()
/device/google/bonito/json-c/
Djson_object.h71 struct json_object *val;
81 typedef struct json_object json_object; typedef
88 typedef void (json_object_delete_fn)(struct json_object *jso, void *userdata);
93 typedef int (json_object_to_json_string_fn)(struct json_object *jso,
119 extern struct json_object* json_object_get(struct json_object *obj);
129 int json_object_put(struct json_object *obj);
143 extern int json_object_is_type(struct json_object *obj, enum json_type type);
159 extern enum json_type json_object_get_type(struct json_object *obj);
171 extern const char* json_object_to_json_string(struct json_object *obj);
179 extern const char* json_object_to_json_string_ext(struct json_object *obj, int
[all …]
Djson_object.c52 static void json_object_generic_delete(struct json_object* jso);
53 static struct json_object* json_object_new(enum json_type o_type);
87 struct json_object* obj = (struct json_object*)ent->v; in json_object_fini()
152 extern struct json_object* json_object_get(struct json_object *jso) in json_object_get()
159 int json_object_put(struct json_object *jso) in json_object_put()
178 static void json_object_generic_delete(struct json_object* jso) in json_object_generic_delete()
189 static struct json_object* json_object_new(enum json_type o_type) in json_object_new()
191 struct json_object *jso; in json_object_new()
193 jso = (struct json_object*)calloc(sizeof(struct json_object), 1); in json_object_new()
209 int json_object_is_type(struct json_object *jso, enum json_type type) in json_object_is_type()
[all …]
Djson_object_iterator.h49 struct json_object;
109 json_object_iter_begin(struct json_object* obj);
140 json_object_iter_end(const struct json_object* obj);
199 struct json_object*
Djson_tokener.h71 struct json_object *obj;
72 struct json_object *current;
125 extern struct json_object* json_tokener_parse(const char *str);
126 extern struct json_object* json_tokener_parse_verbose(const char *str, enum json_tokener_error *err…
201 extern struct json_object* json_tokener_parse_ex(struct json_tokener *tok,
Djson_util.h33 extern struct json_object* json_object_from_file(const char *filename);
34 extern int json_object_to_file(const char *filename, struct json_object *obj);
35 extern int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags);
Djson_object_iterator.c67 json_object_iter_begin(struct json_object* obj) in json_object_iter_begin()
87 json_object_iter_end(const struct json_object* obj) in json_object_iter_end()
128 struct json_object*
134 return (struct json_object*)(((struct lh_entry *)iter->opaque_)->v); in json_object_iter_peek_value()
/device/google/sunfish/json-c/
Djson_object.h71 struct json_object *val;
81 typedef struct json_object json_object; typedef
88 typedef void (json_object_delete_fn)(struct json_object *jso, void *userdata);
93 typedef int (json_object_to_json_string_fn)(struct json_object *jso,
119 extern struct json_object* json_object_get(struct json_object *obj);
129 int json_object_put(struct json_object *obj);
143 extern int json_object_is_type(struct json_object *obj, enum json_type type);
159 extern enum json_type json_object_get_type(struct json_object *obj);
171 extern const char* json_object_to_json_string(struct json_object *obj);
179 extern const char* json_object_to_json_string_ext(struct json_object *obj, int
[all …]
Djson_object.c52 static void json_object_generic_delete(struct json_object* jso);
53 static struct json_object* json_object_new(enum json_type o_type);
87 struct json_object* obj = (struct json_object*)ent->v; in json_object_fini()
152 extern struct json_object* json_object_get(struct json_object *jso) in json_object_get()
159 int json_object_put(struct json_object *jso) in json_object_put()
178 static void json_object_generic_delete(struct json_object* jso) in json_object_generic_delete()
189 static struct json_object* json_object_new(enum json_type o_type) in json_object_new()
191 struct json_object *jso; in json_object_new()
193 jso = (struct json_object*)calloc(sizeof(struct json_object), 1); in json_object_new()
209 int json_object_is_type(struct json_object *jso, enum json_type type) in json_object_is_type()
[all …]
Djson_object_iterator.h49 struct json_object;
109 json_object_iter_begin(struct json_object* obj);
140 json_object_iter_end(const struct json_object* obj);
199 struct json_object*
Djson_tokener.h71 struct json_object *obj;
72 struct json_object *current;
125 extern struct json_object* json_tokener_parse(const char *str);
126 extern struct json_object* json_tokener_parse_verbose(const char *str, enum json_tokener_error *err…
201 extern struct json_object* json_tokener_parse_ex(struct json_tokener *tok,
Djson_util.h33 extern struct json_object* json_object_from_file(const char *filename);
34 extern int json_object_to_file(const char *filename, struct json_object *obj);
35 extern int json_object_to_file_ext(const char *filename, struct json_object *obj, int flags);
Djson_object_iterator.c67 json_object_iter_begin(struct json_object* obj) in json_object_iter_begin()
87 json_object_iter_end(const struct json_object* obj) in json_object_iter_end()
128 struct json_object*
134 return (struct json_object*)(((struct lh_entry *)iter->opaque_)->v); in json_object_iter_peek_value()

12