Lines Matching refs:UVector
30 UOBJECT_DEFINE_RTTI_IMPLEMENTATION(UVector)
32 UVector::UVector(UErrorCode &status) :
33 UVector(nullptr, nullptr, DEFAULT_CAPACITY, status) {
36 UVector::UVector(int32_t initialCapacity, UErrorCode &status) :
37 UVector(nullptr, nullptr, initialCapacity, status) {
40 UVector::UVector(UObjectDeleter *d, UElementsAreEqual *c, UErrorCode &status) :
41 UVector(d, c, DEFAULT_CAPACITY, status) {
44 UVector::UVector(UObjectDeleter *d, UElementsAreEqual *c, int32_t initialCapacity, UErrorCode &status) :
63 UVector::~UVector() {
73 void UVector::assign(const UVector& other, UElementAssigner *assign, UErrorCode &ec) {
88 bool UVector::operator==(const UVector& other) const {
102 void UVector::addElement(void* obj, UErrorCode &status) {
109 void UVector::adoptElement(void* obj, UErrorCode &status) {
117 void UVector::addElement(int32_t elem, UErrorCode &status) {
126 void UVector::setElementAt(void* obj, int32_t index) {
140 void UVector::setElementAt(int32_t elem, int32_t index) {
149 void UVector::insertElementAt(void* obj, int32_t index, UErrorCode &status) {
167 void UVector::insertElementAt(int32_t elem, int32_t index, UErrorCode &status) {
185 void* UVector::elementAt(int32_t index) const {
189 int32_t UVector::elementAti(int32_t index) const {
193 UBool UVector::containsAll(const UVector& other) const {
202 UBool UVector::containsNone(const UVector& other) const {
211 UBool UVector::removeAll(const UVector& other) {
223 UBool UVector::retainAll(const UVector& other) {
235 void UVector::removeElementAt(int32_t index) {
242 UBool UVector::removeElement(void* obj) {
251 void UVector::removeAllElements(void) {
262 UBool UVector::equals(const UVector &other) const {
288 int32_t UVector::indexOf(void* obj, int32_t startIndex) const {
294 int32_t UVector::indexOf(int32_t obj, int32_t startIndex) const {
300 int32_t UVector::indexOf(UElement key, int32_t startIndex, int8_t hint) const {
326 UBool UVector::ensureCapacity(int32_t minimumCapacity, UErrorCode &status) {
366 void UVector::setSize(int32_t newSize, UErrorCode &status) {
389 void** UVector::toArray(void** result) const {
397 UObjectDeleter *UVector::setDeleter(UObjectDeleter *d) {
403 UElementsAreEqual *UVector::setComparer(UElementsAreEqual *d) {
418 void* UVector::orphanElementAt(int32_t index) {
436 void UVector::sortedInsert(void* obj, UElementComparator *compare, UErrorCode& ec) {
447 void UVector::sortedInsert(int32_t obj, UElementComparator *compare, UErrorCode& ec) {
455 void UVector::sortedInsert(UElement e, UElementComparator *compare, UErrorCode& ec) {
487 * Used from UVector::sort()
490 * UVector style comparator function usable with uprv_sortArray().
507 * Array sort comparison function for use from UVector::sorti()
522 * not clear whether UVector's UElementComparator or
525 void UVector::sorti(UErrorCode &ec) {
537 * for UVector (as defined for sortedInsert()) is different from the signature
539 * the UVector sort function pointer via the context pointer to a
547 void UVector::sort(UElementComparator *compare, UErrorCode &ec) {
558 void UVector::sortWithUComparator(UComparator *compare, const void *context, UErrorCode &ec) {