Home
last modified time | relevance | path

Searched refs:cJSON (Results 1 – 7 of 7) sorted by relevance

/external/iperf3/src/
Dcjson.h58 typedef struct cJSON struct
61 struct cJSON *next; argument
62 struct cJSON *prev; argument
64 struct cJSON *child; argument
78 } cJSON; argument
145 CJSON_PUBLIC(cJSON *) cJSON_Parse(const char *value);
147 CJSON_PUBLIC(char *) cJSON_Print(const cJSON *item);
149 CJSON_PUBLIC(char *) cJSON_PrintUnformatted(const cJSON *item);
151 CJSON_PUBLIC(char *) cJSON_PrintBuffered(const cJSON *item, int prebuffer, cJSON_bool fmt);
154 CJSON_PUBLIC(cJSON_bool) cJSON_PrintPreallocated(cJSON *item, char *buffer, const int length, const…
[all …]
Dcjson.c73 #error cJSON.h and cJSON.c have different versions. Make sure that both have the same.
169 static cJSON *cJSON_New_Item(const internal_hooks * const hooks) in cJSON_New_Item()
171 cJSON* node = (cJSON*)hooks->allocate(sizeof(cJSON)); in cJSON_New_Item()
174 memset(node, '\0', sizeof(cJSON)); in cJSON_New_Item()
181 CJSON_PUBLIC(void) cJSON_Delete(cJSON *item) in cJSON_Delete()
183 cJSON *next = NULL; in cJSON_Delete()
230 static cJSON_bool parse_number(cJSON * const item, parse_buffer * const input_buffer) in parse_number()
307 CJSON_PUBLIC(double) cJSON_SetNumberHelper(cJSON *object, double number) in cJSON_SetNumberHelper()
430 static cJSON_bool print_number(const cJSON * const item, printbuffer * const output_buffer) in print_number()
654 static cJSON_bool parse_string(cJSON * const item, parse_buffer * const input_buffer) in parse_string()
[all …]
Diperf.h345 cJSON *json_top;
346 cJSON *json_start;
347 cJSON *json_connected;
348 cJSON *json_intervals;
349 cJSON *json_end;
353 cJSON *json_server_output;
Diperf_api.c97 static int JSON_write(int fd, cJSON *json);
98 static void print_interval_results(struct iperf_test *test, struct iperf_stream *sp, cJSON *json_in…
99 static cJSON *JSON_read(int fd);
1615 cJSON *j; in send_parameters()
1700 cJSON *j; in get_parameters()
1701 cJSON *j_p; in get_parameters()
1785 cJSON *j; in send_results()
1786 cJSON *j_streams; in send_results()
1788 cJSON *j_stream; in send_results()
1890 cJSON *j; in get_results()
[all …]
Diperf_util.c346 cJSON*
349 cJSON* o; in iperf_json_printf()
354 cJSON* j; in iperf_json_printf()
Diperf_util.h55 cJSON* iperf_json_printf(const char *format, ...);
/external/iperf3/
DRELEASE_NOTES194 * cJSON has been updated to 1.5.2 (#573), bringing in a number of
292 * Fixed a buffer overflow in the cJSON library (issue #466). It is
310 exploit. This issue, present in the cJSON library, was already
312 version of cJSON (plus local ESnet modifications). Discovered and