Home
last modified time | relevance | path

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

/external/icu/icu4c/source/i18n/
Duregex.cpp665 int32_t groupNum, in uregex_group() argument
685 int32_t startIx = regexp->fMatcher->start(groupNum, *status); in uregex_group()
686 int32_t endIx = regexp->fMatcher->end (groupNum, *status); in uregex_group()
713 int64_t start = regexp->fMatcher->start64(groupNum, *status); in uregex_group()
714 int64_t limit = regexp->fMatcher->end64(groupNum, *status); in uregex_group()
735 int32_t groupNum, in uregex_groupUText() argument
745 return regexp->fMatcher->group(groupNum, dest, *groupLength, *status); in uregex_groupUText()
755 int32_t groupNum, in uregex_start() argument
757 return (int32_t)uregex_start64( regexp2, groupNum, status); in uregex_start()
762 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.cpp1284 int32_t groupNum = 0; in doParseActions() local
1290 groupNum = groupNum * 10 + digit; in doParseActions()
1291 if (groupNum >= numCaptureGroups) { in doParseActions()
1306 U_ASSERT(groupNum > 0); // Shouldn't happen. '\0' begins an octal escape sequence, in doParseActions()
1310 appendOp(URX_BACKREF_I, groupNum); in doParseActions()
1312 appendOp(URX_BACKREF, groupNum); in doParseActions()
/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.h892 virtual UnicodeString group(int32_t groupNum, UErrorCode &status) const;
933 … virtual UText *group(int32_t groupNum, UText *dest, int64_t &group_len, UErrorCode &status) const;
1782 int64_t appendGroup(int32_t groupNum, UText *dest, UErrorCode &status) const;
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBISetBuilder.java482 int groupNum = rlRange.fNum & 0xbfff; in printRangeGroups() local
483 if (groupNum > lastPrintedGroupNum) { in printRangeGroups()
484 lastPrintedGroupNum = groupNum; in printRangeGroups()
485 if (groupNum<10) {System.out.print(" ");} in printRangeGroups()
486 System.out.print(groupNum + " "); in printRangeGroups()
/external/icu/icu4c/source/common/
Drbbisetb.cpp476 int groupNum = rlRange->fNum & 0xbfff; in printRangeGroups() local
477 if (groupNum > lastPrintedGroupNum) { in printRangeGroups()
478 lastPrintedGroupNum = groupNum; in printRangeGroups()
479 RBBIDebugPrintf("%2i ", groupNum); in printRangeGroups()
/external/icu/icu4c/source/test/intltest/
Dregextst.cpp3535 UnicodeString groupNum = parseMatcher->group(2, status); in regex_find() local
3536 if (groupNum == "r") { in regex_find()
3546 set(groupEnds, deTaggedInput.length(), groupNum); in regex_find()
3548 set(groupStarts, deTaggedInput.length(), groupNum); in regex_find()
4259 int32_t groupNum = ICU_Utility::parseNumber(digitString, t, 10); in PerlTests() local
4263 matchPosition = testMat->end(groupNum, status); in PerlTests()
4265 matchPosition = testMat->start(groupNum, status); in PerlTests()
4277 int32_t groupNum = ICU_Utility::parseNumber(digitString, t, 10); in PerlTests() local
4279 resultString.append(testMat->group(groupNum, status)); in PerlTests()
4647 int32_t groupNum = ICU_Utility::parseNumber(digitString, t, 10); in PerlTestsUTF8() local
[all …]