/vbox/src/VBox/Runtime/common/path/ |
H A D | RTPathFilename.cpp | 45 RTDECL(char *) RTPathFilenameEx(const char *pszPath, uint32_t fFlags) argument 50 Assert(RTPATH_STR_F_IS_VALID(fFlags, 0 /*no extra flags*/)); 51 fFlags &= RTPATH_STR_F_STYLE_MASK; 52 if (fFlags == RTPATH_STR_F_STYLE_HOST) 53 fFlags = RTPATH_STYLE; 54 if (fFlags == RTPATH_STR_F_STYLE_DOS) 77 Assert(fFlags == RTPATH_STR_F_STYLE_UNIX);
|
H A D | RTPathParse.cpp | 43 RTDECL(int) RTPathParse(const char *pszPath, PRTPATHPARSED pParsed, size_t cbParsed, uint32_t fFlags) argument 52 AssertReturn(RTPATH_STR_F_IS_VALID(fFlags, 0), VERR_INVALID_FLAGS); 57 switch (fFlags & RTPATH_STR_F_STYLE_MASK) 63 return rtPathParseStyleDos(pszPath, pParsed, cbParsed, fFlags); 69 return rtPathParseStyleUnix(pszPath, pParsed, cbParsed, fFlags);
|
/vbox/src/VBox/Runtime/r3/ |
H A D | init.h | 33 DECLHIDDEN(int) rtR3InitNativeFirst(uint32_t fFlags); variable 34 DECLHIDDEN(int) rtR3InitNativeFinal(uint32_t fFlags); variable
|
H A D | allocex.h | 41 uint32_t fFlags; member in struct:RTMEMHDRR3 57 * @param fFlags Allocation flags. 60 DECLHIDDEN(int) rtMemAllocEx16BitReach(size_t cbAlloc, uint32_t fFlags, void **ppv); 68 * @param fFlags Allocation flags. 71 DECLHIDDEN(int) rtMemAllocEx32BitReach(size_t cbAlloc, uint32_t fFlags, void **ppv); 79 * @param fFlags Allocation flags. 81 DECLHIDDEN(void) rtMemFreeExYyBitReach(void *pv, size_t cb, uint32_t fFlags);
|
H A D | allocex.cpp | 41 RTDECL(int) RTMemAllocExTag(size_t cb, size_t cbAlignment, uint32_t fFlags, const char *pszTag, void **ppv) RT_NO_THROW 46 AssertMsgReturn(!(fFlags & ~RTMEMALLOCEX_FLAGS_VALID_MASK), ("%#x\n", fFlags), VERR_INVALID_PARAMETER); 51 if (fFlags & RTMEMALLOCEX_FLAGS_ANY_CTX) 69 if (fFlags & (RTMEMALLOCEX_FLAGS_16BIT_REACH | RTMEMALLOCEX_FLAGS_32BIT_REACH)) 72 if (fFlags & RTMEMALLOCEX_FLAGS_16BIT_REACH) 73 rc = rtMemAllocEx16BitReach(cbAligned + sizeof(RTMEMHDRR3), fFlags, &pv); 75 rc = rtMemAllocEx32BitReach(cbAligned + sizeof(RTMEMHDRR3), fFlags, &pv); 79 else if (fFlags & RTMEMALLOCEX_FLAGS_EXEC) 82 if ((fFlags [all...] |
H A D | init.cpp | 148 DECLHIDDEN(int) rtR3InitNativeFirst(uint32_t fFlags) { return VINF_SUCCESS; } argument 149 DECLHIDDEN(int) rtR3InitNativeFinal(uint32_t fFlags) { return VINF_SUCCESS; } argument 254 * @param fFlags Flags, see RTR3INIT_XXX. 259 static int rtR3InitArgv(uint32_t fFlags, int cArgs, char ***ppapszArgs) 261 NOREF(fFlags); 280 if (!(fFlags & RTR3INIT_FLAGS_UTF8_ARGV)) 371 static int rtR3InitBody(uint32_t fFlags, int cArgs, char ***papszArgs, const char *pszProgramPath) 376 int rc = rtR3InitNativeFirst(fFlags); 404 g_fInitFlags |= fFlags; 433 if (fFlags [all...] |
/vbox/src/VBox/Devices/Graphics/HGSMI/ |
H A D | SHGSMIHost.cpp | 21 return !(pHdr->fFlags & VBOXSHGSMI_FLAG_GH_ASYNCH_FORCE); 26 bool bDoIrq = !!(pHdr->fFlags & VBOXSHGSMI_FLAG_GH_ASYNCH_IRQ) 27 || !!(pHdr->fFlags & VBOXSHGSMI_FLAG_GH_ASYNCH_IRQ_FORCE); 34 Assert(!(pHdr->fFlags & VBOXSHGSMI_FLAG_HG_ASYNCH)); 35 pHdr->fFlags |= VBOXSHGSMI_FLAG_HG_ASYNCH; 41 if (!(pHdr->fFlags & VBOXSHGSMI_FLAG_HG_ASYNCH) /* <- check if synchronous completion */ 44 pHdr->fFlags |= VBOXSHGSMI_FLAG_HG_ASYNCH;
|
/vbox/src/VBox/Runtime/tools/ |
H A D | RTShutdown.cpp | 62 uint32_t fFlags = RTSYSTEM_SHUTDOWN_POWER_OFF | RTSYSTEM_SHUTDOWN_PLANNED; local 75 case 'H': fFlags = (fFlags & ~RTSYSTEM_SHUTDOWN_ACTION_MASK) | RTSYSTEM_SHUTDOWN_HALT; break; 76 case 'p': fFlags = (fFlags & ~RTSYSTEM_SHUTDOWN_ACTION_MASK) | RTSYSTEM_SHUTDOWN_POWER_OFF_HALT; break; 77 case 'r': fFlags = (fFlags & ~RTSYSTEM_SHUTDOWN_ACTION_MASK) | RTSYSTEM_SHUTDOWN_REBOOT; break; 78 case 'f': fFlags |= RTSYSTEM_SHUTDOWN_FORCE; break; 98 rc = RTSystemShutdown(cMsDelay, fFlags, pszMsg); 100 return RTMsgErrorExit(RTEXITCODE_FAILURE, "RTSystemShutdown(%u, %#x, \"%s\") returned %Rrc\n", cMsDelay, fFlags, pszMs [all...] |
/vbox/src/VBox/Runtime/r3/generic/ |
H A D | allocex-r3-generic.cpp | 41 DECLHIDDEN(int) rtMemAllocEx16BitReach(size_t cbAlloc, uint32_t fFlags, void **ppv) argument 47 DECLHIDDEN(int) rtMemAllocEx32BitReach(size_t cbAlloc, uint32_t fFlags, void **ppv) argument 53 DECLHIDDEN(void) rtMemFreeExYyBitReach(void *pv, size_t cb, uint32_t fFlags) argument
|
/vbox/src/VBox/Runtime/generic/ |
H A D | RTFileReadAllEx-generic.cpp | 38 RTDECL(int) RTFileReadAllEx(const char *pszFilename, RTFOFF off, RTFOFF cbMax, uint32_t fFlags, void **ppvFile, size_t *pcbFile) argument 40 AssertReturn(!(fFlags & ~RTFILE_RDALL_VALID_MASK), VERR_INVALID_PARAMETER); 43 int rc = RTFileOpen(&File, pszFilename, RTFILE_O_READ | RTFILE_O_OPEN | (fFlags & RTFILE_RDALL_O_DENY_MASK)); 46 rc = RTFileReadAllByHandleEx(File, off, cbMax, fFlags, ppvFile, pcbFile);
|
H A D | RTSystemShutdown-generic.cpp | 38 RTDECL(int) RTSystemShutdown(RTMSINTERVAL cMsDelay, uint32_t fFlags, const char *pszLogMsg) argument 41 AssertReturn(!(fFlags & ~RTSYSTEM_SHUTDOWN_VALID_MASK), VERR_INVALID_PARAMETER);
|
H A D | RTTimeLocalExplode-generic.cpp | 40 pTime->fFlags = (pTime->fFlags & ~RTTIME_FLAGS_TYPE_MASK) | RTTIME_FLAGS_TYPE_LOCAL;
|
/vbox/src/VBox/Runtime/os2/ |
H A D | rtSemWaitOs2ConvertTimeout.cpp | 48 * @param fFlags The semaphore wait flags. 51 uint32_t rtR0SemWaitOs2ConvertTimeout(uint32_t fFlags, uint64_t uTimeout) argument 56 if (fFlags & RTSEMWAIT_FLAGS_INDEFINITE) 59 if ( (fFlags & (RTSEMWAIT_FLAGS_MILLISECS | RTSEMWAIT_FLAGS_ABSOLUTE)) 76 if (fFlags & RTSEMWAIT_FLAGS_MILLISECS) 82 if (fFlags & RTSEMWAIT_FLAGS_ABSOLUTE)
|
/vbox/src/VBox/Runtime/common/string/ |
H A D | strformatnum.cpp | 40 signed int cchWidth, signed int cchPrecision, uint32_t fFlags) 42 fFlags &= ~RTSTR_F_BIT_MASK; 43 fFlags |= RTSTR_F_8BIT; 47 cchRet = RTStrFormatNumber(pszBuf, u8Value, uiBase, cchWidth, cchPrecision, fFlags); 51 cchRet = RTStrFormatNumber(szTmp, u8Value, uiBase, cchWidth, cchPrecision, fFlags); 69 signed int cchWidth, signed int cchPrecision, uint32_t fFlags) 71 fFlags &= ~RTSTR_F_BIT_MASK; 72 fFlags |= RTSTR_F_16BIT; 76 cchRet = RTStrFormatNumber(pszBuf, u16Value, uiBase, cchWidth, cchPrecision, fFlags); 80 cchRet = RTStrFormatNumber(szTmp, u16Value, uiBase, cchWidth, cchPrecision, fFlags); 39 RTStrFormatU8(char *pszBuf, size_t cbBuf, uint8_t u8Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags) argument 68 RTStrFormatU16(char *pszBuf, size_t cbBuf, uint16_t u16Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags) argument 97 RTStrFormatU32(char *pszBuf, size_t cbBuf, uint32_t u32Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags) argument 126 RTStrFormatU64(char *pszBuf, size_t cbBuf, uint64_t u64Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags) argument 155 RTStrFormatU128(char *pszBuf, size_t cbBuf, PCRTUINT128U pu128, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, uint32_t fFlags) argument 174 RTStrFormatR80u2(char *pszBuf, size_t cbBuf, PCRTFLOAT80U2 pr80Value, signed int cchWidth, signed int cchPrecision, uint32_t fFlags) argument 244 RTStrFormatR80(char *pszBuf, size_t cbBuf, PCRTFLOAT80U pr80Value, signed int cchWidth, signed int cchPrecision, uint32_t fFlags) argument [all...] |
H A D | strformat.cpp | 71 static int rtStrFormatNumber(char *psz, KSIZE64 ullValue, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, unsigned int fFlags); 148 * @param fFlags Flags (NTFS_*). 151 unsigned int fFlags) 153 return rtStrFormatNumber(psz, *(KSIZE64 *)(void *)&u64Value, uiBase, cchWidth, cchPrecision, fFlags); 168 * @param fFlags Flags (NTFS_*). 171 unsigned int fFlags) 185 if (fFlags & RTSTR_F_CAPITAL) 187 if (fFlags & RTSTR_F_LEFT) 188 fFlags &= ~RTSTR_F_ZEROPAD; 189 if ( (fFlags 150 RTStrFormatNumber(char *psz, uint64_t u64Value, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, unsigned int fFlags) argument 170 rtStrFormatNumber(char *psz, KSIZE64 ullValue, unsigned int uiBase, signed int cchWidth, signed int cchPrecision, unsigned int fFlags) argument 386 unsigned int fFlags = 0; local [all...] |
/vbox/src/VBox/Runtime/r0drv/haiku/ |
H A D | semevent-r0drv-haiku.c | 63 return RTSemEventCreateEx(phEventSem, 0 /*fFlags*/, NIL_RTLOCKVALCLASS, NULL); 67 RTDECL(int) RTSemEventCreateEx(PRTSEMEVENT phEventSem, uint32_t fFlags, RTLOCKVALCLASS hClass, const char *pszNameFmt, ...) argument 70 AssertReturn(!(fFlags & ~(RTSEMEVENT_FLAGS_NO_LOCK_VAL | RTSEMEVENT_FLAGS_BOOTSTRAP_HACK)), VERR_INVALID_PARAMETER); 71 Assert(!(fFlags & RTSEMEVENT_FLAGS_BOOTSTRAP_HACK) || (fFlags & RTSEMEVENT_FLAGS_NO_LOCK_VAL)); 164 * @param fFlags See RTSemEventWaitEx. 168 static int rtR0SemEventWait(PRTSEMEVENTINTERNAL pThis, uint32_t fFlags, uint64_t uTimeout, argument 181 AssertReturn(RTSEMWAIT_FLAGS_ARE_VALID(fFlags), VERR_INVALID_PARAMETER); 183 if (fFlags & RTSEMWAIT_FLAGS_INDEFINITE) 187 if (fFlags 238 RTSemEventWaitEx(RTSEMEVENT hEventSem, uint32_t fFlags, uint64_t uTimeout) argument 250 RTSemEventWaitExDebug(RTSEMEVENT hEventSem, uint32_t fFlags, uint64_t uTimeout, RTHCUINTPTR uId, RT_SRC_POS_DECL) argument [all...] |
H A D | alloc-r0drv-haiku.c | 45 int rtR0MemAllocEx(size_t cb, uint32_t fFlags, PRTMEMHDR *ppHdr) argument 47 if (RT_UNLIKELY(fFlags & RTMEMHDR_FLAG_ANY_CTX)) 53 LogRel(("rtR0MemAllocEx(%u, %#x) failed\n",(unsigned)cb + sizeof(*pHdr), fFlags)); 58 pHdr->fFlags = fFlags;
|
/vbox/src/VBox/Disassembler/ |
H A D | DisasmFormatBytes.cpp | 36 * @param fFlags The flags passed to the formatter. 38 size_t disFormatBytes(PCDISSTATE pDis, char *pszDst, size_t cchDst, uint32_t fFlags) argument 65 if (fFlags & DIS_FMT_FLAGS_BYTES_BRACKETS) 70 if (i != 0 && (fFlags & DIS_FMT_FLAGS_BYTES_SPACED)) 76 if (fFlags & DIS_FMT_FLAGS_BYTES_BRACKETS)
|
/vbox/src/VBox/Additions/common/VBoxService/ |
H A D | VBoxServicePropCache.h | 41 int VBoxServicePropCacheUpdateEntry(PVBOXSERVICEVEPROPCACHE pCache, const char *pszName, uint32_t fFlags, const char *pszValueReset); 43 int VBoxServicePropCacheUpdateByPath(PVBOXSERVICEVEPROPCACHE pCache, const char *pszValue, uint32_t fFlags, const char *pszPathFormat, ...);
|
/vbox/src/VBox/Runtime/common/checksum/ |
H A D | manifest-file.cpp | 49 uint32_t fFlags = RTFILE_O_READ | RTFILE_O_DENY_WRITE | RTFILE_O_OPEN; local 50 int rc = RTFileOpen(&hFile, pszFilename, fFlags); 54 rc = RTVfsIoStrmFromRTFile(hFile, fFlags, true /*fLeaveOpen*/, &hVfsIos); 69 uint32_t fFlags = RTFILE_O_WRITE | RTFILE_O_DENY_WRITE | RTFILE_O_CREATE_REPLACE; local 70 int rc = RTFileOpen(&hFile, pszFilename, fFlags); 74 rc = RTVfsIoStrmFromRTFile(hFile, fFlags, true /*fLeaveOpen*/, &hVfsIos);
|
/vbox/src/VBox/Runtime/r0drv/os2/ |
H A D | spinlock-r0drv-os2.cpp | 59 uint32_t fFlags; member in struct:RTSPINLOCKINTERNAL 65 RTDECL(int) RTSpinlockCreate(PRTSPINLOCK pSpinlock, uint32_t fFlags, const char *pszName) argument 67 AssertReturn(fFlags == RTSPINLOCK_FLAGS_INTERRUPT_SAFE || fFlags == RTSPINLOCK_FLAGS_INTERRUPT_UNSAFE, VERR_INVALID_PARAMETER); 81 pThis->fFlags = fFlags;
|
/vbox/src/VBox/Runtime/common/asn1/ |
H A D | asn1-cursor.cpp | 67 PRTERRINFO pErrInfo, PCRTASN1ALLOCATORVTABLE pAllocator, uint32_t fFlags, 72 pPrimaryCursor->Cursor.fFlags = fFlags; 92 pChild->fFlags = pParent->fFlags; 117 pChild->fFlags = pParent->fFlags; 224 pAsn1Core->fFlags = 0; 280 if (pCursor->fFlags & (RTASN1CURSOR_FLAGS_DER | RTASN1CURSOR_FLAGS_CER)) 298 else if (pCursor->fFlags 66 RTAsn1CursorInitPrimary(PRTASN1CURSORPRIMARY pPrimaryCursor, void const *pvFirst, uint32_t cb, PRTERRINFO pErrInfo, PCRTASN1ALLOCATORVTABLE pAllocator, uint32_t fFlags, const char *pszErrorTag) argument 326 RTAsn1CursorMatchTagClassFlagsEx(PRTASN1CURSOR pCursor, PRTASN1CORE pAsn1Core, uint32_t uTag, uint32_t fClass, bool fString, uint32_t fFlags, const char *pszErrorTag, const char *pszWhat) argument 367 rtAsn1CursorGetXxxxCursor(PRTASN1CURSOR pCursor, uint32_t fFlags, uint32_t uTag, uint8_t fClass, PRTASN1CORE pAsn1Core, PRTASN1CURSOR pRetCursor, const char *pszErrorTag, const char *pszWhat) argument 399 RTAsn1CursorGetSequenceCursor(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1SEQUENCECORE pSeqCore, PRTASN1CURSOR pSeqCursor, const char *pszErrorTag) argument 407 RTAsn1CursorGetSetCursor(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1SETCORE pSetCore, PRTASN1CURSOR pSetCursor, const char *pszErrorTag) argument 415 RTAsn1CursorGetContextTagNCursor(PRTASN1CURSOR pCursor, uint32_t fFlags, uint32_t uExpectedTag, PRTASN1CONTEXTTAG pCtxTag, PRTASN1CURSOR pCtxTagCursor, const char *pszErrorTag) argument 452 RTAsn1CursorGetCore(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1CORE pAsn1Core, const char *pszErrorTag) argument 458 RTAsn1CursorGetNull(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1NULL pNull, const char *pszErrorTag) argument 464 RTAsn1CursorGetInteger(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1INTEGER pInteger, const char *pszErrorTag) argument 470 RTAsn1CursorGetBoolean(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1BOOLEAN pBoolean, const char *pszErrorTag) argument 476 RTAsn1CursorGetObjId(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1OBJID pObjId, const char *pszErrorTag) argument 482 RTAsn1CursorGetTime(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1TIME pTime, const char *pszErrorTag) argument 488 RTAsn1CursorGetBitStringEx(PRTASN1CURSOR pCursor, uint32_t fFlags, uint32_t cMaxBits, PRTASN1BITSTRING pBitString, const char *pszErrorTag) argument 495 RTAsn1CursorGetBitString(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1BITSTRING pBitString, const char *pszErrorTag) argument 501 RTAsn1CursorGetOctetString(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1OCTETSTRING pOctetString, const char *pszErrorTag) argument 508 RTAsn1CursorGetString(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1STRING pString, const char *pszErrorTag) argument 514 RTAsn1CursorGetIa5String(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1STRING pString, const char *pszErrorTag) argument 520 RTAsn1CursorGetUtf8String(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1STRING pString, const char *pszErrorTag) argument 526 RTAsn1CursorGetBmpString(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1STRING pString, const char *pszErrorTag) argument 532 RTAsn1CursorGetDynType(PRTASN1CURSOR pCursor, uint32_t fFlags, PRTASN1DYNTYPE pDynType, const char *pszErrorTag) argument [all...] |
/vbox/src/VBox/Runtime/r0drv/darwin/ |
H A D | semevent-r0drv-darwin.cpp | 92 return RTSemEventCreateEx(phEventSem, 0 /*fFlags*/, NIL_RTLOCKVALCLASS, NULL); 96 RTDECL(int) RTSemEventCreateEx(PRTSEMEVENT phEventSem, uint32_t fFlags, RTLOCKVALCLASS hClass, const char *pszNameFmt, ...) argument 99 AssertReturn(!(fFlags & ~(RTSEMEVENT_FLAGS_NO_LOCK_VAL | RTSEMEVENT_FLAGS_BOOTSTRAP_HACK)), VERR_INVALID_PARAMETER); 100 Assert(!(fFlags & RTSEMEVENT_FLAGS_BOOTSTRAP_HACK) || (fFlags & RTSEMEVENT_FLAGS_NO_LOCK_VAL)); 229 * @param fFlags See RTSemEventWaitEx. 233 static int rtR0SemEventDarwinWait(PRTSEMEVENTINTERNAL pThis, uint32_t fFlags, uint64_t uTimeout, argument 241 AssertReturn(RTSEMWAIT_FLAGS_ARE_VALID(fFlags), VERR_INVALID_PARAMETER); 259 if (!(fFlags & RTSEMWAIT_FLAGS_INDEFINITE)) 261 if (fFlags [all...] |
/vbox/src/VBox/Runtime/r3/posix/ |
H A D | allocex-r3-posix.cpp | 43 DECLHIDDEN(int) rtMemAllocEx16BitReach(size_t cbAlloc, uint32_t fFlags, void **ppv) argument 50 int fProt = PROT_READ | PROT_WRITE | (fFlags & RTMEMALLOCEX_FLAGS_EXEC ? PROT_EXEC : 0); 74 DECLHIDDEN(int) rtMemAllocEx32BitReach(size_t cbAlloc, uint32_t fFlags, void **ppv) 76 int fProt = PROT_READ | PROT_WRITE | (fFlags & RTMEMALLOCEX_FLAGS_EXEC ? PROT_EXEC : 0); 105 DECLHIDDEN(void) rtMemFreeExYyBitReach(void *pv, size_t cb, uint32_t fFlags)
|
/vbox/src/VBox/VMM/VMMR3/ |
H A D | PATMR3Dbg.cpp | 43 RT_SIZEOFMEMB(a_Struct, a_Member), 0 /*fFlags*/, NULL /*piOrdinal*/); \ 52 a_cbFunc, 0 /*fFlags*/, NULL /*piOrdinal*/); \ 117 uint64_t fFlags = pPatchRec->patch.flags; local 118 if (fFlags & PATMFL_INTHANDLER) 120 if (fFlags & PATMFL_SYSENTER) 122 if (fFlags & PATMFL_GUEST_SPECIFIC) 124 if (fFlags & PATMFL_USER_MODE) 126 if (fFlags & PATMFL_IDTHANDLER) 128 if (fFlags & PATMFL_TRAPHANDLER) 130 if (fFlags [all...] |