Lines Matching refs:UChar32
72 static inline UChar32 pinCodePoint(UChar32& c) { in UOBJECT_DEFINE_RTTI_IMPLEMENTATION()
155 list = (UChar32*) uprv_malloc(sizeof(UChar32) * capacity); in UnicodeSet()
172 UnicodeSet::UnicodeSet(UChar32 start, UChar32 end) : in UnicodeSet()
182 list = (UChar32*) uprv_malloc(sizeof(UChar32) * capacity); in UnicodeSet()
209 list = (UChar32*) uprv_malloc(sizeof(UChar32) * capacity); in UnicodeSet()
233 list = (UChar32*) uprv_malloc(sizeof(UChar32) * capacity); in UnicodeSet()
237 uprv_memcpy(list, o.list, len*sizeof(UChar32)); in UnicodeSet()
289 uprv_memcpy(list, o.list, len*sizeof(UChar32)); in operator =()
402 UBool UnicodeSet::contains(UChar32 c) const { in contains()
432 int32_t UnicodeSet::findCodePoint(UChar32 c) const { in findCodePoint()
475 UBool UnicodeSet::contains(UChar32 start, UChar32 end) const { in contains()
496 return contains((UChar32) cp); in contains()
538 UBool UnicodeSet::containsNone(UChar32 start, UChar32 end) const { in containsNone()
595 UChar32 low = getRangeStart(i); in matchesIndexValue()
596 UChar32 high = getRangeEnd(i); in matchesIndexValue()
613 UChar32 c = s.char32At(0); in matchesIndexValue()
769 int32_t UnicodeSet::indexOf(UChar32 c) const { in indexOf()
776 UChar32 start = list[i++]; in indexOf()
780 UChar32 limit = list[i++]; in indexOf()
796 UChar32 UnicodeSet::charAt(int32_t index) const { in charAt()
803 UChar32 start = list[i++]; in charAt()
806 return (UChar32)(start + index); in charAt()
811 return (UChar32)-1; in charAt()
822 UnicodeSet& UnicodeSet::set(UChar32 start, UChar32 end) { in set()
839 UnicodeSet& UnicodeSet::add(UChar32 start, UChar32 end) { in add()
841 UChar32 range[3] = { start, end+1, UNICODESET_HIGH }; in add()
853 void dump(UChar32 c) { in dump()
860 void dump(const UChar32* list, int32_t len) { in dump()
875 UnicodeSet& UnicodeSet::add(UChar32 c) { in add()
927 UChar32* dst = list + i - 1; in add()
928 UChar32* src = dst + 2; in add()
929 UChar32* srclimit = list + len; in add()
964 UChar32* src = list + len; in add()
965 UChar32* dst = src + 2; in add()
966 UChar32* srclimit = list + i; in add()
1009 add((UChar32)cp); in add()
1049 UChar32 cp = s.char32At(0); in getSingleCP()
1063 UChar32 cp; in addAll()
1154 UnicodeSet& UnicodeSet::retain(UChar32 start, UChar32 end) { in retain()
1156 UChar32 range[3] = { start, end+1, UNICODESET_HIGH }; in retain()
1164 UnicodeSet& UnicodeSet::retain(UChar32 c) { in retain()
1179 UnicodeSet& UnicodeSet::remove(UChar32 start, UChar32 end) { in remove()
1181 UChar32 range[3] = { start, end+1, UNICODESET_HIGH }; in remove()
1192 UnicodeSet& UnicodeSet::remove(UChar32 c) { in remove()
1210 remove((UChar32)cp, (UChar32)cp); in remove()
1226 UnicodeSet& UnicodeSet::complement(UChar32 start, UChar32 end) { in complement()
1231 UChar32 range[3] = { start, end+1, UNICODESET_HIGH }; in complement()
1238 UnicodeSet& UnicodeSet::complement(UChar32 c) { in complement()
1256 uprv_memcpy(buffer, list + 1, (len-1)*sizeof(UChar32)); in complement()
1263 uprv_memcpy(buffer + 1, list, len*sizeof(UChar32)); in complement()
1291 complement((UChar32)cp, (UChar32)cp); in complement()
1421 UChar32 UnicodeSet::getRangeStart(int32_t index) const { in getRangeStart()
1431 UChar32 UnicodeSet::getRangeEnd(int32_t index) const { in getRangeEnd()
1460 UChar32* temp = (UChar32*) uprv_realloc(list, sizeof(UChar32) * newCapacity); in compact()
1525 const UChar32 *p; in serialize()
1580 UChar32* temp = (UChar32*) uprv_realloc(list, sizeof(UChar32) * (newLen + GROW_EXTRA)); in ensureCapacity()
1594 UChar32* temp = (UChar32*) uprv_realloc(buffer, sizeof(UChar32) * (newLen + GROW_EXTRA)); in ensureBufferCapacity()
1610 UChar32* temp = list; in swapBuffers()
1628 static inline UChar32 max(UChar32 a, UChar32 b) { in max()
1635 void UnicodeSet::exclusiveOr(const UChar32* other, int32_t otherLen, int8_t polarity) { in exclusiveOr()
1646 UChar32 a = list[i++]; in exclusiveOr()
1647 UChar32 b; in exclusiveOr()
1685 void UnicodeSet::add(const UChar32* other, int32_t otherLen, int8_t polarity) { in add()
1696 UChar32 a = list[i++]; in add()
1697 UChar32 b = other[j++]; in add()
1798 void UnicodeSet::retain(const UChar32* other, int32_t otherLen, int8_t polarity) { in retain()
1809 UChar32 a = list[i++]; in retain()
1810 UChar32 b = other[j++]; in retain()
1896 UChar32 cp; in _appendToPat()
1906 void UnicodeSet::_appendToPat(UnicodeString& buf, UChar32 c, UBool in _appendToPat()
1951 UChar32 c; in _toPattern()
2023 UChar32 start = getRangeEnd(i-1)+1; in _generatePattern()
2024 UChar32 end = getRangeStart(i)-1; in _generatePattern()
2038 UChar32 start = getRangeStart(i); in _generatePattern()
2039 UChar32 end = getRangeEnd(i); in _generatePattern()
2102 list = (UChar32*) uprv_realloc(list, sizeof(UChar32) * capacity); in freeze()
2159 UChar32 c; in span()
2196 UChar32 c; in spanBack()
2234 UChar32 c; in spanUTF8()
2272 UChar32 c; in spanBackUTF8()