Home
last modified time | relevance | path

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

/third_party/icu/icu4c/source/test/intltest/
Dgenderinfotest.cpp43 …l, UGender expected_mixed, UGender expected_taints, const UGender* genderList, int32_t listLength);
44 …checkLocale(const Locale& locale, UGender expected, const UGender* genderList, int32_t listLength);
95 …, UGender expected_mixed, UGender expected_taints, const UGender* genderList, int32_t listLength) { in check() argument
96 checkLocale(Locale::getUS(), expected_neutral, genderList, listLength); in check()
97 checkLocale("is", expected_mixed, genderList, listLength); in check()
98 checkLocale(Locale::getFrench(), expected_taints, genderList, listLength); in check()
102 const Locale& locale, UGender expected, const UGender* genderList, int32_t listLength) { in checkLocale() argument
109 UGender actual = gi->getListGender(genderList, listLength, status); in checkLocale()
/third_party/skia/third_party/externals/icu/source/common/
Dlocaleprioritylist.cpp162 for (int32_t i = 0; i < listLength; ++i) { in ~LocalePriorityList()
214 if (listLength == list->array.getCapacity()) { in add()
215 int32_t newCapacity = listLength < 50 ? 100 : 4 * listLength; in add()
216 if (list->array.resize(newCapacity, listLength) == nullptr) { in add()
221 uhash_putiAllowZero(map, clone.getAlias(), listLength, &errorCode); in add()
223 LocaleAndWeight &lw = list->array[listLength]; in add()
226 lw.index = listLength++; in add()
236 uprv_sortArray(list->array.getAlias(), listLength, sizeof(LocaleAndWeight), in sort()
Dbmpset.cpp30 list(parentList), listLength(parentListLength) { in BMPSet()
42 list4kStarts[0]=findCodePoint(0x800, 0, listLength-1); in BMPSet()
45 list4kStarts[i]=findCodePoint(i<<12, list4kStarts[i-1], listLength-1); in BMPSet()
47 list4kStarts[0x11]=listLength-1; in BMPSet()
56 list(newParentList), listLength(newParentListLength) { in BMPSet()
128 if(listIndex<listLength) { in initBits()
145 if(listIndex<listLength) { in initBits()
167 if(listIndex<listLength) { in initBits()
213 if(listIndex<listLength) { in initBits()
Dlocaleprioritylist.h88 int32_t getLength() const { return listLength - numRemoved; } in getLength()
90 int32_t getLengthIncludingRemoved() const { return listLength; } in getLengthIncludingRemoved()
107 int32_t listLength = 0; variable
Dbmpset.h155 int32_t listLength; variable
/third_party/icu/icu4c/source/common/
Dlocaleprioritylist.cpp162 for (int32_t i = 0; i < listLength; ++i) { in ~LocalePriorityList()
214 if (listLength == list->array.getCapacity()) { in add()
215 int32_t newCapacity = listLength < 50 ? 100 : 4 * listLength; in add()
216 if (list->array.resize(newCapacity, listLength) == nullptr) { in add()
221 uhash_putiAllowZero(map, clone.getAlias(), listLength, &errorCode); in add()
223 LocaleAndWeight &lw = list->array[listLength]; in add()
226 lw.index = listLength++; in add()
236 uprv_sortArray(list->array.getAlias(), listLength, sizeof(LocaleAndWeight), in sort()
Dbmpset.cpp30 list(parentList), listLength(parentListLength) { in BMPSet()
42 list4kStarts[0]=findCodePoint(0x800, 0, listLength-1); in BMPSet()
45 list4kStarts[i]=findCodePoint(i<<12, list4kStarts[i-1], listLength-1); in BMPSet()
47 list4kStarts[0x11]=listLength-1; in BMPSet()
56 list(newParentList), listLength(newParentListLength) { in BMPSet()
128 if(listIndex<listLength) { in initBits()
145 if(listIndex<listLength) { in initBits()
167 if(listIndex<listLength) { in initBits()
213 if(listIndex<listLength) { in initBits()
Dlocaleprioritylist.h88 int32_t getLength() const { return listLength - numRemoved; } in getLength()
90 int32_t getLengthIncludingRemoved() const { return listLength; } in getLengthIncludingRemoved()
107 int32_t listLength = 0; variable
Dbmpset.h155 int32_t listLength; variable
/third_party/node/deps/icu-small/source/common/
Dlocaleprioritylist.cpp162 for (int32_t i = 0; i < listLength; ++i) { in ~LocalePriorityList()
214 if (listLength == list->array.getCapacity()) { in add()
215 int32_t newCapacity = listLength < 50 ? 100 : 4 * listLength; in add()
216 if (list->array.resize(newCapacity, listLength) == nullptr) { in add()
221 uhash_putiAllowZero(map, clone.getAlias(), listLength, &errorCode); in add()
223 LocaleAndWeight &lw = list->array[listLength]; in add()
226 lw.index = listLength++; in add()
236 uprv_sortArray(list->array.getAlias(), listLength, sizeof(LocaleAndWeight), in sort()
Dbmpset.cpp30 list(parentList), listLength(parentListLength) { in BMPSet()
42 list4kStarts[0]=findCodePoint(0x800, 0, listLength-1); in BMPSet()
45 list4kStarts[i]=findCodePoint(i<<12, list4kStarts[i-1], listLength-1); in BMPSet()
47 list4kStarts[0x11]=listLength-1; in BMPSet()
56 list(newParentList), listLength(newParentListLength) { in BMPSet()
128 if(listIndex<listLength) { in initBits()
145 if(listIndex<listLength) { in initBits()
167 if(listIndex<listLength) { in initBits()
213 if(listIndex<listLength) { in initBits()
Dlocaleprioritylist.h88 int32_t getLength() const { return listLength - numRemoved; } in getLength()
90 int32_t getLengthIncludingRemoved() const { return listLength; } in getLengthIncludingRemoved()
107 int32_t listLength = 0; variable
Dbmpset.h155 int32_t listLength; variable
/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DBMPSet.java66 private final int listLength; // length used; list may be longer to minimize reallocs field in BMPSet
70 listLength = parentListLength; in BMPSet()
81 list4kStarts[0] = findCodePoint(0x800, 0, listLength - 1); in BMPSet()
84 list4kStarts[i] = findCodePoint(i << 12, list4kStarts[i - 1], listLength - 1); in BMPSet()
86 list4kStarts[0x11] = listLength - 1; in BMPSet()
93 listLength = newParentListLength; in BMPSet()
384 if (listIndex < listLength) { in initBits()
406 if (listIndex < listLength) { in initBits()
452 if (listIndex < listLength) { in initBits()
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DBMPSet.java68 private final int listLength; // length used; list may be longer to minimize reallocs field in BMPSet
72 listLength = parentListLength; in BMPSet()
83 list4kStarts[0] = findCodePoint(0x800, 0, listLength - 1); in BMPSet()
86 list4kStarts[i] = findCodePoint(i << 12, list4kStarts[i - 1], listLength - 1); in BMPSet()
88 list4kStarts[0x11] = listLength - 1; in BMPSet()
95 listLength = newParentListLength; in BMPSet()
386 if (listIndex < listLength) { in initBits()
408 if (listIndex < listLength) { in initBits()
454 if (listIndex < listLength) { in initBits()
/third_party/parse5/packages/parse5/lib/parser/
Dindex.ts591 const listLength = this.activeFormattingElements.entries.length; constant
593 if (listLength) {
598 const unopenIdx = endIndex < 0 ? listLength - 1 : endIndex - 1; constant