Lines Matching refs:ret_len
187 * If ret_len is < 0, jump to the trunc tag which returns (-1)
188 * and 'bubbles up' to printing tstr. Otherwise, return ret_len.
195 * If ret_len is < 0, jump to the trunc tag which returns (-1)
215 int ret_len = 0, length_cur = length;
231 ret_len = resp_parse(ndo, bp, length_cur);
232 TEST_RET_LEN_NORETURN(ret_len);
233 bp += ret_len;
234 length_cur -= ret_len;
247 int ret_len;
255 case RESP_SIMPLE_STRING: ret_len = resp_print_simple_string(ndo, bp, length); break;
256 case RESP_INTEGER: ret_len = resp_print_integer(ndo, bp, length); break;
257 case RESP_ERROR: ret_len = resp_print_error(ndo, bp, length); break;
258 case RESP_BULK_STRING: ret_len = resp_print_bulk_string(ndo, bp, length); break;
259 case RESP_ARRAY: ret_len = resp_print_bulk_array(ndo, bp, length); break;
260 default: ret_len = resp_print_inline(ndo, bp, length); break;
268 TEST_RET_LEN(ret_len);
291 int length_cur = length, len, ret_len;
316 ret_len = 1 /*<opcode>*/ + len /*<string>*/ + 2 /*<CRLF>*/;
318 TEST_RET_LEN(ret_len);
373 int array_len, i, ret_len;
384 ret_len = resp_parse(ndo, bp, length_cur);
386 TEST_RET_LEN_NORETURN(ret_len);
388 bp += ret_len;
389 length_cur -= ret_len;