Home
last modified time | relevance | path

Searched refs:ToUtf16 (Results 1 – 11 of 11) sorted by relevance

/external/webrtc/webrtc/base/
Dwin32filesystem.cc164 ToUtf16(filename.pathname()).c_str(), in CreatePrivateFile()
188 return ::DeleteFile(ToUtf16(filename.pathname()).c_str()) != 0; in DeleteFile()
195 return ::RemoveDirectory(ToUtf16(no_slash).c_str()) != 0; in DeleteEmptyFolder()
224 if (::GetTempFileName(ToUtf16(dir.pathname()).c_str(), in TempFilename()
225 ToUtf16(prefix).c_str(), 0, filename) != 0) in TempFilename()
239 return ::MoveFile(ToUtf16(old_path.pathname()).c_str(), in MoveFile()
240 ToUtf16(new_path.pathname()).c_str()) != 0; in MoveFile()
251 if (::MoveFile(ToUtf16(old_path.pathname()).c_str(), in MoveFolder()
252 ToUtf16(new_path.pathname()).c_str()) == 0) { in MoveFolder()
267 if (0 == ::GetFileAttributesEx(ToUtf16(path.pathname()).c_str(), in IsFolder()
[all …]
Ddiskcache_win32.cc34 std::wstring path16 = ToUtf16(folder_); in InitializeEntries()
61 std::wstring path16 = ToUtf16(folder_); in PurgeFiles()
79 DWORD result = ::GetFileAttributes(ToUtf16(filename).c_str()); in FileExists()
84 return ::DeleteFile(ToUtf16(filename).c_str()) != 0; in DeleteFile()
Dwin32.h49 inline std::wstring ToUtf16(const char* utf8, size_t len) { in ToUtf16() function
57 inline std::wstring ToUtf16(const std::string& str) { in ToUtf16() function
58 return ToUtf16(str.data(), str.length()); in ToUtf16()
Dwinfirewall.cc77 return QueryAuthorizedW(ToUtf16(filename).c_str(), authorized); in QueryAuthorized()
120 return AddApplicationW(ToUtf16(filename).c_str(), in AddApplication()
121 ToUtf16(friendly_name).c_str(), authorized, result); in AddApplication()
Dmacutils.h28 bool ToUtf16(const std::string& str8, CFStringRef* str16);
Dproxydetect.cc722 if (HINTERNET hWinHttp = pWHO(ToUtf16(agent).c_str(), in WinHttpAutoDetectProxyForUrl()
740 pWHGPFU, hWinHttp, ToUtf16(url).c_str(), &options, &info); in WinHttpAutoDetectProxyForUrl()
750 std::wstring autoconfig_url16((ToUtf16)(proxy->autoconfig_url)); in WinHttpAutoDetectProxyForUrl()
755 pWHGPFU, hWinHttp, ToUtf16(url).c_str(), &options, &info); in WinHttpAutoDetectProxyForUrl()
Dmacutils.cc38 bool ToUtf16(const std::string& str8, CFStringRef* str16) { in ToUtf16() function
Dfileutils.cc68 handle_ = ::FindFirstFile(ToUtf16(d).c_str(), &data_); in DirectoryIterator()
Dstream.cc340 file_ = _wfopen(wfilename.c_str(), ToUtf16(mode).c_str()); in Open()
362 file_ = _wfsopen(wfilename.c_str(), ToUtf16(mode).c_str(), shflag); in OpenShare()
/external/webrtc/webrtc/system_wrappers/include/
Dutf_util_win.h24 inline std::wstring ToUtf16(const char* utf8, size_t len) { in ToUtf16() function
33 inline std::wstring ToUtf16(const std::string& str) { in ToUtf16() function
34 return ToUtf16(str.data(), str.length()); in ToUtf16()
/external/webrtc/webrtc/test/testsupport/
Dfileutils.cc171 if (::GetTempFileName(ToUtf16(dir).c_str(), in TempFilename()
172 ToUtf16(prefix).c_str(), 0, filename) != 0) in TempFilename()