Home
last modified time | relevance | path

Searched refs:groupNum (Results 1 – 13 of 13) sorted by relevance

/external/icu/icu4c/source/i18n/
Duregex.cpp667 int32_t groupNum, in uregex_group() argument
687 int32_t startIx = regexp->fMatcher->start(groupNum, *status); in uregex_group()
688 int32_t endIx = regexp->fMatcher->end (groupNum, *status); in uregex_group()
715 int64_t start = regexp->fMatcher->start64(groupNum, *status); in uregex_group()
716 int64_t limit = regexp->fMatcher->end64(groupNum, *status); in uregex_group()
737 int32_t groupNum, in uregex_groupUText() argument
747 return regexp->fMatcher->group(groupNum, dest, *groupLength, *status); in uregex_groupUText()
757 int32_t groupNum, in uregex_start() argument
759 return (int32_t)uregex_start64( regexp2, groupNum, status); in uregex_start()
764 int32_t groupNum, in uregex_start64() argument
[all …]
Drematch.cpp416 int32_t groupNum = 0; in appendReplacement() local
432 groupNum = uhash_geti(fPattern->fNamedCaptureMap, &groupName); in appendReplacement()
433 if (groupNum == 0) { in appendReplacement()
454 if (groupNum*10 + nextDigitVal > numCaptureGroups) { in appendReplacement()
462 groupNum=groupNum*10 + nextDigitVal; in appendReplacement()
471 destLen += appendGroup(groupNum, dest, status); in appendReplacement()
1161 UText *RegexMatcher::group(int32_t groupNum, UText *dest, int64_t &group_len, UErrorCode &status) c… in group() argument
1170 } else if (groupNum < 0 || groupNum > fPattern->fGroupMap->size()) { in group()
1179 if (groupNum == 0) { in group()
1183 int32_t groupOffset = fPattern->fGroupMap->elementAti(groupNum-1); in group()
[all …]
Dregexcmp.cpp1288 int32_t groupNum = 0; in doParseActions() local
1294 groupNum = groupNum * 10 + digit; in doParseActions()
1295 if (groupNum >= numCaptureGroups) { in doParseActions()
1310 U_ASSERT(groupNum > 0); // Shouldn't happen. '\0' begins an octal escape sequence, in doParseActions()
1314 appendOp(URX_BACKREF_I, groupNum); in doParseActions()
1316 appendOp(URX_BACKREF, groupNum); in doParseActions()
/external/icu/libandroidicu/include/unicode/
Duregex.h676 int32_t groupNum,
705 int32_t groupNum,
726 int32_t groupNum,
746 int32_t groupNum,
764 int32_t groupNum,
783 int32_t groupNum,
/external/icu/icu4c/source/i18n/unicode/
Duregex.h676 int32_t groupNum,
705 int32_t groupNum,
726 int32_t groupNum,
746 int32_t groupNum,
764 int32_t groupNum,
783 int32_t groupNum,
Dregex.h899 virtual UnicodeString group(int32_t groupNum, UErrorCode &status) const;
945 … virtual UText *group(int32_t groupNum, UText *dest, int64_t &group_len, UErrorCode &status) const;
1794 int64_t appendGroup(int32_t groupNum, UText *dest, UErrorCode &status) const;
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRBBISetBuilder.java486 int groupNum = rlRange.fNum & 0xbfff; in printRangeGroups() local
487 if (groupNum > lastPrintedGroupNum) { in printRangeGroups()
488 lastPrintedGroupNum = groupNum; in printRangeGroups()
489 if (groupNum<10) {System.out.print(" ");} in printRangeGroups()
490 System.out.print(groupNum + " "); in printRangeGroups()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBISetBuilder.java485 int groupNum = rlRange.fNum & 0xbfff; in printRangeGroups() local
486 if (groupNum > lastPrintedGroupNum) { in printRangeGroups()
487 lastPrintedGroupNum = groupNum; in printRangeGroups()
488 if (groupNum<10) {System.out.print(" ");} in printRangeGroups()
489 System.out.print(groupNum + " "); in printRangeGroups()
/external/icu/icu4c/source/common/
Drbbisetb.cpp465 int groupNum = rlRange->fNum & 0xbfff; in printRangeGroups() local
466 if (groupNum > lastPrintedGroupNum) { in printRangeGroups()
467 lastPrintedGroupNum = groupNum; in printRangeGroups()
468 RBBIDebugPrintf("%2i ", groupNum); in printRangeGroups()
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/rbbi/
DRBBIMonkeyTest.java657 for (int groupNum=1; groupNum <= m.groupCount(); ++groupNum) { in BreakGroupStart()
658 String group = m.group(groupNum); in BreakGroupStart()
664 return m.start(groupNum); in BreakGroupStart()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/rbbi/
DRBBIMonkeyTest.java654 for (int groupNum=1; groupNum <= m.groupCount(); ++groupNum) { in BreakGroupStart()
655 String group = m.group(groupNum); in BreakGroupStart()
661 return m.start(groupNum); in BreakGroupStart()
/external/icu/icu4c/source/test/intltest/
Dregextst.cpp3479 UnicodeString groupNum = parseMatcher->group(2, status); in regex_find() local
3480 if (groupNum == "r") { in regex_find()
3490 set(groupEnds, deTaggedInput.length(), groupNum); in regex_find()
3492 set(groupStarts, deTaggedInput.length(), groupNum); in regex_find()
4210 int32_t groupNum = ICU_Utility::parseNumber(digitString, t, 10); in PerlTests() local
4214 matchPosition = testMat->end(groupNum, status); in PerlTests()
4216 matchPosition = testMat->start(groupNum, status); in PerlTests()
4228 int32_t groupNum = ICU_Utility::parseNumber(digitString, t, 10); in PerlTests() local
4230 resultString.append(testMat->group(groupNum, status)); in PerlTests()
4598 int32_t groupNum = ICU_Utility::parseNumber(digitString, t, 10); in PerlTestsUTF8() local
[all …]
/external/icu/libandroidicu/static_shim/
Dshim.cpp2154 int32_t uregex_end_android(URegularExpression * regexp, int32_t groupNum, UErrorCode * status) { in uregex_end_android() argument
2155 return uregex_end(regexp, groupNum, status); in uregex_end_android()
2157 int64_t uregex_end64_android(URegularExpression * regexp, int32_t groupNum, UErrorCode * status) { in uregex_end64_android() argument
2158 return uregex_end64(regexp, groupNum, status); in uregex_end64_android()
2190 int32_t uregex_group_android(URegularExpression * regexp, int32_t groupNum, UChar * dest, int32_t d… in uregex_group_android() argument
2191 return uregex_group(regexp, groupNum, dest, destCapacity, status); in uregex_group_android()
2202 UText * uregex_groupUText_android(URegularExpression * regexp, int32_t groupNum, UText * dest, int6… in uregex_groupUText_android() argument
2203 return uregex_groupUText(regexp, groupNum, dest, groupLength, status); in uregex_groupUText_android()
2310 int32_t uregex_start_android(URegularExpression * regexp, int32_t groupNum, UErrorCode * status) { in uregex_start_android() argument
2311 return uregex_start(regexp, groupNum, status); in uregex_start_android()
[all …]