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);
1169 compare8 (pANTLR3_STRING string, const char * compStr)
1171 return strcmp((const char *)(string->chars), compStr);
1179 compareUTF16_8 (pANTLR3_STRING string, const char * compStr)
1186 while (((ANTLR3_UCHAR)(*ourString) != '\0') && ((ANTLR3_UCHAR)(*compStr) != '\0'))
1188 charDiff = *ourString - *compStr;
1194 compStr++;
1199 return (ANTLR3_UINT32)((ANTLR3_UCHAR)(*ourString) - (ANTLR3_UCHAR)(*compStr));
1211 pANTLR3_UINT16 compStr;
1215 compStr = (pANTLR3_UINT16)(compStr8);
1217 while (((ANTLR3_UCHAR)(*ourString) != '\0') && ((ANTLR3_UCHAR)(*((pANTLR3_UINT16)compStr)) != '\0'))
1219 charDiff = *ourString - *compStr;
1225 compStr++;
1230 return (ANTLR3_UINT32)((ANTLR3_UCHAR)(*ourString) - (ANTLR3_UCHAR)(*compStr));
1238 compareS (pANTLR3_STRING string, pANTLR3_STRING compStr)
1240 return string->compare(string, (const char *)compStr->chars);