Lines Matching refs:fPattern

80     fPattern = pat;  in RegexMatcher()
94 fPattern = fPatternOwned; in RegexMatcher()
117 fPattern = fPatternOwned; in RegexMatcher()
133 fPattern = fPatternOwned; in RegexMatcher()
149 fPattern = fPatternOwned; in RegexMatcher()
165 fPattern = NULL; in ~RegexMatcher()
191 fPattern = NULL; in init()
244 if (fPattern->fDataSize > UPRV_LENGTHOF(fSmallData)) { in init2()
245 fData = (int64_t *)uprv_malloc(fPattern->fDataSize * sizeof(int64_t)); in init2()
432 groupNum = uhash_geti(fPattern->fNamedCaptureMap, &groupName); in appendReplacement()
444 int32_t numCaptureGroups = fPattern->fGroupMap->size(); in appendReplacement()
566 if (group < 0 || group > fPattern->fGroupMap->size()) { in end64()
576 int32_t groupOffset = fPattern->fGroupMap->elementAti(group-1); in end64()
577 U_ASSERT(groupOffset < fPattern->fFrameSize); in end64()
680 testStartLimit = fActiveLimit - fPattern->fMinMatchLen; in find()
689 testStartLimit = fActiveLimit - (fPattern->fMinMatchLen > 0 ? 1 : 0); in find()
695 switch (fPattern->fStartType) { in find()
739 U_ASSERT(fPattern->fMinMatchLen > 0); in find()
748 if (c >= 0 && ((c<256 && fPattern->fInitialChars8->contains(c)) || in find()
749 (c>=256 && fPattern->fInitialChars->contains(c)))) { in find()
774 U_ASSERT(fPattern->fMinMatchLen > 0); in find()
775 UChar32 theChar = fPattern->fInitialChar; in find()
822 if (fPattern->fFlags & UREGEX_UNIX_LINES) { in find()
962 int32_t testLen = (int32_t)(fActiveLimit - fPattern->fMinMatchLen); in findUsingChunk()
972 switch (fPattern->fStartType) { in findUsingChunk()
1014 U_ASSERT(fPattern->fMinMatchLen > 0); in findUsingChunk()
1018 if ((c<256 && fPattern->fInitialChars8->contains(c)) || in findUsingChunk()
1019 (c>=256 && fPattern->fInitialChars->contains(c))) { in findUsingChunk()
1043 U_ASSERT(fPattern->fMinMatchLen > 0); in findUsingChunk()
1044 UChar32 theChar = fPattern->fInitialChar; in findUsingChunk()
1082 if (fPattern->fFlags & UREGEX_UNIX_LINES) { in findUsingChunk()
1170 } else if (groupNum < 0 || groupNum > fPattern->fGroupMap->size()) { in group()
1183 int32_t groupOffset = fPattern->fGroupMap->elementAti(groupNum-1); in group()
1184 U_ASSERT(groupOffset < fPattern->fFrameSize); in group()
1252 if (groupNum < 0 || groupNum > fPattern->fGroupMap->size()) { in appendGroup()
1262 int32_t groupOffset = fPattern->fGroupMap->elementAti(groupNum-1); in appendGroup()
1263 U_ASSERT(groupOffset < fPattern->fFrameSize); in appendGroup()
1308 return fPattern->fGroupMap->size(); in groupCount()
1598 return *fPattern; in pattern()
1843 if (fPattern->fNeedsAltInput) { in reset()
1872 …if (fPattern->fNeedsAltInput) fAltInputText = utext_clone(fAltInputText, fInputText, FALSE, TRUE, … in reset()
2094 int32_t numCaptureGroups = fPattern->fGroupMap->size(); in split()
2289 if (group < 0 || group > fPattern->fGroupMap->size()) { in start64()
2297 int32_t groupOffset = fPattern->fGroupMap->elementAti(group-1); in start64()
2298 U_ASSERT(groupOffset < fPattern->fFrameSize); in start64()
2398 if (adjustedLimit < fPattern->fFrameSize) { in setStackLimit()
2399 adjustedLimit = fPattern->fFrameSize; in setStackLimit()
2502 …REStackFrame *iFrame = (REStackFrame *)fStack->reserveBlock(fPattern->fFrameSize, fDeferredStatus); in resetStack()
2508 for (i=0; i<fPattern->fFrameSize-RESTACKFRAME_HDRCOUNT; i++) { in resetStack()
2547 cIsWord = fPattern->fStaticSets[URX_ISWORD_SET]->contains(c); in isWordBoundary()
2560 prevCIsWord = fPattern->fStaticSets[URX_ISWORD_SET]->contains(prevChar); in isWordBoundary()
2585 cIsWord = fPattern->fStaticSets[URX_ISWORD_SET]->contains(c); in isChunkWordBoundary()
2599 prevCIsWord = fPattern->fStaticSets[URX_ISWORD_SET]->contains(prevChar); in isChunkWordBoundary()
2763 printf("Original Pattern: \"%s\"\n", CStr(StringFromUText(fPattern->fPattern))()); in MatchAt()
2774 int64_t *pat = fPattern->fCompiledPat->getBuffer(); in MatchAt()
2776 const UChar *litText = fPattern->fLiteralText.getBuffer(); in MatchAt()
2777 UVector *sets = fPattern->fSets; in MatchAt()
2779 fFrameSize = fPattern->fFrameSize; in MatchAt()
2791 for (i = 0; i<fPattern->fDataSize; i++) { in MatchAt()
2808 fPattern->dumpOp(fp->fPatIdx); in MatchAt()
3208 UnicodeSet **sets = fPattern->fStaticSets; in MatchAt()
3315 Regex8BitSet *s8 = &fPattern->fStaticSets8[opValue]; in MatchAt()
3320 const UnicodeSet *s = fPattern->fStaticSets[opValue]; in MatchAt()
3351 Regex8BitSet *s8 = &fPattern->fStaticSets8[opValue]; in MatchAt()
3357 const UnicodeSet *s = fPattern->fStaticSets[opValue]; in MatchAt()
3381 Regex8BitSet *s8 = &fPattern->fSets8[opValue]; in MatchAt()
3488 U_ASSERT(opValue < fPattern->fCompiledPat->size()); in MatchAt()
3499 U_ASSERT(opValue > 0 && opValue < fPattern->fCompiledPat->size()); in MatchAt()
3649 U_ASSERT(opValue >= 0 && opValue < fPattern->fDataSize); in MatchAt()
3655 U_ASSERT(opValue >= 0 && opValue < fPattern->fDataSize); in MatchAt()
3800 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchAt()
3812 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchAt()
3911 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchAt()
3942 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchAt()
3986 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchAt()
4028 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchAt()
4072 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchAt()
4096 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchAt()
4115 Regex8BitSet *s8 = &fPattern->fSets8[opValue]; in MatchAt()
4327 printf("Original Pattern: \"%s\"\n", CStr(StringFromUText(fPattern->fPattern))()); in MatchChunkAt()
4338 int64_t *pat = fPattern->fCompiledPat->getBuffer(); in MatchChunkAt()
4340 const UChar *litText = fPattern->fLiteralText.getBuffer(); in MatchChunkAt()
4341 UVector *sets = fPattern->fSets; in MatchChunkAt()
4345 fFrameSize = fPattern->fFrameSize; in MatchChunkAt()
4357 for (i = 0; i<fPattern->fDataSize; i++) { in MatchChunkAt()
4374 fPattern->dumpOp(fp->fPatIdx); in MatchChunkAt()
4765 UnicodeSet **sets = fPattern->fStaticSets; in MatchChunkAt()
4864 Regex8BitSet *s8 = &fPattern->fStaticSets8[opValue]; in MatchChunkAt()
4869 const UnicodeSet *s = fPattern->fStaticSets[opValue]; in MatchChunkAt()
4896 Regex8BitSet *s8 = &fPattern->fStaticSets8[opValue]; in MatchChunkAt()
4901 const UnicodeSet *s = fPattern->fStaticSets[opValue]; in MatchChunkAt()
4925 Regex8BitSet *s8 = &fPattern->fSets8[opValue]; in MatchChunkAt()
5021 U_ASSERT(opValue < fPattern->fCompiledPat->size()); in MatchChunkAt()
5032 U_ASSERT(opValue > 0 && opValue < fPattern->fCompiledPat->size()); in MatchChunkAt()
5182 U_ASSERT(opValue >= 0 && opValue < fPattern->fDataSize); in MatchChunkAt()
5188 U_ASSERT(opValue >= 0 && opValue < fPattern->fDataSize); in MatchChunkAt()
5321 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchChunkAt()
5333 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchChunkAt()
5419 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchChunkAt()
5445 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchChunkAt()
5485 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchChunkAt()
5522 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchChunkAt()
5562 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchChunkAt()
5586 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchChunkAt()
5605 Regex8BitSet *s8 = &fPattern->fSets8[opValue]; in MatchChunkAt()