Home
last modified time | relevance | path

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

/external/cronet/third_party/icu/source/common/
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()
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()
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/
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()
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()
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/libicu/cts_headers/unicode/
Ducharstriebuilder.h130 elementsLength=0; in clear()
180 int32_t elementsLength; variable
Dbytestriebuilder.h180 int32_t elementsLength; variable
Dstringtriebuilder.h92 void build(UStringTrieBuildOption buildOption, int32_t elementsLength, UErrorCode &errorCode);
/external/cronet/third_party/icu/source/common/unicode/
Ducharstriebuilder.h130 elementsLength=0; in clear()
180 int32_t elementsLength; variable
Dbytestriebuilder.h180 int32_t elementsLength; variable
Dstringtriebuilder.h92 void build(UStringTrieBuildOption buildOption, int32_t elementsLength, UErrorCode &errorCode);
/external/icu/icu4c/source/common/unicode/
Ducharstriebuilder.h130 elementsLength=0; in clear()
180 int32_t elementsLength; variable
Dbytestriebuilder.h180 int32_t elementsLength; variable
Dstringtriebuilder.h92 void build(UStringTrieBuildOption buildOption, int32_t elementsLength, UErrorCode &errorCode);