Lines Matching refs:cpSource
35 int copyfile(const char *cpDest, const char *cpSource) in copyfile() argument
40 return api_copyfile(cpDest, cpSource); in copyfile()
48 logmsg(LOGDBG, "copyfile: copy %s -> %s", cpSource, cpDest); in copyfile()
58 ifstream fi(cpSource,ios::bin|ios::in); in copyfile()
68 CArray<CString> *pTemp = findfile(cpSource); in copyfile()
116 static int api_copyfile(const char *cpDest, const char *cpSource) in api_copyfile() argument
127 logmsg(LOGDBG, "copyfile: DosFindFirst(%s, ...)", cpSource); in api_copyfile()
128 rc = DosFindFirst((PSZ)cpSource, &FindHandle, in api_copyfile()
149 (PSZ)cpSource,(PSZ)cpDest,DCPY_EXISTING); in api_copyfile()
151 rc = DosCopy((PSZ)cpSource,(PSZ)cpDest,DCPY_EXISTING); in api_copyfile()
167 logmsg(LOGDBG, "copyfile: CopyFile(%s, %s, %d)", (char *) cpSource, in api_copyfile()
170 if (CopyFile((LPCTSTR)cpSource,(LPCTSTR)cpDest,FALSE)==TRUE) in api_copyfile()
191 ((void)(cpDest)); ((void)(cpSource)); ((void)(api_copyfile)); in api_copyfile()