Lines Matching refs:strings
145 bufferCapacity(0), patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet()
172 bufferCapacity(0), patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet()
199 patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet()
223 patLen(0), pat(NULL), strings(NULL), stringSpan(NULL), in UnicodeSet()
236 if (strings != NULL && o.strings != NULL) { in UnicodeSet()
237 strings->assign(*o.strings, cloneUnicodeString, status); in UnicodeSet()
262 delete strings; in ~UnicodeSet()
297 if (strings != NULL && o.strings != NULL) { in operator =()
298 strings->assign(*o.strings, cloneUnicodeString, ec); in operator =()
306 stringSpan = new UnicodeSetStringSpan(*o.stringSpan, *strings); in operator =()
347 if (*strings != *o.strings) return FALSE; in operator ==()
383 return n + strings->size(); in size()
392 return len == 1 && strings->size() == 0; in isEmpty()
492 return strings->contains((void*) &s); in contains()
514 if (!strings->containsAll(*c.strings)) return FALSE; in containsAll()
561 if (!strings->containsNone(*c.strings)) return FALSE; in containsNone()
603 if (strings->size() != 0) { in matchesIndexValue()
604 for (i=0; i<strings->size(); ++i) { in matchesIndexValue()
605 const UnicodeString& s = *(const UnicodeString*)strings->elementAt(i); in matchesIndexValue()
638 if (strings->size() != 0) { // try strings first in matches()
659 for (i=0; i<strings->size(); ++i) { in matches()
660 const UnicodeString& trial = *(const UnicodeString*)strings->elementAt(i); in matches()
1002 if (!strings->contains((void*) &s)) { in add()
1027 strings->sortedInsert(t, compareUnicodeString, ec); in _add()
1109 strings->removeAllElements(); in removeAllStrings()
1205 strings->removeElement((void*) &s); in remove()
1282 if (strings->contains((void*) &s)) { in complement()
1283 strings->removeElement((void*) &s); in complement()
1310 if ( c.strings!=NULL ) { in addAll()
1311 for (int32_t i=0; i<c.strings->size(); ++i) { in addAll()
1312 const UnicodeString* s = (const UnicodeString*)c.strings->elementAt(i); in addAll()
1313 if (!strings->contains((void*) s)) { in addAll()
1335 strings->retainAll(*c.strings); in retainAll()
1353 strings->removeAll(*c.strings); in removeAll()
1371 for (int32_t i=0; i<c.strings->size(); ++i) { in complementAll()
1372 void* e = c.strings->elementAt(i); in complementAll()
1373 if (!strings->removeElement(e)) { in complementAll()
1393 if (strings != NULL) { in clear()
1394 strings->removeAllElements(); in clear()
1396 if (list != NULL && strings != NULL) { in clear()
1434 return strings->size(); in getStringCount()
1438 return (const UnicodeString*) strings->elementAt(index); in getString()
1561 strings = new UVector(uhash_deleteUnicodeString, in allocateStrings()
1563 if (strings == NULL) { // Check for memory allocation error. in allocateStrings()
1568 delete strings; in allocateStrings()
1569 strings = NULL; in allocateStrings()
2048 for (int32_t i = 0; i<strings->size(); ++i) { in _generatePattern()
2051 *(const UnicodeString*) strings->elementAt(i), in _generatePattern()
2108 if (!strings->isEmpty()) { in freeze()
2109 stringSpan = new UnicodeSetStringSpan(*this, *strings, UnicodeSetStringSpan::ALL); in freeze()
2143 } else if(!strings->isEmpty()) { in span()
2147 UnicodeSetStringSpan strSpan(*this, *strings, which); in span()
2180 } else if(!strings->isEmpty()) { in spanBack()
2184 UnicodeSetStringSpan strSpan(*this, *strings, which); in spanBack()
2218 } else if(!strings->isEmpty()) { in spanUTF8()
2222 UnicodeSetStringSpan strSpan(*this, *strings, which); in spanUTF8()
2259 } else if(!strings->isEmpty()) { in spanBackUTF8()
2263 UnicodeSetStringSpan strSpan(*this, *strings, which); in spanBackUTF8()