Home | History | Annotate | Download | only in i18n

Lines Matching refs:opValue

2721     int32_t     opValue;               //    and the operand value.
2783 opValue = URX_VAL(op);
2813 if (c == opValue) {
2830 int32_t stringStartIdx = opValue;
2868 fp = StateSave(fp, opValue, status);
2884 // fp->fExtra[opValue] - The start of a completed capture group
2885 // opValue+1 - The end of a completed capture group
2886 // opValue+2 - the start of a capture group whose end
2889 U_ASSERT(opValueopValue < fFrameSize-3);
2890 fp->fExtra[opValue+2] = fp->fInputIdx;
2895 U_ASSERT(opValue >= 0 && opValue < fFrameSize-3);
2896 U_ASSERT(fp->fExtra[opValue+2] >= 0); // Start pos for this group must be set.
2897 fp->fExtra[opValue] = fp->fExtra[opValue+2]; // Tentative start becomes real.
2898 fp->fExtra[opValue+1] = fp->fInputIdx; // End position
2899 U_ASSERT(fp->fExtra[opValue] <= fp->fExtra[opValue+1]);
3059 success ^= (UBool)(opValue != 0); // flip sense for \B
3070 success ^= (UBool)(opValue != 0); // flip sense for \B
3091 success ^= (UBool)(opValue != 0); // flip sense for \D
3228 UBool success = ((opValue & URX_NEG_SET) == URX_NEG_SET);
3229 opValue &= ~URX_NEG_SET;
3230 U_ASSERT(opValue > 0 && opValue < URX_LAST_SET);
3235 Regex8BitSet *s8 = &fPattern->fStaticSets8[opValue];
3240 const UnicodeSet *s = fPattern->fStaticSets[opValue];
3265 U_ASSERT(opValue > 0 && opValue < URX_LAST_SET);
3271 Regex8BitSet *s8 = &fPattern->fStaticSets8[opValue];
3277 const UnicodeSet *s = fPattern->fStaticSets[opValue];
3299 U_ASSERT(opValue > 0 && opValue < sets->size());
3301 Regex8BitSet *s8 = &fPattern->fSets8[opValue];
3307 UnicodeSet *s = (UnicodeSet *)sets->elementAt(opValue);
3401 fp->fPatIdx = opValue;
3409 U_ASSERT(opValue < fPattern->fCompiledPat->size());
3411 fp->fPatIdx = opValue; // Then JMP.
3420 U_ASSERT(opValue > 0 && opValue < fPattern->fCompiledPat->size());
3421 int32_t stoOp = (int32_t)pat[opValue-1];
3430 fp->fPatIdx = opValue;
3440 U_ASSERT(opValue >= 0 && opValue < fFrameSize-2);
3441 fp->fExtra[opValue] = 0; // Set the loop counter variable to zero
3458 fp->fExtra[opValue+1] = fp->fInputIdx; // For loop breaking.
3467 U_ASSERT(opValue>0 && opValue < fp->fPatIdx-2);
3468 int32_t initOp = (int32_t)pat[opValue];
3471 int32_t minCount = (int32_t)pat[opValue+2];
3472 int32_t maxCount = (int32_t)pat[opValue+3];
3491 fp->fPatIdx = opValue + 4; // Loop back.
3498 U_ASSERT(opValue >= 0 && opValue < fFrameSize-2);
3499 fp->fExtra[opValue] = 0; // Set the loop counter variable to zero
3512 fp->fExtra[opValue+1] = fp->fInputIdx; // Save initial input index for loop breaking.
3527 U_ASSERT(opValue>0 && opValue < fp->fPatIdx-2);
3528 int32_t initOp = (int32_t)pat[opValue];
3531 int32_t minCount = (int32_t)pat[opValue+2];
3532 int32_t maxCount = (int32_t)pat[opValue+3];
3546 fp->fPatIdx = opValue + 4; // Loop back.
3564 fp = StateSave(fp, opValue + 4, status);
3570 U_ASSERT(opValue >= 0 && opValue < fPattern->fDataSize);
3571 fData[opValue] = fStack->size();
3576 U_ASSERT(opValue >= 0 && opValue < fPattern->fDataSize);
3577 int32_t newStackSize = (int32_t)fData[opValue];
3594 U_ASSERT(opValue < fFrameSize);
3595 int64_t groupStartIdx = fp->fExtra[opValue];
3596 int64_t groupEndIdx = fp->fExtra[opValue+1];
3641 U_ASSERT(opValue < fFrameSize);
3642 int64_t groupStartIdx = fp->fExtra[opValue];
3643 int64_t groupEndIdx = fp->fExtra[opValue+1];
3696 U_ASSERT(opValue >= 0 && opValue < fFrameSize);
3697 fp->fExtra[opValue] = fp->fInputIdx;
3710 fp->fPatIdx = opValue; // JMP
3721 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
3722 fData[opValue] = fStack->size();
3723 fData[opValue+1] = fp->fInputIdx;
3733 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
3735 int32_t newStackSize =(int32_t)fData[opValue];
3749 fp->fInputIdx = fData[opValue+1];
3766 if (u_foldCase(c, U_FOLD_CASE_DEFAULT) == opValue) {
3784 const UChar *patternString = litText + opValue;
3790 opValue = URX_VAL(op);
3792 int32_t patternStringLen = opValue; // Length of the string from the pattern.
3832 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
3833 fData[opValue] = fStack->size();
3834 fData[opValue+1] = fp->fInputIdx;
3836 fData[opValue+2] = -1;
3839 fData[opValue+3] = fActiveLimit;
3858 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
3859 int64_t *lbStartIdx = &fData[opValue+2];
3880 int64_t restoreInputLen = fData[opValue+3];
3897 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
3911 int64_t originalInputLen = fData[opValue+3];
3934 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
3935 int64_t *lbStartIdx = &fData[opValue+2];
3955 int64_t restoreInputLen = fData[opValue+3];
3973 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
3990 int64_t originalInputLen = fData[opValue+3];
3997 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
3998 int32_t newStackSize = (int32_t)fData[opValue];
4015 U_ASSERT(opValueopValue < sets->size());
4016 Regex8BitSet *s8 = &fPattern->fSets8[opValue];
4017 UnicodeSet *s = (UnicodeSet *)sets->elementAt(opValue);
4075 if ((opValue & 1) == 1) {
4092 (((opValue & 2) == 0) && // IF not UNIX_LINES mode
4130 U_ASSERT(opValue>=0 && opValue<fFrameSize);
4131 backSearchIndex = fp->fExtra[opValue];
4223 int32_t opValue; // and the operand value.
4286 opValue = URX_VAL(op);
4316 if (c == opValue) {
4331 int32_t stringStartIdx = opValue;
4368 fp = StateSave(fp, opValue, status);
4384 // fp->fExtra[opValue] - The start of a completed capture group
4385 // opValue+1 - The end of a completed capture group
4386 // opValue+2 - the start of a capture group whose end
4389 U_ASSERT(opValue >= 0 && opValue < fFrameSize-3);
4390 fp->fExtra[opValue+2] = fp->fInputIdx;
4395 U_ASSERT(opValue >= 0 && opValue < fFrameSize-3);
4396 U_ASSERT(fp->fExtra[opValue+2] >= 0); // Start pos for this group must be set.
4397 fp->fExtra[opValue] = fp->fExtra[opValue+2]; // Tentative start becomes real.
4398 fp->fExtra[opValue+1] = fp->fInputIdx; // End position
4399 U_ASSERT(fp->fExtra[opValue] <= fp->fExtra[opValue+1]);
4557 success ^= (UBool)(opValue != 0); // flip sense for \B
4568 success ^= (UBool)(opValue != 0); // flip sense for \B
4588 success ^= (UBool)(opValue != 0); // flip sense for \D
4712 UBool success = ((opValue & URX_NEG_SET) == URX_NEG_SET);
4713 opValue &= ~URX_NEG_SET;
4714 U_ASSERT(opValue > 0 && opValue < URX_LAST_SET);
4719 Regex8BitSet *s8 = &fPattern->fStaticSets8[opValue];
4724 const UnicodeSet *s = fPattern->fStaticSets[opValue];
4746 U_ASSERT(opValue > 0 && opValue < URX_LAST_SET);
4751 Regex8BitSet *s8 = &fPattern->fStaticSets8[opValue];
4756 const UnicodeSet *s = fPattern->fStaticSets[opValue];
4774 U_ASSERT(opValue > 0 && opValue < sets->size());
4780 Regex8BitSet *s8 = &fPattern->fSets8[opValue];
4786 UnicodeSet *s = (UnicodeSet *)sets->elementAt(opValue);
4869 fp->fPatIdx = opValue;
4877 U_ASSERT(opValue < fPattern->fCompiledPat->size());
4879 fp->fPatIdx = opValue; // Then JMP.
4888 U_ASSERT(opValue > 0 && opValue < fPattern->fCompiledPat->size());
4889 int32_t stoOp = (int32_t)pat[opValue-1];
4898 fp->fPatIdx = opValue;
4908 U_ASSERT(opValue >= 0 && opValue < fFrameSize-2);
4909 fp->fExtra[opValue] = 0; // Set the loop counter variable to zero
4926 fp->fExtra[opValue+1] = fp->fInputIdx; // For loop breaking.
4935 U_ASSERT(opValue>0 && opValue < fp->fPatIdx-2);
4936 int32_t initOp = (int32_t)pat[opValue];
4939 int32_t minCount = (int32_t)pat[opValue+2];
4940 int32_t maxCount = (int32_t)pat[opValue+3];
4959 fp->fPatIdx = opValue + 4; // Loop back.
4966 U_ASSERT(opValue >= 0 && opValue < fFrameSize-2);
4967 fp->fExtra[opValue] = 0; // Set the loop counter variable to zero
4980 fp->fExtra[opValue+1] = fp->fInputIdx; // Save initial input index for loop breaking.
4995 U_ASSERT(opValue>0 && opValue < fp->fPatIdx-2);
4996 int32_t initOp = (int32_t)pat[opValue];
4999 int32_t minCount = (int32_t)pat[opValue+2];
5000 int32_t maxCount = (int32_t)pat[opValue+3];
5014 fp->fPatIdx = opValue + 4; // Loop back.
5032 fp = StateSave(fp, opValue + 4, status);
5038 U_ASSERT(opValue >= 0 && opValue < fPattern->fDataSize);
5039 fData[opValue] = fStack->size();
5044 U_ASSERT(opValue >= 0 && opValue < fPattern->fDataSize);
5045 int32_t newStackSize = (int32_t)fData[opValue];
5062 U_ASSERT(opValue < fFrameSize);
5063 int64_t groupStartIdx = fp->fExtra[opValue];
5064 int64_t groupEndIdx = fp->fExtra[opValue+1];
5094 U_ASSERT(opValue < fFrameSize);
5095 int64_t groupStartIdx = fp->fExtra[opValue];
5096 int64_t groupEndIdx = fp->fExtra[opValue+1];
5146 U_ASSERT(opValue >= 0 && opValue < fFrameSize);
5147 fp->fExtra[opValue] = fp->fInputIdx;
5160 fp->fPatIdx = opValue; // JMP
5171 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
5172 fData[opValue] = fStack->size();
5173 fData[opValue+1] = fp->fInputIdx;
5183 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
5185 int32_t newStackSize = (int32_t)fData[opValue];
5199 fp->fInputIdx = fData[opValue+1];
5212 if (u_foldCase(c, U_FOLD_CASE_DEFAULT) == opValue) {
5227 const UChar *patternString = litText + opValue;
5232 opValue = URX_VAL(op);
5234 int32_t patternStringLen = opValue; // Length of the string from the pattern.
5269 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
5270 fData[opValue] = fStack->size();
5271 fData[opValue+1] = fp->fInputIdx;
5273 fData[opValue+2] = -1;
5276 fData[opValue+3] = fActiveLimit;
5295 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
5296 int64_t *lbStartIdx = &fData[opValue+2];
5315 int64_t restoreInputLen = fData[opValue+3];
5332 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
5346 int64_t originalInputLen = fData[opValue+3];
5369 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
5370 int64_t *lbStartIdx = &fData[opValue+2];
5388 int64_t restoreInputLen = fData[opValue+3];
5406 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
5423 int64_t originalInputLen = fData[opValue+3];
5430 U_ASSERT(opValue>=0 && opValue+1<fPattern->fDataSize);
5431 int32_t newStackSize = (int32_t)fData[opValue];
5448 U_ASSERT(opValue > 0 && opValue < sets->size());
5449 Regex8BitSet *s8 = &fPattern->fSets8[opValue];
5450 UnicodeSet *s = (UnicodeSet *)sets->elementAt(opValue);
5509 if ((opValue & 1) == 1) {
5526 (((opValue & 2) == 0) && // IF not UNIX_LINES mode
5565 U_ASSERT(opValue>=0 && opValue<fFrameSize);
5566 backSearchIndex = (int32_t)fp->fExtra[opValue];