Searched refs:pcch (Results 1 - 16 of 16) sorted by relevance

/vbox/src/VBox/Runtime/common/string/
H A DRTStrNLenEx.cpp34 RTDECL(int) RTStrNLenEx(const char *pszString, size_t cchMax, size_t *pcch) argument
39 *pcch = cchMax;
42 *pcch = pchEnd - pszString;
H A Dutf-16-latin-1.cpp47 * @param pcch Where to store the length (excluding '\\0') of the Latin1 string. (cch == cb, btw)
49 static int rtUtf16CalcLatin1Length(PCRTUTF16 pwsz, size_t cwc, size_t *pcch) argument
100 *pcch = cch;
219 RTDECL(int) RTUtf16ToLatin1ExTag(PCRTUTF16 pwszString, size_t cwcString, char **ppsz, size_t cch, size_t *pcch, const char *pszTag) argument
226 AssertPtrNull(pcch);
235 if (pcch)
236 *pcch = cchResult;
286 RTDECL(int) RTUtf16CalcLatin1LenEx(PCRTUTF16 pwsz, size_t cwc, size_t *pcch) argument
290 if (pcch)
291 *pcch
[all...]
H A Dutf-8.cpp846 * @param pcch Where to store the length (excluding '\\0') of the UTF-8 string. (cch == cb, btw)
848 static int rtLatin1CalcUtf8Length(const char *psz, size_t cchIn, size_t *pcch) argument
863 *pcch = cch;
947 RTDECL(int) RTLatin1ToUtf8ExTag(const char *pszString, size_t cchString, char **ppsz, size_t cch, size_t *pcch, const char *pszTag) argument
954 Assert(!pcch || VALID_PTR(pcch));
963 if (pcch)
964 *pcch = cchResult;
1014 RTDECL(int) RTLatin1CalcUtf8LenEx(const char *psz, size_t cchIn, size_t *pcch) argument
1018 if (pcch)
1035 rtUtf8CalcLatin1Length(const char *psz, size_t cchIn, size_t *pcch) argument
1142 RTStrToLatin1ExTag(const char *pszString, size_t cchString, char **ppsz, size_t cch, size_t *pcch, const char *pszTag) argument
1212 RTStrCalcLatin1LenEx(const char *psz, size_t cchIn, size_t *pcch) argument
1382 rtStrGetCpNExFailure(const char **ppsz, size_t *pcch, PRTUNICP pCp, int rc) argument
1394 RTStrGetCpNExInternal(const char **ppsz, size_t *pcch, PRTUNICP pCp) argument
[all...]
H A Dutf-16.cpp274 * @param pcch Where to store the length (excluding '\\0') of the UTF-8 string. (cch == cb, btw)
276 static int rtUtf16CalcUtf8Length(PCRTUTF16 pwsz, size_t cwc, size_t *pcch) argument
327 *pcch = cch;
341 * @param pcch Where to store the number of octets actually encoded.
343 static int rtUtf16RecodeAsUtf8(PCRTUTF16 pwsz, size_t cwc, char *psz, size_t cch, size_t *pcch) argument
437 *pcch = (char *)pwch - psz;
482 RTDECL(int) RTUtf16ToUtf8ExTag(PCRTUTF16 pwszString, size_t cwcString, char **ppsz, size_t cch, size_t *pcch, const char *pszTag) argument
489 Assert(!pcch || VALID_PTR(pcch));
498 if (pcch)
549 RTUtf16CalcUtf8LenEx(PCRTUTF16 pwsz, size_t cwc, size_t *pcch) argument
[all...]
/vbox/src/VBox/Runtime/include/internal/
H A Dstrhash.h48 DECLINLINE(uint32_t) sdbm(const char *str, size_t *pcch) argument
57 *pcch = (uintptr_t)pu8 - (uintptr_t)str - 1;
65 DECLINLINE(uint32_t) sdbmN(const char *str, size_t cchMax, size_t *pcch) argument
74 *pcch = (uintptr_t)pu8 - (uintptr_t)str - 1;
/vbox/include/iprt/
H A Dstring.h919 * @param pcch Where to store the string length. Optional.
965 * @param pcch Where to store the length of the translated string,
973 #define RTStrToLatin1Ex(pszString, cchString, ppsz, cch, pcch) \
974 RTStrToLatin1ExTag((pszString), (cchString), (ppsz), (cch), (pcch), RTSTR_TAG)
995 * @param pcch Where to store the length of the translated string,
1004 RTDECL(int) RTStrToLatin1ExTag(const char *pszString, size_t cchString, char **ppsz, size_t cch, size_t *pcch, const char *pszTag);
1049 * @param pcch Where to store the length of the translated string,
1057 #define RTLatin1ToUtf8Ex(pszString, cchString, ppsz, cch, pcch) \
1058 RTLatin1ToUtf8ExTag((pszString), (cchString), (ppsz), (cch), (pcch), RTSTR_TAG)
1079 * @param pcch Wher
1234 RTStrGetCpNEx(const char **ppsz, size_t *pcch, PRTUNICP pCp) argument
1382 RTLatin1GetCpNEx(const char **ppsz, size_t *pcch, PRTUNICP pCp) argument
[all...]
H A Dasn1.h1157 * @param pcch Where to return the string length.
1159 RTDECL(int) RTAsn1String_QueryUtf8Len(PCRTASN1STRING pThis, size_t *pcch);
1174 * @param pcch Where to return the length (in 8-bit chars) to
1177 RTDECL(int) RTAsn1String_QueryUtf8(PCRTASN1STRING pString, const char **ppsz, size_t *pcch);
/vbox/src/VBox/Installer/linux/install_service/
H A Dgenerate_service_file.cpp425 const char *pcch = pcszValue; local
426 for (; *pcch; ++pcch)
428 if (!RT_C_IS_PRINT(*pcch))
431 pcszName, pcch - pcszValue, pcszValue);
441 const char *pcch = pcszValue; local
442 for (; *pcch; ++pcch)
444 if (!RT_C_IS_GRAPH(*pcch))
447 pcszName, pcch
[all...]
/vbox/src/VBox/Runtime/common/crypto/
H A Dx509-core.cpp354 static const char *rtCrX509CanNameStripLeft(const char *psz, size_t *pcch) argument
369 if ((uintptr_t)(pszPrev - pszStart) >= *pcch)
376 *pcch -= pszPrev - pszStart;
381 static RTUNICP rtCrX509CanNameGetNextCpWithMappingSlowSpace(const char **ppsz, size_t *pcch) argument
397 if ((uintptr_t)(pszPrev - pszStart) >= *pcch)
412 *pcch -= pszPrev - pszStart;
417 DECLINLINE(RTUNICP) rtCrX509CanNameGetNextCpIgnoreNul(const char **ppsz, size_t *pcch) argument
419 while (*pcch > 0)
425 *pcch -= 1;
433 AssertReturn(cchCp <= *pcch,
443 rtCrX509CanNameGetNextCpWithMappingSlowNothing(const char **ppsz, size_t *pcch) argument
460 rtCrX509CanNameGetNextCpWithMapping(const char **ppsz, size_t *pcch) argument
[all...]
/vbox/src/VBox/Runtime/common/misc/
H A Dgetoptargv.cpp337 * @param pcch Where to store the argument length when quoting
340 DECLINLINE(bool) rtGetOpArgvRequiresQuoting(const char *pszArg, uint32_t fFlags, size_t *pcch) argument
352 *pcch = psz - pszArg;
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Dmsctf.idl909 [out, size_is(cchMax), length_is(*pcch)] WCHAR *pchText,
911 [out] ULONG *pcch);
937 [out] LONG *pcch,
943 [out] LONG *pcch,
1027 [out] LONG *pcch);
H A Dtom.idl259 HRESULT GetStoryLength([retval, out]LONG *pcch);
H A Dmshtml.idl15192 [in, out] LONG *pcch,
15193 [out, size_is(*pcch)] OLECHAR *pchText);
15199 [in, out] LONG *pcch,
15200 [out, size_is(*pcch)] OLECHAR *pchText);
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dmsctf.idl1027 [out, size_is(cchMax), length_is(*pcch)] WCHAR *pchText,
1029 [out] ULONG *pcch);
1055 [out] LONG *pcch,
1061 [out] LONG *pcch,
1145 [out] LONG *pcch);
H A Dtom.idl260 HRESULT GetStoryLength([retval, out]LONG *pcch);
H A Dmshtml.idl17937 [in, out] LONG *pcch,
17938 [out, size_is(*pcch)] OLECHAR *pchText);
17944 [in, out] LONG *pcch,
17945 [out, size_is(*pcch)] OLECHAR *pchText);

Completed in 152 milliseconds