Searched refs:a_pszSrc (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/Main/glue/
H A Dstring.cpp36 void Bstr::copyFromN(const char *a_pszSrc, size_t a_cchMax) argument
44 if (!a_cchMax || !a_pszSrc || !*a_pszSrc)
52 int vrc = ::RTStrCalcUtf16LenEx(a_pszSrc, a_cchMax, &cwc);
56 AssertLogRelMsgFailed(("%Rrc %.*Rhxs\n", vrc, RTStrNLen(a_pszSrc, a_cchMax), a_pszSrc));
65 vrc = ::RTStrToUtf16Ex(a_pszSrc, a_cchMax, &pwsz, cwc + 1, NULL);
/vbox/src/VBox/ExtPacks/VBoxDTrace/include/
H A DVBoxDTraceLibCWrappers.h57 #define strlcpy(a_pszDst, a_pszSrc, a_cbDst) ((void)RTStrCopy(a_pszDst, a_cbDst, a_pszSrc))
H A DVBoxDTraceTypes.h427 # define MY_STRDUPA(a_pszRes, a_pszSrc) \
429 size_t cb = strlen(a_pszSrc) + 1; \
431 memcpy(a_pszRes, a_pszSrc, cb); \
/vbox/include/VBox/com/
H A Dstring.h443 * @param a_pszSrc The source string. The caller guarantees
448 void copyFrom(const char *a_pszSrc) argument
450 copyFromN(a_pszSrc, RTSTR_MAX);
456 * @param a_pszSrc The source string. The caller guarantees
464 void copyFromN(const char *a_pszSrc, size_t a_cchSrc);
521 Utf8Str(const char *a_pszSrc, size_t a_cchSrc) argument
522 : RTCString(a_pszSrc, a_cchSrc)
/vbox/include/iprt/cpp/
H A Dministring.h130 * @param a_pszSrc The source string (UTF-8).
136 RTCString(const char *a_pszSrc, size_t a_cchSrc) argument
138 size_t cchMax = a_pszSrc ? RTStrNLen(a_pszSrc, a_cchSrc) : 0;
139 copyFromN(a_pszSrc, RT_MIN(a_cchSrc, cchMax));

Completed in 53 milliseconds