Lines Matching refs:cchMax
136 * @param cchMax Maximum string length
138 RTDECL(int) RTStrNICmp(const char *psz1, const char *psz2, size_t cchMax)
140 if (cchMax == 0)
153 size_t cchMax2 = cchMax;
154 int rc = RTStrGetCpNEx(&psz1, &cchMax, &uc1);
159 cchMax++;
169 psz1 -= (cchMax - cchMax2 + 1); /* This can't overflow, can it? */
170 cchMax = cchMax2 + 1;
188 if (!uc1 || cchMax == 0)
193 return RTStrNCmp(psz1, psz2, cchMax);