/vbox/src/VBox/Runtime/common/string/ |
H A D | strcpy.cpp | 38 * @param pszDst Will contain a copy of pszSrc. 41 char* strcpy(char *pszDst, register const char *pszSrc) argument 43 register char *psz = pszDst; 47 return pszDst;
|
H A D | RTStrCopy.cpp | 35 RTDECL(int) RTStrCopy(char *pszDst, size_t cbDst, const char *pszSrc) argument 40 memcpy(pszDst, pszSrc, cchSrc + 1); 46 memcpy(pszDst, pszSrc, cbDst - 1); 47 pszDst[cbDst - 1] = '\0';
|
H A D | RTStrCopyPEx.cpp | 40 char *pszDst = *ppszDst; local 43 memcpy(pszDst, pszSrc, cchSrc); 44 *ppszDst = pszDst += cchSrc; 45 *pszDst = '\0'; 53 *ppszDst = pszDst += cbDst - 1; 54 *pszDst = '\0';
|
H A D | RTStrCatP.cpp | 43 char *pszDst = RTStrEnd(pszDstOrg, cbDst); local 44 AssertReturn(pszDst, VERR_INVALID_PARAMETER); 45 *ppszDst = pszDst; 46 *pcbDst = cbDst - (pszDst - pszDstOrg);
|
H A D | RTStrCatPEx.cpp | 42 char *pszDst = RTStrEnd(*ppszDst, cbDst); local 43 AssertReturn(pszDst, VERR_INVALID_PARAMETER); 44 *pcbDst -= pszDst - *ppszDst; 45 *ppszDst = pszDst;
|
H A D | RTStrCopyEx.cpp | 35 RTDECL(int) RTStrCopyEx(char *pszDst, size_t cbDst, const char *pszSrc, size_t cchMaxSrc) argument 41 memcpy(pszDst, pszSrc, cchSrc); 42 pszDst[cchSrc] = '\0'; 48 memcpy(pszDst, pszSrc, cbDst - 1); 49 pszDst[cbDst - 1] = '\0';
|
H A D | RTStrCopyP.cpp | 39 char *pszDst = *ppszDst; local 42 memcpy(pszDst, pszSrc, cchSrc + 1); 43 *ppszDst = pszDst += cchSrc; 51 *ppszDst = pszDst += cbDst - 1; 52 *pszDst = '\0';
|
H A D | RTStrCat.cpp | 35 RTDECL(int) RTStrCat(char *pszDst, size_t cbDst, const char *pszSrc) argument 37 char *pszDst2 = RTStrEnd(pszDst, cbDst); 39 cbDst -= pszDst2 - pszDst;
|
H A D | RTStrCatEx.cpp | 35 RTDECL(int) RTStrCatEx(char *pszDst, size_t cbDst, const char *pszSrc, size_t cchMaxSrc) argument 37 char *pszDst2 = RTStrEnd(pszDst, cbDst); 39 cbDst -= pszDst2 - pszDst;
|
H A D | strcpy.asm | 32 ; @param pszDst gcc: rdi msc: rcx x86:[esp+4] 38 %define pszDst rcx 41 %define pszDst rdi 44 mov r8, pszDst 48 %define pszDst ecx 50 push pszDst 58 mov [pszDst], al 63 mov [pszDst + 1], al 68 mov [pszDst + 2], al 73 mov [pszDst [all...] |
H A D | strncpy.asm | 32 ; @param pszDst gcc: rdi msc: rcx x86:[esp+4] 39 %define pszDst rcx 43 %define pszDst rdi 47 mov r9, pszDst 53 %define pszDst ecx 56 push pszDst 67 mov [pszDst], al 72 mov [pszDst + 1], al 77 mov [pszDst + 2], al 82 mov [pszDst [all...] |
H A D | utf-8-case.cpp | 285 char *pszDst = psz; local 295 pszDst = RTStrPutCp(pszDst, uc2); 297 pszDst = RTStrPutCp(pszDst, uc); 303 *pszDst++ = pszSrc[-1]; 305 Assert((uintptr_t)pszDst <= (uintptr_t)pszSrc); 322 char *pszDst = psz; local 332 pszDst = RTStrPutCp(pszDst, uc [all...] |
/vbox/src/VBox/Runtime/generic/ |
H A D | RTFileCopy-generic.cpp | 35 RTDECL(int) RTFileCopy(const char *pszSrc, const char *pszDst) argument 37 return RTFileCopyEx(pszSrc, pszDst, 0, NULL, NULL);
|
H A D | RTFileMove-generic.cpp | 41 RTDECL(int) RTFileMove(const char *pszSrc, const char *pszDst, unsigned fMove) argument 47 AssertMsgReturn(VALID_PTR(pszDst), ("%p\n", pszDst), VERR_INVALID_POINTER); local 49 AssertMsgReturn(*pszDst, ("%p\n", pszDst), VERR_INVALID_PARAMETER); 57 int rc = RTFileRename(pszSrc, pszDst, fRename); 71 rc = RTFileOpen(&FileDst, pszDst, RTFILE_O_WRITE | RTFILE_O_DENY_ALL | RTFILE_O_CREATE_REPLACE); 79 pszDelete = pszDst; 81 pszSrc, pszDst, fMove, rc)); 92 pszSrc, pszDst, fMov [all...] |
/vbox/src/VBox/Disassembler/ |
H A D | DisasmFormatBytes.cpp | 34 * @param pszDst The output buffer. 38 size_t disFormatBytes(PCDISSTATE pDis, char *pszDst, size_t cchDst, uint32_t fFlags) argument 50 *pszDst++ = (ch); \ 58 const size_t cchTmp = RTStrPrintf(pszDst, cchDst, fmt, (num)); \ 59 pszDst += cchTmp; \ 81 *pszDst = '\0';
|
/vbox/src/VBox/Runtime/common/path/ |
H A D | RTPathCopyComponents.cpp | 40 RTDECL(int) RTPathCopyComponents(char *pszDst, size_t cbDst, const char *pszSrc, size_t cComponents) argument 45 AssertPtr(pszDst); 55 *pszDst = '\0'; 80 memcpy(pszDst, pszSrc, off); 81 pszDst[off] = '\0';
|
H A D | RTPathParsedReassemble.cpp | 81 char *pszDst = pszDstPath; local 89 memcpy(pszDst, &pszSrcPath[pParsed->aComps[0].off], cchComp); 95 if (*pszDst == chOtherSlash) 96 *pszDst = chSlash; 97 pszDst++; 107 memcpy(pszDst, &pszSrcPath[pParsed->aComps[idxComp].off], cchComp); 108 pszDst += cchComp; 114 *pszDst++ = chSlash; 118 *pszDst = '\0';
|
H A D | RTPathSplitReassemble.cpp | 79 char *pszDst = pszDstPath; local 87 memcpy(pszDst, pSplit->apszComps[0], cchComp); 93 if (*pszDst == chOtherSlash) 94 *pszDst = chSlash; 95 pszDst++; 105 memcpy(pszDst, pSplit->apszComps[idxComp], cchComp); 106 pszDst += cchComp; 112 *pszDst++ = chSlash; 116 *pszDst = '\0';
|
/vbox/src/VBox/HostDrivers/Support/ |
H A D | SUPR3HardenedNoCrt.cpp | 113 DECLHIDDEN(char *) suplibHardenedStrCopy(char *pszDst, const char *pszSrc) argument 115 char *pszRet = pszDst; 120 *pszDst++ = ch; 137 DECLHIDDEN(char *) suplibHardenedStrCat(char *pszDst, const char *pszSrc) argument 139 char *pszRet = pszDst; 140 while (*pszDst) 141 pszDst++; 142 suplibHardenedStrCopy(pszDst, pszSrc);
|
H A D | SUPR3HardenedVerify.cpp | 256 * @param pszDst Where to assemble the path. 260 static int supR3HardenedMakePath(SUPINSTDIR enmDir, char *pszDst, size_t cchDst, bool fFatal) argument 267 rc = supR3HardenedPathExecDir(pszDst, cchDst); 270 rc = supR3HardenedPathSharedLibs(pszDst, cchDst); 273 rc = supR3HardenedPathAppPrivateArch(pszDst, cchDst); 276 rc = supR3HardenedPathAppPrivateArch(pszDst, cchDst); 279 size_t off = suplibHardenedStrLen(pszDst); 281 suplibHardenedMemCopy(&pszDst[off], "/components", sizeof("/components")); 287 rc = supR3HardenedPathAppPrivateNoArch(pszDst, cchDst); 290 rc = supR3HardenedPathExecDir(pszDst, cchDs 324 supR3HardenedMakeFilePath(PCSUPINSTFILE pFile, char *pszDst, size_t cchDst, bool fWithFilename, bool fFatal) argument 1106 char *pszDst = pInfo->szPath; local [all...] |
/vbox/src/VBox/Runtime/r3/win/ |
H A D | dir-win.cpp | 137 RTDECL(int) RTDirRename(const char *pszSrc, const char *pszDst, unsigned fRename) argument 143 AssertMsgReturn(VALID_PTR(pszDst), ("%p\n", pszDst), VERR_INVALID_POINTER); local 145 AssertMsgReturn(*pszDst, ("%p\n", pszDst), VERR_INVALID_PARAMETER); 151 int rc = rtPathWin32MoveRename(pszSrc, pszDst, 155 LogFlow(("RTDirRename(%p:{%s}, %p:{%s}, %#x): returns %Rrc\n", pszSrc, pszSrc, pszDst, pszDst, fRename, rc));
|
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | path-posix.cpp | 135 * @param pszDst The destination path. 142 DECLHIDDEN(int) rtPathPosixRename(const char *pszSrc, const char *pszDst, unsigned fRename, RTFMODE fFileType) argument 152 rc = rtPathToNative(&pszNativeDst, pszDst, NULL); 221 pszSrc, pszDst, fRename, fFileType, errno)); 241 pszSrc, pszDst, fRename, fFileType, rc, errno)); 248 pszSrc, pszDst, fRename, fFileType, rc, errno)); 253 pszSrc, pszDst, fRename, fFileType, rc)); 262 pszSrc, pszDst, fRename, fFileType, rc, errno)); 267 pszSrc, pszDst, fRename, fFileType, rc, errno)); 271 pszSrc, pszDst, fRenam 281 RTPathRename(const char *pszSrc, const char *pszDst, unsigned fRename) argument 287 AssertMsgReturn(VALID_PTR(pszDst), ("%p\\n", pszDst), VERR_INVALID_POINTER); local [all...] |
/vbox/include/iprt/nocrt/ |
H A D | string.h | 40 char * RT_NOCRT(strcat)(char *pszDst, const char *pszSrc); 41 char * RT_NOCRT(strncat)(char *pszDst, const char *pszSrc, size_t cch); 47 char * RT_NOCRT(strcpy)(char *pszDst, const char *pszSrc); 48 char * RT_NOCRT(strncpy)(char *pszDst, const char *pszSrc, size_t cch); 49 char * RT_NOCRT(strcat)(char *pszDst, const char *pszSrc); 50 char * RT_NOCRT(strncat)(char *pszDst, const char *pszSrc, size_t cch);
|
/vbox/src/VBox/Runtime/include/internal/ |
H A D | path.h | 48 DECLHIDDEN(int) rtPathPosixRename(const char *pszSrc, const char *pszDst, unsigned fRename, RTFMODE fFileType); 49 DECLHIDDEN(int) rtPathWin32MoveRename(const char *pszSrc, const char *pszDst, uint32_t fFlags, RTFMODE fFileType);
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | DBGFR3Trace.cpp | 385 char *pszDst = pszConfig; local 391 size_t cchThis = g_aVmmTpGroups[i].cchName + (pszDst != pszConfig); 397 if (pszDst != pszConfig) 399 *pszDst = ' '; 400 memcpy(pszDst + 1, g_aVmmTpGroups[i].pszName, g_aVmmTpGroups[i].cchName + 1); 403 memcpy(pszDst, g_aVmmTpGroups[i].pszName, g_aVmmTpGroups[i].cchName + 1); 404 pszDst += cchThis; 409 rc = PDMR3TracingQueryConfig(pVM, pszDst, cbDst);
|