Home
last modified time | relevance | path

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

/freebsd/lib/libc/stdio/
H A Dvswscanf.c65 char *mbstr; in vswscanf_l() local
75 if ((mbstr = malloc(wcslen(str) * MB_CUR_MAX + 1)) == NULL) in vswscanf_l()
79 if ((mlen = wcsrtombs_l(mbstr, &strp, SIZE_T_MAX, &mbs, locale)) == (size_t)-1) { in vswscanf_l()
80 free(mbstr); in vswscanf_l()
84 f._bf._base = f._p = (unsigned char *)mbstr; in vswscanf_l()
88 free(mbstr); in vswscanf_l()
/freebsd/contrib/pkgconf/libpkgconf/
H A Dwin-dirent.h346 const char *mbstr, size_t count);
351 size_t *pReturnValue, char *mbstr, size_t sizeInBytes,
963 size_t sizeInWords, const char *mbstr, size_t count) in dirent_mbstowcs_s() argument
966 size_t n = mbstowcs(wcstr, mbstr, sizeInWords); in dirent_mbstowcs_s()
990 size_t *pReturnValue, char *mbstr, in dirent_wcstombs_s() argument
994 size_t n = wcstombs(mbstr, wcstr, sizeInBytes); in dirent_wcstombs_s()
995 if (mbstr && n >= count) in dirent_wcstombs_s()
999 if (mbstr && sizeInBytes) { in dirent_wcstombs_s()
1003 mbstr[n] = '\0'; in dirent_wcstombs_s()
/freebsd/contrib/bsddialog/lib/
H A Dformbox.c341 char mbch[MB_LEN_MAX], *mbstr; in alloc_wstomb() local
349 if ((mbstr = malloc(nbytes)) == NULL) in alloc_wstomb()
352 wcstombs(mbstr, wstr, nbytes); in alloc_wstomb()
354 return (mbstr); in alloc_wstomb()