Lines Matching refs:hitEnd
977 // hitEnd() and requireEnd()
984 REGEX_ASSERT(m1.hitEnd() == TRUE);
991 REGEX_ASSERT(m2.hitEnd() == FALSE);
998 REGEX_ASSERT(m3.hitEnd() == TRUE);
2085 // hitEnd() and requireEnd()
2096 REGEX_ASSERT(m1.hitEnd() == TRUE);
2104 REGEX_ASSERT(m2.hitEnd() == FALSE);
2112 REGEX_ASSERT(m3.hitEnd() == TRUE);
3295 if ((flags.indexOf((UChar)0x5A) >= 0) && // 'Z' flag: hitEnd() == false
3296 matcher->hitEnd() == TRUE) {
3297 errln("Error at line %d: hitEnd() returned TRUE. Expected FALSE", line);
3299 } else if (UTF8Matcher != NULL && (flags.indexOf((UChar)0x5A) >= 0) && // 'Z' flag: hitEnd() == false
3300 UTF8Matcher->hitEnd() == TRUE) {
3301 errln("Error at line %d: hitEnd() returned TRUE. Expected FALSE (UTF8)", line);
3305 if ((flags.indexOf((UChar)0x7A) >= 0) && // 'z' flag: hitEnd() == true
3306 matcher->hitEnd() == FALSE) {
3307 errln("Error at line %d: hitEnd() returned FALSE. Expected TRUE", line);
3309 } else if (UTF8Matcher != NULL && (flags.indexOf((UChar)0x7A) >= 0) && // 'z' flag: hitEnd() == true
3310 UTF8Matcher->hitEnd() == FALSE) {
3311 errln("Error at line %d: hitEnd() returned FALSE. Expected TRUE (UTF8)", line);