• Home
  • Raw
  • Download

Lines Matching refs:matchindex

343     int32_t matchindex  = search.offset[count];  in assertEqualWithUStringSearch()  local
361 while (U_SUCCESS(status) && matchindex >= 0) { in assertEqualWithUStringSearch()
364 if (matchindex != usearch_getMatchedStart(strsrch) || in assertEqualWithUStringSearch()
372 matchindex, matchlength); in assertEqualWithUStringSearch()
380 usearch_getText(strsrch, &textlength) + matchindex, in assertEqualWithUStringSearch()
385 matchindex = search.offset[count]; in assertEqualWithUStringSearch()
401 matchindex = search.offset[count]; in assertEqualWithUStringSearch()
403 while (U_SUCCESS(status) && matchindex >= 0) { in assertEqualWithUStringSearch()
406 if (matchindex != usearch_getMatchedStart(strsrch) || in assertEqualWithUStringSearch()
414 matchindex, matchlength); in assertEqualWithUStringSearch()
421 usearch_getText(strsrch, &textlength) + matchindex, in assertEqualWithUStringSearch()
426 matchindex = count > 0 ? search.offset[count - 1] : -1; in assertEqualWithUStringSearch()
447 matchindex = search.offset[count]; in assertEqualWithUStringSearch()
453 if (matchindex < 0) { in assertEqualWithUStringSearch()
470 if (usearch_getMatchedStart(strsrch) != matchindex in assertEqualWithUStringSearch()
480 matchindex, matchlength); in assertEqualWithUStringSearch()
491 matchindex = search.offset[count]; in assertEqualWithUStringSearch()
520 matchindex = search.offset[count]; in assertEqualWithUStringSearch()
522 if (usearch_getMatchedStart(strsrch) != matchindex in assertEqualWithUStringSearch()
532 matchindex, matchlength); in assertEqualWithUStringSearch()
536 nextStart = matchindex; in assertEqualWithUStringSearch()
1247 int32_t matchindex = search.offset[count]; in TestGetSetOffset() local
1257 while (U_SUCCESS(status) && matchindex >= 0) { in TestGetSetOffset()
1260 if (matchindex != usearch_getMatchedStart(strsrch) || in TestGetSetOffset()
1272 usearch_setOffset(strsrch, matchindex + matchlength, &status); in TestGetSetOffset()
1274 if (matchindex != usearch_getMatchedStart(strsrch) || in TestGetSetOffset()
1286 usearch_setOffset(strsrch, matchindex + matchlength, &status); in TestGetSetOffset()
1287 matchindex = search.offset[count + 1] == -1 ? -1 : in TestGetSetOffset()
1410 int32_t matchindex = search.offset[count]; in TestGetMatch() local
1439 while (U_SUCCESS(status) && matchindex >= 0) { in TestGetMatch()
1442 if (matchindex != usearch_getMatchedStart(strsrch) || in TestGetMatch()
1480 usearch_getText(strsrch, &textlength) + matchindex, in TestGetMatch()
1486 matchindex = search.offset[count]; in TestGetMatch()
2302 int32_t matchindex = search.offset[count]; in TestGetSetOffsetCanonical() local
2315 while (U_SUCCESS(status) && matchindex >= 0) { in TestGetSetOffsetCanonical()
2318 if (matchindex != usearch_getMatchedStart(strsrch) || in TestGetSetOffsetCanonical()
2330 matchindex = search.offset[count + 1] == -1 ? -1 : in TestGetSetOffsetCanonical()