Home
last modified time | relevance | path

Searched refs:gapLength (Results 1 – 2 of 2) sorted by relevance

/external/cldr/tools/java/org/unicode/cldr/draft/
DGapString.java18 private int gapLength = 10; field in GapString
29 return buffer[index < pastLength ? index : index + gapLength]; in charAt()
36 return buffer.length - gapLength; in length()
48 final int futureStart = pastLength + gapLength; in toString()
61 final int growthNeeded = gapNeeded - gapLength; in insert()
69 gapLength -= gapNeeded; in insert()
86 final int growthNeeded = gapNeeded - gapLength; in insert()
93 gapLength -= gapNeeded; in insert()
106 final int growthNeeded = gapNeeded - gapLength; in insert()
113 gapLength -= gapNeeded; in insert()
[all …]
/external/icu/icu4c/source/tools/toolutil/
Ddenseranges.cpp32 void add(int32_t gapStart, int64_t gapLength) { in add() argument
34 while(i>0 && gapLength>gapLengths[i-1]) { in add()
48 gapLengths[i]=gapLength; in add()
60 int64_t gapLength(int32_t i) const { return gapLengths[i]; } in gapLength() function in __anonad6e121c0111::LargestGaps
144 maxLength-=gaps.gapLength(i); in uprv_makeDenseRanges()
156 ranges[i+1][0]=minValue=(int32_t)(gapStart+gaps.gapLength(gapIndex)); in uprv_makeDenseRanges()