Home
last modified time | relevance | path

Searched refs:rangeIndex (Results 1 – 25 of 29) sorted by relevance

12

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DUSerializedSet.java102 public final boolean getRange(int rangeIndex, int[] range) { in getRange() argument
103 if( rangeIndex<0) { in getRange()
112 rangeIndex*=2; /* address start/limit pairs */ in getRange()
113 if(rangeIndex<bmpLength) { in getRange()
114 range[0]=array[rangeIndex++]; in getRange()
115 if(rangeIndex<bmpLength) { in getRange()
116 range[1]=array[rangeIndex]-1; in getRange()
117 } else if(rangeIndex<length) { in getRange()
118 range[1]=((((int)array[rangeIndex])<<16)|array[rangeIndex+1])-1; in getRange()
124 rangeIndex-=bmpLength; in getRange()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DUSerializedSet.java104 public final boolean getRange(int rangeIndex, int[] range) { in getRange() argument
105 if( rangeIndex<0) { in getRange()
114 rangeIndex*=2; /* address start/limit pairs */ in getRange()
115 if(rangeIndex<bmpLength) { in getRange()
116 range[0]=array[rangeIndex++]; in getRange()
117 if(rangeIndex<bmpLength) { in getRange()
118 range[1]=array[rangeIndex]-1; in getRange()
119 } else if(rangeIndex<length) { in getRange()
120 range[1]=((((int)array[rangeIndex])<<16)|array[rangeIndex+1])-1; in getRange()
126 rangeIndex-=bmpLength; in getRange()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Duset.cpp477 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex, in uset_getSerializedRange() argument
482 if(set==NULL || rangeIndex<0 || pStart==NULL || pEnd==NULL) { in uset_getSerializedRange()
490 rangeIndex*=2; /* address start/limit pairs */ in uset_getSerializedRange()
491 if(rangeIndex<bmpLength) { in uset_getSerializedRange()
492 *pStart=array[rangeIndex++]; in uset_getSerializedRange()
493 if(rangeIndex<bmpLength) { in uset_getSerializedRange()
494 *pEnd=array[rangeIndex]-1; in uset_getSerializedRange()
495 } else if(rangeIndex<length) { in uset_getSerializedRange()
496 *pEnd=((((int32_t)array[rangeIndex])<<16)|array[rangeIndex+1])-1; in uset_getSerializedRange()
502 rangeIndex-=bmpLength; in uset_getSerializedRange()
[all …]
/third_party/libphonenumber/tools/java/data/src/com/google/i18n/phonenumbers/
DCombineGeoData.java190 static boolean hasConflict(List<Range> ranges, int rangeIndex, String[] prefixes, int candidate) { in hasConflict() argument
191 if (rangeIndex > 0) { in hasConflict()
192 Range previousRange = ranges.get(rangeIndex - 1); in hasConflict()
197 if (rangeIndex < ranges.size() - 1) { in hasConflict()
198 Range nextRange = ranges.get(rangeIndex + 1); in hasConflict()
216 int rangeIndex = 0; in combine() local
220 if (prefixCandidate != 0 && !hasConflict(ranges, rangeIndex, prefixes, prefixCandidate)) { in combine()
221 combinedPrefixes.put(rangeIndex, prefixCandidate); in combine()
223 ++rangeIndex; in combine()
229 rangeIndex = 0; in combine()
[all …]
/third_party/node/deps/icu-small/source/common/
Duset.cpp517 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex, in uset_getSerializedRange() argument
522 if(set==NULL || rangeIndex<0 || pStart==NULL || pEnd==NULL) { in uset_getSerializedRange()
530 rangeIndex*=2; /* address start/limit pairs */ in uset_getSerializedRange()
531 if(rangeIndex<bmpLength) { in uset_getSerializedRange()
532 *pStart=array[rangeIndex++]; in uset_getSerializedRange()
533 if(rangeIndex<bmpLength) { in uset_getSerializedRange()
534 *pEnd=array[rangeIndex]-1; in uset_getSerializedRange()
535 } else if(rangeIndex<length) { in uset_getSerializedRange()
536 *pEnd=((((int32_t)array[rangeIndex])<<16)|array[rangeIndex+1])-1; in uset_getSerializedRange()
542 rangeIndex-=bmpLength; in uset_getSerializedRange()
[all …]
/third_party/icu/icu4c/source/common/
Duset.cpp512 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex, in uset_getSerializedRange() argument
517 if(set==NULL || rangeIndex<0 || pStart==NULL || pEnd==NULL) { in uset_getSerializedRange()
525 rangeIndex*=2; /* address start/limit pairs */ in uset_getSerializedRange()
526 if(rangeIndex<bmpLength) { in uset_getSerializedRange()
527 *pStart=array[rangeIndex++]; in uset_getSerializedRange()
528 if(rangeIndex<bmpLength) { in uset_getSerializedRange()
529 *pEnd=array[rangeIndex]-1; in uset_getSerializedRange()
530 } else if(rangeIndex<length) { in uset_getSerializedRange()
531 *pEnd=((((int32_t)array[rangeIndex])<<16)|array[rangeIndex+1])-1; in uset_getSerializedRange()
537 rangeIndex-=bmpLength; in uset_getSerializedRange()
[all …]
/third_party/skia/third_party/externals/icu/source/common/
Duset.cpp512 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex, in uset_getSerializedRange() argument
517 if(set==NULL || rangeIndex<0 || pStart==NULL || pEnd==NULL) { in uset_getSerializedRange()
525 rangeIndex*=2; /* address start/limit pairs */ in uset_getSerializedRange()
526 if(rangeIndex<bmpLength) { in uset_getSerializedRange()
527 *pStart=array[rangeIndex++]; in uset_getSerializedRange()
528 if(rangeIndex<bmpLength) { in uset_getSerializedRange()
529 *pEnd=array[rangeIndex]-1; in uset_getSerializedRange()
530 } else if(rangeIndex<length) { in uset_getSerializedRange()
531 *pEnd=((((int32_t)array[rangeIndex])<<16)|array[rangeIndex+1])-1; in uset_getSerializedRange()
537 rangeIndex-=bmpLength; in uset_getSerializedRange()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DBindGroupLayoutD3D12.cpp68 uint32_t rangeIndex = 0; local
74 if (SetDescriptorRange(rangeIndex, mDescriptorCounts[CBV], &baseRegister,
76 descriptorOffsets[CBV] = mRanges[rangeIndex++].BaseShaderRegister;
78 if (SetDescriptorRange(rangeIndex, mDescriptorCounts[UAV], &baseRegister,
80 descriptorOffsets[UAV] = mRanges[rangeIndex++].BaseShaderRegister;
82 if (SetDescriptorRange(rangeIndex, mDescriptorCounts[SRV], &baseRegister,
84 descriptorOffsets[SRV] = mRanges[rangeIndex++].BaseShaderRegister;
DPipelineLayoutD3D12.cpp45 uint32_t rangeIndex = 0; in PipelineLayout() local
64 rootParameter.DescriptorTable.pDescriptorRanges = &ranges[rangeIndex]; in PipelineLayout()
67 ranges[rangeIndex] = descriptorRanges[i]; in PipelineLayout()
68 ranges[rangeIndex].RegisterSpace = group; in PipelineLayout()
69 rangeIndex++; in PipelineLayout()
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
DPipelineLayoutD3D12.cpp95 uint32_t rangeIndex = 0; in Initialize() local
114 rootParameter.DescriptorTable.pDescriptorRanges = &ranges[rangeIndex]; in Initialize()
118 ranges[rangeIndex] = range; in Initialize()
119 ranges[rangeIndex].RegisterSpace = static_cast<uint32_t>(group); in Initialize()
120 rangeIndex++; in Initialize()
173 ASSERT(rangeIndex == rangesCount); in Initialize()
/third_party/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationWeights.java124 rangeIndex = 0; in allocWeights()
139 if(rangeIndex >= rangeCount) { in nextWeight()
143 WeightRange range = ranges[rangeIndex]; in nextWeight()
147 ++rangeIndex; in nextWeight()
557 private int rangeIndex; field in CollationWeights
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/coll/
DCollationWeights.java126 rangeIndex = 0; in allocWeights()
141 if(rangeIndex >= rangeCount) { in nextWeight()
145 WeightRange range = ranges[rangeIndex]; in nextWeight()
149 ++rangeIndex; in nextWeight()
559 private int rangeIndex; field in CollationWeights
/third_party/icu/icu4c/source/i18n/
Dcollationweights.cpp99 : middleLength(0), rangeIndex(0), rangeCount(0) { in CollationWeights()
543 rangeIndex = 0; in allocWeights()
549 if(rangeIndex >= rangeCount) { in nextWeight()
553 WeightRange &range = ranges[rangeIndex]; in nextWeight()
557 ++rangeIndex; in nextWeight()
Dcollationweights.h106 int32_t rangeIndex; variable
/third_party/node/deps/icu-small/source/i18n/
Dcollationweights.cpp99 : middleLength(0), rangeIndex(0), rangeCount(0) { in CollationWeights()
543 rangeIndex = 0; in allocWeights()
549 if(rangeIndex >= rangeCount) { in nextWeight()
553 WeightRange &range = ranges[rangeIndex]; in nextWeight()
557 ++rangeIndex; in nextWeight()
Dcollationweights.h106 int32_t rangeIndex; variable
/third_party/skia/third_party/externals/icu/source/i18n/
Dcollationweights.cpp99 : middleLength(0), rangeIndex(0), rangeCount(0) { in CollationWeights()
543 rangeIndex = 0; in allocWeights()
549 if(rangeIndex >= rangeCount) { in nextWeight()
553 WeightRange &range = ranges[rangeIndex]; in nextWeight()
557 ++rangeIndex; in nextWeight()
Dcollationweights.h106 int32_t rangeIndex; variable
/third_party/flutter/skia/third_party/externals/icu/source/i18n/
Dcollationweights.cpp99 : middleLength(0), rangeIndex(0), rangeCount(0) { in CollationWeights()
543 rangeIndex = 0; in allocWeights()
549 if(rangeIndex >= rangeCount) { in nextWeight()
553 WeightRange &range = ranges[rangeIndex]; in nextWeight()
557 ++rangeIndex; in nextWeight()
Dcollationweights.h106 int32_t rangeIndex; variable
/third_party/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DOS2Table.java488 int rangeIndex = -1; in asSet() local
492 rangeIndex++; in asSet()
496 if ((range[rangeIndex] & 1 << rangeBit) == 1 << rangeBit) { in asSet()
686 int rangeIndex = -1; in asSet() local
690 rangeIndex++; in asSet()
694 if ((range[rangeIndex] & 1 << rangeBit) == 1 << rangeBit) { in asSet()
/third_party/flutter/skia/third_party/externals/sfntly/java/src/com/google/typography/font/sfntly/table/core/
DOS2Table.java488 int rangeIndex = -1; in asSet() local
492 rangeIndex++; in asSet()
496 if ((range[rangeIndex] & 1 << rangeBit) == 1 << rangeBit) { in asSet()
686 int rangeIndex = -1; in asSet() local
690 rangeIndex++; in asSet()
694 if ((range[rangeIndex] & 1 << rangeBit) == 1 << rangeBit) { in asSet()
/third_party/flutter/skia/third_party/externals/icu/source/tools/gennorm2/
Dn2builder.cpp74 HangulIterator() : rangeIndex(0) {} in HangulIterator()
76 if(rangeIndex<UPRV_LENGTHOF(ranges)) { in nextRange()
77 return ranges+rangeIndex++; in nextRange()
84 int32_t rangeIndex; member in HangulIterator
/third_party/icu/icu4c/source/tools/gennorm2/
Dn2builder.cpp74 HangulIterator() : rangeIndex(0) {} in HangulIterator()
76 if(rangeIndex<UPRV_LENGTHOF(ranges)) { in nextRange()
77 return ranges+rangeIndex++; in nextRange()
84 int32_t rangeIndex; member in HangulIterator
/third_party/skia/third_party/externals/icu/source/tools/gennorm2/
Dn2builder.cpp74 HangulIterator() : rangeIndex(0) {} in HangulIterator()
76 if(rangeIndex<UPRV_LENGTHOF(ranges)) { in nextRange()
77 return ranges+rangeIndex++; in nextRange()
84 int32_t rangeIndex; member in HangulIterator

12