Home | History | Annotate | Download | only in common

Lines Matching refs:elements

87         : elements(NULL), elementsCapacity(0), elementsLength(0),
91 delete[] elements;
101 // Cannot add elements after building.
118 uprv_memcpy(newElements, elements, elementsLength*sizeof(UCharsTrieElement));
120 delete[] elements;
121 elements=newElements;
124 elements[elementsLength++].setTo(s, value, strings, errorCode);
187 uprv_sortArray(elements, elementsLength, (int32_t)sizeof(UCharsTrieElement),
195 UnicodeString prev=elements[0].getString(strings);
197 UnicodeString current=elements[i].getString(strings);
205 // Create and UChar-serialize the trie for the elements.
229 return elements[i].getStringLength(strings);
234 return elements[i].charAt(unitIndex, strings);
239 return elements[i].getValue();
244 const UCharsTrieElement &firstElement=elements[first];
245 const UCharsTrieElement &lastElement=elements[last];
258 UChar unit=elements[i++].charAt(unitIndex, strings);
259 while(i<limit && unit==elements[i].charAt(unitIndex, strings)) {
270 UChar unit=elements[i++].charAt(unitIndex, strings);
271 while(unit==elements[i].charAt(unitIndex, strings)) {
280 while(unit==elements[i].charAt(unitIndex, strings)) {
315 elements[i].getString(strings).getBuffer()+unitIndex,
369 return write(elements[i].getString(strings).getBuffer()+unitIndex, length);