Searched defs:cbStr (Results 1 - 8 of 8) sorted by relevance

/vbox/src/VBox/Main/src-client/
H A DNvram.cpp117 size_t cbStr = RTBase64EncodedLength(cbBuf) + sizeof(s_szPrefix); local
118 char *pszStr = (char *)RTMemAlloc(cbStr);
122 int rc = RTBase64Encode(pvBuf, cbBuf, &pszStr[sizeof(s_szPrefix) - 1], cbStr - sizeof(s_szPrefix) + 1, NULL);
/vbox/src/VBox/Runtime/common/ldr/
H A DldrELFRelocatable.cpp.h124 unsigned cbStr; member in struct:RTLDRMODELF
231 if (pSym->st_name >= pModElf->cbStr)
233 AssertMsgFailed(("iSym=%d st_name=%d str sh_size=%d\n", iSym, pSym->st_name, pModElf->cbStr));
421 if (pSym->st_name >= pModElf->cbStr)
423 AssertMsgFailed(("iSym=%d st_name=%d str sh_size=%d\n", iSym, pSym->st_name, pModElf->cbStr));
989 if (paSyms[iSym].st_name < pModElf->cbStr)
1772 //pModElf->cbStr = 0;
1836 pModElf->cbStr = (unsigned)paShdrs[pModElf->iStrSh].sh_size;
1837 AssertReturn(pModElf->cbStr == paShdrs[pModElf->iStrSh].sh_size, VERR_IMAGE_TOO_BIG);
1911 Log2(("RTLdrElf: iSymSh=%u cSyms=%u iStrSh=%u cbStr
[all...]
/vbox/src/VBox/Additions/common/VBoxService/
H A DVBoxServiceControlProcess.cpp1502 int cbStr = RTStrAPrintf(&papszEnv[i++], "%s", pszCur); local
1503 if (cbStr < 0)
1508 pszCur += cbStr + 1; /* Skip terminating '\0' */
1509 cbLen += cbStr + 1; /* Skip terminating '\0' */
/vbox/src/VBox/GuestHost/OpenGL/state_tracker/
H A Ddump.cpp549 const uint32_t cbStr = *pcbStr; local
551 if (!cbStr)
557 if ((*ppszStr)[cbStr-1] != '\0')
560 (*ppszStr)[cbStr-1] = '\0';
578 *pcbStr = cbStr - (((uintptr_t)pNewLine) - ((uintptr_t)pszStr)) - 1;
580 Assert((*pcbStr) < cbStr);
586 static void crRecDumpStrByLine(CR_DUMPER *pDumper, char *pszStr, uint32_t cbStr) argument
589 while ((pszCurLine = crRecDumpGetLine(&pszStr, &cbStr)) != NULL)
/vbox/src/VBox/Additions/x11/VBoxClient/
H A Ddraganddrop.cpp1938 uint32_t cbStr = cbData; local
1941 while (cbStr)
1943 size_t cbSize = RTStrNLen(pszStr, cbStr);
1952 cbStr -= cbSize + 1;
2016 uint32_t cbStr = cbData; local
2019 while (cbStr > 0)
2021 size_t cbSize = RTStrNLen(pszStr, cbStr);
2029 cbStr -= cbSize + 1;
/vbox/src/VBox/Devices/Storage/
H A DDrvVD.cpp3206 int cbStr = RTStrAPrintf(&pszId, "%s-%d-%d", pcszController, iInstance, iLUN); local
3208 if (cbStr > 0)
/vbox/src/VBox/Devices/Graphics/shaderlib/
H A Dglsl_shader.c214 const int cbStr = *pcbStr; local
216 if (!cbStr)
222 if ((*ptr)[cbStr-1] != '\0')
225 (*ptr)[cbStr-1] = '\0';
243 *pcbStr = cbStr - (((uintptr_t)q) - ((uintptr_t)p)) - 1;
245 Assert((*pcbStr) < cbStr);
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/
H A Dglsl_shader.c197 const int cbStr = *pcbStr; local
199 if (!cbStr)
205 if ((*ptr)[cbStr-1] != '\0')
208 (*ptr)[cbStr-1] = '\0';
226 *pcbStr = cbStr - (((uintptr_t)q) - ((uintptr_t)p)) - 1;
228 Assert((*pcbStr) < cbStr);

Completed in 130 milliseconds