Home | History | Annotate | Download | only in i18n

Lines Matching refs:opValue

2739     int32_t     opValue;               //    and the operand value.
2801 opValue = URX_VAL(op);
2831 if (c == opValue) {
2848 int32_t stringStartIdx = opValue;
2886 fp = StateSave(fp, opValue, status);
2902 // fp->fExtra[opValue] - The start of a completed capture group
2903 // opValue+1 - The end of a completed capture group
2904 // opValue+2 - the start of a capture group whose end
2907 U_ASSERT(opValue >= 0 && opValue < fFrameSize-3);
2908 fp->fExtra[opValue+2] = fp->fInputIdx;
2913 U_ASSERT(opValue >= 0 && opValue < fFrameSize-3);
2914 U_ASSERT(fp->fExtra[opValue+2] >= 0); // Start pos for this group must be set.
2915 fp->fExtra[opValue] = fp->fExtra[opValue+2]; // Tentative start becomes real.
2916 fp->fExtra[opValue+1] = fp->fInputIdx; // End position
2917 U_ASSERT(fp->fExtra[opValue] <= fp->fExtra[opValue+1]);
3076 success ^= (UBool)(opValue != 0); // flip sense for \B
3087 success ^= (UBool)(opValue != 0); // flip sense for \B
3108 success ^= (UBool)(opValue != 0); // flip sense for \D
3136 success ^= (UBool)(opValue != 0); // flip sense for \H
3177 success ^= (UBool)(opValue != 0); // flip sense for \V
3307 UBool success = ((opValue & URX_NEG_SET) == URX_NEG_SET);
3308 opValue &= ~URX_NEG_SET;
3309 U_ASSERT(opValue > 0 && opValue < URX_LAST_SET);
3314 Regex8BitSet *s8 = &fPattern->fStaticSets8[opValue];
3319 const UnicodeSet *s = fPattern->fStaticSets[opValue];
3344 U_ASSERT(opValue > 0 && opValue < URX_LAST_SET);
3350 Regex8BitSet *s8 = &fPattern->fStaticSets8[opValue];
3356 const UnicodeSet *s = fPattern->fStaticSets[opValue];
3378 U_ASSERT(opValue > 0 && opValue < sets->size());
3380 Regex8BitSet *s8 = &fPattern->fSets8[opValue];
3386 UnicodeSet *s = (UnicodeSet *)sets->elementAt(opValue);
3479 fp->fPatIdx = opValue;
3487 U_ASSERT(opValue < fPattern->fCompiledPat->size());
3489 fp->fPatIdx = opValue; // Then JMP.
3498 U_ASSERT(opValue > 0 && opValue < fPattern->fCompiledPat->size());
3499 int32_t stoOp = (int32_t)pat[opValue-1];
3508 fp->fPatIdx = opValue;
3518 U_ASSERT(opValue >= 0 && opValue < fFrameSize-2);
3519 fp->fExtra[opValue] = 0; // Set the loop counter variable to zero
3536 fp->fExtra[opValue+1] = fp->fInputIdx; // For loop breaking.
3545 U_ASSERT(opValue>0 && opValue < fp->fPatIdx-2);
3546 int32_t initOp = (int32_t)pat[opValue];
3549 int32_t minCount = (int32_t)pat[opValue+2];
3550 int32_t maxCount = (int32_t)pat[opValue+3];
3569 fp->fPatIdx = opValue + 4; // Loop back.
3576 U_ASSERT(opValue >= 0 && opValue < fFrameSize-2);
3577 fp->fExtra[opValue] = 0; // Set the loop counter variable to zero
3590 fp->fExtra[opValue+1] = fp->fInputIdx; // Save initial input index for loop breaking.
3605 U_ASSERT(opValue>0 && opValue < fp->fPatIdx-2);
3606 int32_t initOp = (int32_t)pat[opValue];
3609 int32_t minCount = (int32_t)pat[opValue+2];
3610 int32_t maxCount = (int32_t)pat[opValue+3];
3624 fp->fPatIdx = opValue + 4; // Loop back.
3642 fp = StateSave(fp, opValue + 4, status);
3648 U_ASSERT(opValue >= 0 && opValue < fPattern->fDataSize);
3649 fData[opValue] = fStack->size();
3654 U_ASSERT(opValue >= 0 && opValue < fPattern->fDataSize);
3655 int32_t newStackSize = (int32_t)fData[opValue];
3672 U_ASSERT(opValue < fFrameSize);
3673 int64_t groupStartIdx = fp->fExtra[opValue];
3674 int64_t groupEndIdx = fp->fExtra[opValue+1];
3719 U_ASSERT(opValue < fFrameSize);
3720 int64_t groupStartIdx = fp->fExtra[opValue];
3721 int64_t groupEndIdx = fp->fExtra[opValue+1];
3774 U_ASSERT(opValue >= 0 && opValue < fFrameSize);
3775 fp->fExtra[opValue] = fp->fInputIdx;
3788 fp->fPatIdx = opValue; // JMP
3799 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
3800 fData[opValue] = fStack->size();
3801 fData[opValue+1] = fp->fInputIdx;
3811 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
3813 int32_t newStackSize =(int32_t)fData[opValue];
3827 fp->fInputIdx = fData[opValue+1];
3844 if (u_foldCase(c, U_FOLD_CASE_DEFAULT) == opValue) {
3862 const UChar *patternString = litText + opValue;
3868 opValue = URX_VAL(op);
3870 int32_t patternStringLen = opValue; // Length of the string from the pattern.
3910 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
3911 fData[opValue] = fStack->size();
3912 fData[opValue+1] = fp->fInputIdx;
3914 fData[opValue+2] = -1;
3917 fData[opValue+3] = fActiveLimit;
3936 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
3937 int64_t *lbStartIdx = &fData[opValue+2];
3958 int64_t restoreInputLen = fData[opValue+3];
3975 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
3989 int64_t originalInputLen = fData[opValue+3];
4012 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
4013 int64_t *lbStartIdx = &fData[opValue+2];
4033 int64_t restoreInputLen = fData[opValue+3];
4051 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
4068 int64_t originalInputLen = fData[opValue+3];
4075 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
4076 int32_t newStackSize = (int32_t)fData[opValue];
4093 U_ASSERT(opValue > 0 && opValue < sets->size());
4094 Regex8BitSet *s8 = &fPattern->fSets8[opValue];
4095 UnicodeSet *s = (UnicodeSet *)sets->elementAt(opValue);
4153 if ((opValue & 1) == 1) {
4170 (((opValue & 2) == 0) && // IF not UNIX_LINES mode
4208 U_ASSERT(opValue>=0 && opValue<fFrameSize);
4209 backSearchIndex = fp->fExtra[opValue];
4301 int32_t opValue; // and the operand value.
4364 opValue = URX_VAL(op);
4394 if (c == opValue) {
4409 int32_t stringStartIdx = opValue;
4446 fp = StateSave(fp, opValue, status);
4462 // fp->fExtra[opValue] - The start of a completed capture group
4463 // opValue+1 - The end of a completed capture group
4464 // opValue+2 - the start of a capture group whose end
4467 U_ASSERT(opValue >= 0 && opValue < fFrameSize-3);
4468 fp->fExtra[opValue+2] = fp->fInputIdx;
4473 U_ASSERT(opValue >= 0 && opValue < fFrameSize-3);
4474 U_ASSERT(fp->fExtra[opValue+2] >= 0); // Start pos for this group must be set.
4475 fp->fExtra[opValue] = fp->fExtra[opValue+2]; // Tentative start becomes real.
4476 fp->fExtra[opValue+1] = fp->fInputIdx; // End position
4477 U_ASSERT(fp->fExtra[opValue] <= fp->fExtra[opValue+1]);
4635 success ^= (UBool)(opValue != 0); // flip sense for \B
4646 success ^= (UBool)(opValue != 0); // flip sense for \B
4666 success ^= (UBool)(opValue != 0); // flip sense for \D
4692 success ^= (UBool)(opValue != 0); // flip sense for \H
4735 success ^= (UBool)(opValue != 0); // flip sense for \V
4853 UBool success = ((opValue & URX_NEG_SET) == URX_NEG_SET);
4854 opValue &= ~URX_NEG_SET;
4855 U_ASSERT(opValue > 0 && opValue < URX_LAST_SET);
4860 Regex8BitSet *s8 = &fPattern->fStaticSets8[opValue];
4865 const UnicodeSet *s = fPattern->fStaticSets[opValue];
4887 U_ASSERT(opValue > 0 && opValue < URX_LAST_SET);
4892 Regex8BitSet *s8 = &fPattern->fStaticSets8[opValue];
4897 const UnicodeSet *s = fPattern->fStaticSets[opValue];
4915 U_ASSERT(opValue > 0 && opValue < sets->size());
4921 Regex8BitSet *s8 = &fPattern->fSets8[opValue];
4927 UnicodeSet *s = (UnicodeSet *)sets->elementAt(opValue);
5009 fp->fPatIdx = opValue;
5017 U_ASSERT(opValue < fPattern->fCompiledPat->size());
5019 fp->fPatIdx = opValue; // Then JMP.
5028 U_ASSERT(opValue > 0 && opValue < fPattern->fCompiledPat->size());
5029 int32_t stoOp = (int32_t)pat[opValue-1];
5038 fp->fPatIdx = opValue;
5048 U_ASSERT(opValue >= 0 && opValue < fFrameSize-2);
5049 fp->fExtra[opValue] = 0; // Set the loop counter variable to zero
5066 fp->fExtra[opValue+1] = fp->fInputIdx; // For loop breaking.
5075 U_ASSERT(opValue>0 && opValue < fp->fPatIdx-2);
5076 int32_t initOp = (int32_t)pat[opValue];
5079 int32_t minCount = (int32_t)pat[opValue+2];
5080 int32_t maxCount = (int32_t)pat[opValue+3];
5099 fp->fPatIdx = opValue + 4; // Loop back.
5106 U_ASSERT(opValue >= 0 && opValue < fFrameSize-2);
5107 fp->fExtra[opValue] = 0; // Set the loop counter variable to zero
5120 fp->fExtra[opValue+1] = fp->fInputIdx; // Save initial input index for loop breaking.
5135 U_ASSERT(opValue>0 && opValue < fp->fPatIdx-2);
5136 int32_t initOp = (int32_t)pat[opValue];
5139 int32_t minCount = (int32_t)pat[opValue+2];
5140 int32_t maxCount = (int32_t)pat[opValue+3];
5154 fp->fPatIdx = opValue + 4; // Loop back.
5172 fp = StateSave(fp, opValue + 4, status);
5178 U_ASSERT(opValue >= 0 && opValue < fPattern->fDataSize);
5179 fData[opValue] = fStack->size();
5184 U_ASSERT(opValue >= 0 && opValue < fPattern->fDataSize);
5185 int32_t newStackSize = (int32_t)fData[opValue];
5202 U_ASSERT(opValue < fFrameSize);
5203 int64_t groupStartIdx = fp->fExtra[opValue];
5204 int64_t groupEndIdx = fp->fExtra[opValue+1];
5234 U_ASSERT(opValue < fFrameSize);
5235 int64_t groupStartIdx = fp->fExtra[opValue];
5236 int64_t groupEndIdx = fp->fExtra[opValue+1];
5286 U_ASSERT(opValue >= 0 && opValue < fFrameSize);
5287 fp->fExtra[opValue] = fp->fInputIdx;
5300 fp->fPatIdx = opValue; // JMP
5311 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
5312 fData[opValue] = fStack->size();
5313 fData[opValue+1] = fp->fInputIdx;
5323 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
5325 int32_t newStackSize = (int32_t)fData[opValue];
5339 fp->fInputIdx = fData[opValue+1];
5352 if (u_foldCase(c, U_FOLD_CASE_DEFAULT) == opValue) {
5367 const UChar *patternString = litText + opValue;
5372 opValue = URX_VAL(op);
5374 int32_t patternStringLen = opValue; // Length of the string from the pattern.
5409 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
5410 fData[opValue] = fStack->size();
5411 fData[opValue+1] = fp->fInputIdx;
5413 fData[opValue+2] = -1;
5416 fData[opValue+3] = fActiveLimit;
5435 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
5436 int64_t *lbStartIdx = &fData[opValue+2];
5455 int64_t restoreInputLen = fData[opValue+3];
5472 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
5486 int64_t originalInputLen = fData[opValue+3];
5509 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
5510 int64_t *lbStartIdx = &fData[opValue+2];
5528 int64_t restoreInputLen = fData[opValue+3];
5546 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
5563 int64_t originalInputLen = fData[opValue+3];
5570 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
5571 int32_t newStackSize = (int32_t)fData[opValue];
5588 opValue > 0 && opValue < sets->size());
5589 Regex8BitSet *s8 = &fPattern->fSets8[opValue];
5590 UnicodeSet *s = (UnicodeSet *)sets->elementAt(opValue);
5649 if ((opValue & 1) == 1) {
5666 (((opValue & 2) == 0) && // IF not UNIX_LINES mode
5705 U_ASSERT(opValue>=0 && opValue<fFrameSize);
5706 backSearchIndex = (int32_t)fp->fExtra[opValue];