Home
last modified time | relevance | path

Searched refs:fullpath_w (Results 1 – 5 of 5) sorted by relevance

/dports/net-mgmt/seafile-client/seafile-7.0.9/lib/
H A Dutils.c310 wchar_t *fullpath_w = NULL; in win32_83_path_to_long_path() local
321 fullpath_w = g_new0 (wchar_t, wt_len + path_len + 6); in win32_83_path_to_long_path()
322 wcscpy (fullpath_w, L"\\\\?\\"); in win32_83_path_to_long_path()
323 wcscat (fullpath_w, worktree_w); in win32_83_path_to_long_path()
324 wcscat (fullpath_w, L"\\"); in win32_83_path_to_long_path()
325 wcsncat (fullpath_w, path, path_len); in win32_83_path_to_long_path()
329 DWORD n = GetLongPathNameW (fullpath_w, fullpath_long, SEAF_PATH_MAX); in win32_83_path_to_long_path()
332 fullpath = g_utf16_to_utf8 (fullpath_w, -1, NULL, NULL, NULL); in win32_83_path_to_long_path()
341 if (GetLongPathNameW (fullpath_w, fullpath_long, n) != (n - 1)) { in win32_83_path_to_long_path()
342 fullpath = g_utf16_to_utf8 (fullpath_w, -1, NULL, NULL, NULL); in win32_83_path_to_long_path()
[all …]
/dports/net-mgmt/seafile-server/seafile-server-8.0.7-server/lib/
H A Dutils.c325 wchar_t *fullpath_w = NULL; in win32_83_path_to_long_path() local
336 fullpath_w = g_new0 (wchar_t, wt_len + path_len + 6); in win32_83_path_to_long_path()
337 wcscpy (fullpath_w, L"\\\\?\\"); in win32_83_path_to_long_path()
338 wcscat (fullpath_w, worktree_w); in win32_83_path_to_long_path()
339 wcscat (fullpath_w, L"\\"); in win32_83_path_to_long_path()
340 wcsncat (fullpath_w, path, path_len); in win32_83_path_to_long_path()
344 DWORD n = GetLongPathNameW (fullpath_w, fullpath_long, SEAF_PATH_MAX); in win32_83_path_to_long_path()
347 fullpath = g_utf16_to_utf8 (fullpath_w, -1, NULL, NULL, NULL); in win32_83_path_to_long_path()
356 if (GetLongPathNameW (fullpath_w, fullpath_long, n) != (n - 1)) { in win32_83_path_to_long_path()
357 fullpath = g_utf16_to_utf8 (fullpath_w, -1, NULL, NULL, NULL); in win32_83_path_to_long_path()
[all …]
/dports/security/softether/v4.38-9760/src/Mayaqua/
H A DFileIO.c2066 wchar_t fullpath_w[MAX_SIZE]; in GetRelativePath() local
2075 StrToUni(fullpath_w, sizeof(fullpath_w), fullpath); in GetRelativePath()
2078 ret = GetRelativePathW(dst_w, sizeof(dst_w), fullpath_w, basepath_w); in GetRelativePath()
/dports/security/softether-devel/v4.36-9754/src/Mayaqua/
H A DFileIO.c2066 wchar_t fullpath_w[MAX_SIZE]; in GetRelativePath() local
2075 StrToUni(fullpath_w, sizeof(fullpath_w), fullpath); in GetRelativePath()
2078 ret = GetRelativePathW(dst_w, sizeof(dst_w), fullpath_w, basepath_w); in GetRelativePath()
/dports/net-mgmt/seafile-client/seafile-7.0.9/daemon/
H A Drepo-mgr.c3327 wchar_t *fullpath_w = NULL; in find_office_file_path() local
3332 fullpath_w = win32_long_path (fullpath); in find_office_file_path()
3337 if (traverse_directory_win32 (fullpath_w, find_office_file_cb, &data) < 0) { in find_office_file_path()
3348 g_free (fullpath_w); in find_office_file_path()