Home
last modified time | relevance | path

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

/third_party/protobuf/src/google/protobuf/io/
Dio_win32.cc220 wstring wpath; in as_windows_path() local
221 if (!strings::utf8_to_wcs(path, &wpath)) { in as_windows_path()
224 if (has_longpath_prefix(wpath.c_str())) { in as_windows_path()
225 *result = wpath; in as_windows_path()
233 if (!is_path_absolute(wpath.c_str())) { in as_windows_path()
240 wpath = join_paths(wcwd.get(), wpath); in as_windows_path()
242 wpath = normalize(wpath); in as_windows_path()
243 if (!has_longpath_prefix(wpath.c_str())) { in as_windows_path()
248 wpath = wstring(L"\\\\?\\") + wpath; in as_windows_path()
250 *result = wpath; in as_windows_path()
[all …]
/third_party/libsnd/src/
Dwindows.c36 static void copy_filename (SF_PRIVATE * psf, LPCWSTR wpath) ;
39 sf_wchar_open (LPCWSTR wpath, int mode, SF_INFO *sfinfo) in sf_wchar_open() argument
50 if (WideCharToMultiByte (CP_UTF8, 0, wpath, -1, utf8name, sizeof (utf8name), NULL, NULL) == 0) in sf_wchar_open()
55 copy_filename (psf, wpath) ; in sf_wchar_open()
66 copy_filename (SF_PRIVATE *psf, LPCWSTR wpath) in copy_filename() argument
70 wcsncpy (psf->file.path.wc, wpath, ARRAY_LEN (psf->file.path.wc)) ; in copy_filename()
72 if ((cwcptr = wcsrchr (wpath, '/')) || (cwcptr = wcsrchr (wpath, '\\'))) in copy_filename()
75 cwcptr = wpath ; in copy_filename()
81 wcsncpy (psf->file.dir.wc, wpath, ARRAY_LEN (psf->file.dir.wc)) ; in copy_filename()
/third_party/boost/libs/nowide/src/
Dstat.cpp33 const wstackstring wpath(path); in stat() local
34 return _wstat(wpath.get(), buffer); in stat()
39 const wstackstring wpath(path); in stat() local
40 return _wstat64(wpath.get(), buffer); in stat()
/third_party/glib/glib/
Dgdir.c91 wchar_t *wpath; in g_dir_open_with_errno() local
97 wpath = g_utf8_to_utf16 (path, -1, NULL, NULL, NULL); in g_dir_open_with_errno()
99 g_return_val_if_fail (wpath != NULL, NULL); in g_dir_open_with_errno()
101 dir.wdirp = _wopendir (wpath); in g_dir_open_with_errno()
103 g_free (wpath); in g_dir_open_with_errno()
Dgstdio.c1255 wchar_t *wpath = g_utf8_to_utf16 (path, -1, NULL, NULL, NULL); in g_chdir() local
1259 if (wpath == NULL) in g_chdir()
1265 retval = _wchdir (wpath); in g_chdir()
1268 g_free (wpath); in g_chdir()
/third_party/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()
/third_party/python/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 …]
/third_party/libsnd/include/
Dsndfile.hh92 SndfileHandle (LPCWSTR wpath, int mode = SFM_READ,
428 SndfileHandle::SndfileHandle (LPCWSTR wpath, int mode, int fmt, int chans, int srate) in SndfileHandle() argument
443 p->sf = sf_wchar_open (wpath, mode, &p->sfinfo) ; in SndfileHandle()
Dsndfile.h721 SNDFILE* sf_wchar_open (const wchar_t *wpath, int mode, SF_INFO *sfinfo);
Dsndfile.h.in767 SNDFILE* sf_wchar_open (LPCWSTR wpath, int mode, SF_INFO *sfinfo) ;
/third_party/boost/libs/filesystem/example/
Dmbcopy.cpp33 void copy_file( const fs::wpath & from, const user::mbpath & to ) in copy_file()
/third_party/boost/boost/property_tree/
Dptree_fwd.hpp107 typedef string_path<std::wstring, id_translator<std::wstring> > wpath; typedef
/third_party/glib/gio/
Dglocalfile.c837 wchar_t *wpath; in get_volume_for_path() local
840 wpath = g_utf8_to_utf16 (path, -1, NULL, NULL, NULL); in get_volume_for_path()
843 if (!GetVolumePathNameW (wpath, result, MAX_PATH)) in get_volume_for_path()
849 g_free (wpath); in get_volume_for_path()
861 g_free (wpath); in get_volume_for_path()
868 wchar_t *wpath; in find_mountpoint_for() local
871 wpath = get_volume_for_path (file); in find_mountpoint_for()
872 if (!wpath) in find_mountpoint_for()
875 utf8_path = g_utf16_to_utf8 (wpath, -1, NULL, NULL, NULL); in find_mountpoint_for()
877 g_free (wpath); in find_mountpoint_for()
/third_party/iowow/src/kv/
Diwal.c1037 char *wpath = malloc(sz + 4 /*-wal*/ + 1 /*\0*/); in iwal_create() local
1038 if (!wpath) { in iwal_create()
1042 memcpy(wpath, opts->path, sz); in iwal_create()
1043 memcpy(wpath + sz, "-wal", 4); in iwal_create()
1044 wpath[sz + 4] = '\0'; in iwal_create()
1047 wal->path = wpath; in iwal_create()
Diwkv.c3295 char *wpath = 0; in _iwkv_check_online_backup() local
3367 wpath = malloc(sp + 4 /*-wal*/ + 1 /*\0*/); in _iwkv_check_online_backup()
3368 if (!wpath) { in _iwkv_check_online_backup()
3372 memcpy(wpath, path, sp); in _iwkv_check_online_backup()
3373 memcpy(wpath + sp, "-wal", 4); in _iwkv_check_online_backup()
3374 wpath[sp + 4] = '\0'; in _iwkv_check_online_backup()
3376 iwlog_warn("Unpacking WAL from online backup into: %s", wpath); in _iwkv_check_online_backup()
3381 .path = wpath, in _iwkv_check_online_backup()
3422 free(wpath); in _iwkv_check_online_backup()
/third_party/boost/libs/filesystem/test/
Ddeprecated_test.cpp160 fs::initial_path<fs::wpath>(); in misc_test()
/third_party/boost/boost/filesystem/
Dpath.hpp674 typedef path wpath; typedef
/third_party/libsnd/docs/
Dapi.md67 SNDFILE* sf_wchar_open (LPCWSTR wpath, int mode, SF_INFO *sfinfo) ;
/third_party/boost/doc/html/
Ddoc_HTML.manifest2098 boost/property_tree/wpath.html