Lines Matching refs:UElement
77 if ((initialCapacity < 1) || (initialCapacity > (int32_t)(INT32_MAX / sizeof(UElement)))) { in _init()
80 elements = (UElement *)uprv_malloc(sizeof(UElement)*initialCapacity); in _init()
278 UElement key; in equals()
292 UElement key; in indexOf()
298 UElement key; in indexOf()
304 int32_t UVector::indexOf(UElement key, int32_t startIndex, int8_t hint) const { in indexOf()
345 if (newCap > (int32_t)(INT32_MAX / sizeof(UElement))) { // integer overflow check in ensureCapacity()
350 UElement* newElems = (UElement *)uprv_realloc(elements, sizeof(UElement)*newCap); in ensureCapacity()
377 UElement empty; in setSize()
443 UElement e; in sortedInsert()
454 UElement e; in sortedInsert()
460 void UVector::sortedInsert(UElement e, UElementComparator *compare, UErrorCode& ec) { in sortedInsert()
500 UElement e1 = *static_cast<const UElement *>(left); in sortComparator()
501 UElement e2 = *static_cast<const UElement *>(right); in sortComparator()
513 const UElement *e1 = static_cast<const UElement *>(left); in sortiComparator()
514 const UElement *e2 = static_cast<const UElement *>(right); in sortiComparator()
528 uprv_sortArray(elements, count, sizeof(UElement), in sorti()
550 uprv_sortArray(elements, count, sizeof(UElement), in sort()
561 uprv_sortArray(elements, count, sizeof(UElement), in sortWithUComparator()