Searched refs:cbValue (Results 1 - 25 of 40) sorted by relevance

12

/vbox/src/VBox/Main/src-client/win/
H A Ddllmain.cpp207 DWORD cbValue = sizeof(szTypelibGuid) - 1; local
208 rc = RegQueryValueExA(hkeyIfTypelib, NULL, NULL, NULL, (PBYTE)&szTypelibGuid[0], &cbValue);
210 cbValue = 0;
211 szTypelibGuid[cbValue] = '\0';
224 cbValue = sizeof(szProgId) - 1;
225 rc = RegQueryValueExA(hkeyIfProgId, NULL, NULL, NULL, (PBYTE)&szProgId[0], &cbValue);
227 cbValue = 0;
228 szProgId[cbValue] = '\0';
277 DWORD cbValue = sizeof(szTypelibGuid) - 1; local
278 rc = RegQueryValueExA(hkeyIfTypelib, NULL, NULL, NULL, (PBYTE)&szTypelibGuid[0], &cbValue);
339 DWORD cbValue = sizeof(szValue) - 1; local
[all...]
/vbox/include/VBox/vmm/
H A Diem.h80 VMM_INT_DECL(VBOXSTRICTRC) IEMExecStringIoWrite(PVMCPU pVCpu, uint8_t cbValue, IEMMODE enmAddrMode,
82 VMM_INT_DECL(VBOXSTRICTRC) IEMExecStringIoRead(PVMCPU pVCpu, uint8_t cbValue, IEMMODE enmAddrMode,
92 VMM_INT_DECL(void) IEMNotifyMMIORead(PVM pVM, RTGCPHYS GCPhys, size_t cbValue);
93 VMM_INT_DECL(void) IEMNotifyMMIOWrite(PVM pVM, RTGCPHYS GCPhys, uint32_t u32Value, size_t cbValue);
94 VMM_INT_DECL(void) IEMNotifyIOPortRead(PVM pVM, RTIOPORT Port, size_t cbValue);
95 VMM_INT_DECL(void) IEMNotifyIOPortWrite(PVM pVM, RTIOPORT Port, uint32_t u32Value, size_t cbValue);
96 VMM_INT_DECL(void) IEMNotifyIOPortReadString(PVM pVM, RTIOPORT Port, RTGCPTR GCPtrDst, RTGCUINTREG cTransfers, size_t cbValue);
97 VMM_INT_DECL(void) IEMNotifyIOPortWriteString(PVM pVM, RTIOPORT Port, RTGCPTR GCPtrSrc, RTGCUINTREG cTransfers, size_t cbValue);
H A Dpdmnvram.h100 uint32_t fAttributes, uint8_t const *pbValue, size_t cbValue));
H A Diom.h271 VMMDECL(VBOXSTRICTRC) IOMIOPortRead(PVM pVM, PVMCPU pVCpu, RTIOPORT Port, uint32_t *pu32Value, size_t cbValue);
272 VMMDECL(VBOXSTRICTRC) IOMIOPortWrite(PVM pVM, PVMCPU pVCpu, RTIOPORT Port, uint32_t u32Value, size_t cbValue);
281 VMMDECL(VBOXSTRICTRC) IOMMMIORead(PVM pVM, PVMCPU pVCpu, RTGCPHYS GCPhys, uint32_t *pu32Value, size_t cbValue);
282 VMMDECL(VBOXSTRICTRC) IOMMMIOWrite(PVM pVM, PVMCPU pVCpu, RTGCPHYS GCPhys, uint32_t u32Value, size_t cbValue);
/vbox/include/iprt/
H A Denv.h153 RTDECL(int) RTEnvGetUtf8(const char *pszVar, char *pszValue, size_t cbValue, size_t *pcchActual);
164 * @param cbValue The size of the value buffer.
167 RTDECL(int) RTEnvGetEx(RTENV Env, const char *pszVar, char *pszValue, size_t cbValue, size_t *pcchActual);
285 * @param cbValue The size of the value buffer.
287 RTDECL(uint32_t) RTEnvGetByIndexEx(RTENV hEnv, uint32_t iVar, char *pszVar, size_t cbVar, char *pszValue, size_t cbValue);
H A Dmanifest.h184 * @param cbValue The size of the buffer @a pszValue points to.
188 char *pszValue, size_t cbValue, uint32_t *pfType);
240 * @param cbValue The size of the buffer @a pszValue points to.
244 char *pszValue, size_t cbValue, uint32_t *pfType);
/vbox/src/VBox/Devices/EFI/
H A DDevSmc.cpp164 uint8_t cbValue; member in struct:DEVSMCCURKEY
290 uint8_t cbValue; member in struct:DEVSMCKEYDESC
614 memset(&pCurKey->Value.ab[0], 0, pKeyDesc->cbValue);
615 pCurKey->Value.ab[pKeyDesc->cbValue - 1] = 1;
624 memset(&pCurKey->Value.ab[0], 0, pKeyDesc->cbValue);
661 if ( g_aSmcKeys[iKey].cbValue == pThis->CurKey.cbValue
662 || !g_aSmcKeys[iKey].cbValue)
673 &uKeyValueLog, pThis->CurKey.cbValue, &pThis->CurKey.Value));
688 pThis->CurKey.cbValue, g_aSmcKey
[all...]
H A DDevEFI.cpp80 uint32_t cbValue; member in struct:EFIVAR
289 SSMFIELD_ENTRY( EFIVAR, cbValue),
410 pEfiVar->cbValue = sizeof(pEfiVar->abValue);
413 &pEfiVar->fAttributes, &pEfiVar->abValue[0], &pEfiVar->cbValue);
421 if (pEfiVar->cbValue == 0)
424 LogRel(("EFI/nvramLoad: Bad variable #%u: cbValue=%#x cchName=%#x (strlen=%#x) szName=%.*Rhxs\n",
425 pEfiVar->cbValue, pEfiVar->cchName, cchName, pEfiVar->cchName + 1, pEfiVar->szName));
477 pEfiVar->fAttributes, pEfiVar->abValue, pEfiVar->cbValue);
515 pThis->NVRAM.VarOpBuf.cbValue = pEfiVar->cbValue;
[all...]
/vbox/src/VBox/VMM/VMMAll/
H A DIOMAllMMIO.cpp91 * @param cbValue The size of the value to write.
93 static VBOXSTRICTRC iomMMIODoComplicatedWrite(PVM pVM, PIOMMMIORANGE pRange, RTGCPHYS GCPhys, void const *pvValue, unsigned cbValue) argument
98 AssertReturn(cbValue != 0 && cbValue <= 16, VERR_IOM_MMIO_IPE_2);
112 "Complicated write %#x byte at %RGp to %s\n", cbValue, GCPhys, R3STRING(pRange->pszDesc));
126 Assert(cbValue != 4 || (GCPhys & 3));
131 Assert((cbValue != 4 && cbValue != 8) || (GCPhys & (cbValue - 1)));
142 if (cbThisPart > cbValue)
328 iomMMIODoComplicatedRead(PVM pVM, PIOMMMIORANGE pRange, RTGCPHYS GCPhys, void *pvValue, unsigned cbValue) argument
442 iomMMIODoReadFFs(void *pvValue, size_t cbValue) argument
469 iomMMIODoRead00s(void *pvValue, size_t cbValue) argument
492 iomMMIODoRead(PVM pVM, PVMCPU pVCpu, PIOMMMIORANGE pRange, RTGCPHYS GCPhys, void *pvValue, unsigned cbValue) argument
1857 IOMMMIORead(PVM pVM, PVMCPU pVCpu, RTGCPHYS GCPhys, uint32_t *pu32Value, size_t cbValue) argument
1989 IOMMMIOWrite(PVM pVM, PVMCPU pVCpu, RTGCPHYS GCPhys, uint32_t u32Value, size_t cbValue) argument
[all...]
H A DIOMAll.cpp226 * @param cbValue The size of the register to read in bytes. 1, 2 or 4 bytes.
228 VMMDECL(VBOXSTRICTRC) IOMIOPortRead(PVM pVM, PVMCPU pVCpu, RTIOPORT Port, uint32_t *pu32Value, size_t cbValue) argument
240 IEMNotifyIOPortRead(pVM, Port, cbValue);
299 rcStrict = pfnInCallback(pDevIns, pvUser, Port, pu32Value, (unsigned)cbValue);
304 rcStrict = pfnInCallback(pDevIns, pvUser, Port, pu32Value, (unsigned)cbValue);
319 switch (cbValue)
325 AssertMsgFailed(("Invalid I/O port size %d. Port=%d\n", cbValue, Port));
329 Log3(("IOMIOPortRead: Port=%RTiop *pu32=%08RX32 cb=%d rc=%Rrc\n", Port, *pu32Value, cbValue, VBOXSTRICTRC_VAL(rcStrict)));
358 switch (cbValue)
364 AssertMsgFailed(("Invalid I/O port size %d. Port=%d\n", cbValue, Por
532 IOMIOPortWrite(PVM pVM, PVMCPU pVCpu, RTIOPORT Port, uint32_t u32Value, size_t cbValue) argument
[all...]
H A DDBGFAll.cpp175 * @param cbValue The size/width of the access, in bytes.
177 VMM_INT_DECL(VBOXSTRICTRC) DBGFBpCheckIo(PVM pVM, PVMCPU pVCpu, PCPUMCTX pCtx, RTIOPORT uIoPort, uint8_t cbValue) argument
180 uint32_t const uIoPortLast = uIoPortFirst + cbValue - 1;
H A DIEMAll.cpp715 static VBOXSTRICTRC iemVerifyFakeIOPortRead(PIEMCPU pIemCpu, RTIOPORT Port, uint32_t *pu32Value, size_t cbValue);
716 static VBOXSTRICTRC iemVerifyFakeIOPortWrite(PIEMCPU pIemCpu, RTIOPORT Port, uint32_t u32Value, size_t cbValue);
9751 VMM_INT_DECL(void) IEMNotifyMMIORead(PVM pVM, RTGCPHYS GCPhys, size_t cbValue) argument
9762 pEvtRec->u.RamRead.cb = (uint32_t)cbValue;
9771 VMM_INT_DECL(void) IEMNotifyMMIOWrite(PVM pVM, RTGCPHYS GCPhys, uint32_t u32Value, size_t cbValue) argument
9782 pEvtRec->u.RamWrite.cb = (uint32_t)cbValue;
9795 VMM_INT_DECL(void) IEMNotifyIOPortRead(PVM pVM, RTIOPORT Port, size_t cbValue) argument
9806 pEvtRec->u.IOPortRead.cbValue = (uint32_t)cbValue;
9814 VMM_INT_DECL(void) IEMNotifyIOPortWrite(PVM pVM, RTIOPORT Port, uint32_t u32Value, size_t cbValue) argument
9832 IEMNotifyIOPortReadString(PVM pVM, RTIOPORT Port, RTGCPTR GCPtrDst, RTGCUINTREG cTransfers, size_t cbValue) argument
9838 IEMNotifyIOPortWriteString(PVM pVM, RTIOPORT Port, RTGCPTR GCPtrSrc, RTGCUINTREG cTransfers, size_t cbValue) argument
9853 iemVerifyFakeIOPortRead(PIEMCPU pIemCpu, RTIOPORT Port, uint32_t *pu32Value, size_t cbValue) argument
9879 iemVerifyFakeIOPortWrite(PIEMCPU pIemCpu, RTIOPORT Port, uint32_t u32Value, size_t cbValue) argument
10446 iemVerifyFakeIOPortRead(PIEMCPU pIemCpu, RTIOPORT Port, uint32_t *pu32Value, size_t cbValue) argument
10452 iemVerifyFakeIOPortWrite(PIEMCPU pIemCpu, RTIOPORT Port, uint32_t u32Value, size_t cbValue) argument
11047 IEMExecStringIoWrite(PVMCPU pVCpu, uint8_t cbValue, IEMMODE enmAddrMode, bool fRepPrefix, uint8_t cbInstr, uint8_t iEffSeg) argument
[all...]
/vbox/src/VBox/Main/src-client/
H A DNvram.cpp137 uint32_t fAttributes, uint8_t const *pbValue, size_t cbValue)
157 char *pszValue = drvNvram_binaryToCfgmString(pbValue, cbValue);
300 size_t cbValue; local
301 rc = CFGMR3QuerySize(pVarNode, "Value", &cbValue);
303 AssertReturn(cbValue <= *pcbValue, VERR_BUFFER_OVERFLOW);
304 rc = CFGMR3QueryBytes(pVarNode, "Value", pbValue, cbValue);
306 *pcbValue = (uint32_t)cbValue;
135 drvNvram_VarStoreSeqPut(PPDMINVRAMCONNECTOR pInterface, int idxVariable, PCRTUUID pVendorUuid, const char *pszName, size_t cchName, uint32_t fAttributes, uint8_t const *pbValue, size_t cbValue) argument
/vbox/src/VBox/Runtime/r3/win/
H A Denv-win.cpp76 RTDECL(int) RTEnvGetUtf8(const char *pszVar, char *pszValue, size_t cbValue, size_t *pcchActual) argument
80 AssertReturn(pszValue || !cbValue, VERR_INVALID_PARAMETER);
82 AssertReturn(pcchActual || (pszValue && cbValue), VERR_INVALID_PARAMETER);
97 if (cbValue)
98 rc = RTUtf16ToUtf8Ex(pwszValue, RTSTR_MAX, &pszValue, cbValue, pcchActual);
/vbox/src/VBox/HostDrivers/VBoxNetFlt/win/nobj/
H A DVBoxNetFltNobj.cpp139 DWORD cbValue = sizeof(Value); local
146 &cbValue/*__inout_opt LPDWORD lpcbData*/
238 DWORD cbValue = sizeof(Value); local
244 &cbValue/*__inout_opt LPDWORD lpcbData*/
314 DWORD cbValue = sizeof(Value); local
320 &cbValue/*__inout_opt LPDWORD lpcbData*/
/vbox/src/VBox/Runtime/generic/
H A Denv-generic.cpp528 RTDECL(int) RTEnvGetEx(RTENV Env, const char *pszVar, char *pszValue, size_t cbValue, size_t *pcchActual) argument
533 AssertReturn(pcchActual || (pszValue && cbValue), VERR_INVALID_PARAMETER);
541 rc = RTEnvGetUtf8(pszVar, pszValue, cbValue, pcchActual);
564 if (pszValue && cbValue)
566 if (cch < cbValue)
602 if (pszValue && cbValue)
604 if (cch < cbValue)
865 RTDECL(uint32_t) RTEnvGetByIndexEx(RTENV hEnv, uint32_t iVar, char *pszVar, size_t cbVar, char *pszValue, size_t cbValue) argument
872 if (cbValue)
890 if (cbValue)
[all...]
/vbox/src/VBox/Runtime/include/internal/
H A Dsocket.h62 int rtSocketSetOpt(RTSOCKET hSocket, int iLevel, int iOption, void const *pvValue, int cbValue);
/vbox/src/VBox/HostServices/GuestProperties/
H A Dservice.cpp371 int validateValue(const char *pszValue, uint32_t cbValue);
449 * @param cbValue the length in bytes of @a pszValue, including the
453 int Service::validateValue(const char *pszValue, uint32_t cbValue) argument
455 LogFlowFunc(("cbValue=%d\n", cbValue));
458 if (RT_SUCCESS(rc) && cbValue == 0)
461 LogFlow((" pszValue=%s\n", cbValue > 0 ? pszValue : NULL));
603 size_t const cbValue = pProp->mValue.size() + 1; local
604 size_t const cbNeeded = cbValue + cbFlags;
609 memcpy(pchBuf, pProp->mValue.c_str(), cbValue);
843 size_t const cbValue = pProp->mValue.length() + 1; local
[all...]
/vbox/src/VBox/Runtime/common/checksum/
H A Dmanifest2.cpp802 * @param cbValue The size of the buffer @a pszValue points to.
806 char *pszValue, size_t cbValue, uint32_t *pfType)
837 if (cbValue || pszValue)
840 if (cbNeeded > cbValue)
853 char *pszValue, size_t cbValue, uint32_t *pfType)
861 return rtManifestQueryAttrWorker(&pThis->SelfEntry, pszAttr, fType, pszValue, cbValue, pfType);
1059 char *pszValue, size_t cbValue, uint32_t *pfType)
1079 rc = rtManifestQueryAttrWorker(pEntry, pszAttr, fType, pszValue, cbValue, pfType);
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dmscat.h73 DWORD cbValue; member in struct:CRYPTCATATTRIBUTE_
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Dmscat.h73 DWORD cbValue; member in struct:CRYPTCATATTRIBUTE_
/vbox/src/VBox/Runtime/common/dbg/
H A Ddbgcfg.cpp2090 * @param cbValue The size of the output buffer.
2093 char *pszValue, size_t cbValue)
2102 if (cbReq > cbValue)
2130 * @param cbValue The size of the output buffer.
2133 char *pszValue, size_t cbValue)
2142 if (cch + 1 > cbValue)
2144 memcpy(pszValue, szTmp, cbValue);
2157 if (cbReq > cbValue)
2179 RTDECL(int) RTDbgCfgQueryString(RTDBGCFG hDbgCfg, RTDBGCFGPROP enmProp, char *pszValue, size_t cbValue) argument
2192 rc = rtDbgCfgQueryStringU64(pThis, pThis->fFlags, g_aDbgCfgFlags, pszValue, cbValue);
2092 rtDbgCfgQueryStringList(RTDBGCFG hDbgCfg, PRTLISTANCHOR pList, char *pszValue, size_t cbValue) argument
2132 rtDbgCfgQueryStringU64(RTDBGCFG hDbgCfg, uint64_t uValue, PCRTDBGCFGU64MNEMONIC paMnemonics, char *pszValue, size_t cbValue) argument
[all...]
/vbox/src/VBox/Additions/common/crOpenGL/pack/
H A Dpackspu_client.c186 GLuint cbValue = 4 * sizeof (*pValue); local
187 GLuint cbValues = cValues * cbValue;
195 && !crMemcmp(pValue, &pInfo->Value, cbValue))
208 crMemcpy(pu8Buf, pValue, cbValue);
209 pu8Buf += cbValue;
232 crMemcpy(&pInfo->Value, pValue, cbValue);
/vbox/src/VBox/Storage/
H A DISCSI.cpp671 static int iscsiTextAddKeyValue(uint8_t *pbBuf, size_t cbBuf, size_t *pcbBufCurr, const char *pcszKey, const char *pcszValue, size_t cbValue);
2911 * Appends a key-value pair to the buffer. Normal ASCII strings (cbValue == 0) and large binary values
2912 * of a given length (cbValue > 0) are directly supported. Other value types must be converted to ASCII
2921 * @param cbValue Length of the binary value if applicable.
2924 const char *pcszValue, size_t cbValue)
2931 if (cbValue == 0)
2934 cbValueEnc = cbValue * 2 + 2; /* 2 hex bytes per byte, 2 bytes prefix */
2949 if (cbValue == 0)
2958 for (uint32_t i = 0; i < cbValue; i++)
3012 size_t cbValue
[all...]
/vbox/src/VBox/Additions/common/pam/
H A Dpam_vbox.cpp392 * @param cbValue Size of buffer (in bytes).
396 char *pszValue, size_t cbValue)
472 if (!RTStrPrintf(pszValue, cbValue, "%s", pszValTemp))
394 pam_vbox_read_prop(pam_handle_t *hPAM, uint32_t uClientID, const char *pszKey, bool fReadOnly, char *pszValue, size_t cbValue) argument

Completed in 1141 milliseconds

12