Searched defs:psz1 (Results 1 - 17 of 17) sorted by relevance

/vbox/src/VBox/Runtime/common/string/
H A DRTStrCmp.cpp45 * @param psz1 First UTF-8 string. Null is allowed.
48 RTDECL(int) RTStrCmp(const char *psz1, const char *psz2) argument
50 if (psz1 == psz2)
52 if (!psz1)
57 return strcmp(psz1, psz2);
H A Dstrcmp_alias.c40 extern int (strcmp)(const char *psz1, const char *psz2) argument
42 return RT_NOCRT(strcmp)(psz1, psz2);
H A Dstrcpy_alias.c40 extern char * (strcpy)(char *psz1, const char *psz2) argument
42 return RT_NOCRT(strcpy)(psz1, psz2);
H A DRTStrNCmp.cpp35 RTDECL(int) RTStrNCmp(const char *psz1, const char *psz2, size_t cchMax) argument
37 if (psz1 == psz2)
39 if (!psz1)
49 char ch1 = *psz1++;
58 return strncmp(psz1, psz2, cchMax);
H A Dutf-8-case.cpp58 * @param psz1 First UTF-8 string. Null is allowed.
61 RTDECL(int) RTStrICmp(const char *psz1, const char *psz2) argument
63 if (psz1 == psz2)
65 if (!psz1)
70 const char *pszStart1 = psz1;
75 int rc = RTStrGetCpEx(&psz1, &uc1);
79 psz1--;
89 psz1 = RTStrPrevCp(pszStart1, psz1);
112 return RTStrCmp(psz1, psz
138 RTStrNICmp(const char *psz1, const char *psz2, size_t cchMax) argument
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/
H A Dhardenedmain.cpp25 * @param psz1 The first string.
28 static int MyStrCmp(const char *psz1, const char *psz2) argument
32 char ch1 = *psz1++;
/vbox/src/VBox/Additions/os2/
H A DVBoxReplaceDll.cpp30 char *psz1 = strrchr(argv0, '\\'); local
31 if (psz1)
32 argv0 = psz1 + 1;
33 psz1 = strrchr(argv0, '/');
34 if (psz1)
35 argv0 = psz1 + 1;
36 psz1 = strrchr(argv0, ':');
37 if (psz1)
38 argv0 = psz1 + 1;
/vbox/src/VBox/HostDrivers/Support/
H A DSUPR3HardenedNoCrt.cpp148 DECLHIDDEN(int) suplibHardenedStrCmp(const char *psz1, const char *psz2) argument
152 char ch1 = *psz1++;
163 DECLHIDDEN(int) suplibHardenedStrNCmp(const char *psz1, const char *psz2, size_t cchMax) argument
167 char ch1 = *psz1++;
/vbox/src/libs/kStuff/iprt/
H A DkHlpString-iprt.cpp90 char *kHlpStrCat(char *psz1, const char *psz2) argument
92 return strcat(psz1, psz2);
98 char *kHlpStrNCat(char *psz1, const char *psz2, KSIZE cb) argument
100 return strncat(psz1, psz2, cb);
122 int kHlpStrComp(const char *psz1, const char *psz2) argument
124 return strcmp(psz1, psz2);
130 int kHlpStrNComp(const char *psz1, const char *psz2, KSIZE cch) argument
132 return strncmp(psz1, psz2, cch);
138 char *kHlpStrCopy(char *psz1, const char *psz2) argument
140 return strcpy(psz1, psz
146 kHlpStrLen(const char *psz1) argument
[all...]
/vbox/src/VBox/Runtime/testcase/
H A DtstRTStrCache.cpp225 const char *psz1, *psz2; local
226 RTTESTI_CHECK((psz1 = RTStrCacheEnterN(hStrCache, szTest, i)) == pszTest1Rets[i]);
228 RTTESTI_CHECK_MSG((cRefs = RTStrCacheRelease(hStrCache, psz1)) == 1, ("cRefs=%#x i=%#x\n", cRefs, i));
H A DtstIprtMiniString.cpp361 static int mymemcmp(const char *psz1, const char *psz2, size_t cch) argument
364 if (psz1[off] != psz2[off])
366 RTTestIFailed("off=%#x psz1=%.*Rhxs psz2=%.*Rhxs\n", off,
367 RT_MIN(cch - off, 8), &psz1[off],
369 return psz1[off] > psz2[off] ? 1 : -1;
H A DtstUtf8.cpp519 const char *psz1 = g_szAll; local
529 rc = RTStrGetCpEx(&psz1, &uc1);
536 char *pszPrev1 = RTStrPrevCp(g_szAll, psz1);
551 if (psz2 != psz1)
592 if (pszPut1 - pszPut1Base != psz1 - &g_szAll[0])
595 pszPut1 - pszPut1Base, psz1 - &g_szAll[0]);
/vbox/src/VBox/VMM/VMMR3/
H A DSTAM.cpp590 * @retval < 0 if psz1 is less than psz2.
591 * @retval > 0 if psz1 greater than psz2.
593 * @param psz1 The first string.
596 static int stamR3SlashCompare(const char *psz1, const char *psz2) argument
600 unsigned int ch1 = *psz1++;
/vbox/src/VBox/Devices/Graphics/shaderlib/wine/include/
H A Dfdi.h241 char *psz1; member in struct:__anon13578
/vbox/include/iprt/
H A Dstring.h2306 * @param psz1 First UTF-8 string. Null is allowed.
2309 RTDECL(int) RTStrCmp(const char *psz1, const char *psz2);
2322 * @param psz1 First UTF-8 string. Null is allowed.
2326 RTDECL(int) RTStrNCmp(const char *psz1, const char *psz2, size_t cchMax);
2344 * @param psz1 First UTF-8 string. Null is allowed.
2347 RTDECL(int) RTStrICmp(const char *psz1, const char *psz2);
2366 * @param psz1 First UTF-8 string. Null is allowed.
2370 RTDECL(int) RTStrNICmp(const char *psz1, const char *psz2, size_t cchMax);
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
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/include/
H A Dfdi.h237 char *psz1; member in struct:__anon974
/vbox/src/VBox/Devices/EFI/
H A DDevEFI.cpp889 char const *psz1 = &pThis->NVRAM.VarOpBuf.szName[pThis->NVRAM.offOpBuffer]; local
890 char const *psz2 = psz1;
894 Log2(("EFI_VM_VARIABLE_OP_NAME_UTF16[%u] => %#x (+%d)\n", pThis->NVRAM.offOpBuffer, *pu32, psz2 - psz1));
895 pThis->NVRAM.offOpBuffer += psz2 - psz1;

Completed in 116 milliseconds