Lines Matching refs:total
633 ptrdiff_t total = 0; in get_elem_size() local
638 total += get_elem_size(&descr->object.sub_descr[i]); in get_elem_size()
645 return ROUND_UP(total, 1 << align_shift); in get_elem_size()
1257 ssize_t *total = data; in measure_bytes() local
1259 *total += (ssize_t)len; in measure_bytes()
1269 ssize_t total = 0; in json_calc_encoded_len() local
1272 ret = json_obj_encode(descr, descr_len, val, measure_bytes, &total); in json_calc_encoded_len()
1277 return total; in json_calc_encoded_len()
1283 ssize_t total = 0; in json_calc_encoded_arr_len() local
1286 ret = json_arr_encode(descr, val, measure_bytes, &total); in json_calc_encoded_arr_len()
1291 return total; in json_calc_encoded_arr_len()