Home
last modified time | relevance | path

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

/external/icu4c/common/
Dbytestriebuilder.cpp127 : strings(NULL), elements(NULL), elementsCapacity(0), elementsLength(0), in BytesTrieBuilder()
154 if(elementsLength==elementsCapacity) { in add()
165 if(elementsLength>0) { in add()
166 uprv_memcpy(newElements, elements, elementsLength*sizeof(BytesTrieElement)); in add()
172 elements[elementsLength++].setTo(s, value, *strings, errorCode); in add()
224 if(elementsLength==0) { in buildBytes()
228 uprv_sortArray(elements, elementsLength, (int32_t)sizeof(BytesTrieElement), in buildBytes()
237 for(int32_t i=1; i<elementsLength; ++i) { in buildBytes()
262 StringTrieBuilder::build(buildOption, elementsLength, errorCode); in buildBytes()
271 elementsLength=0; in clear()
Ducharstriebuilder.cpp86 : elements(NULL), elementsCapacity(0), elementsLength(0), in UCharsTrieBuilder()
104 if(elementsLength==elementsCapacity) { in add()
115 if(elementsLength>0) { in add()
116 uprv_memcpy(newElements, elements, elementsLength*sizeof(UCharsTrieElement)); in add()
122 elements[elementsLength++].setTo(s, value, strings, errorCode); in add()
177 if(elementsLength==0) { in buildUChars()
185 uprv_sortArray(elements, elementsLength, (int32_t)sizeof(UCharsTrieElement), in buildUChars()
194 for(int32_t i=1; i<elementsLength; ++i) { in buildUChars()
219 StringTrieBuilder::build(buildOption, elementsLength, errorCode); in buildUChars()
Dstringtriebuilder.cpp65 StringTrieBuilder::build(UStringTrieBuildOption buildOption, int32_t elementsLength, in build() argument
68 writeNode(0, elementsLength, 0); in build()
70 createCompactBuilder(2*elementsLength, errorCode); in build()
71 Node *root=makeNode(0, elementsLength, 0, errorCode); in build()
/external/icu4c/common/unicode/
Ducharstriebuilder.h113 elementsLength=0; in clear()
163 int32_t elementsLength; variable
Dbytestriebuilder.h159 int32_t elementsLength; variable
Dstringtriebuilder.h75 void build(UStringTrieBuildOption buildOption, int32_t elementsLength, UErrorCode &errorCode);