Lines Matching refs:set
42 uset_close(USet* set) { in uset_close() argument
43 delete (UnicodeSet*) set; in uset_close()
47 uset_clone(const USet *set) { in uset_clone() argument
48 return (USet*) (((UnicodeSet*) set)->UnicodeSet::clone()); in uset_clone()
52 uset_isFrozen(const USet *set) { in uset_isFrozen() argument
53 return ((UnicodeSet*) set)->UnicodeSet::isFrozen(); in uset_isFrozen()
57 uset_freeze(USet *set) { in uset_freeze() argument
58 ((UnicodeSet*) set)->UnicodeSet::freeze(); in uset_freeze()
62 uset_cloneAsThawed(const USet *set) { in uset_cloneAsThawed() argument
63 return (USet*) (((UnicodeSet*) set)->UnicodeSet::cloneAsThawed()); in uset_cloneAsThawed()
67 uset_set(USet* set, in uset_set() argument
69 ((UnicodeSet*) set)->UnicodeSet::set(start, end); in uset_set()
73 uset_addAll(USet* set, const USet *additionalSet) { in uset_addAll() argument
74 ((UnicodeSet*) set)->UnicodeSet::addAll(*((const UnicodeSet*)additionalSet)); in uset_addAll()
78 uset_add(USet* set, UChar32 c) { in uset_add() argument
79 ((UnicodeSet*) set)->UnicodeSet::add(c); in uset_add()
83 uset_addRange(USet* set, UChar32 start, UChar32 end) { in uset_addRange() argument
84 ((UnicodeSet*) set)->UnicodeSet::add(start, end); in uset_addRange()
88 uset_addString(USet* set, const UChar* str, int32_t strLen) { in uset_addString() argument
91 ((UnicodeSet*) set)->UnicodeSet::add(s); in uset_addString()
95 uset_addAllCodePoints(USet* set, const UChar *str, int32_t strLen) { in uset_addAllCodePoints() argument
98 ((UnicodeSet*) set)->UnicodeSet::addAll(s); in uset_addAllCodePoints()
102 uset_remove(USet* set, UChar32 c) { in uset_remove() argument
103 ((UnicodeSet*) set)->UnicodeSet::remove(c); in uset_remove()
107 uset_removeRange(USet* set, UChar32 start, UChar32 end) { in uset_removeRange() argument
108 ((UnicodeSet*) set)->UnicodeSet::remove(start, end); in uset_removeRange()
112 uset_removeString(USet* set, const UChar* str, int32_t strLen) { in uset_removeString() argument
114 ((UnicodeSet*) set)->UnicodeSet::remove(s); in uset_removeString()
118 uset_removeAll(USet* set, const USet* remove) { in uset_removeAll() argument
119 ((UnicodeSet*) set)->UnicodeSet::removeAll(*(const UnicodeSet*)remove); in uset_removeAll()
123 uset_retain(USet* set, UChar32 start, UChar32 end) { in uset_retain() argument
124 ((UnicodeSet*) set)->UnicodeSet::retain(start, end); in uset_retain()
128 uset_retainAll(USet* set, const USet* retain) { in uset_retainAll() argument
129 ((UnicodeSet*) set)->UnicodeSet::retainAll(*(const UnicodeSet*)retain); in uset_retainAll()
133 uset_compact(USet* set) { in uset_compact() argument
134 ((UnicodeSet*) set)->UnicodeSet::compact(); in uset_compact()
138 uset_complement(USet* set) { in uset_complement() argument
139 ((UnicodeSet*) set)->UnicodeSet::complement(); in uset_complement()
143 uset_complementAll(USet* set, const USet* complement) { in uset_complementAll() argument
144 ((UnicodeSet*) set)->UnicodeSet::complementAll(*(const UnicodeSet*)complement); in uset_complementAll()
148 uset_clear(USet* set) { in uset_clear() argument
149 ((UnicodeSet*) set)->UnicodeSet::clear(); in uset_clear()
153 uset_removeAllStrings(USet* set) { in uset_removeAllStrings() argument
154 ((UnicodeSet*) set)->UnicodeSet::removeAllStrings(); in uset_removeAllStrings()
158 uset_isEmpty(const USet* set) { in uset_isEmpty() argument
159 return ((const UnicodeSet*) set)->UnicodeSet::isEmpty(); in uset_isEmpty()
163 uset_contains(const USet* set, UChar32 c) { in uset_contains() argument
164 return ((const UnicodeSet*) set)->UnicodeSet::contains(c); in uset_contains()
168 uset_containsRange(const USet* set, UChar32 start, UChar32 end) { in uset_containsRange() argument
169 return ((const UnicodeSet*) set)->UnicodeSet::contains(start, end); in uset_containsRange()
173 uset_containsString(const USet* set, const UChar* str, int32_t strLen) { in uset_containsString() argument
175 return ((const UnicodeSet*) set)->UnicodeSet::contains(s); in uset_containsString()
184 uset_containsAllCodePoints(const USet* set, const UChar *str, int32_t strLen) { in uset_containsAllCodePoints() argument
187 return ((const UnicodeSet*) set)->UnicodeSet::containsAll(s); in uset_containsAllCodePoints()
201 uset_span(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition) { in uset_span() argument
202 return ((UnicodeSet*) set)->UnicodeSet::span(s, length, spanCondition); in uset_span()
206 uset_spanBack(const USet *set, const UChar *s, int32_t length, USetSpanCondition spanCondition) { in uset_spanBack() argument
207 return ((UnicodeSet*) set)->UnicodeSet::spanBack(s, length, spanCondition); in uset_spanBack()
211 uset_spanUTF8(const USet *set, const char *s, int32_t length, USetSpanCondition spanCondition) { in uset_spanUTF8() argument
212 return ((UnicodeSet*) set)->UnicodeSet::spanUTF8(s, length, spanCondition); in uset_spanUTF8()
216 uset_spanBackUTF8(const USet *set, const char *s, int32_t length, USetSpanCondition spanCondition) { in uset_spanBackUTF8() argument
217 return ((UnicodeSet*) set)->UnicodeSet::spanBackUTF8(s, length, spanCondition); in uset_spanBackUTF8()
226 uset_indexOf(const USet* set, UChar32 c) { in uset_indexOf() argument
227 return ((UnicodeSet*) set)->UnicodeSet::indexOf(c); in uset_indexOf()
231 uset_charAt(const USet* set, int32_t index) { in uset_charAt() argument
232 return ((UnicodeSet*) set)->UnicodeSet::charAt(index); in uset_charAt()
236 uset_size(const USet* set) { in uset_size() argument
237 return ((const UnicodeSet*) set)->UnicodeSet::size(); in uset_size()
249 inline static int32_t getStringCount(const UnicodeSet& set) { in getStringCount() argument
250 return set.getStringCount(); in getStringCount()
252 inline static const UnicodeString* getString(const UnicodeSet& set, in getString() argument
254 return set.getString(i); in getString()
264 const UnicodeSet& set = *(const UnicodeSet*)uset; in uset_getItemCount() local
265 return set.getRangeCount() + USetAccess::getStringCount(set); in uset_getItemCount()
274 const UnicodeSet& set = *(const UnicodeSet*)uset; in uset_getItem() local
280 } else if (itemIndex < (rangeCount = set.getRangeCount())) { in uset_getItem()
281 *start = set.getRangeStart(itemIndex); in uset_getItem()
282 *end = set.getRangeEnd(itemIndex); in uset_getItem()
286 if (itemIndex < USetAccess::getStringCount(set)) { in uset_getItem()
287 const UnicodeString* s = USetAccess::getString(set, itemIndex); in uset_getItem()
332 uset_serialize(const USet* set, uint16_t* dest, int32_t destCapacity, UErrorCode* ec) { in uset_serialize() argument
337 return ((const UnicodeSet*) set)->UnicodeSet::serialize(dest, destCapacity,* ec); in uset_serialize()
408 uset_serializedContains(const USerializedSet* set, UChar32 c) { in uset_serializedContains() argument
411 if(set==NULL || (uint32_t)c>0x10ffff) { in uset_serializedContains()
415 array=set->array; in uset_serializedContains()
419 int32_t hi = set->bmpLength-1; in uset_serializedContains()
440 int32_t base = set->bmpLength; in uset_serializedContains()
442 int32_t hi = set->length - 2 - base; in uset_serializedContains()
466 uset_getSerializedRangeCount(const USerializedSet* set) { in uset_getSerializedRangeCount() argument
467 if(set==NULL) { in uset_getSerializedRangeCount()
471 return (set->bmpLength+(set->length-set->bmpLength)/2+1)/2; in uset_getSerializedRangeCount()
475 uset_getSerializedRange(const USerializedSet* set, int32_t rangeIndex, in uset_getSerializedRange() argument
480 if(set==NULL || rangeIndex<0 || pStart==NULL || pEnd==NULL) { in uset_getSerializedRange()
484 array=set->array; in uset_getSerializedRange()
485 length=set->length; in uset_getSerializedRange()
486 bmpLength=set->bmpLength; in uset_getSerializedRange()