/vbox/src/VBox/Runtime/common/string/ |
H A D | strpbrk.cpp | 35 * Find the first occurrence of a character in pszChars in pszStr. 41 _CRTIMP __checkReturn _CONST_RETURN char * __cdecl strpbrk(__in_z const char *pszStr, __in_z const char *pszChars) argument 43 _CRTIMP char * __cdecl strpbrk(const char *pszStr, const char *pszChars) 46 char *strpbrk(const char *pszStr, const char *pszChars) 53 while ((chCur = *pszStr++) != '\0') 59 return (char *)(pszStr - 1);
|
H A D | strformatrt.cpp | 1049 const char *pszStr = va_arg(*pArgs, char *); local 1054 if (!VALID_PTR(pszStr)) 1055 pszStr = "<NULL>"; 1056 cchStr = RTStrNLen(pszStr, (unsigned)cchPrecision); 1067 if (memchr(pszEscape, pszStr[offCur], cchEscape)) 1070 cchOutput += pfnOutput(pvArgOutput, &pszStr[offLast], offCur - offLast); 1071 switch (pszStr[offCur]) 1088 cchOutput += pfnOutput(pvArgOutput, &pszStr[offLast], offCur - offLast);
|
H A D | uniread.cpp | 335 * @param pszStr The string to duplicate. 337 static char *DupStr(const char *pszStr) argument 339 if (!*pszStr) 341 char *psz = strdup(pszStr);
|
/vbox/src/VBox/GuestHost/OpenGL/include/ |
H A D | cr_dump.h | 37 DECLEXPORT(void) crDmpDumpStrDbgPrint(struct CR_DUMPER * pDumper, const char*pszStr); 43 typedef DECLCALLBACKPTR(void, PFNCRDUMPSTR)(struct CR_DUMPER * pDumper, const char*pszStr); 64 DECLINLINE(void) crDmpStrV(CR_DUMPER *pDumper, const char *pszStr, va_list pArgList) argument 67 vsprintf_s(szBuffer, sizeof (szBuffer), pszStr, pArgList); 71 DECLINLINE(void) crDmpStrF(CR_DUMPER *pDumper, const char *pszStr, ...) argument 74 va_start(pArgList, pszStr); 75 crDmpStrV(pDumper, pszStr, pArgList); 79 DECLINLINE(void) crDmpImgV(CR_DUMPER *pDumper, CR_BLITTER_IMG *pImg, const char *pszStr, va_list pArgList) argument 82 vsprintf_s(szBuffer, sizeof (szBuffer), pszStr, pArgList); 86 DECLINLINE(void) crDmpImgF(CR_DUMPER *pDumper, CR_BLITTER_IMG *pImg, const char *pszStr, argument [all...] |
H A D | cr_string.h | 64 DECLEXPORT(int32_t) crStrParseI32(const char *pszStr, const int32_t defaultVal);
|
/vbox/src/VBox/Runtime/r0drv/linux/ |
H A D | string.h | 48 char *strpbrk(const char *pszStr, const char *pszChars)
|
/vbox/src/VBox/GuestHost/OpenGL/util/ |
H A D | string.c | 535 int32_t crStrParseI32(const char *pszStr, const int32_t defaultVal) argument 540 if (!pszStr || pszStr[0] == '\0') 545 if (pszStr[0] == '\0') 548 if (pszStr[0] == ' ' || pszStr[0] == '\t' || pszStr[0] == '\n') 550 ++pszStr; 554 if (pszStr[0] == '-') 560 ++pszStr; [all...] |
H A D | blitter.cpp | 1147 const char * pszStr = (const char*)pCache->pDispatch->GetString(GL_VERSION); local 1148 pCache->iGlVersion = crStrParseGlVersion(pszStr);
|
/vbox/src/VBox/Additions/common/crOpenGL/pack/ |
H A D | packspu_getstring.c | 20 static void GetString(GLenum name, GLubyte *pszStr) argument 26 crPackGetStringSWAP(name, pszStr, &writeback); 28 crPackGetString(name, pszStr, &writeback);
|
/vbox/src/VBox/Devices/PC/ |
H A D | DevFwCommon.cpp | 451 size_t cbNeed = (size_t)(pszStr + cbWant - (char *)pTable) + 5; /* +1 for strtab terminator +4 for end-of-table entry */ \ 493 memcpy(pszStr, pszTmp, cStr); \ 494 pszStr += cStr ; \ 522 pszStr = (char *)(tbl + 1); \ 527 *pszStr++ = '\0'; /* terminate set of text strings */ \ 529 *pszStr++ = '\0'; /* terminate a structure without strings */ \ 573 char *pszStr = (char *)pTable; local 602 PDMIBIOSINF pBIOSInf = (PDMIBIOSINF)pszStr; 605 pszStr = (char *)&pBIOSInf->u8ReleaseMajor; 614 pszStr [all...] |
/vbox/src/VBox/Main/src-all/ |
H A D | QMTranslatorImpl.cpp | 363 for (const char *pszStr = pszStr1; pszStr != pszStr2; pszStr = pszStr2) 364 for (; pszStr && *pszStr; pszStr++) 366 hash = (hash << 4) + static_cast<uint8_t>(*pszStr);
|
/vbox/src/VBox/Main/src-client/ |
H A D | Nvram.cpp | 118 char *pszStr = (char *)RTMemAlloc(cbStr); local 119 if (pszStr) 121 memcpy(pszStr, s_szPrefix, sizeof(s_szPrefix) - 1); 122 int rc = RTBase64Encode(pvBuf, cbBuf, &pszStr[sizeof(s_szPrefix) - 1], cbStr - sizeof(s_szPrefix) + 1, NULL); 125 RTMemFree(pszStr); 126 pszStr = NULL; 129 return pszStr;
|
/vbox/src/VBox/GuestHost/OpenGL/state_tracker/ |
H A D | dump.cpp | 548 char *pszStr, *pNewLine; local 562 pszStr = *ppszStr; 563 if (!*pszStr) 569 if (!(pNewLine = strstr(pszStr, "\n"))) 572 *ppszStr += strlen(pszStr); 574 return pszStr; 578 *pcbStr = cbStr - (((uintptr_t)pNewLine) - ((uintptr_t)pszStr)) - 1; 583 return pszStr; 586 static void crRecDumpStrByLine(CR_DUMPER *pDumper, char *pszStr, uint32_t cbStr) argument 589 while ((pszCurLine = crRecDumpGetLine(&pszStr, 1340 crRecDumpTextureV(CR_RECORDER *pRec, const VBOXVR_TEXTURE *pTex, const char *pszStr, va_list pArgList) argument 1378 crRecDumpTextureF(CR_RECORDER *pRec, const VBOXVR_TEXTURE *pTex, const char *pszStr, ...) argument 1386 crRecDumpTextureByIdV(CR_RECORDER *pRec, CRContext *ctx, GLint id, const char *pszStr, va_list pArgList) argument 1411 crRecDumpTextureByIdF(CR_RECORDER *pRec, CRContext *ctx, GLint id, const char *pszStr, ...) argument 1632 crDmpHtmlDumpStrExact(struct CR_HTML_DUMPER * pDumper, const char *pszStr) argument [all...] |
/vbox/src/VBox/Devices/Network/slirp/libalias/ |
H A D | alias_dns.c | 72 static void QStr2CStr(const char *pcszQStr, char *pszStr, size_t cStr); 273 static void QStr2CStr(const char *pcszQStr, char *pszStr, size_t cStr) argument 280 for (q = pcszQStr, c = pszStr; *q != '\0' && cLen < cStr-1; q++, cLen++) 290 else if (c != &pszStr[0])
|
/vbox/src/VBox/Storage/testcase/ |
H A D | VDScriptAst.h | 338 const char *pszStr; member in union:VDSCRIPTASTEXPR::__anon16809
|
H A D | VDScriptAst.cpp | 47 RTStrFree((char *)pExpr->pszStr);
|
H A D | VDScriptInterp.cpp | 478 StringConst.psz = pExpr->pszStr;
|
H A D | VDScript.cpp | 978 pExpr->pszStr = RTStrDupN(pToken->Class.StringConst.pszString, pToken->Class.StringConst.cchString); 981 if (!pExpr->pszStr)
|
/vbox/src/VBox/Runtime/r3/ |
H A D | test.cpp | 734 char *pszStr; local 735 ssize_t cchStr = RTStrAPrintfV(&pszStr, pszFormat, va); 736 if (pszStr) 739 RTPipeWriteBlocking(pTest->hXmlPipe, pszStr, cchStr, NULL); 741 RTFileWrite(pTest->hXmlFile, pszStr, cchStr, NULL); 742 RTStrFree(pszStr);
|
/vbox/src/VBox/Additions/x11/VBoxClient/ |
H A D | draganddrop.cpp | 1937 char *pszStr = (char*)pvData; local 1943 size_t cbSize = RTStrNLen(pszStr, cbStr); 1947 char *pszTmp = RTStrDupN(pszStr, cbSize); 1951 pszStr += cbSize + 1; 2015 const char *pszStr = (char*)pvData; local 2021 size_t cbSize = RTStrNLen(pszStr, cbStr); 2025 char *pszTmp = RTStrDupN(pszStr, cbSize); 2028 pszStr += cbSize + 1;
|
/vbox/src/VBox/Additions/WINNT/VBoxTray/ |
H A D | VBoxSeamless.cpp | 61 void VBoxLogString(HANDLE hDriver, char *pszStr);
|
/vbox/src/VBox/Main/webservice/ |
H A D | vboxweb.cpp | 1435 const char* pszStr = aStr.c_str(); local 1436 ssize_t cbOut = RTBase64DecodedSize(pszStr, NULL); 1445 int rc = RTBase64Decode(pszStr, result.raw(), cbOut, NULL, NULL);
|
/vbox/include/iprt/ |
H A D | string.h | 97 char *strpbrk(const char *pszStr, const char *pszChars); 106 char *strpbrk(const char *pszStr, const char *pszChars);
|
/vbox/src/VBox/Storage/ |
H A D | VMDK.cpp | 1361 static int vmdkStringUnquote(PVMDKIMAGE pImage, const char *pszStr, argument 1368 while (*pszStr == ' ' || *pszStr == '\t') 1369 pszStr++; 1371 if (*pszStr != '"') 1373 pszQ = (char *)pszStr; 1379 pszStr++; 1380 pszQ = (char *)strchr(pszStr, '"'); 1385 pszUnquoted = (char *)RTMemTmpAlloc(pszQ - pszStr + 1); 1388 memcpy(pszUnquoted, pszStr, psz [all...] |
/vbox/src/VBox/Main/src-server/ |
H A D | MachineImpl.cpp | 8569 const char* pszStr = config.machineUserData.ovIcon.c_str(); local 8570 ssize_t cbOut = RTBase64DecodedSize(pszStr, NULL); 8579 vrc = RTBase64Decode(pszStr, &mUserData->mIcon.front(), cbOut, NULL, NULL); 8585 pszStr,
|