Home | History | Annotate | Download | only in search

Lines Matching refs:MATCH

112         SD("testing that \u00e9 does not match e", "e", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, "characterbreaker", IA(1, 17, 30, -1), IA(1, 1, 1)),
113 SD("testing that string ab\u00e9cd does not match e", "e", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, "characterbreaker", IA(1, 28, 41, -1), IA(1, 1, 1)),
124 SD("testing that \u00e9 does not match e", "e", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, "characterbreaker", IA(1, 17, 30, -1), IA(1, 1, 1)),
125 SD("testing that string ab\u00e9cd does not match e", "e", null, TERTIARY, STANDARD_ELEMENT_COMPARISON, "characterbreaker", IA(1, 28, 41, -1), IA(1, 1, 1)),
297 * match fails because it ends in the middle of an expansion...
331 * match fails because it ends in the middle of an expansion...
336 SearchData MATCH[] = {
346 * This isn't much of a test when matches have to be on grapheme boundiaries. The match at 0 only works because it's
432 SD("\u00c0 should match but not A", "A\u0300", "en", IDENTICAL, STANDARD_ELEMENT_COMPARISON, null, IA(0, -1), IA(1, 0)),
512 /* testing tightest match */
679 errln("Error with the initialization of match start and length");
1112 SearchData search = MATCH[0];
1134 errln("Error match found at " + strsrch.getMatchStart() + ", " + strsrch.getMatchLength());
1141 errln("Error getting match text");
1148 errln("Error end of match not found");
1182 errln("Error setting canonical match true");
1186 errln("Error setting canonical match false");
1246 errln("Error match found at " + strsrch.getMatchStart() + ", " + strsrch.getMatchLength());
1265 errln("Error match found at " + strsrch.getMatchStart() + ", " + strsrch.getMatchLength());
1285 //TODO: setCanonical is not sufficient for canonical match. See #10725
1316 errln("Error match found at " + strsrch.getMatchStart() + ", " + strsrch.getMatchLength());
1335 errln("Error match found at " + strsrch.getMatchStart() + ", " + strsrch.getMatchLength());
1790 for (int count = 0; count < MATCH.length; count++) {
1791 SearchData search = MATCH[count];
1801 errln("Error getting first match");
1804 errln("Error getting last match");
1811 errln("Error getting following match at index " + (search.offset[index + 2]-1));
1816 errln("Error getting preceeding match at index " + (search.offset[index + 1] + 1));
1823 errln("Error expecting out of bounds match");
1826 errln("Error expecting out of bounds match");
1987 int match = text.indexOf(pattern, start);
1988 if (match < 0) {
1992 targetText.setIndex(match);
1994 return match;
1999 int match = text.lastIndexOf(pattern, start - 1);
2000 if (match < 0) {
2004 targetText.setIndex(match);
2006 return match;
2026 errln("Error getting next match");
2029 errln("Error getting next match length");
2037 errln("Error getting next match");
2040 errln("Error getting next match length");