Searched refs:mbs_v (Results 1 – 1 of 1) sorted by relevance
112 std::vector<char> mbs_v(mbs_length); in safe_wcstombs() local116 if ((err = wcstombs_s(NULL, &mbs_v[0], mbs_length, wcs.c_str(), in safe_wcstombs()121 if (wcstombs(&mbs_v[0], wcs.c_str(), wcs.length()) == (size_t)-1) { in safe_wcstombs()126 mbs_v[mbs_length - 1] = '\0'; in safe_wcstombs()129 *mbs = &mbs_v[0]; in safe_wcstombs()