Lines Matching refs:fCompiledPat
317 fRXPat->fMinMatchLen = minMatchLength(3, fRXPat->fCompiledPat->size()-1);
371 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_STATE_SAVE, 2), *fStatus);
372 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_JMP, 3), *fStatus);
373 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_FAIL, 0), *fStatus);
396 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_END, 0), *fStatus);
416 int32_t op = (int32_t)fRXPat->fCompiledPat->elementAti(savePosition);
418 op = URX_BUILD(URX_STATE_SAVE, fRXPat->fCompiledPat->size()+1);
419 fRXPat->fCompiledPat->setElementAt(op, savePosition);
425 fRXPat->fCompiledPat->addElement(op, *fStatus);
429 fParenStack.push(fRXPat->fCompiledPat->size()-1, *fStatus);
434 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_NOP, 0), *fStatus);
435 fParenStack.push(fRXPat->fCompiledPat->size()-1, *fStatus);
460 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_NOP, 0), *fStatus);
464 fRXPat->fCompiledPat->addElement(cop, *fStatus);
465 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_NOP, 0), *fStatus);
473 fParenStack.push(fRXPat->fCompiledPat->size()-3, *fStatus); // The first NOP location
474 fParenStack.push(fRXPat->fCompiledPat->size()-1, *fStatus); // The second NOP loc
490 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_NOP, 0), *fStatus);
491 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_NOP, 0), *fStatus);
497 fParenStack.push(fRXPat->fCompiledPat->size()-2, *fStatus); // The first NOP location
498 fParenStack.push(fRXPat->fCompiledPat->size()-1, *fStatus); // The second NOP loc
513 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_NOP, 0), *fStatus);
517 fRXPat->fCompiledPat->addElement(stoOp, *fStatus);
518 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_NOP, 0), *fStatus);
526 fParenStack.push(fRXPat->fCompiledPat->size()-3, *fStatus); // The first NOP
527 fParenStack.push(fRXPat->fCompiledPat->size()-1, *fStatus); // The second NOP
564 fRXPat->fCompiledPat->addElement(op, *fStatus);
566 op = URX_BUILD(URX_STATE_SAVE, fRXPat->fCompiledPat->size()+ 2);
567 fRXPat->fCompiledPat->addElement(op, *fStatus);
569 op = URX_BUILD(URX_JMP, fRXPat->fCompiledPat->size()+ 3);
570 fRXPat->fCompiledPat->addElement(op, *fStatus);
573 fRXPat->fCompiledPat->addElement(op, *fStatus);
576 fRXPat->fCompiledPat->addElement(op, *fStatus);
579 fRXPat->fCompiledPat->addElement(op, *fStatus);
580 fRXPat->fCompiledPat->addElement(op, *fStatus);
586 fParenStack.push(fRXPat->fCompiledPat->size()-2, *fStatus); // The first NOP location
587 fParenStack.push(fRXPat->fCompiledPat->size()-1, *fStatus); // The second NOP location
608 fRXPat->fCompiledPat->addElement(op, *fStatus);
611 fRXPat->fCompiledPat->addElement(op, *fStatus);
614 fRXPat->fCompiledPat->addElement(op, *fStatus);
620 fParenStack.push(fRXPat->fCompiledPat->size()-2, *fStatus); // The STATE_SAVE location
621 fParenStack.push(fRXPat->fCompiledPat->size()-1, *fStatus); // The second NOP location
657 fRXPat->fCompiledPat->addElement(op, *fStatus);
661 fRXPat->fCompiledPat->addElement(op, *fStatus);
662 fRXPat->fCompiledPat->addElement(0, *fStatus); // MinMatchLength. To be filled later.
663 fRXPat->fCompiledPat->addElement(0, *fStatus); // MaxMatchLength. To be filled later.
667 fRXPat->fCompiledPat->addElement(op, *fStatus);
668 fRXPat->fCompiledPat->addElement(op, *fStatus);
674 fParenStack.push(fRXPat->fCompiledPat->size()-2, *fStatus); // The first NOP location
675 fParenStack.push(fRXPat->fCompiledPat->size()-1, *fStatus); // The 2nd NOP location
713 fRXPat->fCompiledPat->addElement(op, *fStatus);
717 fRXPat->fCompiledPat->addElement(op, *fStatus);
718 fRXPat->fCompiledPat->addElement(0, *fStatus); // MinMatchLength. To be filled later.
719 fRXPat->fCompiledPat->addElement(0, *fStatus); // MaxMatchLength. To be filled later.
720 fRXPat->fCompiledPat->addElement(0, *fStatus); // Continue Loc. To be filled later.
724 fRXPat->fCompiledPat->addElement(op, *fStatus);
725 fRXPat->fCompiledPat->addElement(op, *fStatus);
731 fParenStack.push(fRXPat->fCompiledPat->size()-2, *fStatus); // The first NOP location
732 fParenStack.push(fRXPat->fCompiledPat->size()-1, *fStatus); // The 2nd NOP location
790 if (topLoc == fRXPat->fCompiledPat->size() - 1) {
791 int32_t repeatedOp = (int32_t)fRXPat->fCompiledPat->elementAti(topLoc);
796 fRXPat->fCompiledPat->addElement(loopOpI, *fStatus);
800 fRXPat->fCompiledPat->addElement(loopOpC, *fStatus);
816 fRXPat->fCompiledPat->addElement(loopOpI, *fStatus);
820 fRXPat->fCompiledPat->addElement(loopOpC, *fStatus);
830 if (minMatchLength(topLoc, fRXPat->fCompiledPat->size()-1) == 0) {
838 fRXPat->fCompiledPat->setElementAt(op, topLoc);
841 fRXPat->fCompiledPat->addElement(op, *fStatus);
845 fRXPat->fCompiledPat->addElement(jmpOp, *fStatus);
858 fRXPat->fCompiledPat->addElement(saveStateOp, *fStatus);
872 int32_t saveStateOp = URX_BUILD(URX_STATE_SAVE, fRXPat->fCompiledPat->size());
873 fRXPat->fCompiledPat->setElementAt(saveStateOp, saveStateLoc);
889 int32_t jmp2_loc = fRXPat->fCompiledPat->size();
892 fRXPat->fCompiledPat->setElementAt(jmp1_op, jmp1_loc);
895 fRXPat->fCompiledPat->addElement(jmp2_op, *fStatus);
898 fRXPat->fCompiledPat->addElement(save_op, *fStatus);
933 if (topLoc == fRXPat->fCompiledPat->size() - 1) {
934 int32_t repeatedOp = (int32_t)fRXPat->fCompiledPat->elementAti(topLoc);
939 fRXPat->fCompiledPat->setElementAt(loopOpI, topLoc);
943 fRXPat->fCompiledPat->addElement(loopOpC, *fStatus);
959 fRXPat->fCompiledPat->setElementAt(loopOpI, topLoc);
963 fRXPat->fCompiledPat->addElement(loopOpC, *fStatus);
976 if (minMatchLength(saveStateLoc, fRXPat->fCompiledPat->size()-1) == 0) {
982 fRXPat->fCompiledPat->setElementAt(op, saveStateLoc+1);
988 int32_t continueLoc = fRXPat->fCompiledPat->size()+1;
992 fRXPat->fCompiledPat->setElementAt(saveStateOp, saveStateLoc);
995 fRXPat->fCompiledPat->addElement(jmpOp, *fStatus);
1008 int32_t saveLoc = fRXPat->fCompiledPat->size(); // loc 3.
1011 fRXPat->fCompiledPat->setElementAt(jmpOp, jmpLoc);
1012 fRXPat->fCompiledPat->addElement(stateSaveOp, *fStatus);
1084 fRXPat->fCompiledPat->setElementAt(op, topLoc);
1086 int32_t loopOp = (int32_t)fRXPat->fCompiledPat->popi();
1089 fRXPat->fCompiledPat->push(loopOp, *fStatus);
1093 fRXPat->fCompiledPat->addElement(op, *fStatus);
1137 fRXPat->fCompiledPat->addElement(op, *fStatus);
1154 fRXPat->fCompiledPat->addElement(URX_BUILD(op, 0), *fStatus);
1171 fRXPat->fCompiledPat
1177 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_CARET, 0), *fStatus);
1189 fRXPat->fCompiledPat->addElement(URX_BUILD(op, 1), *fStatus);
1202 fRXPat->fCompiledPat->addElement(URX_BUILD(op, 0), *fStatus);
1208 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_BACKSLASH_D, 1), *fStatus);
1213 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_BACKSLASH_D, 0), *fStatus);
1218 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_BACKSLASH_G, 0), *fStatus);
1223 fRXPat->fCompiledPat->addElement(
1229 fRXPat->fCompiledPat->addElement(
1235 fRXPat->fCompiledPat->addElement(
1241 fRXPat->fCompiledPat->addElement(
1247 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_BACKSLASH_X, 0), *fStatus);
1253 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_DOLLAR, 0), *fStatus);
1258 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_BACKSLASH_Z, 0), *fStatus);
1324 fRXPat->fCompiledPat->addElement(op, *fStatus);
1348 fRXPat->fCompiledPat->setElementAt(op, topLoc);
1351 op = URX_BUILD(URX_STATE_SAVE, fRXPat->fCompiledPat->size()+2);
1352 fRXPat->fCompiledPat->addElement(op, *fStatus);
1356 fRXPat->fCompiledPat->addElement(op, *fStatus);
1360 fRXPat->fCompiledPat->addElement(op, *fStatus);
1383 fRXPat->fCompiledPat->setElementAt(op, topLoc);
1386 int32_t L7 = fRXPat->fCompiledPat->size()+1;
1388 fRXPat->fCompiledPat->setElementAt(op, topLoc+1);
1392 fRXPat->fCompiledPat->addElement(op, *fStatus);
1396 fRXPat->fCompiledPat->addElement(op, *fStatus);
1418 fRXPat->fCompiledPat->setElementAt(op, topLoc);
1421 int32_t continueLoc = fRXPat->fCompiledPat->size()+1;
1423 fRXPat->fCompiledPat->setElementAt(op, topLoc+1);
1427 fRXPat->fCompiledPat->addElement(op, *fStatus);
1484 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_NOP, 0), *fStatus);
1485 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_NOP, 0), *fStatus);
1492 fParenStack.push(fRXPat->fCompiledPat->size()-2, *fStatus); // The first NOP
1493 fParenStack.push(fRXPat->fCompiledPat->size()-1, *fStatus); // The second NOP
1865 fRXPat->fCompiledPat->addElement(op, *fStatus);
1875 fRXPat->fCompiledPat->addElement(op, *fStatus);
1877 fRXPat->fCompiledPat->addElement(op, *fStatus);
1901 UVector64 *code = fRXPat->fCompiledPat;
1973 if (fRXPat->fCompiledPat->size() == fMatchCloseParen)
1978 U_ASSERT(URX_TYPE(((uint32_t)fRXPat->fCompiledPat->elementAti(theLoc))) == URX_NOP);
1984 theLoc = fRXPat->fCompiledPat->size()-1;
1985 int32_t opAtTheLoc = (int32_t)fRXPat->fCompiledPat->elementAti(theLoc);
1993 fRXPat->fCompiledPat->insertElementAt(nop, theLoc, *fStatus);
2034 U_ASSERT(patIdx>0 && patIdx <= fRXPat->fCompiledPat->size());
2035 patOp = (int32_t)fRXPat->fCompiledPat->elementAti(patIdx);
2037 patOp |= fRXPat->fCompiledPat->size(); // Set it now.
2038 fRXPat->fCompiledPat->setElementAt(patOp, patIdx);
2063 int32_t captureOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen+1);
2068 fRXPat->fCompiledPat->addElement(endCaptureOp, *fStatus);
2076 int32_t stoOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen+1);
2080 fRXPat->fCompiledPat->addElement(ldOp, *fStatus);
2086 int32_t startOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen-5);
2090 fRXPat->fCompiledPat->addElement(op, *fStatus);
2097 int32_t startOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen-1);
2101 fRXPat->fCompiledPat->addElement(op, *fStatus);
2103 fRXPat->fCompiledPat->addElement(op, *fStatus);
2105 fRXPat->fCompiledPat->addElement(op, *fStatus);
2109 int32_t saveOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen);
2111 int32_t dest = fRXPat->fCompiledPat->size()-1;
2113 fRXPat->fCompiledPat->setElementAt(saveOp, fMatchOpenParen);
2122 int32_t startOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen-4);
2126 fRXPat->fCompiledPat->addElement(op, *fStatus);
2128 fRXPat->fCompiledPat->addElement(op, *fStatus);
2133 int32_t patEnd = fRXPat->fCompiledPat->size() - 1;
2144 fRXPat->fCompiledPat->setElementAt(minML, fMatchOpenParen-2);
2145 fRXPat->fCompiledPat->setElementAt(maxML, fMatchOpenParen-1);
2157 int32_t startOp = (int32_t)fRXPat->fCompiledPat->elementAti(fMatchOpenParen-5);
2161 fRXPat->fCompiledPat->addElement(op, *fStatus);
2166 int32_t patEnd = fRXPat->fCompiledPat->size() - 1;
2177 fRXPat->fCompiledPat->setElementAt(minML, fMatchOpenParen-3);
2178 fRXPat->fCompiledPat->setElementAt(maxML, fMatchOpenParen-2);
2182 op = URX_BUILD(URX_RELOC_OPRND, fRXPat->fCompiledPat->size());
2183 fRXPat->fCompiledPat->setElementAt(op, fMatchOpenParen-1);
2196 fMatchCloseParen = fRXPat->fCompiledPat->size();
2223 fRXPat->fCompiledPat->addElement(URX_BUILD(URX_BACKTRACK, 0), *fStatus);
2245 fRXPat->fCompiledPat->addElement(setOp, *fStatus);
2283 fRXPat->fCompiledPat->setElementAt(op, topOfBlock);
2289 int32_t loopEnd = fRXPat->fCompiledPat->size();
2291 fRXPat->fCompiledPat->setElementAt(op, topOfBlock+1);
2294 fRXPat->fCompiledPat->setElementAt(fIntervalLow, topOfBlock+2);
2295 fRXPat->fCompiledPat->setElementAt(fIntervalUpper, topOfBlock+3);
2300 fRXPat->fCompiledPat->addElement(op, *fStatus);
2324 fRXPat->fCompiledPat->setSize(topOfBlock);
2328 if (topOfBlock != fRXPat->fCompiledPat->size()-1 && fIntervalUpper != 1) {
2338 int32_t op = (int32_t)fRXPat->fCompiledPat->elementAti(topOfBlock);
2343 int32_t endOfSequenceLoc = fRXPat->fCompiledPat->size()-1
2348 fRXPat->fCompiledPat->setElementAt(saveOp, topOfBlock);
2359 fRXPat->fCompiledPat->addElement(saveOp, *fStatus);
2362 fRXPat->fCompiledPat->addElement(saveOp, *fStatus);
2364 fRXPat->fCompiledPat->addElement(op, *fStatus);
2403 int32_t end = fRXPat->fCompiledPat->size();
2411 op = (int32_t)fRXPat->fCompiledPat->elementAti(loc);
2656 int32_t stringLenOp = (int32_t)fRXPat->fCompiledPat->elementAti(loc);
2685 int32_t stringLenOp = (int32_t)fRXPat->fCompiledPat->elementAti(loc);
2720 int32_t loopEndLoc = (int32_t)fRXPat->fCompiledPat->elementAti(loc+1);
2722 int32_t minLoopCount = (int32_t)fRXPat->fCompiledPat->elementAti(loc+2);
2764 op = (int32_t)fRXPat->fCompiledPat->elementAti(loc);
2881 U_ASSERT(end < fRXPat->fCompiledPat->size());
2902 op = (int32_t)fRXPat->fCompiledPat->elementAti(loc);
3010 int32_t stringLenOp = (int32_t)fRXPat->fCompiledPat->elementAti(loc);
3036 int32_t loopEndLoc = (int32_t)fRXPat->fCompiledPat->elementAti(loc+1);
3038 int32_t minLoopCount = (int32_t)fRXPat->fCompiledPat->elementAti(loc+2);
3073 op = (int32_t)fRXPat->fCompiledPat->elementAti(loc);
3162 U_ASSERT(end < fRXPat->fCompiledPat->size());
3177 op = (int32_t)fRXPat->fCompiledPat->elementAti(loc);
3303 int32_t stringLenOp = (int32_t)fRXPat->fCompiledPat->elementAti(loc);
3331 int32_t stringLenOp = (int32_t)fRXPat->fCompiledPat->elementAti(loc);
3370 op = (int32_t)fRXPat->fCompiledPat->elementAti(loc);
3420 int32_t end = fRXPat->fCompiledPat->size();
3429 int32_t op = (int32_t)fRXPat->fCompiledPat->elementAti(loc);
3444 int32_t op = (int32_t)fRXPat->fCompiledPat->elementAti(src);
3464 fRXPat->fCompiledPat->setElementAt(op, dst);
3479 fRXPat->fCompiledPat->setElementAt(op, dst);
3532 fRXPat->fCompiledPat->setElementAt(op, dst);
3543 fRXPat->fCompiledPat->setSize(dst);