Home | History | Annotate | Download | only in i18n

Lines Matching refs:matchedIndex

780     strsrch->search->matchedIndex = USEARCH_DONE;
1116 int32_t lastmatchindex = strsrch->search->matchedIndex;
1287 strsrch->search->matchedIndex = start;
1930 strsrch->search->matchedIndex = getPreviousUStringSearchBaseOffset(
1934 strsrch->search->matchedIndex;
1955 strsrch->search->matchedIndex = start;
2134 strsrch->search->matchedIndex = *textoffset;
2568 strsrch->search->matchedIndex = *textoffset;
2594 strsrch->search->matchedIndex = *textoffset;
2735 result->search->matchedIndex = USEARCH_DONE;
2806 strsrch->search->matchedIndex = USEARCH_DONE;
2890 return strsrch->search->matchedIndex;
2909 int32_t copyindex = strsrch->search->matchedIndex;
2978 strsrch->search->matchedIndex = USEARCH_DONE;
3193 (search->matchedIndex != USEARCH_DONE &&
3202 (search->matchedIndex != USEARCH_DONE &&
3212 // if matchedIndex == USEARCH_DONE, it means that either a
3217 if (search->matchedIndex != USEARCH_DONE) {
3220 return search->matchedIndex;
3226 if (search->matchedIndex == USEARCH_DONE) {
3227 search->matchedIndex = offset;
3230 UTF_FWD_1(search->text, search->matchedIndex, textlength);
3234 setColEIterOffset(strsrch->textIter, search->matchedIndex);
3236 if (search->matchedIndex == textlength) {
3237 search->matchedIndex = USEARCH_DONE;
3254 // note search->matchedIndex will always be set to something
3256 search->matchedIndex = offset - 1;
3273 if (search->matchedIndex == USEARCH_DONE) {
3276 ucol_setOffset(strsrch->textIter, search->matchedIndex, status);
3280 return search->matchedIndex;
3302 int32_t matchedindex = search->matchedIndex;
3305 // if matchedIndex == USEARCH_DONE, it means that either a
3310 if (matchedindex != USEARCH_DONE) {
3311 return matchedindex;
3316 if (offset == 0 || matchedindex == 0 ||
3319 (matchedindex != USEARCH_DONE &&
3320 matchedindex < strsrch->pattern.defaultShiftSize)))) {
3328 if (offset == 0 || matchedindex == 0) {
3337 search->matchedIndex =
3338 (matchedindex == USEARCH_DONE ? offset : matchedindex);
3339 if (search->matchedIndex == 0) {
3344 UTF_BACK_1(search->text, 0, search->matchedIndex);
3345 setColEIterOffset(strsrch->textIter, search->matchedIndex);
3352 if (search->matchedIndex != USEARCH_DONE) {
3354 ucol_setOffset(strsrch->textIter, search->matchedIndex + search->matchedLength - 2, status);
3374 return search->matchedIndex;
3434 strsrch->search->matchedIndex = USEARCH_DONE;
4370 setColEIterOffset(coleiter, strsrch->search->matchedIndex);
4382 strsrch->search->matchedIndex = start;
4485 setColEIterOffset(coleiter, strsrch->search->matchedIndex);
4497 strsrch->search->matchedIndex = start;
4523 if (strsrch->search->matchedIndex != USEARCH_DONE) {
4524 textoffset = strsrch->search->matchedIndex;
4614 strsrch->search->matchedIndex = start;
4643 if (strsrch->search->matchedIndex != USEARCH_DONE) {
4644 textoffset = strsrch->search->matchedIndex;
4739 strsrch->search->matchedIndex = start;