/vbox/src/VBox/Runtime/common/string/ |
H A D | strformattype.cpp | 177 * @param pszType The type string, doesn't need to be terminated. 178 * @param cchType The number of chars in @a pszType to compare. 181 DECLINLINE(int) rtstrFormatTypeCompare(const char *pszType, size_t cchType, PCRTSTRDYNFMT pType) argument 184 int iDiff = memcmp(pszType, pType->szType, cch); 199 * @param pszType The type to look up. This doesn't have to be terminated. 202 DECLINLINE(int32_t) rtstrFormatTypeLookup(const char *pszType, size_t cchType) argument 212 int iDiff = rtstrFormatTypeCompare(pszType, cchType, &g_aTypes[i]); 243 * @param pszType The type name. 248 RTDECL(int) RTStrFormatTypeRegister(const char *pszType, PFNRTSTRFORMATTYPE pfnHandler, void *pvUser) argument 258 AssertPtr(pszType); [all...] |
H A D | strformatrt.cpp | 349 const char *pszType = *ppszFormat - 1; local 382 int iDiff = strncmp(pszType, s_aTypes[i].sz, s_aTypes[i].cch); 954 const char *pszType = *ppszFormat - 1; local 973 int iDiff = strncmp(pszType, s_aTypes[i].sz, s_aTypes[i].cch);
|
/vbox/src/VBox/HostDrivers/VBoxNetFlt/win/ndis6/ |
H A D | VBoxNetCmn-win.h | 19 char *pszType = "unknown"; local 24 case NdisRequestSetInformation: pszType = "set"; break; 25 case NdisRequestMethod: pszType = "method"; break; 26 case NdisRequestQueryInformation: pszType = "query info"; break; 27 case NdisRequestQueryStatistics: pszType = "query stats"; break; 126 Log(("%s: %s(0x%x) %s(0x%x)\n", pcszFunction, pszType, pRequest->RequestType, pszOid, pRequest->DATA.SET_INFORMATION.Oid));
|
/vbox/src/VBox/Devices/Network/slirp/ |
H A D | debug.c | 281 const char *pszType, void const *pvValue, 294 AssertReturn(strcmp(pszType, "natsock") == 0, 0); 354 const char *pszType, void const *pvValue, 366 AssertReturn(strcmp(pszType, "natsockstate") == 0, 0); 393 const char *pszType, void const *pvValue, 403 AssertReturn(RTStrCmp(pszType, "tcpcb793") == 0, 0); 421 const char *pszType, void const *pvValue, 431 AssertReturn(RTStrCmp(pszType, "tcpseg793") == 0 && ti, 0); 442 const char *pszType, void const *pvValue, 453 AssertReturn(RTStrCmp(pszType, "tcpstat [all...] |
/vbox/src/VBox/VMM/VMMR3/ |
H A D | PGMHandler.cpp | 609 const char *pszType; local 612 case PGMPHYSHANDLERTYPE_MMIO: pszType = "MMIO "; break; 613 case PGMPHYSHANDLERTYPE_PHYSICAL_WRITE: pszType = "Write "; break; 614 case PGMPHYSHANDLERTYPE_PHYSICAL_ALL: pszType = "All "; break; 615 default: pszType = "????"; break; 619 pCur->Core.Key, pCur->Core.KeyLast, pCur->pfnHandlerR3, pCur->pvUserR3, pCur->pfnHandlerRC, pCur->pvUserRC, pszType, pCur->pszDesc); 642 const char *pszType; local 645 case PGMVIRTHANDLERTYPE_WRITE: pszType = "Write "; break; 646 case PGMVIRTHANDLERTYPE_ALL: pszType = "All "; break; 647 case PGMVIRTHANDLERTYPE_HYPERVISOR: pszType [all...] |
/vbox/src/VBox/Frontends/VBoxManage/ |
H A D | VBoxManageBandwidthControl.cpp | 116 const char *pszType = NULL; local 133 pszType = ValueUnion.psz; 166 if (!RTStrICmp(pszType, "disk")) 168 else if (!RTStrICmp(pszType, "network"))
|
H A D | VBoxManageInfo.cpp | 287 const char *pszType = bwGroupTypeToString(enmType); local 289 RTPrintf("BandwidthGroup%zu=%ls,%s,%lld\n", i, strName.raw(), pszType, cMaxBytesPerSec); 296 RTPrintf("Name: '%ls', Type: %s, Limit: none (disabled)\n", strName.raw(), pszType); 337 RTPrintf("Name: '%ls', Type: %s, Limit: %lld %sbits/sec (%lld %sbytes/sec)\n", strName.raw(), pszType, cBits, pszNetUnits, cBytes, pszUnits); 341 RTPrintf("Name: '%ls', Type: %s, Limit: %lld %sbytes/sec\n", strName.raw(), pszType, cBytes, pszUnits);
|
/vbox/src/VBox/Runtime/common/asn1/ |
H A D | asn1-dump.cpp | 102 * @param pszType The time type name. 104 static void rtAsn1DumpTime(PRTASN1DUMPDATA pData, PCRTASN1CORE pAsn1Core, const char *pszType) argument 110 pszType, 116 rtAsn1DumpPrintf(pData, "%s '%.*s'\n", pszType, (size_t)pAsn1Core->cb, pAsn1Core->uData.pch); 118 rtAsn1DumpPrintf(pData, "%s -- cb=%u\n", pszType, pAsn1Core->cb); 127 * @param pszType The string type name. 130 static void rtAsn1DumpString(PRTASN1DUMPDATA pData, PCRTASN1CORE pAsn1Core, const char *pszType, uint32_t uDepth) argument 132 rtAsn1DumpPrintf(pData, "%s", pszType); 148 rtAsn1DumpPrintf(pData, "-- cb=%u\n", pszType, pAsn1Core->cb);
|
H A D | asn1-ut-time-decode.cpp | 48 * @param pszType The type name. 51 static int rtAsn1Time_NormalizeTime(PRTASN1CURSOR pCursor, PRTASN1TIME pThis, const char *pszType, const char *pszErrorTag) argument 73 pszErrorTag, pszType, pThis->Asn1Core.cb, pThis->Asn1Core.uData.pch); 78 pszErrorTag, pszType, pThis->Asn1Core.cb, pThis->Asn1Core.uData.pch); 83 pszErrorTag, pszType, pThis->Asn1Core.cb, pThis->Asn1Core.uData.pch,
|
/vbox/src/VBox/Storage/testcase/ |
H A D | VDScript.h | 197 * @param pszType The type string. 205 * @note This will automatically register a new type with the identifier given in pszType 218 DECLHIDDEN(int) VDScriptCtxAsRegister(VDSCRIPTCTX hScriptCtx, const char *pszType, VDSCRIPTTYPE enmBaseType,
|
/vbox/src/VBox/Runtime/common/crypto/ |
H A D | x509-certpaths.cpp | 1052 const char *pszType = pAttrib->Type.szObjId; 1058 case 3: pszType = "cn"; break; 1059 case 4: pszType = "sn"; break; 1060 case 5: pszType = "serialNumber"; break; 1061 case 6: pszType = "c"; break; 1062 case 7: pszType = "l"; break; 1063 case 8: pszType = "st"; break; 1064 case 9: pszType = "street"; break; 1065 case 10: pszType = "o"; break; 1066 case 11: pszType [all...] |
/vbox/src/VBox/NetworkServices/NAT/ |
H A D | proxy.c | 132 const char *pszType, const void *pvValue, 147 AssertReturn(strcmp(pszType, "sockerr") == 0, 0); 168 const char *pszType, const void *pvValue, 180 AssertReturn(strcmp(pszType, "sockerr") == 0, 0);
|
/vbox/src/VBox/VMM/VMMAll/ |
H A D | VMMAll.cpp | 70 const char *pszType, void const *pvValue, 74 NOREF(pszType); NOREF(cchWidth); NOREF(cchPrecision); NOREF(fFlags); 69 vmmFormatTypeVmCpuSet(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char *pszType, void const *pvValue, int cchWidth, int cchPrecision, unsigned fFlags, void *pvUser) argument
|
/vbox/src/bldprogs/ |
H A D | VBoxTpG.cpp | 1654 * @param pszType The type expression. 1656 static uint32_t parseTypeExpression(const char *pszType) argument 1658 size_t cchType = strlen(pszType); 1659 #define MY_STRMATCH(a_sz) (cchType == sizeof(a_sz) - 1 && !memcmp(a_sz, pszType, sizeof(a_sz) - 1)) 1664 if (pszType[cchType - 1] == '*') 1669 if (pszType[cchType - 1] == '&') 1671 RTMsgWarning("Please avoid using references like '%s' for probe arguments!", pszType); 1760 RTMsgError("Please do NOT use the type '%s' for probe arguments!", pszType); 1773 RTMsgWarning("Please avoid using the type '%s' for probe arguments!", pszType); 1785 if (pszType[ [all...] |
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/ |
H A D | htmlhelp.h | 312 LPCSTR pszType; member in struct:tagHH_WINTYPEA 351 LPCWSTR pszType; member in struct:tagHH_WINTYPEW
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/ |
H A D | htmlhelp.h | 312 LPCSTR pszType; member in struct:tagHH_WINTYPEA 351 LPCWSTR pszType; member in struct:tagHH_WINTYPEW
|
/vbox/src/VBox/Runtime/testcase/ |
H A D | tstRTStrFormat.cpp | 41 const char *pszType, void const *pvValue, 46 if (strncmp(pszType, "type", 4)) 47 RTTestIFailed("pszType=%s expected 'typeN'\n", pszType); 49 int iType = pszType[4] - '0'; 54 size_t cch = pfnOutput(pvArgOutput, pszType, 5); 40 TstType(PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, const char *pszType, void const *pvValue, int cchWidth, int cchPrecision, unsigned fFlags, void *pvUser) argument
|
/vbox/src/VBox/Runtime/common/dbg/ |
H A D | dbgmodnm.cpp | 448 char *pszType = RTStrStripL(szLine); 449 if (pszType != &szLine[cchAddr + 1])
|
/vbox/include/iprt/ |
H A D | string.h | 1877 * @param pszType The type name. 1885 const char *pszType, void const *pvValue, 1906 * @param pszType The type name. 1911 RTDECL(int) RTStrFormatTypeRegister(const char *pszType, PFNRTSTRFORMATTYPE pfnHandler, void *pvUser); 1923 * @param pszType The type to deregister. 1925 RTDECL(int) RTStrFormatTypeDeregister(const char *pszType); 1936 * @param pszType The type to update. 1939 RTDECL(int) RTStrFormatTypeSetUser(const char *pszType, void *pvUser); 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
|
H A D | table.h | 366 const char *pszType; member in struct:RTTABOPS
|
/vbox/src/VBox/HostDrivers/Support/ |
H A D | SUPDrv-dtrace.cpp | 543 const char *pszType = vboxDtVtgGetString(pProv->pHdr, pArgList->aArgs[uArg].offType); local 544 size_t cchType = strlen(pszType); 547 memcpy(pArgDesc->dtargd_native, pszType, cchType + 1);
|
/vbox/src/VBox/Runtime/common/misc/ |
H A D | s3.cpp | 153 char *pszType = pszEmpty; local 164 pszType = &(ppHeaders[i][14]); 178 RTStrAPrintf(&pszRes, "\n%s\n%s", pszType, pszDate);
|
/vbox/src/VBox/Runtime/common/zip/ |
H A D | xarvfs.cpp | 1494 const char *pszType = pCurFile->findChildElementValueP("type"); local 1495 if (RT_UNLIKELY(!pszName || !pszType)) 1516 if (!strcmp(pszType, "file")) 1668 else if (!strcmp(pszType, "directory")) 1685 else if (!strcmp(pszType, "symlink"))
|
/vbox/src/VBox/Devices/Network/ |
H A D | SrvIntNetR0.cpp | 2091 const char *pszType = "unknown"; 2094 case RTNET_DHCP_MT_DISCOVER: pszType = "discover"; break; 2095 case RTNET_DHCP_MT_OFFER: pszType = "offer"; break; 2096 case RTNET_DHCP_MT_REQUEST: pszType = "request"; break; 2097 case RTNET_DHCP_MT_DECLINE: pszType = "decline"; break; 2098 case RTNET_DHCP_MT_ACK: pszType = "ack"; break; 2099 case RTNET_DHCP_MT_NAC: pszType = "nac"; break; 2100 case RTNET_DHCP_MT_RELEASE: pszType = "release"; break; 2101 case RTNET_DHCP_MT_INFORM: pszType = "inform"; break; 2103 Log6(("DHCP msg: %d (%s) client %.6Rhxs ciaddr=%d.%d.%d.%d yiaddr=%d.%d.%d.%d\n", MsgType, pszType, [all...] |
/vbox/src/VBox/ExtPacks/VBoxDTrace/ |
H A D | VBoxDTraceR0.cpp | 1604 const char *pszType = vboxDtVtgGetString(pProv->pHdr, pArgList->aArgs[uArg].offType); local 1605 size_t cchType = strlen(pszType); 1608 memcpy(pArgDesc->dtargd_native, pszType, cchType + 1);
|