Searched defs:uBase (Results 1 - 14 of 14) sorted by relevance

/vbox/src/VBox/Runtime/testcase/
H A DtstStrToNum.cpp35 unsigned uBase; member in struct:TstI64
43 unsigned uBase; member in struct:TstU64
51 unsigned uBase; member in struct:TstI32
59 unsigned uBase; member in struct:TstU32
69 int rc = Fun(Test.psz, NULL, Test.uBase, &Result); \
H A DtstHandleTable.cpp59 static int tstHandleTableTest1(uint32_t uBase, uint32_t cMax, uint32_t cDelta, uint32_t cUnitsPerDot, bool fCallbacks, uint32_t fFlags) argument
68 RTPrintf(", %#x, %#x,,)...\n", uBase, cMax);
71 rc = RTHandleTableCreateEx(&hHT, fFlags, uBase, cMax,
82 uint32_t i = uBase;
129 for (i = uBase; i < c; i++)
154 if (fCallbacks && cRetainerCalls != c - uBase)
156 RTPrintf("tstHandleTable: FAILURE (%d) - cRetainerCalls=%#x expected %#x!\n", __LINE__, cRetainerCalls, c - uBase);
163 for (i = uBase; i < c; i++)
195 if (fCallbacks && cRetainerCalls != c - uBase)
197 RTPrintf("tstHandleTable: FAILURE (%d) - cRetainerCalls=%#x expected %#x!\n", __LINE__, cRetainerCalls, c - uBase);
371 tstHandleTableTest2(uint32_t uBase, uint32_t cMax, uint32_t cThreads) argument
460 uint32_t uBase = 0; local
[all...]
/vbox/src/VBox/Runtime/common/misc/
H A Dhandletable.cpp46 RTDECL(int) RTHandleTableCreateEx(PRTHANDLETABLE phHandleTable, uint32_t fFlags, uint32_t uBase, uint32_t cMax, argument
63 AssertReturn(UINT32_MAX - cMax >= uBase, VERR_INVALID_PARAMETER);
91 pThis->uBase = uBase;
180 pfnDelete(hHandleTable, pThis->uBase + i + i1 * RTHT_LEVEL2_ENTRIES,
196 pfnDelete(hHandleTable, pThis->uBase + i + i1 * RTHT_LEVEL2_ENTRIES,
H A Dhandletable.h127 uint32_t uBase; member in struct:RTHANDLETABLEINT
181 return rtHandleTableLookupSimpleIdx(pThis, h - pThis->uBase);
213 return rtHandleTableLookupWithCtxIdx(pThis, h - pThis->uBase);
/vbox/src/VBox/Runtime/common/string/
H A Dstrtonum.cpp105 * @param uBase The base of the representation used.
109 RTDECL(int) RTStrToUInt64Ex(const char *pszValue, char **ppszNext, unsigned uBase, uint64_t *pu64) argument
134 if (!uBase)
140 uBase = 16;
146 uBase = 8;
150 uBase = 10;
152 else if ( uBase == 16
162 iShift = g_auchShift[uBase];
171 if (chDigit >= uBase)
175 u64 *= uBase;
232 RTStrToUInt64Full(const char *pszValue, unsigned uBase, uint64_t *pu64) argument
289 RTStrToUInt32Ex(const char *pszValue, char **ppszNext, unsigned uBase, uint32_t *pu32) argument
323 RTStrToUInt32Full(const char *pszValue, unsigned uBase, uint32_t *pu32) argument
376 RTStrToUInt16Ex(const char *pszValue, char **ppszNext, unsigned uBase, uint16_t *pu16) argument
410 RTStrToUInt16Full(const char *pszValue, unsigned uBase, uint16_t *pu16) argument
463 RTStrToUInt8Ex(const char *pszValue, char **ppszNext, unsigned uBase, uint8_t *pu8) argument
497 RTStrToUInt8Full(const char *pszValue, unsigned uBase, uint8_t *pu8) argument
554 RTStrToInt64Ex(const char *pszValue, char **ppszNext, unsigned uBase, int64_t *pi64) argument
672 RTStrToInt64Full(const char *pszValue, unsigned uBase, int64_t *pi64) argument
728 RTStrToInt32Ex(const char *pszValue, char **ppszNext, unsigned uBase, int32_t *pi32) argument
762 RTStrToInt32Full(const char *pszValue, unsigned uBase, int32_t *pi32) argument
815 RTStrToInt16Ex(const char *pszValue, char **ppszNext, unsigned uBase, int16_t *pi16) argument
849 RTStrToInt16Full(const char *pszValue, unsigned uBase, int16_t *pi16) argument
902 RTStrToInt8Ex(const char *pszValue, char **ppszNext, unsigned uBase, int8_t *pi8) argument
936 RTStrToInt8Full(const char *pszValue, unsigned uBase, int8_t *pi8) argument
[all...]
H A Dstrformat.cpp389 unsigned int uBase = 10; local
647 uBase = 8;
652 uBase = 16;
658 uBase = 10;
664 uBase = 16;
756 cchNum = RTStrFormatNumber((char *)SSToDS(&achNum), u64Value, uBase, cchWidth, cchPrecision, fFlags);
/vbox/src/VBox/Runtime/r3/linux/
H A Dsysfs.cpp245 RTDECL(int64_t) RTLinuxSysFsReadIntFileV(unsigned uBase, const char *pszFormat, va_list va) argument
256 int rc = RTStrToInt64Ex(szNum, NULL, uBase, &i64Ret);
271 RTDECL(int64_t) RTLinuxSysFsReadIntFile(unsigned uBase, const char *pszFormat, ...) argument
275 int64_t i64Ret = RTLinuxSysFsReadIntFileV(uBase, pszFormat, va);
/vbox/src/VBox/HostDrivers/VBoxUSB/
H A DUSBFilter.cpp128 * @param uBase The base - 8 or 16.
132 static int usbfilterReadNumberDecimal(const char *pszExpr, unsigned uBase, const char **ppszExpr, uint16_t *pu16Val) argument
139 if (uDigit >= uBase)
141 u32 *= uBase;
/vbox/src/VBox/Debugger/
H A DDBGCEval.cpp179 static int dbgcEvalSubNum(const char *pachExpr, size_t cchExpr, unsigned uBase, PDBGCVAR pArg) argument
181 Log2(("dbgcEvalSubNum: uBase=%d pachExpr=%.*s\n", uBase, cchExpr, pachExpr));
198 if (u < 10 && u < uBase)
199 u64 = u64 * uBase + u;
200 else if (ch >= 'a' && (u = ch - ('a' - 10)) < uBase)
201 u64 = u64 * uBase + u;
202 else if (ch >= 'A' && (u = ch - ('A' - 10)) < uBase)
203 u64 = u64 * uBase + u;
208 if (u64Prev != u64 / uBase)
[all...]
/vbox/src/VBox/HostDrivers/Support/
H A DSUPR3HardenedMain.cpp337 * @param uBase The base (16 or 8).
340 static void suplibHardenedPrintHexOctal(uint64_t uValue, unsigned uBase, uint32_t fFlags) argument
345 unsigned cShift = uBase == 16 ? 4 : 3;
346 unsigned fDigitMask = uBase == 16 ? 0xf : 7;
359 if ((fFlags & RTSTR_F_SPECIAL) && uBase == 16)
606 unsigned uBase = 10;
613 uBase = 16;
618 uBase = 16;
621 uBase = 10;
624 uBase
[all...]
/vbox/src/VBox/Main/src-server/linux/
H A DUSBGetDevices.cpp145 static int usbReadNum(const char *pszValue, unsigned uBase, uint32_t u32Mask, PCUSBSUFF paSuffs, void *pvNum, char **ppszNext) argument
164 RTStrToUInt32Ex(pszValue, &pszNext, uBase, &u32);
224 static int usbRead8(const char *pszValue, unsigned uBase, uint8_t *pu8, char **ppszNext) argument
226 return usbReadNum(pszValue, uBase, 0xff, NULL, pu8, ppszNext);
230 static int usbRead16(const char *pszValue, unsigned uBase, uint16_t *pu16, char **ppszNext) argument
232 return usbReadNum(pszValue, uBase, 0xffff, NULL, pu16, ppszNext);
237 static int usbRead16Suff(const char *pszValue, unsigned uBase, PCUSBSUFF paSuffs, uint16_t *pu16, char **ppszNext)
239 return usbReadNum(pszValue, uBase, 0xffff, paSuffs, pu16, ppszNext);
248 static int usbReadBCD(const char *pszValue, unsigned uBase, uint16_t *pu16, char **ppszNext) argument
263 RTStrToUInt32Ex(pszValue, &pszNext, uBase,
[all...]
/vbox/src/VBox/ExtPacks/VBoxDTrace/
H A DVBoxDTraceR0.cpp205 void dtrace_toxic_ranges(void (*pfnAddOne)(uintptr_t uBase, uintptr_t cbRange)) argument
897 uint32_t uBase; member in struct:VBoxDtVMem
950 pThis->uBase = (uint32_t)(uintptr_t)pvBase;
1024 uint32_t iRet = (uint32_t)iBit + pChunk->iFirst + pThis->uBase;
1041 ? pThis->cMaxItems - (iFirstBit - pThis->uBase)
1100 AssertReturnVoid(uMem >= pThis->uBase);
1101 uMem -= pThis->uBase;
/vbox/src/VBox/Storage/testcase/
H A DVDScript.cpp515 unsigned uBase = 10; local
/vbox/src/VBox/VMM/VMMR3/
H A DCPUMR3CpuId.cpp2049 struct { PCPUMCPUID paCpuIds; uint32_t cCpuIds, uBase; } aOldRanges[] = member in struct:__anon16841
2058 uint32_t uLeaf = aOldRanges[i].uBase + cLeft;
3982 static int cpumR3LoadOneOldGuestCpuIdArray(PSSMHANDLE pSSM, uint32_t uBase, PCPUMCPUIDLEAF *ppaLeaves, uint32_t *pcLeaves) argument
3998 NewLeaf.uLeaf = uBase + i;

Completed in 101 milliseconds