• Home
  • Raw
  • Download

Lines Matching refs:opValue

2758     int32_t     opValue;               //    and the operand value.  in MatchAt()  local
2802 opValue = URX_VAL(op); in MatchAt()
2832 if (c == opValue) { in MatchAt()
2849 int32_t stringStartIdx = opValue; in MatchAt()
2887 fp = StateSave(fp, opValue, status); in MatchAt()
2908 U_ASSERT(opValue >= 0 && opValue < fFrameSize-3); in MatchAt()
2909 fp->fExtra[opValue+2] = fp->fInputIdx; in MatchAt()
2914 U_ASSERT(opValue >= 0 && opValue < fFrameSize-3); in MatchAt()
2915 … U_ASSERT(fp->fExtra[opValue+2] >= 0); // Start pos for this group must be set. in MatchAt()
2916 fp->fExtra[opValue] = fp->fExtra[opValue+2]; // Tentative start becomes real. in MatchAt()
2917 fp->fExtra[opValue+1] = fp->fInputIdx; // End position in MatchAt()
2918 U_ASSERT(fp->fExtra[opValue] <= fp->fExtra[opValue+1]); in MatchAt()
3077 success ^= (UBool)(opValue != 0); // flip sense for \B in MatchAt()
3088 success ^= (UBool)(opValue != 0); // flip sense for \B in MatchAt()
3109 success ^= (UBool)(opValue != 0); // flip sense for \D in MatchAt()
3137 success ^= (UBool)(opValue != 0); // flip sense for \H in MatchAt()
3178 success ^= (UBool)(opValue != 0); // flip sense for \V in MatchAt()
3308 UBool success = ((opValue & URX_NEG_SET) == URX_NEG_SET); in MatchAt()
3309 opValue &= ~URX_NEG_SET; in MatchAt()
3310 U_ASSERT(opValue > 0 && opValue < URX_LAST_SET); in MatchAt()
3315 Regex8BitSet *s8 = &fPattern->fStaticSets8[opValue]; in MatchAt()
3320 const UnicodeSet *s = fPattern->fStaticSets[opValue]; in MatchAt()
3345 U_ASSERT(opValue > 0 && opValue < URX_LAST_SET); in MatchAt()
3351 Regex8BitSet *s8 = &fPattern->fStaticSets8[opValue]; in MatchAt()
3357 const UnicodeSet *s = fPattern->fStaticSets[opValue]; in MatchAt()
3379 U_ASSERT(opValue > 0 && opValue < fSets->size()); in MatchAt()
3381 Regex8BitSet *s8 = &fPattern->fSets8[opValue]; in MatchAt()
3387 UnicodeSet *s = (UnicodeSet *)fSets->elementAt(opValue); in MatchAt()
3480 fp->fPatIdx = opValue; in MatchAt()
3488 U_ASSERT(opValue < fPattern->fCompiledPat->size()); in MatchAt()
3490 fp->fPatIdx = opValue; // Then JMP. in MatchAt()
3499 U_ASSERT(opValue > 0 && opValue < fPattern->fCompiledPat->size()); in MatchAt()
3500 int32_t stoOp = (int32_t)pat[opValue-1]; in MatchAt()
3509 fp->fPatIdx = opValue; in MatchAt()
3519 U_ASSERT(opValue >= 0 && opValue < fFrameSize-2); in MatchAt()
3520 fp->fExtra[opValue] = 0; // Set the loop counter variable to zero in MatchAt()
3537 fp->fExtra[opValue+1] = fp->fInputIdx; // For loop breaking. in MatchAt()
3546 U_ASSERT(opValue>0 && opValue < fp->fPatIdx-2); in MatchAt()
3547 int32_t initOp = (int32_t)pat[opValue]; in MatchAt()
3550 int32_t minCount = (int32_t)pat[opValue+2]; in MatchAt()
3551 int32_t maxCount = (int32_t)pat[opValue+3]; in MatchAt()
3577 fp->fPatIdx = opValue + 4; // Loop back. in MatchAt()
3584 U_ASSERT(opValue >= 0 && opValue < fFrameSize-2); in MatchAt()
3585 fp->fExtra[opValue] = 0; // Set the loop counter variable to zero in MatchAt()
3598 … fp->fExtra[opValue+1] = fp->fInputIdx; // Save initial input index for loop breaking. in MatchAt()
3613 U_ASSERT(opValue>0 && opValue < fp->fPatIdx-2); in MatchAt()
3614 int32_t initOp = (int32_t)pat[opValue]; in MatchAt()
3617 int32_t minCount = (int32_t)pat[opValue+2]; in MatchAt()
3618 int32_t maxCount = (int32_t)pat[opValue+3]; in MatchAt()
3632 fp->fPatIdx = opValue + 4; // Loop back. in MatchAt()
3655 fp = StateSave(fp, opValue + 4, status); in MatchAt()
3661 U_ASSERT(opValue >= 0 && opValue < fPattern->fDataSize); in MatchAt()
3662 fData[opValue] = fStack->size(); in MatchAt()
3667 U_ASSERT(opValue >= 0 && opValue < fPattern->fDataSize); in MatchAt()
3668 int32_t newStackSize = (int32_t)fData[opValue]; in MatchAt()
3685 U_ASSERT(opValue < fFrameSize); in MatchAt()
3686 int64_t groupStartIdx = fp->fExtra[opValue]; in MatchAt()
3687 int64_t groupEndIdx = fp->fExtra[opValue+1]; in MatchAt()
3732 U_ASSERT(opValue < fFrameSize); in MatchAt()
3733 int64_t groupStartIdx = fp->fExtra[opValue]; in MatchAt()
3734 int64_t groupEndIdx = fp->fExtra[opValue+1]; in MatchAt()
3787 U_ASSERT(opValue >= 0 && opValue < fFrameSize); in MatchAt()
3788 fp->fExtra[opValue] = fp->fInputIdx; in MatchAt()
3801 fp->fPatIdx = opValue; // JMP in MatchAt()
3812 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchAt()
3813 fData[opValue] = fStack->size(); in MatchAt()
3814 fData[opValue+1] = fp->fInputIdx; in MatchAt()
3824 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchAt()
3826 int32_t newStackSize =(int32_t)fData[opValue]; in MatchAt()
3840 fp->fInputIdx = fData[opValue+1]; in MatchAt()
3857 if (u_foldCase(c, U_FOLD_CASE_DEFAULT) == opValue) { in MatchAt()
3875 const UChar *patternString = litText + opValue; in MatchAt()
3881 opValue = URX_VAL(op); in MatchAt()
3883 int32_t patternStringLen = opValue; // Length of the string from the pattern. in MatchAt()
3923 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchAt()
3924 fData[opValue] = fStack->size(); in MatchAt()
3925 fData[opValue+1] = fp->fInputIdx; in MatchAt()
3927 fData[opValue+2] = -1; in MatchAt()
3930 fData[opValue+3] = fActiveLimit; in MatchAt()
3954 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchAt()
3955 int64_t &lbStartIdx = fData[opValue+2]; in MatchAt()
3981 int64_t restoreInputLen = fData[opValue+3]; in MatchAt()
3998 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchAt()
4012 int64_t originalInputLen = fData[opValue+3]; in MatchAt()
4040 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchAt()
4041 int64_t &lbStartIdx = fData[opValue+2]; in MatchAt()
4066 int64_t restoreInputLen = fData[opValue+3]; in MatchAt()
4084 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchAt()
4101 int64_t originalInputLen = fData[opValue+3]; in MatchAt()
4108 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchAt()
4109 int32_t newStackSize = (int32_t)fData[opValue]; in MatchAt()
4126 U_ASSERT(opValue > 0 && opValue < fSets->size()); in MatchAt()
4127 Regex8BitSet *s8 = &fPattern->fSets8[opValue]; in MatchAt()
4128 UnicodeSet *s = (UnicodeSet *)fSets->elementAt(opValue); in MatchAt()
4186 if ((opValue & 1) == 1) { in MatchAt()
4203 (((opValue & 2) == 0) && // IF not UNIX_LINES mode in MatchAt()
4241 U_ASSERT(opValue>=0 && opValue<fFrameSize); in MatchAt()
4242 backSearchIndex = fp->fExtra[opValue]; in MatchAt()
4334 int32_t opValue; // and the operand value. in MatchChunkAt() local
4380 opValue = URX_VAL(op); in MatchChunkAt()
4410 if (c == opValue) { in MatchChunkAt()
4425 int32_t stringStartIdx = opValue; in MatchChunkAt()
4462 fp = StateSave(fp, opValue, status); in MatchChunkAt()
4483 U_ASSERT(opValue >= 0 && opValue < fFrameSize-3); in MatchChunkAt()
4484 fp->fExtra[opValue+2] = fp->fInputIdx; in MatchChunkAt()
4489 U_ASSERT(opValue >= 0 && opValue < fFrameSize-3); in MatchChunkAt()
4490 … U_ASSERT(fp->fExtra[opValue+2] >= 0); // Start pos for this group must be set. in MatchChunkAt()
4491 fp->fExtra[opValue] = fp->fExtra[opValue+2]; // Tentative start becomes real. in MatchChunkAt()
4492 fp->fExtra[opValue+1] = fp->fInputIdx; // End position in MatchChunkAt()
4493 U_ASSERT(fp->fExtra[opValue] <= fp->fExtra[opValue+1]); in MatchChunkAt()
4651 success ^= (UBool)(opValue != 0); // flip sense for \B in MatchChunkAt()
4662 success ^= (UBool)(opValue != 0); // flip sense for \B in MatchChunkAt()
4682 success ^= (UBool)(opValue != 0); // flip sense for \D in MatchChunkAt()
4708 success ^= (UBool)(opValue != 0); // flip sense for \H in MatchChunkAt()
4751 success ^= (UBool)(opValue != 0); // flip sense for \V in MatchChunkAt()
4869 UBool success = ((opValue & URX_NEG_SET) == URX_NEG_SET); in MatchChunkAt()
4870 opValue &= ~URX_NEG_SET; in MatchChunkAt()
4871 U_ASSERT(opValue > 0 && opValue < URX_LAST_SET); in MatchChunkAt()
4876 Regex8BitSet *s8 = &fPattern->fStaticSets8[opValue]; in MatchChunkAt()
4881 const UnicodeSet *s = fPattern->fStaticSets[opValue]; in MatchChunkAt()
4903 U_ASSERT(opValue > 0 && opValue < URX_LAST_SET); in MatchChunkAt()
4908 Regex8BitSet *s8 = &fPattern->fStaticSets8[opValue]; in MatchChunkAt()
4913 const UnicodeSet *s = fPattern->fStaticSets[opValue]; in MatchChunkAt()
4931 U_ASSERT(opValue > 0 && opValue < fSets->size()); in MatchChunkAt()
4937 Regex8BitSet *s8 = &fPattern->fSets8[opValue]; in MatchChunkAt()
4943 UnicodeSet *s = (UnicodeSet *)fSets->elementAt(opValue); in MatchChunkAt()
5025 fp->fPatIdx = opValue; in MatchChunkAt()
5033 U_ASSERT(opValue < fPattern->fCompiledPat->size()); in MatchChunkAt()
5035 fp->fPatIdx = opValue; // Then JMP. in MatchChunkAt()
5044 U_ASSERT(opValue > 0 && opValue < fPattern->fCompiledPat->size()); in MatchChunkAt()
5045 int32_t stoOp = (int32_t)pat[opValue-1]; in MatchChunkAt()
5054 fp->fPatIdx = opValue; in MatchChunkAt()
5064 U_ASSERT(opValue >= 0 && opValue < fFrameSize-2); in MatchChunkAt()
5065 fp->fExtra[opValue] = 0; // Set the loop counter variable to zero in MatchChunkAt()
5082 fp->fExtra[opValue+1] = fp->fInputIdx; // For loop breaking. in MatchChunkAt()
5091 U_ASSERT(opValue>0 && opValue < fp->fPatIdx-2); in MatchChunkAt()
5092 int32_t initOp = (int32_t)pat[opValue]; in MatchChunkAt()
5095 int32_t minCount = (int32_t)pat[opValue+2]; in MatchChunkAt()
5096 int32_t maxCount = (int32_t)pat[opValue+3]; in MatchChunkAt()
5121 fp->fPatIdx = opValue + 4; // Loop back. in MatchChunkAt()
5128 U_ASSERT(opValue >= 0 && opValue < fFrameSize-2); in MatchChunkAt()
5129 fp->fExtra[opValue] = 0; // Set the loop counter variable to zero in MatchChunkAt()
5142 … fp->fExtra[opValue+1] = fp->fInputIdx; // Save initial input index for loop breaking. in MatchChunkAt()
5157 U_ASSERT(opValue>0 && opValue < fp->fPatIdx-2); in MatchChunkAt()
5158 int32_t initOp = (int32_t)pat[opValue]; in MatchChunkAt()
5161 int32_t minCount = (int32_t)pat[opValue+2]; in MatchChunkAt()
5162 int32_t maxCount = (int32_t)pat[opValue+3]; in MatchChunkAt()
5176 fp->fPatIdx = opValue + 4; // Loop back. in MatchChunkAt()
5198 fp = StateSave(fp, opValue + 4, status); in MatchChunkAt()
5204 U_ASSERT(opValue >= 0 && opValue < fPattern->fDataSize); in MatchChunkAt()
5205 fData[opValue] = fStack->size(); in MatchChunkAt()
5210 U_ASSERT(opValue >= 0 && opValue < fPattern->fDataSize); in MatchChunkAt()
5211 int32_t newStackSize = (int32_t)fData[opValue]; in MatchChunkAt()
5228 U_ASSERT(opValue < fFrameSize); in MatchChunkAt()
5229 int64_t groupStartIdx = fp->fExtra[opValue]; in MatchChunkAt()
5230 int64_t groupEndIdx = fp->fExtra[opValue+1]; in MatchChunkAt()
5266 U_ASSERT(opValue < fFrameSize); in MatchChunkAt()
5267 int64_t groupStartIdx = fp->fExtra[opValue]; in MatchChunkAt()
5268 int64_t groupEndIdx = fp->fExtra[opValue+1]; in MatchChunkAt()
5318 U_ASSERT(opValue >= 0 && opValue < fFrameSize); in MatchChunkAt()
5319 fp->fExtra[opValue] = fp->fInputIdx; in MatchChunkAt()
5332 fp->fPatIdx = opValue; // JMP in MatchChunkAt()
5343 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchChunkAt()
5344 fData[opValue] = fStack->size(); in MatchChunkAt()
5345 fData[opValue+1] = fp->fInputIdx; in MatchChunkAt()
5355 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchChunkAt()
5357 int32_t newStackSize = (int32_t)fData[opValue]; in MatchChunkAt()
5371 fp->fInputIdx = fData[opValue+1]; in MatchChunkAt()
5384 if (u_foldCase(c, U_FOLD_CASE_DEFAULT) == opValue) { in MatchChunkAt()
5399 const UChar *patternString = litText + opValue; in MatchChunkAt()
5404 opValue = URX_VAL(op); in MatchChunkAt()
5406 int32_t patternStringLen = opValue; // Length of the string from the pattern. in MatchChunkAt()
5441 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchChunkAt()
5442 fData[opValue] = fStack->size(); in MatchChunkAt()
5443 fData[opValue+1] = fp->fInputIdx; in MatchChunkAt()
5445 fData[opValue+2] = -1; in MatchChunkAt()
5448 fData[opValue+3] = fActiveLimit; in MatchChunkAt()
5467 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchChunkAt()
5468 int64_t &lbStartIdx = fData[opValue+2]; in MatchChunkAt()
5490 int64_t restoreInputLen = fData[opValue+3]; in MatchChunkAt()
5507 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchChunkAt()
5521 int64_t originalInputLen = fData[opValue+3]; in MatchChunkAt()
5544 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchChunkAt()
5545 int64_t &lbStartIdx = fData[opValue+2]; in MatchChunkAt()
5566 int64_t restoreInputLen = fData[opValue+3]; in MatchChunkAt()
5584 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchChunkAt()
5601 int64_t originalInputLen = fData[opValue+3]; in MatchChunkAt()
5608 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize); in MatchChunkAt()
5609 int32_t newStackSize = (int32_t)fData[opValue]; in MatchChunkAt()
5626 U_ASSERT(opValue > 0 && opValue < fSets->size()); in MatchChunkAt()
5627 Regex8BitSet *s8 = &fPattern->fSets8[opValue]; in MatchChunkAt()
5628 UnicodeSet *s = (UnicodeSet *)fSets->elementAt(opValue); in MatchChunkAt()
5687 if ((opValue & 1) == 1) { in MatchChunkAt()
5704 (((opValue & 2) == 0) && // IF not UNIX_LINES mode in MatchChunkAt()
5743 U_ASSERT(opValue>=0 && opValue<fFrameSize); in MatchChunkAt()
5744 backSearchIndex = (int32_t)fp->fExtra[opValue]; in MatchChunkAt()