Home
last modified time | relevance | path

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

/external/icu/icu4c/source/common/
Dstringtriebuilder.cpp154 int32_t unitNumber=0; in writeBranchSubNode() local
156 int32_t i=starts[unitNumber]=start; in writeBranchSubNode()
159 isFinal[unitNumber]= start==i-1 && unitIndex+1==getElementStringLength(start); in writeBranchSubNode()
161 } while(++unitNumber<length-1); in writeBranchSubNode()
163 starts[unitNumber]=start; in writeBranchSubNode()
171 --unitNumber; in writeBranchSubNode()
172 if(!isFinal[unitNumber]) { in writeBranchSubNode()
173 … jumpTargets[unitNumber]=writeNode(starts[unitNumber], starts[unitNumber+1], unitIndex+1); in writeBranchSubNode()
175 } while(unitNumber>0); in writeBranchSubNode()
178 unitNumber=length-1; in writeBranchSubNode()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/util/
DStringTrieBuilder.java654 int unitNumber=length-1; in write() local
655 Node rightEdge=equal[unitNumber]; in write()
658 --unitNumber; in write()
659 if(equal[unitNumber]!=null) { in write()
660 … equal[unitNumber].writeUnlessInsideRightEdge(firstEdgeNumber, rightEdgeNumber, builder); in write()
662 } while(unitNumber>0); in write()
665 unitNumber=length-1; in write()
667 builder.writeValueAndFinal(values[unitNumber], true); in write()
671 offset=builder.write(units[unitNumber]); in write()
673 while(--unitNumber>=0) { in write()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/util/
DStringTrieBuilder.java653 int unitNumber=length-1; in write() local
654 Node rightEdge=equal[unitNumber]; in write()
657 --unitNumber; in write()
658 if(equal[unitNumber]!=null) { in write()
659 … equal[unitNumber].writeUnlessInsideRightEdge(firstEdgeNumber, rightEdgeNumber, builder); in write()
661 } while(unitNumber>0); in write()
664 unitNumber=length-1; in write()
666 builder.writeValueAndFinal(values[unitNumber], true); in write()
670 offset=builder.write(units[unitNumber]); in write()
672 while(--unitNumber>=0) { in write()
[all …]