Home
last modified time | relevance | path

Searched refs:wide_src (Results 1 – 1 of 1) sorted by relevance

/titanic_41/usr/src/cmd/ptools/pargs/
H A Dpargs.c210 wchar_t *wide_src, *wide_srcp; in unctrl_str() local
217 wide_srcp = wide_src = safe_zalloc(srcbufsz * sizeof (wchar_t)); in unctrl_str()
220 if ((srclen = mbstowcs(wide_src, src, srcbufsz - 1)) == (size_t)-1) { in unctrl_str()
230 free(wide_src); in unctrl_str()
236 wide_src[srclen] = L'\0'; in unctrl_str()
298 free(wide_src); in unctrl_str()
394 wchar_t *wide_src, *wide_srcp; in quote_string() local
407 wide_srcp = wide_src = safe_zalloc(srcbufsz * sizeof (wchar_t)); in quote_string()
409 if ((srclen = mbstowcs(wide_src, src, srcbufsz - 1)) == (size_t)-1) { in quote_string()
410 free(wide_src); in quote_string()
[all …]