Searched refs:ToUtf16 (Results 1 – 11 of 11) sorted by relevance
/external/webrtc/webrtc/base/ |
D | win32filesystem.cc | 164 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 …]
|
D | diskcache_win32.cc | 34 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()
|
D | win32.h | 49 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()
|
D | winfirewall.cc | 77 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()
|
D | macutils.h | 28 bool ToUtf16(const std::string& str8, CFStringRef* str16);
|
D | proxydetect.cc | 722 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()
|
D | macutils.cc | 38 bool ToUtf16(const std::string& str8, CFStringRef* str16) { in ToUtf16() function
|
D | fileutils.cc | 68 handle_ = ::FindFirstFile(ToUtf16(d).c_str(), &data_); in DirectoryIterator()
|
D | stream.cc | 340 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/ |
D | utf_util_win.h | 24 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/ |
D | fileutils.cc | 171 if (::GetTempFileName(ToUtf16(dir).c_str(), in TempFilename() 172 ToUtf16(prefix).c_str(), 0, filename) != 0) in TempFilename()
|