Searched refs:pa_json_object (Results 1 – 4 of 4) sorted by relevance
/third_party/pulseaudio/src/pulse/ |
D | json.h | 35 typedef struct pa_json_object pa_json_object; typedef 37 pa_json_object* pa_json_parse(const char *str); 38 pa_json_type pa_json_object_get_type(const pa_json_object *obj); 39 void pa_json_object_free(pa_json_object *obj); 43 int pa_json_object_get_int(const pa_json_object *o); 44 double pa_json_object_get_double(const pa_json_object *o); 45 bool pa_json_object_get_bool(const pa_json_object *o); 46 const char* pa_json_object_get_string(const pa_json_object *o); 48 const pa_json_object* pa_json_object_get_object_member(const pa_json_object *o, const char *name); 50 int pa_json_object_get_array_length(const pa_json_object *o); [all …]
|
D | json.c | 34 struct pa_json_object { struct 47 static const char* parse_value(const char *str, const char *end, pa_json_object **obj, unsigned int… argument 49 static pa_json_object* json_object_new(void) { in json_object_new() 50 pa_json_object *obj; in json_object_new() 52 obj = pa_xnew0(pa_json_object, 1); in json_object_new() 91 static const char* parse_null(const char *str, pa_json_object *obj) { in parse_null() 100 static const char* parse_boolean(const char *str, pa_json_object *obj) { in parse_boolean() 120 static const char* parse_string(const char *str, pa_json_object *obj) { in parse_string() 196 static const char* parse_number(const char *str, pa_json_object *obj) { in parse_number() 306 static const char *parse_object(const char *str, pa_json_object *obj, unsigned int depth) { in parse_object() [all …]
|
D | format.c | 241 pa_json_object *o; in pa_format_info_get_prop_type() 242 const pa_json_object *o1; in pa_format_info_get_prop_type() 311 pa_json_object *o; in pa_format_info_get_prop_int() 341 pa_json_object *o; in pa_format_info_get_prop_int_range() 342 const pa_json_object *o1; in pa_format_info_get_prop_int_range() 387 pa_json_object *o; in pa_format_info_get_prop_int_array() 388 const pa_json_object *o1; in pa_format_info_get_prop_int_array() 434 pa_json_object *o; in pa_format_info_get_prop_string() 464 pa_json_object *o; in pa_format_info_get_prop_string_array() 465 const pa_json_object *o1; in pa_format_info_get_prop_string_array() [all …]
|
/third_party/pulseaudio/src/tests/ |
D | json-test.c | 30 pa_json_object *o; in START_TEST() 54 pa_json_object *o; in START_TEST() 72 pa_json_object *o; in START_TEST() 94 pa_json_object *o; in START_TEST() 106 pa_json_object *o; in START_TEST() 127 pa_json_object *o; in START_TEST() 128 const pa_json_object *v; in START_TEST() 182 pa_json_object *o; in START_TEST() 183 const pa_json_object *v, *v2; in START_TEST() 251 pa_json_object *obj; in START_TEST()
|