Searched refs:wcwd (Results 1 - 2 of 2) sorted by relevance

/netbsd-current/external/bsd/libarchive/dist/libarchive/test/
H A Dtest_read_disk_directory_traversals.c92 wchar_t *wcwd, *wp, *fullpath; local
435 wcwd = _wgetcwd(NULL, 0);
436 fullpath = malloc(sizeof(wchar_t) * (wcslen(wcwd) + 32));
438 wcscat(fullpath, wcwd);
440 free(wcwd);
442 while ((wcwd = wcschr(fullpath, L'\\')) != NULL)
443 *wcwd = L'/';
467 wcwd = _wgetcwd(NULL, 0);
468 fullpath = malloc(sizeof(wchar_t) * (wcslen(wcwd) + 32));
470 wcscat(fullpath, wcwd);
[all...]
/netbsd-current/external/gpl3/gdb.old/dist/gdbserver/
H A Dwin32-low.cc619 wchar_t *p, *wprogram, *wargs, *wcwd = NULL; local
638 wcwd = alloca ((expanded_infcwd.size () + 1) * sizeof (wchar_t));
639 if (mbstowcs (wcwd, expanded_infcwd.c_str (),
654 wcwd, /* current directory */

Completed in 202 milliseconds