Home | History | Annotate | Download | only in common

Lines Matching refs:UElement

16 #include "uelement.h"
77 if ((initialCapacity < 1) || (initialCapacity > (int32_t)(INT32_MAX / sizeof(UElement)))) {
80 elements = (UElement *)uprv_malloc(sizeof(UElement)*initialCapacity);
278 UElement key;
292 UElement key;
298 UElement key;
304 int32_t UVector::indexOf(UElement key, int32_t startIndex, int8_t hint) const {
345 if (newCap > (int32_t)(INT32_MAX / sizeof(UElement))) { // integer overflow check
350 UElement* newElems = (UElement *)uprv_realloc(elements, sizeof(UElement)*newCap);
377 UElement empty;
443 UElement e;
454 UElement e;
460 void UVector::sortedInsert(UElement e, UElementComparator *compare, UErrorCode& ec) {
500 UElement e1 = *static_cast<const UElement *>(left);
501 UElement e2 = *static_cast<const UElement *>(right);
513 const UElement *e1 = static_cast<const UElement *>(left);
514 const UElement *e2 = static_cast<const UElement *>(right);
528 uprv_sortArray(elements, count, sizeof(UElement),
550 uprv_sortArray(elements, count, sizeof(UElement),
561 uprv_sortArray(elements, count, sizeof(UElement),