/vbox/src/VBox/Runtime/common/string/ |
H A D | strformatnum.cpp | 39 RTDECL(ssize_t) RTStrFormatU8(char *pszBuf, size_t cbBuf, uint8_t u8Value, unsigned int uiBase, argument 47 cchRet = RTStrFormatNumber(pszBuf, u8Value, uiBase, cchWidth, cchPrecision, fFlags); 51 cchRet = RTStrFormatNumber(szTmp, u8Value, uiBase, cchWidth, cchPrecision, fFlags);
|
/vbox/src/VBox/Storage/testcase/ |
H A D | tstVD.cpp | 347 uint32_t u8Value; member in struct:Segment 399 pSegment[i].u8Value = RTPRandU32Ex(pCtx, (uint32_t)u8ValueLow, (uint32_t)u8ValueHigh); 457 //memset((uint8_t*)pvBuf + pSegment->u64Offset, pSegment->u8Value, pSegment->u32Length); 458 memset(pvBuf, pSegment->u8Value, pSegment->u32Length); 477 if (((uint8_t*)pvBuf)[i] != pSegment->u8Value) 481 pSegment->u8Value); 484 pSegment->u8Value); 580 RTPrintf("off: %08Lx len: %05x val: %02x\n", pSegment->u64Offset, pSegment->u32Length, pSegment->u8Value);*/ 590 RTPrintf("off: %08Lx len: %05x val: %02x\n", pSegment->u64Offset, pSegment->u32Length, pSegment->u8Value);*/ 602 RTPrintf("off: %08Lx len: %05x val: %02x\n", pSegment->u64Offset, pSegment->u32Length, pSegment->u8Value);*/ [all...] |
/vbox/include/iprt/ |
H A D | uint128.h | 521 * @param u8Value The 8-bit unsigned integer value. 523 DECLINLINE(PRTUINT128U) RTUInt128AssignU8(PRTUINT128U pValueResult, uint8_t u8Value) argument 526 pValueResult->s.Lo = u8Value; 529 pValueResult->DWords.dw0 = u8Value;
|
H A D | string.h | 1767 * @param u8Value The value to format. 1773 RTDECL(ssize_t) RTStrFormatU8(char *pszBuf, size_t cbBuf, uint8_t u8Value, unsigned int uiBase, 1427 AssertReturn(CodePoint < 0x100, NULL); *psz++ = (unsigned char)CodePoint; return psz; } DECLINLINE(char *) RTLatin1NextCp(const char *psz) { psz++; return (char *)psz; } DECLINLINE(char *) RTLatin1PrevCp(const char *psz) { psz--; return (char *)psz; } typedef DECLCALLBACK(size_t) FNRTSTROUTPUT(void *pvArg, const char *pachChars, size_t cbChars); typedef FNRTSTROUTPUT *PFNRTSTROUTPUT; typedef DECLCALLBACK(size_t) FNSTRFORMAT(void *pvArg, PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char **ppszFormat, va_list *pArgs, int cchWidth, int cchPrecision, unsigned fFlags, char chArgSize); typedef FNSTRFORMAT *PFNSTRFORMAT; RTDECL(size_t) RTStrFormatV(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, PFNSTRFORMAT pfnFormat, void *pvArgFormat, const char *pszFormat, va_list InArgs); RTDECL(size_t) RTStrFormat(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, PFNSTRFORMAT pfnFormat, void *pvArgFormat, const char *pszFormat, ...); RTDECL(int) RTStrFormatNumber(char *psz, uint64_t u64Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, unsigned int fFlags); RTDECL(ssize_t) RTStrFormatU8(char *pszBuf, size_t cbBuf, uint8_t u8Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags); RTDECL(ssize_t) RTStrFormatU16(char *pszBuf, size_t cbBuf, uint16_t u16Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags); RTDECL(ssize_t) RTStrFormatU32(char *pszBuf, size_t cbBuf, uint32_t u32Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags); RTDECL(ssize_t) RTStrFormatU64(char *pszBuf, size_t cbBuf, uint64_t u64Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags); RTDECL(ssize_t) RTStrFormatU128(char *pszBuf, size_t cbBuf, PCRTUINT128U pu128Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags); RTDECL(ssize_t) RTStrFormatR80(char *pszBuf, size_t cbBuf, PCRTFLOAT80U pr80Value, signed int cchWidth, signed int cchPrecision, uint32_t fFlags); RTDECL(ssize_t) RTStrFormatR80u2(char *pszBuf, size_t cbBuf, PCRTFLOAT80U2 pr80Value, signed int cchWidth, signed int cchPrecision, uint32_t fFlags); typedef DECLCALLBACK(size_t) FNRTSTRFORMATTYPE(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char *pszType, void const *pvValue, int cchWidth, int cchPrecision, unsigned fFlags, void *pvUser); typedef FNRTSTRFORMATTYPE *PFNRTSTRFORMATTYPE; RTDECL(int) RTStrFormatTypeRegister(const char *pszType, PFNRTSTRFORMATTYPE pfnHandler, void *pvUser); RTDECL(int) RTStrFormatTypeDeregister(const char *pszType); RTDECL(int) RTStrFormatTypeSetUser(const char *pszType, void *pvUser); RTDECL(size_t) RTStrPrintfV(char *pszBuffer, size_t cchBuffer, const char *pszFormat, va_list args); RTDECL(size_t) RTStrPrintf(char *pszBuffer, size_t cchBuffer, const char *pszFormat, ...); RTDECL(size_t) RTStrPrintfExV(PFNSTRFORMAT pfnFormat, void *pvArg, char *pszBuffer, size_t cchBuffer, const char *pszFormat, va_list args); RTDECL(size_t) RTStrPrintfEx(PFNSTRFORMAT pfnFormat, void *pvArg, char *pszBuffer, size_t cchBuffer, const char *pszFormat, ...); RTDECL(int) RTStrAPrintfVTag(char **ppszBuffer, const char *pszFormat, va_list args, const char *pszTag); DECLINLINE(int) RTStrAPrintf(char **ppszBuffer, const char *pszFormat, ...) { int cbRet; va_list va; va_start(va, pszFormat); cbRet = RTStrAPrintfVTag(ppszBuffer, pszFormat, va, RTSTR_TAG); va_end(va); return cbRet; } DECLINLINE(int) RTStrAPrintfTag(char **ppszBuffer, const char *pszTag, const char *pszFormat, ...) { int cbRet; va_list va; va_start(va, pszFormat); cbRet = RTStrAPrintfVTag(ppszBuffer, pszFormat, va, pszTag); va_end(va); return cbRet; } RTDECL(char *) RTStrAPrintf2VTag(const char *pszFormat, va_list args, const char *pszTag); DECLINLINE(char *) RTStrAPrintf2(const char *pszFormat, ...) { char *pszRet; va_list va; va_start(va, pszFormat); pszRet = RTStrAPrintf2VTag(pszFormat, va, RTSTR_TAG); va_end(va); return pszRet; } DECLINLINE(char *) RTStrAPrintf2Tag(const char *pszTag, const char *pszFormat, ...) { char *pszRet; va_list va; va_start(va, pszFormat); pszRet = RTStrAPrintf2VTag(pszFormat, va, pszTag); va_end(va); return pszRet; } RTDECL(char *) RTStrStrip(char *psz); RTDECL(char *) RTStrStripL(const char *psz); RTDECL(char *) RTStrStripR(char *psz); RTDECL(int) RTStrCopy(char *pszDst, size_t cbDst, const char *pszSrc); RTDECL(int) RTStrCopyEx(char *pszDst, size_t cbDst, const char *pszSrc, size_t cchSrcMax); RTDECL(int) RTStrCopyP(char **ppszDst, size_t *pcbDst, const char *pszSrc); RTDECL(int) RTStrCopyPEx(char **ppszDst, size_t *pcbDst, const char *pszSrc, size_t cchSrcMax); RTDECL(int) RTStrCat(char *pszDst, size_t cbDst, const char *pszSrc); RTDECL(int) RTStrCatEx(char *pszDst, size_t cbDst, const char *pszSrc, size_t cchSrcMax); RTDECL(int) RTStrCatP(char **ppszDst, size_t *pcbDst, const char *pszSrc); RTDECL(int) RTStrCatPEx(char **ppszDst, size_t *pcbDst, const char *pszSrc, size_t cchSrcMax); RTDECL(int) RTStrCmp(const char *psz1, const char *psz2); RTDECL(int) RTStrNCmp(const char *psz1, const char *psz2, size_t cchMax); RTDECL(int) RTStrICmp(const char *psz1, const char *psz2); RTDECL(int) RTStrNICmp(const char *psz1, const char *psz2, size_t cchMax); RTDECL(char *) RTStrStr(const char *pszHaystack, const char *pszNeedle); RTDECL(char *) RTStrIStr(const char *pszHaystack, const char *pszNeedle); RTDECL(char *) RTStrToLower(char *psz); RTDECL(char *) RTStrToUpper(char *psz); RTDECL(bool) RTStrIsCaseFoldable(const char *psz); RTDECL(bool) RTStrIsUpperCased(const char *psz); RTDECL(bool) RTStrIsLowerCased(const char *psz); RTDECL(size_t) RTStrNLen(const char *pszString, size_t cchMax); RTDECL(int) RTStrNLenEx(const char *pszString, size_t cchMax, size_t *pcch); RT_C_DECLS_END DECLINLINE(char const *) RTStrEnd(char const *pszString, size_t cchMax) { while (cchMax > RTSTR_MEMCHR_MAX) argument
|
/vbox/src/VBox/Devices/VirtIO/ |
H A D | Virtio.cpp | 603 DECLINLINE(void) vpciCfgSetU8(PCIDEVICE& refPciDev, uint32_t uOffset, uint8_t u8Value) argument 606 refPciDev.config[uOffset] = u8Value;
|
/vbox/include/VBox/ |
H A D | pci.h | 550 DECLINLINE(void) PCIDevSetByte(PPCIDEVICE pPciDev, uint32_t offReg, uint8_t u8Value) argument 552 pPciDev->config[offReg] = u8Value;
|
/vbox/src/VBox/Devices/EFI/ |
H A D | DevEFI.cpp | 2038 uint8_t u8Value = 0; /* (shut up gcc) */ local 2046 u8Value = u8Hb << 4; 2048 pThis->pbDeviceProps[iHex++] = u8Hb | u8Value;
|
/vbox/include/VBox/vmm/ |
H A D | pdmdev.h | 2164 * @param u8Value The CMOS register value. 2167 DECLR3CALLBACKMEMBER(int, pfnWrite,(PPDMDEVINS pDevIns, unsigned iReg, uint8_t u8Value)); 3348 * @param u8Value The CMOS register value. 3351 DECLR3CALLBACKMEMBER(int, pfnCMOSWrite,(PPDMDEVINS pDevIns, unsigned iReg, uint8_t u8Value)); 5118 DECLINLINE(int) PDMDevHlpCMOSWrite(PPDMDEVINS pDevIns, unsigned iReg, uint8_t u8Value) argument 5120 return pDevIns->pHlpR3->pfnCMOSWrite(pDevIns, iReg, u8Value);
|
/vbox/src/VBox/Devices/PC/ |
H A D | DevRTC.cpp | 900 static DECLCALLBACK(int) rtcCMOSWrite(PPDMDEVINS pDevIns, unsigned iReg, uint8_t u8Value) argument 906 pThis->cmos_data[iReg] = u8Value;
|
/vbox/src/VBox/VMM/VMMAll/ |
H A D | IEMAllInstructions.cpp.h | 9739 IEM_MC_LOCAL(uint8_t, u8Value); 9740 IEM_MC_FETCH_GREG_U8(u8Value, ((bRm >> X86_MODRM_REG_SHIFT) & X86_MODRM_REG_SMASK) | pIemCpu->uRexReg); 9741 IEM_MC_STORE_GREG_U8((bRm & X86_MODRM_RM_MASK) | pIemCpu->uRexB, u8Value); 9751 IEM_MC_LOCAL(uint8_t, u8Value); 9754 IEM_MC_FETCH_GREG_U8(u8Value, ((bRm >> X86_MODRM_REG_SHIFT) & X86_MODRM_REG_SMASK) | pIemCpu->uRexReg); 9755 IEM_MC_STORE_MEM_U8(pIemCpu->iEffSeg, GCPtrEffDst, u8Value); 9866 IEM_MC_LOCAL(uint8_t, u8Value); 9867 IEM_MC_FETCH_GREG_U8(u8Value, (bRm & X86_MODRM_RM_MASK) | pIemCpu->uRexB); 9868 IEM_MC_STORE_GREG_U8(((bRm >> X86_MODRM_REG_SHIFT) & X86_MODRM_REG_SMASK) | pIemCpu->uRexReg, u8Value); 9878 IEM_MC_LOCAL(uint8_t, u8Value); [all...] |
H A D | IEMAll.cpp | 7191 * @param u8Value The value to store. 7193 static VBOXSTRICTRC iemMemStoreDataU8(PIEMCPU pIemCpu, uint8_t iSegReg, RTGCPTR GCPtrMem, uint8_t u8Value) argument 7200 *pu8Dst = u8Value;
|
/vbox/src/VBox/Devices/Input/ |
H A D | UsbMouse.cpp | 1244 uint8_t u8Mask, uint8_t u8Value) 1249 if ((paContacts[i].status & u8Mask) == u8Value) 1243 usbHidFindMTContact(MTCONTACT *paContacts, size_t cContacts, uint8_t u8Mask, uint8_t u8Value) argument
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | PDMDevHlp.cpp | 2049 static DECLCALLBACK(int) pdmR3DevHlp_CMOSWrite(PPDMDEVINS pDevIns, unsigned iReg, uint8_t u8Value) 2055 LogFlow(("pdmR3DevHlp_CMOSWrite: caller='%s'/%d: iReg=%#04x u8Value=%#04x\n", 2056 pDevIns->pReg->szName, pDevIns->iInstance, iReg, u8Value)); 2064 rc = pVM->pdm.s.pRtc->Reg.pfnWrite(pDevInsRtc, iReg, u8Value);
|