Home
last modified time | relevance | path

Searched refs:fLeftChild (Results 1 – 16 of 16) sorted by relevance

/external/icu/icu4c/source/common/
Drbbinode.cpp52 fLeftChild = NULL; in RBBINode()
80 fLeftChild = NULL; in RBBINode()
118 delete fLeftChild; in ~RBBINode()
119 fLeftChild = NULL; in ~RBBINode()
147 n = fLeftChild->cloneTree(); in cloneTree()
154 if (fLeftChild != NULL) { in cloneTree()
155 n->fLeftChild = fLeftChild->cloneTree(); in cloneTree()
156 n->fLeftChild->fParent = n; in cloneTree()
189 RBBINode *retNode = fLeftChild->cloneTree(); in flattenVariables()
194 if (fLeftChild != NULL) { in flattenVariables()
[all …]
Drbbistbl.cpp85 exprNode = varRefNode->fLeftChild; // Root node of expression for variable in lookup()
90 usetNode = exprNode->fLeftChild; in lookup()
215 delete val->fLeftChild; in ~RBBISymbolTableEntry()
216 val->fLeftChild = NULL; in ~RBBISymbolTableEntry()
244 RBBI_DEBUG_printUnicodeString(s->val->fLeftChild->fText); in rbbiSymtablePrint()
257 s->val->fLeftChild->printTree(TRUE); in rbbiSymtablePrint()
Drbbitblb.cpp102 bofTop->fLeftChild = bofLeaf; in build()
120 cn->fLeftChild = fTree; in build()
221 calcNullable(n->fLeftChild); in calcNullable()
226 n->fNullable = n->fLeftChild->fNullable || n->fRightChild->fNullable; in calcNullable()
229 n->fNullable = n->fLeftChild->fNullable && n->fRightChild->fNullable; in calcNullable()
265 calcFirstPos(n->fLeftChild); in calcFirstPos()
270 setAdd(n->fFirstPosSet, n->fLeftChild->fFirstPosSet); in calcFirstPos()
274 setAdd(n->fFirstPosSet, n->fLeftChild->fFirstPosSet); in calcFirstPos()
275 if (n->fLeftChild->fNullable) { in calcFirstPos()
282 setAdd(n->fFirstPosSet, n->fLeftChild->fFirstPosSet); in calcFirstPos()
[all …]
Drbbiscan.cpp216 orNode->fLeftChild = operandNode; in doParseActions()
233 catNode->fLeftChild = operandNode; in doParseActions()
292 varRefNode->fLeftChild = RHSExprNode; in doParseActions()
332 catNode->fLeftChild = thisRule; in doParseActions()
361 orNode->fLeftChild = prevRules; in doParseActions()
404 plusNode->fLeftChild = operandNode; in doParseActions()
416 qNode->fLeftChild = operandNode; in doParseActions()
428 starNode->fLeftChild = operandNode; in doParseActions()
563 n->fLeftChild = fSymbolTable->lookupNode(n->fText); in doParseActions()
568 if (n->fLeftChild == NULL) { in doParseActions()
[all …]
Drbbisetb.cpp366 if (usetNode->fLeftChild == NULL) { in addValToSet()
367 usetNode->fLeftChild = leafNode; in addValToSet()
378 orNode->fLeftChild = usetNode->fLeftChild; in addValToSet()
380 orNode->fLeftChild->fParent = orNode; in addValToSet()
382 usetNode->fLeftChild = orNode; in addValToSet()
548 if (usetNode->fLeftChild != NULL) { in printSets()
549 usetNode->fLeftChild->printTree(TRUE); in printSets()
Drbbinode.h56 RBBINode *fLeftChild; variable
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/text/
DRBBINode.java68 RBBINode fLeftChild; field in RBBINode
152 n = fLeftChild.cloneTree();
157 if (fLeftChild != null) {
158 n.fLeftChild = fLeftChild.cloneTree();
159 n.fLeftChild.fParent = n;
191 RBBINode retNode = fLeftChild.cloneTree();
196 if (fLeftChild != null) {
197 fLeftChild = fLeftChild.flattenVariables();
198 fLeftChild.fParent = this;
218 if (fLeftChild != null) {
[all …]
DRBBITableBuilder.java120 bofTop.fLeftChild = bofLeaf; in build()
133 cn.fLeftChild = fRB.fTreeRoots[fRootIx]; in build()
226 calcNullable(n.fLeftChild); in calcNullable()
231 n.fNullable = n.fLeftChild.fNullable || n.fRightChild.fNullable; in calcNullable()
234 n.fNullable = n.fLeftChild.fNullable && n.fRightChild.fNullable; in calcNullable()
267 calcFirstPos(n.fLeftChild); in calcFirstPos()
272 n.fFirstPosSet.addAll(n.fLeftChild.fFirstPosSet); in calcFirstPos()
276 n.fFirstPosSet.addAll(n.fLeftChild.fFirstPosSet); in calcFirstPos()
277 if (n.fLeftChild.fNullable) { in calcFirstPos()
284 n.fFirstPosSet.addAll(n.fLeftChild.fFirstPosSet); in calcFirstPos()
[all …]
DRBBISymbolTable.java63 while (varRefNode.fLeftChild.fType == RBBINode.varRef) { in lookup()
64 varRefNode = varRefNode.fLeftChild; in lookup()
67 exprNode = varRefNode.fLeftChild; // Root node of expression for variable in lookup()
72 usetNode = exprNode.fLeftChild; in lookup()
187 System.out.print(s.val.fLeftChild.fText); in rbbiSymtablePrint()
195 s.val.fLeftChild.printTree(true); in rbbiSymtablePrint()
DRBBIRuleScanner.java146 orNode.fLeftChild = operandNode; in doParseActions()
161 catNode.fLeftChild = operandNode; in doParseActions()
225 varRefNode.fLeftChild = RHSExprNode; in doParseActions()
252 catNode.fLeftChild = thisRule; in doParseActions()
280 orNode.fLeftChild = prevRules; in doParseActions()
314 plusNode.fLeftChild = operandNode; in doParseActions()
322 qNode.fLeftChild = operandNode; in doParseActions()
330 starNode.fLeftChild = operandNode; in doParseActions()
454 n.fLeftChild = fSymbolTable.lookupNode(n.fText); in doParseActions()
459 if (n.fLeftChild == null) { in doParseActions()
[all …]
DRBBISetBuilder.java376 if (usetNode.fLeftChild == null) { in addValToSet()
377 usetNode.fLeftChild = leafNode; in addValToSet()
384 orNode.fLeftChild = usetNode.fLeftChild; in addValToSet()
386 orNode.fLeftChild.fParent = orNode; in addValToSet()
388 usetNode.fLeftChild = orNode; in addValToSet()
554 if (usetNode.fLeftChild != null) { in printSets()
555 usetNode.fLeftChild.printTree(true); in printSets()
/external/icu/android_icu4j/src/main/java/android/icu/text/
DRBBINode.java69 RBBINode fLeftChild; field in RBBINode
153 n = fLeftChild.cloneTree();
158 if (fLeftChild != null) {
159 n.fLeftChild = fLeftChild.cloneTree();
160 n.fLeftChild.fParent = n;
192 RBBINode retNode = fLeftChild.cloneTree();
197 if (fLeftChild != null) {
198 fLeftChild = fLeftChild.flattenVariables();
199 fLeftChild.fParent = this;
219 if (fLeftChild != null) {
[all …]
DRBBITableBuilder.java121 bofTop.fLeftChild = bofLeaf; in build()
134 cn.fLeftChild = fRB.fTreeRoots[fRootIx]; in build()
227 calcNullable(n.fLeftChild); in calcNullable()
232 n.fNullable = n.fLeftChild.fNullable || n.fRightChild.fNullable; in calcNullable()
235 n.fNullable = n.fLeftChild.fNullable && n.fRightChild.fNullable; in calcNullable()
268 calcFirstPos(n.fLeftChild); in calcFirstPos()
273 n.fFirstPosSet.addAll(n.fLeftChild.fFirstPosSet); in calcFirstPos()
277 n.fFirstPosSet.addAll(n.fLeftChild.fFirstPosSet); in calcFirstPos()
278 if (n.fLeftChild.fNullable) { in calcFirstPos()
285 n.fFirstPosSet.addAll(n.fLeftChild.fFirstPosSet); in calcFirstPos()
[all …]
DRBBISymbolTable.java64 while (varRefNode.fLeftChild.fType == RBBINode.varRef) { in lookup()
65 varRefNode = varRefNode.fLeftChild; in lookup()
68 exprNode = varRefNode.fLeftChild; // Root node of expression for variable in lookup()
73 usetNode = exprNode.fLeftChild; in lookup()
188 System.out.print(s.val.fLeftChild.fText); in rbbiSymtablePrint()
196 s.val.fLeftChild.printTree(true); in rbbiSymtablePrint()
DRBBIRuleScanner.java147 orNode.fLeftChild = operandNode; in doParseActions()
162 catNode.fLeftChild = operandNode; in doParseActions()
226 varRefNode.fLeftChild = RHSExprNode; in doParseActions()
253 catNode.fLeftChild = thisRule; in doParseActions()
281 orNode.fLeftChild = prevRules; in doParseActions()
315 plusNode.fLeftChild = operandNode; in doParseActions()
323 qNode.fLeftChild = operandNode; in doParseActions()
331 starNode.fLeftChild = operandNode; in doParseActions()
455 n.fLeftChild = fSymbolTable.lookupNode(n.fText); in doParseActions()
460 if (n.fLeftChild == null) { in doParseActions()
[all …]
DRBBISetBuilder.java377 if (usetNode.fLeftChild == null) { in addValToSet()
378 usetNode.fLeftChild = leafNode; in addValToSet()
385 orNode.fLeftChild = usetNode.fLeftChild; in addValToSet()
387 orNode.fLeftChild.fParent = orNode; in addValToSet()
389 usetNode.fLeftChild = orNode; in addValToSet()
555 if (usetNode.fLeftChild != null) { in printSets()
556 usetNode.fLeftChild.printTree(true); in printSets()