Home
last modified time | relevance | path

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

/system/core/adb/sysdeps/win32/
Dstat.cpp41 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/
Dsysdeps_win32.cpp348 std::wstring path_wide; in adb_open() local
349 if (!android::base::UTF8ToWide(path, &path_wide)) { in adb_open()
352 f->fh_handle = CreateFileW( path_wide.c_str(), desiredAccess, shareMode, in adb_open()
392 std::wstring path_wide; in adb_creat() local
393 if (!android::base::UTF8ToWide(path, &path_wide)) { in adb_creat()
396 f->fh_handle = CreateFileW( path_wide.c_str(), GENERIC_WRITE, in adb_creat()
2180 std::wstring path_wide; in unix_open() local
2181 if (!android::base::UTF8ToWide(path, &path_wide)) { in unix_open()
2185 return _wopen(path_wide.c_str(), options); in unix_open()
2192 return _wopen(path_wide.c_str(), options, mode); in unix_open()
[all …]