Searched refs:cchString (Results 1 - 25 of 31) sorted by relevance

12

/vbox/src/VBox/Runtime/common/string/
H A Dsimplepattern.cpp94 const char *pszString, size_t cchString)
104 char chStr = cchString ? *pszString : '\0';
125 if (!cchString--)
129 && RTStrSimplePatternNMatch(pszPattern + 1, cchPattern - 1, pszString, cchString))
139 if (!cchString || !*pszString)
144 return cchString == 0 || !*pszString;
149 cchString--;
158 const char *pszString, size_t cchString,
175 if (RTStrSimplePatternNMatch(pszCur, pszEnd - pszCur, pszString, cchString))
93 RTStrSimplePatternNMatch(const char *pszPattern, size_t cchPattern, const char *pszString, size_t cchString) argument
157 RTStrSimplePatternMultiMatch(const char *pszPatterns, size_t cchPatterns, const char *pszString, size_t cchString, size_t *poffMatchingPattern) argument
H A Dstrspace.cpp87 pStr->Key = sdbm(pStr->pszString, &pStr->cchString);
94 if ( pCur->cchString == pStr->cchString
95 && !memcmp(pCur->pszString, pStr->pszString, pStr->cchString))
114 size_t cchString; local
115 KAVLKEY Key = sdbm(pszString, &cchString);
123 if ( pCur->cchString == cchString
124 && !memcmp(pCur->pszString, pszString, cchString))
163 size_t cchString; local
192 size_t cchString; local
[all...]
H A Dstrcache.cpp138 uint16_t cchString; member in struct:RTSTRCACHEENTRY
148 /** RTSTCACHEENTRY::cchString value for big cache entries. */
161 uint32_t cchString; member in struct:RTSTRCACHEBIGENTRY
494 uint32_t cchString = pEntry->cchString; local
495 if (cchString == RTSTRCACHEENTRY_BIG_LEN)
496 cchString = RT_FROM_MEMBER(pEntry, RTSTRCACHEBIGENTRY, Core)->cchString;
498 uint32_t iHash = rtStrCacheFindEmptyHashTabEntry(pThis, RT_MAKE_U32(pEntry->uHash, cchString));
542 * @param cchString Th
545 rtStrCacheAllocMergedEntry(PRTSTRCACHEINT pThis, uint32_t uHash, const char *pchString, uint32_t cchString, uint32_t cbEntry) argument
660 rtStrCacheAllocHeapEntry(PRTSTRCACHEINT pThis, uint32_t uHash, const char *pchString, uint32_t cchString) argument
699 rtStrCacheAllocFixedEntry(PRTSTRCACHEINT pThis, uint32_t uHash, const char *pchString, uint32_t cchString, uint32_t iFreeList) argument
773 rtStrCacheLookUp(PRTSTRCACHEINT pThis, uint32_t uHashLen, uint32_t cchString, const char *pchString, uint32_t *piFreeHashTabEntry, uint32_t *pcCollisions) argument
829 RTStrCacheEnterN(RTSTRCACHE hStrCache, const char *pchString, size_t cchString) argument
923 rtStrCacheEnterLowerWorker(PRTSTRCACHEINT pThis, const char *pchString, size_t cchString) argument
954 RTStrCacheEnterLowerN(RTSTRCACHE hStrCache, const char *pchString, size_t cchString) argument
994 uint32_t cchString = pStr->cchString == RTSTRCACHEENTRY_BIG_LEN local
[all...]
H A Dstrhash1.cpp44 RTDECL(uint32_t) RTStrHash1N(const char *pszString, size_t cchString) argument
47 return sdbmN(pszString, cchString, &cchIgnored);
H A Dutf-16-latin-1.cpp400 RTDECL(int) RTLatin1ToUtf16ExTag(const char *pszString, size_t cchString, argument
414 int rc = rtLatin1CalcUtf16Length(pszString, cchString, &cwcResult);
444 rc = rtLatin1RecodeAsUtf16(pszString, cchString, pwszResult, cwc - 1);
H A Dutf-8.cpp438 RTDECL(int) RTStrToUniEx(const char *pszString, size_t cchString, PRTUNICP *ppaCps, size_t cCps, size_t *pcCps) argument
451 int rc = rtUtf8Length(pszString, cchString, &cCpsResult, NULL);
481 rc = rtUtf8Decode(pszString, cchString, paCpsResult, cCps - 1);
759 RTDECL(int) RTStrToUtf16ExTag(const char *pszString, size_t cchString, argument
773 int rc = rtUtf8CalcUtf16Length(pszString, cchString, &cwcResult);
803 rc = rtUtf8RecodeAsUtf16(pszString, cchString, pwszResult, cwc - 1);
947 RTDECL(int) RTLatin1ToUtf8ExTag(const char *pszString, size_t cchString, char **ppsz, size_t cch, size_t *pcch, const char *pszTag) argument
960 int rc = rtLatin1CalcUtf8Length(pszString, cchString, &cchResult);
987 rc = rtLatin1RecodeAsUtf8(pszString, cchString, pszResult, cch - 1);
1142 RTDECL(int) RTStrToLatin1ExTag(const char *pszString, size_t cchString, argument
[all...]
/vbox/src/VBox/Runtime/generic/
H A Dstrcache-stubs-generic.cpp62 RTDECL(const char *) RTStrCacheEnterN(RTSTRCACHE hStrCache, const char *pchString, size_t cchString) argument
65 AssertReturn(cchString < _1G, NULL);
66 Assert(!RTStrEnd(pchString, cchString));
68 return (const char *)RTMemPoolDupEx((RTMEMPOOL)hStrCache, pchString, cchString, 1);
80 RTDECL(const char *) RTStrCacheEnterLowerN(RTSTRCACHE hStrCache, const char *pchString, size_t cchString)
83 AssertReturn(cchString < _1G, NULL);
84 Assert(!RTStrEnd(pchString, cchString));
86 char *pszRet = (char *)RTMemPoolDupEx((RTMEMPOOL)hStrCache, pchString, cchString, 1);
H A Duuid-generic.cpp180 RTDECL(int) RTUuidToStr(PCRTUUID pUuid, char *pszString, size_t cchString) argument
188 AssertReturn(cchString >= RTUUID_STR_LENGTH, VERR_INVALID_PARAMETER);
/vbox/include/iprt/
H A Dstrcache.h69 * @param cchString The number of characters (bytes) to enter.
74 RTDECL(const char *) RTStrCacheEnterN(RTSTRCACHE hStrCache, const char *pchString, size_t cchString);
98 * @param cchString The number of characters (bytes) to enter.
103 RTDECL(const char *) RTStrCacheEnterLowerN(RTSTRCACHE hStrCache, const char *pchString, size_t cchString);
H A Duuid.h129 * @param cchString pszString buffer length, must be >= RTUUID_STR_LENGTH.
131 RTDECL(int) RTUuidToStr(PCRTUUID pUuid, char *pszString, size_t cchString);
H A Dstring.h771 * @param cchString The maximum size in chars (the type) to convert. The conversion stop
772 * when it reaches cchString or the string terminator ('\\0').
788 RTDECL(int) RTStrToUniEx(const char *pszString, size_t cchString, PRTUNICP *ppaCps, size_t cCps, size_t *pcCps);
846 * @param cchString The maximum size in chars (the type) to convert. The conversion stop
847 * when it reaches cchString or the string terminator ('\\0').
863 #define RTStrToUtf16Ex(pszString, cchString, ppwsz, cwc, pcwc) \
864 RTStrToUtf16ExTag((pszString), (cchString), (ppwsz), (cwc), (pcwc), RTSTR_TAG)
872 * @param cchString The maximum size in chars (the type) to convert. The conversion stop
873 * when it reaches cchString or the string terminator ('\\0').
890 RTDECL(int) RTStrToUtf16ExTag(const char *pszString, size_t cchString, PRTUTF1
3069 size_t cchString; member in struct:RTSTRSPACECORE
[all...]
/vbox/src/VBox/Runtime/r3/win/
H A Duuid-win.cpp121 RTDECL(int) RTUuidToStr(PCRTUUID pUuid, char *pszString, size_t cchString) argument
126 AssertReturn(cchString >= RTUUID_STR_LENGTH, VERR_INVALID_PARAMETER);
148 if (cchTmpStr < cchString)
/vbox/include/VBox/vmm/
H A Dcfgm.h101 VMMR3DECL(int) CFGMR3InsertStringN(PCFGMNODE pNode, const char *pszName, const char *pszString, size_t cchString);
140 VMMR3DECL(int) CFGMR3QueryString( PCFGMNODE pNode, const char *pszName, char *pszString, size_t cchString);
141 VMMR3DECL(int) CFGMR3QueryStringDef( PCFGMNODE pNode, const char *pszName, char *pszString, size_t cchString, const char *pszDef);
/vbox/src/VBox/VMM/VMMR3/
H A DCFGM.cpp750 * @param cchString Size of the string buffer. (Includes terminator.)
752 VMMR3DECL(int) CFGMR3QueryString(PCFGMNODE pNode, const char *pszName, char *pszString, size_t cchString) argument
761 if (cchString >= cbSrc)
764 memset(pszString + cbSrc, 0, cchString - cbSrc);
783 * @param cchString Size of the string buffer. (Includes terminator.)
786 VMMR3DECL(int) CFGMR3QueryStringDef(PCFGMNODE pNode, const char *pszName, char *pszString, size_t cchString, const char *pszDef) argument
795 if (cchString >= cbSrc)
798 memset(pszString + cbSrc, 0, cchString - cbSrc);
810 if (cchString > cchDef)
813 memset(pszString + cchDef, 0, cchString
2086 CFGMR3InsertStringN(PCFGMNODE pNode, const char *pszName, const char *pszString, size_t cchString) argument
[all...]
H A DDBGFAddrSpace.cpp431 pDbNode->NameCore.cchString = strlen(pszName);
/vbox/src/VBox/Runtime/common/crypto/
H A Dx509-core.cpp665 size_t cchString = strlen(pszString); local
697 cchString -= g_aRdnMap[iName].cchShortNm + 1;
706 if (cchComponent > cchString)
711 cchString -= cchComponent;
717 if (cchString)
724 cchString -= 2;
729 cchString--;
/vbox/src/VBox/Runtime/common/checksum/
H A Dmanifest2.cpp204 pThis->SelfEntry.StrCore.cchString = 4;
690 pAttr->StrCore.cchString = cbName - 1;
1002 pEntry->StrCore.cchString = cchEntry;
1127 pEntry->StrCore.cchString = cchEntry;
/vbox/src/VBox/Runtime/r0drv/nt/
H A DntBldSymDb.cpp692 size_t cchString = strlen(pszString); local
694 if (cchString < cchSuffix)
696 return RTStrICmp(pszString + cchString - cchSuffix, pszSuffix) == 0;
/vbox/src/VBox/Runtime/common/dbg/
H A Ddbgmodcontainer.cpp167 Assert(pMySym->NameCore.cchString < sizeof(pExtSym->szName));
168 memcpy(pExtSym->szName, pMySym->NameCore.pszString, pMySym->NameCore.cchString + 1);
/vbox/src/VBox/Storage/testcase/
H A DVDScript.cpp148 size_t cchString; member in struct:VDSCRIPTTOKEN::__anon16799::__anon16802
581 pToken->Class.StringConst.cchString = cchStr;
978 pExpr->pszStr = RTStrDupN(pToken->Class.StringConst.pszString, pToken->Class.StringConst.cchString);
2804 pFn->Core.cchString = strlen(pFn->Core.pszString);
2949 pFn->Core.cchString = strlen(pFn->Core.pszString);
H A DVDScriptInterp.cpp778 pVar->Core.cchString = pArg->pArgIde->cchIde;
/vbox/src/VBox/Runtime/common/asn1/
H A Dasn1-ut-string.cpp704 static int rtIso2022Decoder_Init(PRTISO2022DECODERSTATE pThis, const char *pchString, uint32_t cchString, argument
709 pThis->cbString = cchString;
1403 RTDECL(int) RTAsn1String_CompareWithString(PCRTASN1STRING pThis, const char *pszString, size_t cchString) argument
1411 if (cchString == RTSTR_MAX)
1412 cchString = strlen(pszString);
1419 iDiff = strncmp(pThis->pszUtf8, pszString, cchString);
1420 if (!iDiff && pThis->cchUtf8 != cchString)
1421 iDiff = pThis->cchUtf8 < cchString ? -1 : 1;
1437 iDiff = strncmp(pch, pszString, RT_MIN(cch, cchString));
1438 if (iDiff && cch != cchString)
[all...]
/vbox/src/bldprogs/
H A DVBoxTpG.cpp409 g_offStrTab += (uint32_t)pVtgStr->Core.cchString + 1;
413 pVtgStr->szString, pVtgStr->offStrTab, pVtgStr->Core.cchString);
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dcordebug.idl974 HRESULT GetString([in] ULONG32 cchString, [out] ULONG32 *pcchString,
/vbox/src/VBox/Devices/Storage/
H A DDrvVD.cpp629 static int drvvdCfgQuery(void *pvUser, const char *pszName, char *pszString, size_t cchString) argument
631 return CFGMR3QueryString((PCFGMNODE)pvUser, pszName, pszString, cchString);

Completed in 144 milliseconds

12