Home
last modified time | relevance | path

Searched refs:wpath (Results 1 – 10 of 10) 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/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/iowow/src/kv/
Diwal.c1066 char *wpath = malloc(sz + 4 /*-wal*/ + 1 /*\0*/); in iwal_create() local
1067 if (!wpath) { in iwal_create()
1071 memcpy(wpath, opts->path, sz); in iwal_create()
1072 memcpy(wpath + sz, "-wal", 4); in iwal_create()
1073 wpath[sz + 4] = '\0'; in iwal_create()
1076 wal->path = wpath; in iwal_create()
Diwkv.c2944 char *wpath = 0; in _iwkv_check_online_backup() local
3016 wpath = malloc(sp + 4 /*-wal*/ + 1 /*\0*/); in _iwkv_check_online_backup()
3017 if (!wpath) { in _iwkv_check_online_backup()
3021 memcpy(wpath, path, sp); in _iwkv_check_online_backup()
3022 memcpy(wpath + sp, "-wal", 4); in _iwkv_check_online_backup()
3023 wpath[sp + 4] = '\0'; in _iwkv_check_online_backup()
3025 iwlog_warn("Unpacking WAL from online backup into: %s", wpath); in _iwkv_check_online_backup()
3030 .path = wpath, in _iwkv_check_online_backup()
3071 free(wpath); in _iwkv_check_online_backup()
/third_party/libsnd/docs/
Dapi.md67 SNDFILE* sf_wchar_open (LPCWSTR wpath, int mode, SF_INFO *sfinfo) ;