Searched refs:json_writer_t (Results 1 – 14 of 14) sorted by relevance
/external/iproute2/include/ |
D | json_writer.h | 22 typedef struct json_writer json_writer_t; typedef 25 json_writer_t *jsonw_new(FILE *f); 27 void jsonw_destroy(json_writer_t **self_p); 30 void jsonw_pretty(json_writer_t *self, bool on); 33 void jsonw_name(json_writer_t *self, const char *name); 36 void jsonw_printf(json_writer_t *self, const char *fmt, ...); 37 void jsonw_string(json_writer_t *self, const char *value); 38 void jsonw_bool(json_writer_t *self, bool value); 39 void jsonw_float(json_writer_t *self, double number); 40 void jsonw_float_fmt(json_writer_t *self, const char *fmt, double num); [all …]
|
D | json_print.h | 18 json_writer_t *get_json_writer(void);
|
/external/iproute2/lib/ |
D | json_writer.c | 33 static void jsonw_indent(json_writer_t *self) in jsonw_indent() 41 static void jsonw_eol(json_writer_t *self) in jsonw_eol() 51 static void jsonw_eor(json_writer_t *self) in jsonw_eor() 61 static void jsonw_puts(json_writer_t *self, const char *str) in jsonw_puts() 97 json_writer_t *jsonw_new(FILE *f) in jsonw_new() 99 json_writer_t *self = malloc(sizeof(*self)); in jsonw_new() 110 void jsonw_destroy(json_writer_t **self_p) in jsonw_destroy() 112 json_writer_t *self = *self_p; in jsonw_destroy() 121 void jsonw_pretty(json_writer_t *self, bool on) in jsonw_pretty() 127 static void jsonw_begin(json_writer_t *self, int c) in jsonw_begin() [all …]
|
D | json_print.c | 18 static json_writer_t *_jw; 49 json_writer_t *get_json_writer(void) in get_json_writer()
|
/external/iproute2/rdma/ |
D | rdma.h | 50 json_writer_t *jw;
|
/external/iproute2/misc/ |
D | ifstat.c | 308 json_writer_t *jw = json_output ? jsonw_new(fp) : NULL; in dump_raw_db() 454 static void print_one_json(json_writer_t *jw, const struct ifstat_ent *n, in print_one_json() 518 json_writer_t *jw = json_output ? jsonw_new(fp) : NULL; in dump_kern_db() 549 json_writer_t *jw = json_output ? jsonw_new(fp) : NULL; in dump_incr_db()
|
D | nstat.c | 298 json_writer_t *jw = json_output ? jsonw_new(fp) : NULL; in dump_kern_db() 345 json_writer_t *jw = json_output ? jsonw_new(fp) : NULL; in dump_incr_db()
|
D | lnstat.c | 113 json_writer_t *jw = jsonw_new(of); in print_json()
|
/external/iproute2/ip/ |
D | iplink_bridge_slave.c | 96 json_writer_t *jw = get_json_writer(); in _print_timer()
|
D | iplink_bridge.c | 384 json_writer_t *jw = get_json_writer(); in _bridge_print_timer()
|
/external/iproute2/bridge/ |
D | vlan.c | 20 json_writer_t *jw_global;
|
D | mdb.c | 29 json_writer_t *jw_global;
|
D | fdb.c | 34 json_writer_t *jw_global;
|
/external/iproute2/devlink/ |
D | devlink.c | 210 json_writer_t *jw;
|