Home
last modified time | relevance | path

Searched refs:cJSON_AddItemToObject (Results 1 – 6 of 6) sorted by relevance

/external/iperf3/src/
Dcjson.h201 CJSON_PUBLIC(void) cJSON_AddItemToObject(cJSON *object, const char *string, cJSON *item);
243 #define cJSON_AddNullToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateNull())
244 #define cJSON_AddTrueToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateTrue())
245 #define cJSON_AddFalseToObject(object,name) cJSON_AddItemToObject(object, name, cJSON_CreateFalse())
246 #define cJSON_AddBoolToObject(object,name,b) cJSON_AddItemToObject(object, name, cJSON_CreateBool(b…
247 #define cJSON_AddNumberToObject(object,name,n) cJSON_AddItemToObject(object, name, cJSON_CreateNumb…
248 #define cJSON_AddStringToObject(object,name,s) cJSON_AddItemToObject(object, name, cJSON_CreateStri…
249 #define cJSON_AddRawToObject(object,name,s) cJSON_AddItemToObject(object, name, cJSON_CreateRaw(s))
Diperf_api.c630cJSON_AddItemToObject(test->json_start, "test_start", iperf_json_printf("protocol: %s num_streams… in iperf_on_test_start()
677cJSON_AddItemToObject(test->json_start, "timestamp", iperf_json_printf("time: %s timesecs: %d", n… in iperf_on_connect()
683cJSON_AddItemToObject(test->json_start, "connecting_to", iperf_json_printf("host: %s port: %d", t… in iperf_on_connect()
703cJSON_AddItemToObject(test->json_start, "accepted_connection", iperf_json_printf("host: %s port: … in iperf_on_connect()
1845 cJSON_AddItemToObject(j, "streams", j_streams); in send_results()
2724 cJSON_AddItemToObject(json_interval, "streams", json_interval_streams); in iperf_print_intermediate()
2819cJSON_AddItemToObject(json_interval, "sum", iperf_json_printf("start: %f end: %f seconds: %f by… in iperf_print_intermediate()
2825cJSON_AddItemToObject(json_interval, "sum", iperf_json_printf("start: %f end: %f seconds: %f by… in iperf_print_intermediate()
2833cJSON_AddItemToObject(json_interval, "sum", iperf_json_printf("start: %f end: %f seconds: %f by… in iperf_print_intermediate()
2845cJSON_AddItemToObject(json_interval, "sum", iperf_json_printf("start: %f end: %f seconds: %f by… in iperf_print_intermediate()
[all …]
Diperf_client_api.c466 cJSON_AddItemToObject(test->json_start, "version", cJSON_CreateString(version)); in iperf_run_client()
467 cJSON_AddItemToObject(test->json_start, "system_info", cJSON_CreateString(get_system_info())); in iperf_run_client()
Diperf_server_api.c410 cJSON_AddItemToObject(test->json_start, "version", cJSON_CreateString(version)); in iperf_run_server()
411 cJSON_AddItemToObject(test->json_start, "system_info", cJSON_CreateString(get_system_info())); in iperf_run_server()
Diperf_util.c391 cJSON_AddItemToObject(o, name, j); in iperf_json_printf()
Dcjson.c1801 CJSON_PUBLIC(void) cJSON_AddItemToObject(cJSON *object, const char *string, cJSON *item) in cJSON_AddItemToObject() function
1842 cJSON_AddItemToObject(object, string, create_reference(item, &global_hooks)); in cJSON_AddItemReferenceToObject()