Lines Matching refs:compStr
76 static ANTLR3_UINT32 compare8 (pANTLR3_STRING string, const char * compStr);
77 static ANTLR3_UINT32 compareUTF16_8 (pANTLR3_STRING string, const char * compStr);
78 static ANTLR3_UINT32 compareUTF16_UTF16(pANTLR3_STRING string, const char * compStr);
79 static ANTLR3_UINT32 compareS (pANTLR3_STRING string, pANTLR3_STRING compStr);
1229 compare8 (pANTLR3_STRING string, const char * compStr) in compare8() argument
1231 return strcmp((const char *)(string->chars), compStr); in compare8()
1239 compareUTF16_8 (pANTLR3_STRING string, const char * compStr) in compareUTF16_8() argument
1246 while (((ANTLR3_UCHAR)(*ourString) != '\0') && ((ANTLR3_UCHAR)(*compStr) != '\0')) in compareUTF16_8()
1248 charDiff = *ourString - *compStr; in compareUTF16_8()
1254 compStr++; in compareUTF16_8()
1259 return (ANTLR3_UINT32)((ANTLR3_UCHAR)(*ourString) - (ANTLR3_UCHAR)(*compStr)); in compareUTF16_8()
1271 pANTLR3_UINT16 compStr; in compareUTF16_UTF16() local
1275 compStr = (pANTLR3_UINT16)(compStr8); in compareUTF16_UTF16()
1277 …while (((ANTLR3_UCHAR)(*ourString) != '\0') && ((ANTLR3_UCHAR)(*((pANTLR3_UINT16)compStr)) != '\… in compareUTF16_UTF16()
1279 charDiff = *ourString - *compStr; in compareUTF16_UTF16()
1285 compStr++; in compareUTF16_UTF16()
1290 return (ANTLR3_UINT32)((ANTLR3_UCHAR)(*ourString) - (ANTLR3_UCHAR)(*compStr)); in compareUTF16_UTF16()
1298 compareS (pANTLR3_STRING string, pANTLR3_STRING compStr) in compareS() argument
1300 return string->compare(string, (const char *)compStr->chars); in compareS()