Lines Matching defs:srcbufsz
213 size_t srcbufsz = strlen(src) + 1;
214 size_t destbufsz = srcbufsz * 4;
217 wide_srcp = wide_src = safe_zalloc(srcbufsz * sizeof (wchar_t));
220 if ((srclen = mbstowcs(wide_src, src, srcbufsz - 1)) == (size_t)-1) {
235 if (srclen == (srcbufsz - 1)) {
397 size_t srcbufsz = strlen(src) + 1;
407 wide_srcp = wide_src = safe_zalloc(srcbufsz * sizeof (wchar_t));
409 if ((srclen = mbstowcs(wide_src, src, srcbufsz - 1)) == (size_t)-1) {
414 if (srclen == srcbufsz - 1)
433 destbufsz = srcbufsz + 3 + 4 * quote_count;