Lines Matching defs:psz1
58 * @param psz1 First UTF-8 string. Null is allowed.
61 RTDECL(int) RTStrICmp(const char *psz1, const char *psz2)
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, psz2);
134 * @param psz1 First UTF-8 string. Null is allowed.
138 RTDECL(int) RTStrNICmp(const char *psz1, const char *psz2, size_t cchMax)
142 if (psz1 == psz2)
144 if (!psz1)
154 int rc = RTStrGetCpNEx(&psz1, &cchMax, &uc1);
158 psz1--;
169 psz1 -= (cchMax - cchMax2 + 1); /* This can't overflow, can it? */
193 return RTStrNCmp(psz1, psz2, cchMax);