Home | History | Annotate | Download | only in Windows

Lines Matching full:path_utf16

200   SmallVector<wchar_t, 128> path_utf16;
203 path_utf16))
206 if (!::CreateDirectoryW(path_utf16.begin(), NULL)) {
262 SmallVector<wchar_t, 128> path_utf16;
269 path_utf16))
273 if (!::RemoveDirectoryW(c_str(path_utf16))) {
281 if (!::DeleteFileW(c_str(path_utf16))) {
325 SmallVector<wchar_t, 128> path_utf16;
328 path_utf16))
331 int fd = ::_wopen(path_utf16.begin(), O_BINARY, S_IREAD | S_IWRITE);
345 SmallVector<wchar_t, 128> path_utf16;
348 path_utf16))
351 DWORD attributes = ::GetFileAttributesW(path_utf16.begin());
386 SmallVector<wchar_t, 128> path_utf16;
389 path_utf16))
393 if (!::GetFileAttributesExW(path_utf16.begin(),
430 SmallVector<wchar_t, 128> path_utf16;
438 if (error_code ec = UTF8ToUTF16(path8, path_utf16))
441 DWORD attr = ::GetFileAttributesW(path_utf16.begin());
448 ::CreateFileW(path_utf16.begin(),
464 ::CreateFileW(path_utf16.begin(),
512 SmallVector<wchar_t, 128> path_utf16;
515 path_utf16))
518 DWORD attributes = ::GetFileAttributesW(path_utf16.begin());
530 if ( ! ::SetFileAttributesW(path_utf16.begin(), attributes))
669 SmallVector<wchar_t, 128> path_utf16;
674 path_utf16))
678 HANDLE file = ::CreateFileW(c_str(path_utf16),
794 SmallVector<wchar_t, 128> path_utf16;
797 if (ec = UTF8ToUTF16(path.toStringRef(path_storage), path_utf16))
801 FileHandle = ::CreateFileW(c_str(path_utf16),
907 SmallVector<wchar_t, 128> path_utf16;
910 path_utf16))
914 if (path_utf16.size() > 0 &&
915 !is_separator(path_utf16[path.size() - 1]) &&
916 path_utf16[path.size() - 1] != L':') {
917 path_utf16.push_back(L'\\');
918 path_utf16.push_back(L'*');
920 path_utf16.push_back(L'*');
925 ScopedFindHandle FindHandle(::FindFirstFileW(c_str(path_utf16), &FirstFind));