Home
last modified time | relevance | path

Searched refs:wpath (Results 1 – 7 of 7) sorted by relevance

/external/protobuf/src/google/protobuf/io/
Dio_win32.cc216 wstring wpath; in as_windows_path() local
217 if (!strings::utf8_to_wcs(path, &wpath)) { in as_windows_path()
220 if (has_longpath_prefix(wpath.c_str())) { in as_windows_path()
221 *result = wpath; in as_windows_path()
229 if (!is_path_absolute(wpath.c_str())) { in as_windows_path()
236 wpath = join_paths(wcwd.get(), wpath); in as_windows_path()
238 wpath = normalize(wpath); in as_windows_path()
239 if (!has_longpath_prefix(wpath.c_str())) { in as_windows_path()
244 wpath = wstring(L"\\\\?\\") + wpath; in as_windows_path()
246 *result = wpath; in as_windows_path()
[all …]
/external/python/cpython2/Tools/msi/
Dmsisupport.c25 WCHAR wpath[PSIZE]; in CheckDir() local
32 result = MsiGetPropertyW(hInstall, L"TARGETDIR", wpath, &size); in CheckDir()
35 wpath[size] = L'\0'; in CheckDir()
38 attributes = GetFileAttributesW(wpath); in CheckDir()
/external/flac/src/libFLAC/
Dwindows_unicode_filenames.c105 wchar_t *wpath; in flac_internal_stat64_utf8() local
108 if (!(wpath = wchar_from_utf8(path))) return -1; in flac_internal_stat64_utf8()
109 ret = _wstat64(wpath, buffer); in flac_internal_stat64_utf8()
110 free(wpath); in flac_internal_stat64_utf8()
/external/rust/crates/quiche/deps/boringssl/src/third_party/googletest/test/
Dgoogletest-filepath-test.cc56 LPCWSTR wpath = String::AnsiToUtf16(path); in remove() local
57 int ret = DeleteFile(wpath) ? 0 : -1; in remove()
58 delete [] wpath; in remove()
64 LPCWSTR wpath = String::AnsiToUtf16( in _rmdir() local
66 int ret = RemoveDirectory(wpath) ? 0 : -1; in _rmdir()
67 delete [] wpath; in _rmdir()
/external/googletest/googletest/test/
Dgoogletest-filepath-test.cc56 LPCWSTR wpath = String::AnsiToUtf16(path); in remove() local
57 int ret = DeleteFile(wpath) ? 0 : -1; in remove()
58 delete [] wpath; in remove()
64 LPCWSTR wpath = String::AnsiToUtf16( in _rmdir() local
66 int ret = RemoveDirectory(wpath) ? 0 : -1; in _rmdir()
67 delete [] wpath; in _rmdir()
/external/python/cpython3/Python/
Dfileutils.c1222 const wchar_t *wpath = _PyUnicode_AsUnicode(path); in _Py_stat() local
1224 wchar_t *wpath = PyUnicode_AsWideCharString(path, NULL); in _Py_stat() local
1226 if (wpath == NULL) in _Py_stat()
1229 err = _wstat(wpath, &wstatbuf); in _Py_stat()
1233 PyMem_Free(wpath); in _Py_stat()
1643 const wchar_t *wpath = _PyUnicode_AsUnicode(path); in _Py_fopen_obj() local
1645 wchar_t *wpath = PyUnicode_AsWideCharString(path, NULL); in _Py_fopen_obj() local
1647 if (wpath == NULL) in _Py_fopen_obj()
1655 PyMem_Free(wpath); in _Py_fopen_obj()
1662 f = _wfopen(wpath, wmode); in _Py_fopen_obj()
[all …]
/external/python/cpython2/Modules/
Dposixmodule.c1655 Py_UNICODE *wpath; in posix_do_stat() local
1656 if (PyArg_ParseTuple(args, wformat, &wpath)) { in posix_do_stat()
1658 res = wstatfunc(wpath, &st); in posix_do_stat()
1662 return win32_error_unicode("stat", wpath); in posix_do_stat()
1711 Py_UNICODE *wpath; in posix_access() local
1712 if (PyArg_ParseTuple(args, "ui:access", &wpath, &mode)) { in posix_access()
1714 attr = GetFileAttributesW(wpath); in posix_access()
1861 Py_UNICODE *wpath; in posix_chmod() local
1862 if (PyArg_ParseTuple(args, "ui|:chmod", &wpath, &i)) { in posix_chmod()
1864 attr = GetFileAttributesW(wpath); in posix_chmod()
[all …]