Home
last modified time | relevance | path

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

/external/chromium_org/third_party/icu/source/common/
Dbytestriebuilder.cpp128 : strings(NULL), elements(NULL), elementsCapacity(0), elementsLength(0), in BytesTrieBuilder()
155 if(elementsLength==elementsCapacity) { in add()
167 if(elementsLength>0) { in add()
168 uprv_memcpy(newElements, elements, elementsLength*sizeof(BytesTrieElement)); in add()
174 elements[elementsLength++].setTo(s, value, *strings, errorCode); in add()
226 if(elementsLength==0) { in buildBytes()
230 uprv_sortArray(elements, elementsLength, (int32_t)sizeof(BytesTrieElement), in buildBytes()
239 for(int32_t i=1; i<elementsLength; ++i) { in buildBytes()
264 StringTrieBuilder::build(buildOption, elementsLength, errorCode); in buildBytes()
273 elementsLength=0; in clear()
Ducharstriebuilder.cpp87 : elements(NULL), elementsCapacity(0), elementsLength(0), in UCharsTrieBuilder()
105 if(elementsLength==elementsCapacity) { in add()
117 if(elementsLength>0) { in add()
118 uprv_memcpy(newElements, elements, elementsLength*sizeof(UCharsTrieElement)); in add()
124 elements[elementsLength++].setTo(s, value, strings, errorCode); in add()
179 if(elementsLength==0) { in buildUChars()
187 uprv_sortArray(elements, elementsLength, (int32_t)sizeof(UCharsTrieElement), in buildUChars()
196 for(int32_t i=1; i<elementsLength; ++i) { in buildUChars()
221 StringTrieBuilder::build(buildOption, elementsLength, errorCode); in buildUChars()
Dstringtriebuilder.cpp66 StringTrieBuilder::build(UStringTrieBuildOption buildOption, int32_t elementsLength, in build() argument
69 writeNode(0, elementsLength, 0); in build()
71 createCompactBuilder(2*elementsLength, errorCode); in build()
72 Node *root=makeNode(0, elementsLength, 0, errorCode); in build()
/external/icu/icu4c/source/common/
Dbytestriebuilder.cpp128 : strings(NULL), elements(NULL), elementsCapacity(0), elementsLength(0), in BytesTrieBuilder()
155 if(elementsLength==elementsCapacity) { in add()
167 if(elementsLength>0) { in add()
168 uprv_memcpy(newElements, elements, elementsLength*sizeof(BytesTrieElement)); in add()
174 elements[elementsLength++].setTo(s, value, *strings, errorCode); in add()
226 if(elementsLength==0) { in buildBytes()
230 uprv_sortArray(elements, elementsLength, (int32_t)sizeof(BytesTrieElement), in buildBytes()
239 for(int32_t i=1; i<elementsLength; ++i) { in buildBytes()
264 StringTrieBuilder::build(buildOption, elementsLength, errorCode); in buildBytes()
273 elementsLength=0; in clear()
Ducharstriebuilder.cpp87 : elements(NULL), elementsCapacity(0), elementsLength(0), in UCharsTrieBuilder()
105 if(elementsLength==elementsCapacity) { in add()
117 if(elementsLength>0) { in add()
118 uprv_memcpy(newElements, elements, elementsLength*sizeof(UCharsTrieElement)); in add()
124 elements[elementsLength++].setTo(s, value, strings, errorCode); in add()
179 if(elementsLength==0) { in buildUChars()
187 uprv_sortArray(elements, elementsLength, (int32_t)sizeof(UCharsTrieElement), in buildUChars()
196 for(int32_t i=1; i<elementsLength; ++i) { in buildUChars()
221 StringTrieBuilder::build(buildOption, elementsLength, errorCode); in buildUChars()
Dstringtriebuilder.cpp66 StringTrieBuilder::build(UStringTrieBuildOption buildOption, int32_t elementsLength, in build() argument
69 writeNode(0, elementsLength, 0); in build()
71 createCompactBuilder(2*elementsLength, errorCode); in build()
72 Node *root=makeNode(0, elementsLength, 0, errorCode); in build()
/external/chromium_org/third_party/icu/source/common/unicode/
Ducharstriebuilder.h124 elementsLength=0; in clear()
176 int32_t elementsLength; variable
Dbytestriebuilder.h172 int32_t elementsLength; variable
Dstringtriebuilder.h85 void build(UStringTrieBuildOption buildOption, int32_t elementsLength, UErrorCode &errorCode);
/external/icu/icu4c/source/common/unicode/
Ducharstriebuilder.h124 elementsLength=0; in clear()
176 int32_t elementsLength; variable
Dbytestriebuilder.h172 int32_t elementsLength; variable
Dstringtriebuilder.h85 void build(UStringTrieBuildOption buildOption, int32_t elementsLength, UErrorCode &errorCode);