Lines Matching refs:cur
68 int32_t* cur = &(*out)[ofs]; in encode() local
69 cur[STATS_SUCCESSES] = successes; in encode()
70 cur[STATS_ERRORS] = errors; in encode()
71 cur[STATS_TIMEOUTS] = timeouts; in encode()
72 cur[STATS_INTERNAL_ERRORS] = internal_errors; in encode()
73 cur[STATS_RTT_AVG] = rtt_avg; in encode()
74 cur[STATS_LAST_SAMPLE_TIME] = last_sample_time; in encode()
75 cur[STATS_USABLE] = usable; in encode()
83 const int32_t* cur = &in[ofs]; in decode() local
84 successes = cur[STATS_SUCCESSES]; in decode()
85 errors = cur[STATS_ERRORS]; in decode()
86 timeouts = cur[STATS_TIMEOUTS]; in decode()
87 internal_errors = cur[STATS_INTERNAL_ERRORS]; in decode()
88 rtt_avg = cur[STATS_RTT_AVG]; in decode()
89 last_sample_time = cur[STATS_LAST_SAMPLE_TIME]; in decode()
90 usable = cur[STATS_USABLE]; in decode()