Home
last modified time | relevance | path

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

/reactos/modules/rostests/winetests/version/
H A Dinstall.c35 char curdir[MAX_PATH]; in test_find_file() local
48 memset(curdir, 0, MAX_PATH); in test_find_file()
54 "got %d(%s) expected 1\n", dwCur, curdir); in test_find_file()
60 "got %d(%s) expected MAX_PATH\n", dwCur, curdir); in test_find_file()
77 memset(curdir, 0, MAX_PATH); in test_find_file()
89 "got %d(%s) expected MAX_PATH\n", dwCur, curdir); in test_find_file()
99 memset(curdir, 0, MAX_PATH); in test_find_file()
111 "got %d(%s) expected MAX_PATH\n", dwCur, curdir); in test_find_file()
136 memset(curdir, 0, MAX_PATH); in test_find_file()
154 memset(curdir, 0, MAX_PATH); in test_find_file()
[all …]
/reactos/modules/rostests/winetests/kernel32/
H A Dpath.c140 sprintf(fullpath,"%s\\%s",curdir,subpath); in test_ValidPathA()
564 sprintf(tmpstr,"%s\\%s",curdir,SHORTDIR); in test_CleanupPathA()
566 sprintf(tmpstr,"%s\\%s",curdir,LONGDIR); in test_CleanupPathA()
809 sprintf(tmpstr,"%c:",curdir[0]); in test_PathNameA()
816 curdir[0],tmpstr2,tmpstr,tmpstr1); in test_PathNameA()
1136 WCHAR curdir[MAX_PATH]; in test_GetTempPath() local
1169 GetCurrentDirectoryW(MAX_PATH, curdir); in test_GetTempPath()
1183 SetCurrentDirectoryW(curdir); in test_GetTempPath()
2178 WCHAR curdir[MAX_PATH]; in test_relative_path() local
2250 SetCurrentDirectoryW(curdir); in test_relative_path()
[all …]
H A Ddirectory.c182 WCHAR curdir[MAX_PATH]; in test_CreateDirectoryA() local
198 GetCurrentDirectoryW(MAX_PATH, curdir); in test_CreateDirectoryA()
356 SetCurrentDirectoryW(curdir); in test_CreateDirectoryA()
369 WCHAR curdir[MAX_PATH]; in test_CreateDirectoryW() local
387 GetCurrentDirectoryW(MAX_PATH, curdir); in test_CreateDirectoryW()
444 SetCurrentDirectoryW(curdir); in test_CreateDirectoryW()
449 char curdir[MAX_PATH]; in test_RemoveDirectoryA() local
458 GetCurrentDirectoryA(MAX_PATH, curdir); in test_RemoveDirectoryA()
469 SetCurrentDirectoryA(curdir); in test_RemoveDirectoryA()
490 WCHAR curdir[MAX_PATH]; in test_RemoveDirectoryW() local
[all …]
H A Dfile.c1214 WCHAR curdir[MAX_PATH]; in test_CreateFileA() local
1279 GetCurrentDirectoryW( MAX_PATH, curdir); in test_CreateFileA()
1334 SetCurrentDirectoryW(curdir); in test_CreateFileA()
/reactos/modules/rosapps/applications/net/ncftp/libncftp/
H A Dglob.c176 const char *const curdir, in UnDosLine() argument
340 (void) Strncpy(fname, curdir, fnamesize); in UnDosLine()
354 const char *const curdir, in UnLslRLine() argument
488 (void) Strncpy(fname, curdir, fnamesize); in UnLslRLine()
563 char curdir[256]; in UnLslR() local
593 curdir[0] = '\0'; in UnLslR()
623 (void) memcpy(curdir, line + 2, (size_t) len + 1 - 2); in UnLslR()
627 (void) memcpy(curdir, line + 2, (size_t) len + 1 - 2); in UnLslR()
631 (void) memcpy(curdir, line, (size_t) len + 1); in UnLslR()
638 …rc = UnLslRLine(line, curdir, curdirlen, fname, sizeof(fname), linkto, sizeof(linkto), &ftype, &fs… in UnLslR()
[all …]
/reactos/dll/win32/version/
H A Dversion.c1449 LPCSTR destdir,LPCSTR curdir,LPSTR tmpfile,PUINT tmpfilelen ) in VerInstallFileA() argument
1461 debugstr_a(srcdir),debugstr_a(destdir),debugstr_a(curdir), in VerInstallFileA()
1592 curdir && in VerInstallFileA()
1593 *curdir && in VerInstallFileA()
1594 lstrcmpiA(curdir,pdest) in VerInstallFileA()
1598 sprintf(curfn,"%s\\%s",curdir,destfilename); in VerInstallFileA()
1620 LPCWSTR destdir,LPCWSTR curdir,LPWSTR tmpfile,PUINT tmpfilelen ) in VerInstallFileW() argument
1658 if (curdir && !ret) in VerInstallFileW()
1660 len = WideCharToMultiByte( CP_ACP, 0, curdir, -1, NULL, 0, NULL, NULL ); in VerInstallFileW()
1662 WideCharToMultiByte( CP_ACP, 0, curdir, -1, wcurd, len, NULL, NULL ); in VerInstallFileW()
/reactos/modules/rostests/winetests/comdlg32/
H A Dfiledlg.c629 char curdir[MAX_PATH]; in test_ok() local
634 cdret = GetCurrentDirectoryA(sizeof(curdir), curdir); in test_ok()
656 cdret = SetCurrentDirectoryA(curdir); in test_ok()
1058 char curdir[MAX_PATH]; in test_extension() local
1077 boolret = GetCurrentDirectoryA(sizeof(curdir), curdir); in test_extension()
1084 ofn.lpstrInitialDir = curdir; in test_extension()
/reactos/base/applications/cmdutils/xcopy/
H A Dxcopy.c989 WCHAR curdir[MAXSTRING]; in XCOPY_ProcessSourceParm() local
990 GetCurrentDirectoryW(ARRAY_SIZE(curdir), curdir); in XCOPY_ProcessSourceParm()
991 stem[0] = curdir[0]; in XCOPY_ProcessSourceParm()
992 stem[1] = curdir[1]; in XCOPY_ProcessSourceParm()
/reactos/dll/win32/shell32/
H A Dshlfileop.cpp1448 WCHAR curdir[MAX_PATH+1]; in copy_files() local
1450 GetCurrentDirectoryW(MAX_PATH, curdir); in copy_files()
1451 curdir[lstrlenW(curdir)+1] = 0; in copy_files()
1455 parse_file_list(flTo, curdir); in copy_files()
H A Dshlexec.cpp487 WCHAR curdir[MAX_PATH]; in SHELL_ExecuteW() local
505 if ((gcdret = GetCurrentDirectoryW( MAX_PATH, curdir))) in SHELL_ExecuteW()
550 if (!SetCurrentDirectoryW(curdir)) in SHELL_ExecuteW()
551 ERR("cannot return to directory %s\n", debugstr_w(curdir)); in SHELL_ExecuteW()
/reactos/modules/rostests/winetests/shell32/
H A Dshlexec.c2810 char path[MAX_PATH], curdir[MAX_PATH]; in test_directory() local
2820 GetCurrentDirectoryA(sizeof(curdir), curdir); in test_directory()
2828 SetCurrentDirectoryA(curdir); in test_directory()
2855 sprintf(dirpath, "%s:%s", curdir, tmpdir); in test_directory()
/reactos/modules/rostests/winetests/urlmon/
H A Durl.c3722 char buf[6500], curdir[MAX_PATH]; in create_cache_file() local
3736 memset(curdir, 0, sizeof(curdir)); in create_cache_file()
3737 GetCurrentDirectoryA(MAX_PATH, curdir); in create_cache_file()
3738 lstrcatA(curdir, "\\"); in create_cache_file()
3739 lstrcatA(curdir, test_txtA); in create_cache_file()
3741 MultiByteToWideChar(CP_ACP, 0, curdir, -1, cache_file_name, MAX_PATH); in create_cache_file()
/reactos/modules/rostests/winetests/winmm/
H A Dmci.c1438 char curdir[MAX_PATH], tmpdir[MAX_PATH]; in START_TEST() local
1442 GetCurrentDirectoryA(MAX_PATH, curdir); in START_TEST()
1466 SetCurrentDirectoryA(curdir); in START_TEST()
/reactos/modules/rostests/winetests/user32/
H A Dlistbox.c907 char path[MAX_PATH], curdir[MAX_PATH]; in test_listbox_LB_DIR() local
922 GetCurrentDirectoryA(ARRAY_SIZE(curdir), curdir); in test_listbox_LB_DIR()
1351 SetCurrentDirectoryA(curdir); in test_listbox_LB_DIR()
/reactos/sdk/include/reactos/wine/
H A Dwinbase16.h95 CHAR curdir[65]; /* 67 Current directory */ member
H A Dwinternl.h3075 CURDIR curdir; /* current directory */ member
/reactos/modules/rostests/winetests/comctl32/
H A Dlistbox.c1048 char path[MAX_PATH], curdir[MAX_PATH]; in test_listbox_LB_DIR() local
1063 GetCurrentDirectoryA(ARRAY_SIZE(curdir), curdir); in test_listbox_LB_DIR()
1492 SetCurrentDirectoryA(curdir); in test_listbox_LB_DIR()
/reactos/dll/directx/wine/d3dx9_36/
H A Dmesh.c5532 D3DXVECTOR2 curdir, lastdir; in attempt_line_merge() local
5548 unit_vec2(&curdir, &pt->pos, nextpt); in attempt_line_merge()
5549 if (is_direction_similar(&lastdir, &curdir, table->cos_half)) in attempt_line_merge()
5565 unit_vec2(&curdir, &pt->pos, nextpt); in attempt_line_merge()
5688 D3DXVECTOR2 curdir; in create_outline() local
5692 unit_vec2(&curdir, &lastpt->pos, &pt->pos); in create_outline()
5698 if (!is_direction_similar(&lastdir, &curdir, cos_table->cos_45)) in create_outline()
5702 if (!is_direction_similar(&lastdir, &curdir, cos_table->cos_90)) in create_outline()
5710 lastdir = curdir; in create_outline()
/reactos/modules/rostests/winetests/d3dx9_36/
H A Dmesh.c3632 D3DXVECTOR2 curdir, lastdir; in attempt_line_merge() local
3649 unit_vec2(&curdir, &pt->pos, nextpt); in attempt_line_merge()
3650 if (is_direction_similar(&lastdir, &curdir, cos_half)) in attempt_line_merge()
3666 unit_vec2(&curdir, &pt->pos, nextpt); in attempt_line_merge()
3789 D3DXVECTOR2 curdir; in create_outline() local
3793 unit_vec2(&curdir, &lastpt->pos, &pt->pos); in create_outline()
3799 if (!is_direction_similar(&lastdir, &curdir, cos_45)) in create_outline()
3803 if (!is_direction_similar(&lastdir, &curdir, cos_90)) in create_outline()
3811 lastdir = curdir; in create_outline()