Lines Matching refs:c_len
276 size_t len, c_len = 0;
335 // parsing of the first c_len length by allowing the do while loop to fall
336 // through on the first iteration and parse the first c_len size.
345 // c_len is the size of the remaining bytes in the current chunk
348 if (c_len > 0) { // We have an incomplete c_len to write
349 if (len <= c_len) { // Buffer is less than the c_len so full write
351 c_len = c_len - len;
353 } else { // Buffer is larger than the c_len so partial write
354 xwrite(fd, toybuf, c_len);
355 len = len - c_len;
356 memmove(toybuf, toybuf + c_len, len);
357 c_len = 0;
363 if ((c_len == 0) && (len > 2)) {
371 c_len = strtol(toybuf + 2, NULL, 16);
372 if (c_len == 0) goto exit; // A c_len of zero means we are complete