Home
last modified time | relevance | path

Searched refs:elementsLength (Results 1 – 6 of 6) sorted by relevance

/external/icu/icu4c/source/common/
Dbytestriebuilder.cpp130 : strings(NULL), elements(NULL), elementsCapacity(0), elementsLength(0), in BytesTrieBuilder()
157 if(elementsLength==elementsCapacity) { in add()
169 if(elementsLength>0) { in add()
170 uprv_memcpy(newElements, elements, (size_t)elementsLength*sizeof(BytesTrieElement)); in add()
176 elements[elementsLength++].setTo(s, value, *strings, errorCode); in add()
228 if(elementsLength==0) { in buildBytes()
232 uprv_sortArray(elements, elementsLength, (int32_t)sizeof(BytesTrieElement), in buildBytes()
241 for(int32_t i=1; i<elementsLength; ++i) { in buildBytes()
266 StringTrieBuilder::build(buildOption, elementsLength, errorCode); in buildBytes()
275 elementsLength=0; in clear()
Ducharstriebuilder.cpp89 : elements(NULL), elementsCapacity(0), elementsLength(0), in UCharsTrieBuilder()
107 if(elementsLength==elementsCapacity) { in add()
119 if(elementsLength>0) { in add()
120 uprv_memcpy(newElements, elements, (size_t)elementsLength*sizeof(UCharsTrieElement)); in add()
126 elements[elementsLength++].setTo(s, value, strings, errorCode); in add()
181 if(elementsLength==0) { in buildUChars()
189 uprv_sortArray(elements, elementsLength, (int32_t)sizeof(UCharsTrieElement), in buildUChars()
198 for(int32_t i=1; i<elementsLength; ++i) { in buildUChars()
223 StringTrieBuilder::build(buildOption, elementsLength, errorCode); in buildUChars()
Dstringtriebuilder.cpp68 StringTrieBuilder::build(UStringTrieBuildOption buildOption, int32_t elementsLength, in build() argument
71 writeNode(0, elementsLength, 0); in build()
73 createCompactBuilder(2*elementsLength, errorCode); in build()
74 Node *root=makeNode(0, elementsLength, 0, errorCode); in build()
/external/icu/icu4c/source/common/unicode/
Ducharstriebuilder.h126 elementsLength=0; in clear()
176 int32_t elementsLength; variable
Dbytestriebuilder.h171 int32_t elementsLength; variable
Dstringtriebuilder.h89 void build(UStringTrieBuildOption buildOption, int32_t elementsLength, UErrorCode &errorCode);