Home
last modified time | relevance | path

Searched refs:unitNumber (Results 1 – 3 of 3) sorted by relevance

/external/icu/icu4c/source/common/
Dstringtriebuilder.cpp152 int32_t unitNumber=0; in writeBranchSubNode() local
154 int32_t i=starts[unitNumber]=start; in writeBranchSubNode()
157 isFinal[unitNumber]= start==i-1 && unitIndex+1==getElementStringLength(start); in writeBranchSubNode()
159 } while(++unitNumber<length-1); in writeBranchSubNode()
161 starts[unitNumber]=start; in writeBranchSubNode()
169 --unitNumber; in writeBranchSubNode()
170 if(!isFinal[unitNumber]) { in writeBranchSubNode()
171 … jumpTargets[unitNumber]=writeNode(starts[unitNumber], starts[unitNumber+1], unitIndex+1); in writeBranchSubNode()
173 } while(unitNumber>0); in writeBranchSubNode()
176 unitNumber=length-1; in writeBranchSubNode()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DStringTrieBuilder.java652 int unitNumber=length-1; in write() local
653 Node rightEdge=equal[unitNumber]; in write()
656 --unitNumber; in write()
657 if(equal[unitNumber]!=null) { in write()
658 … equal[unitNumber].writeUnlessInsideRightEdge(firstEdgeNumber, rightEdgeNumber, builder); in write()
660 } while(unitNumber>0); in write()
663 unitNumber=length-1; in write()
665 builder.writeValueAndFinal(values[unitNumber], true); in write()
669 offset=builder.write(units[unitNumber]); in write()
671 while(--unitNumber>=0) { in write()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DStringTrieBuilder.java650 int unitNumber=length-1; in write() local
651 Node rightEdge=equal[unitNumber]; in write()
654 --unitNumber; in write()
655 if(equal[unitNumber]!=null) { in write()
656 … equal[unitNumber].writeUnlessInsideRightEdge(firstEdgeNumber, rightEdgeNumber, builder); in write()
658 } while(unitNumber>0); in write()
661 unitNumber=length-1; in write()
663 builder.writeValueAndFinal(values[unitNumber], true); in write()
667 offset=builder.write(units[unitNumber]); in write()
669 while(--unitNumber>=0) { in write()
[all …]