Searched refs:path_utf8 (Results 1 – 2 of 2) sorted by relevance
70 std::string path_utf8; in mkstemp() local71 CHECK(android::base::WideToUTF8(path, &path_utf8)) << "path can't be converted to utf8"; in mkstemp()72 CHECK(strcpy_s(name_template, size_in_chars, path_utf8.c_str()) == 0) in mkstemp()91 std::string path_utf8; in mkdtemp() local92 CHECK(android::base::WideToUTF8(path, &path_utf8)) << "path can't be converted to utf8"; in mkdtemp()93 CHECK(strcpy_s(name_template, size_in_chars, path_utf8.c_str()) == 0) in mkdtemp()
56 // if (!android::base::UTF8ToWide(path_utf8, &path_wide)) { /* error handling */ }