• Home
  • Raw
  • Download

Lines Matching refs:j_stream

2025     cJSON *j_stream;  in send_results()  local
2084 j_stream = cJSON_CreateObject(); in send_results()
2085 if (j_stream == NULL) { in send_results()
2089 cJSON_AddItemToArray(j_streams, j_stream); in send_results()
2092 cJSON_AddNumberToObject(j_stream, "id", sp->id); in send_results()
2093 cJSON_AddNumberToObject(j_stream, "bytes", bytes_transferred); in send_results()
2094 cJSON_AddNumberToObject(j_stream, "retransmits", retransmits); in send_results()
2095 cJSON_AddNumberToObject(j_stream, "jitter", sp->jitter); in send_results()
2096 cJSON_AddNumberToObject(j_stream, "errors", sp->cnt_error); in send_results()
2097 cJSON_AddNumberToObject(j_stream, "packets", sp->packet_count); in send_results()
2103 cJSON_AddNumberToObject(j_stream, "start_time", start_time); in send_results()
2104 cJSON_AddNumberToObject(j_stream, "end_time", end_time); in send_results()
2138 cJSON *j_stream; in get_results() local
2190 j_stream = cJSON_GetArrayItem(j_streams, i); in get_results()
2191 if (j_stream == NULL) { in get_results()
2195 j_id = cJSON_GetObjectItem(j_stream, "id"); in get_results()
2196 j_bytes = cJSON_GetObjectItem(j_stream, "bytes"); in get_results()
2197 j_retransmits = cJSON_GetObjectItem(j_stream, "retransmits"); in get_results()
2198 j_jitter = cJSON_GetObjectItem(j_stream, "jitter"); in get_results()
2199 j_errors = cJSON_GetObjectItem(j_stream, "errors"); in get_results()
2200 j_packets = cJSON_GetObjectItem(j_stream, "packets"); in get_results()
2201 j_start_time = cJSON_GetObjectItem(j_stream, "start_time"); in get_results()
2202 j_end_time = cJSON_GetObjectItem(j_stream, "end_time"); in get_results()