Lines Matching refs:path_wide

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()
2488 std::wstring path_wide; in unix_open() local
2489 if (!android::base::UTF8ToWide(path.data(), path.size(), &path_wide)) { in unix_open()
2493 return _wopen(path_wide.c_str(), options); in unix_open()
2500 return _wopen(path_wide.c_str(), options, mode); in unix_open()
2506 std::wstring path_wide; in adb_opendir() local
2507 if (!android::base::UTF8ToWide(path, &path_wide)) { in adb_opendir()
2514 return reinterpret_cast<DIR*>(_wopendir(path_wide.c_str())); in adb_opendir()
2580 std::wstring path_wide; in adb_mkdir() local
2581 if (!android::base::UTF8ToWide(path, &path_wide)) { in adb_mkdir()
2585 return _wmkdir(path_wide.c_str()); in adb_mkdir()
2604 std::wstring path_wide; in adb_utime() local
2605 if (!android::base::UTF8ToWide(path, &path_wide)) { in adb_utime()
2612 return _wutime(path_wide.c_str(), reinterpret_cast<struct _utimbuf*>(u)); in adb_utime()
2617 std::wstring path_wide; in adb_chmod() local
2618 if (!android::base::UTF8ToWide(path, &path_wide)) { in adb_chmod()
2622 return _wchmod(path_wide.c_str(), mode); in adb_chmod()
2881 std::wstring path_wide; in adb_fopen() local
2882 if (!android::base::UTF8ToWide(path, &path_wide)) { in adb_fopen()
2891 return _wfopen(path_wide.c_str(), mode_wide.c_str()); in adb_fopen()