• Home
  • Raw
  • Download

Lines Matching refs:fRB

92     fRB                 = rb;  in RBBIRuleScanner()
225 if (U_FAILURE(*fRB->fStatus)) { in doParseActions()
242 if (U_FAILURE(*fRB->fStatus)) { in doParseActions()
301fRB->fRules.extractBetween(RHSExprNode->fFirstPos, RHSExprNode->fLastPos, RHSExprNode->fText); in doParseActions()
308 fSymbolTable->addEntry(varRefNode->fText, varRefNode, *fRB->fStatus); in doParseActions()
309 if (U_FAILURE(*fRB->fStatus)) { in doParseActions()
312 UErrorCode t = *fRB->fStatus; in doParseActions()
313 *fRB->fStatus = U_ZERO_ERROR; in doParseActions()
326 if (U_FAILURE(*fRB->fStatus)) { // parse tree rooted in TOS node. in doParseActions()
330 if (fRB->fDebugEnv && uprv_strstr(fRB->fDebugEnv, "rtree")) {printNodeStack("end of rule");} in doParseActions()
340 if (U_FAILURE(*fRB->fStatus)) { in doParseActions()
361 if (fRB->fChainRules && // If rule chaining is enabled globally via !!chain in doParseActions()
375 RBBINode **destRules = (fReverseRule? &fRB->fSafeRevTree : fRB->fDefaultTree); in doParseActions()
386 if (U_FAILURE(*fRB->fStatus)) { in doParseActions()
430 if (U_FAILURE(*fRB->fStatus)) { in doParseActions()
442 if (U_FAILURE(*fRB->fStatus)) { in doParseActions()
454 if (U_FAILURE(*fRB->fStatus)) { in doParseActions()
470 if (U_FAILURE(*fRB->fStatus)) { in doParseActions()
476 fRB->fRules.extractBetween(n->fFirstPos, n->fLastPos, n->fText); in doParseActions()
484 if (U_FAILURE(*fRB->fStatus)) { in doParseActions()
490 fRB->fRules.extractBetween(n->fFirstPos, n->fLastPos, n->fText); in doParseActions()
497 if (U_FAILURE(*fRB->fStatus)) { in doParseActions()
503 fRB->fRules.extractBetween(n->fFirstPos, n->fLastPos, n->fText); in doParseActions()
511 if (U_FAILURE(*fRB->fStatus)) { in doParseActions()
532 fRB->fRules.extractBetween(n->fFirstPos, n->fLastPos, n->fText); in doParseActions()
547 UnicodeString opt(fRB->fRules, fOptionStart, fScanIndex-fOptionStart); in doParseActions()
549 fRB->fChainRules = TRUE; in doParseActions()
551 fRB->fLBCMNoChain = TRUE; in doParseActions()
553 fRB->fDefaultTree = &fRB->fForwardTree; in doParseActions()
555 fRB->fDefaultTree = &fRB->fReverseTree; in doParseActions()
557 fRB->fDefaultTree = &fRB->fSafeFwdTree; in doParseActions()
559 fRB->fDefaultTree = &fRB->fSafeRevTree; in doParseActions()
561 fRB->fLookAheadHardBreak = TRUE; in doParseActions()
565 …ets[kRuleSet_rule_char-128].applyPattern(UnicodeString(gRuleSet_rule_char_pattern), *fRB->fStatus); in doParseActions()
578 if (U_FAILURE(*fRB->fStatus)) { in doParseActions()
591 fRB->fRules.extractBetween(n->fFirstPos+1, n->fLastPos, n->fText); in doParseActions()
628 return returnVal && U_SUCCESS(*fRB->fStatus); in doParseActions()
641 if (U_SUCCESS(*fRB->fStatus)) { in error()
642 *fRB->fStatus = e; in error()
643 if (fRB->fParseError) { in error()
644 fRB->fParseError->line = fLineNum; in error()
645 fRB->fParseError->offset = fCharNum; in error()
646 fRB->fParseError->preContext[0] = 0; in error()
647 fRB->fParseError->postContext[0] = 0; in error()
778 fRB->fUSetNodes->addElement(usetNode, *fRB->fStatus); in findSetFor()
800 uhash_put(fSetTable, el->key, el, fRB->fStatus); in findSetFor()
857 if (fNextIndex >= fRB->fRules.length()) { in nextCharLL()
860 ch = fRB->fRules.char32At(fNextIndex); in nextCharLL()
861 fNextIndex = fRB->fRules.moveIndex32(fNextIndex, 1); in nextCharLL()
909 if (fRB->fRules.char32At(fNextIndex) == chApos) { in nextChar()
952 fRB->fStrippedRules.setCharAt(i, u' '); in nextChar()
966 c.fChar = fRB->fRules.unescapeAt(fNextIndex); in nextChar()
988 if (U_FAILURE(*fRB->fStatus)) { in parse()
1005 if (U_FAILURE(*fRB->fStatus)) { in parse()
1023 if (fRB->fDebugEnv && uprv_strstr(fRB->fDebugEnv, "scan")) { in parse()
1031 …if (fRB->fDebugEnv && uprv_strstr(fRB->fDebugEnv, "scan")) { RBBIDebugPrintf("."); fflush(stdout);} in parse()
1071 if (fRB->fDebugEnv && uprv_strstr(fRB->fDebugEnv, "scan")) { RBBIDebugPuts("");} in parse()
1114 if (U_FAILURE(*fRB->fStatus)) { in parse()
1120 if (fRB->fForwardTree == NULL) { in parse()
1131 … if (fRB->fDebugEnv && uprv_strstr(fRB->fDebugEnv, "symbols")) {fSymbolTable->rbbiSymtablePrint();} in parse()
1132 if (fRB->fDebugEnv && uprv_strstr(fRB->fDebugEnv, "ptree")) { in parse()
1134 RBBINode::printTree(fRB->fForwardTree, TRUE); in parse()
1136 RBBINode::printTree(fRB->fReverseTree, TRUE); in parse()
1138 RBBINode::printTree(fRB->fSafeFwdTree, TRUE); in parse()
1140 RBBINode::printTree(fRB->fSafeRevTree, TRUE); in parse()
1169 if (U_FAILURE(*fRB->fStatus)) { in pushNewNode()
1180 *fRB->fStatus = U_MEMORY_ALLOCATION_ERROR; in pushNewNode()
1207 if (U_FAILURE(*fRB->fStatus)) { in scanSet()
1218 uset->applyPatternIgnoreSpace(fRB->fRules, pos, fSymbolTable, localStatus); in scanSet()
1256 if (U_SUCCESS(*fRB->fStatus)) { in scanSet()
1260 if (U_FAILURE(*fRB->fStatus)) { in scanSet()
1265 fRB->fRules.extractBetween(n->fFirstPos, n->fLastPos, n->fText); in scanSet()