Searched defs:srcbufsz (Results 1 - 1 of 1) sorted by relevance

/illumos-gate/usr/src/cmd/ptools/pargs/
H A Dpargs.c213 size_t srcbufsz = strlen(src) + 1; local
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; local
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
[all...]

Completed in 83 milliseconds