Searched refs:bytesneeded (Results 1 – 1 of 1) sorted by relevance
2535 int offset, bytesneeded, bytesleft, error_num; in rcmscript_snprintf() local2543 bytesneeded = SPRINTF_MIN_CHUNK_LEN; in rcmscript_snprintf()2548 if (bytesneeded > bytesleft) { in rcmscript_snprintf()2549 *buflen += RSCR_ROUNDUP(bytesneeded - bytesleft, in rcmscript_snprintf()2564 bytesneeded = vsnprintf(*curptr, bytesleft, format, ap); in rcmscript_snprintf()2567 if (bytesneeded < 0) { in rcmscript_snprintf()2575 } else if (bytesneeded < bytesleft) { in rcmscript_snprintf()2577 *curptr += bytesneeded; in rcmscript_snprintf()2581 bytesneeded++; /* to account for storage for '\0' */ in rcmscript_snprintf()