Searched refs:path_wide (Results 1 – 3 of 3) sorted by relevance
/system/core/adb/sysdeps/win32/ |
D | stat.cpp | 41 std::wstring path_wide; in adb_stat() local 42 if (!android::base::UTF8ToWide(path, &path_wide)) { in adb_stat() 50 while (*path_wide.rbegin() == u'/' || *path_wide.rbegin() == u'\\') { in adb_stat() 51 path_wide.pop_back(); in adb_stat() 56 int result = wstat(path_wide.c_str(), &st); in adb_stat()
|
/system/core/adb/ |
D | sysdeps_win32.cpp | 372 std::wstring path_wide; in adb_open() local 373 if (!android::base::UTF8ToWide(path, &path_wide)) { in adb_open() 377 … CreateFileW(path_wide.c_str(), desiredAccess, shareMode, nullptr, OPEN_EXISTING, 0, nullptr); in adb_open() 415 std::wstring path_wide; in adb_creat() local 416 if (!android::base::UTF8ToWide(path, &path_wide)) { in adb_creat() 419 f->fh_handle = CreateFileW(path_wide.c_str(), GENERIC_WRITE, FILE_SHARE_READ | FILE_SHARE_WRITE, in adb_creat() 2295 std::wstring path_wide; in unix_open() local 2296 if (!android::base::UTF8ToWide(path.data(), path.size(), &path_wide)) { in unix_open() 2300 return _wopen(path_wide.c_str(), options); in unix_open() 2307 return _wopen(path_wide.c_str(), options, mode); in unix_open() [all …]
|
D | Android.bp | 55 // std::wstring path_wide; 56 // if (!android::base::UTF8ToWide(path_utf8, &path_wide)) { /* error handling */ } 57 // CreateFileW(path_wide.c_str());
|