Home
last modified time | relevance | path

Searched refs:UElement (Results 1 – 14 of 14) sorted by relevance

/external/icu/icu4c/source/common/
Duelement.h39 union UElement { union
43 typedef union UElement UElement; typedef
51 typedef UBool U_CALLCONV UElementsAreEqual(const UElement e1, const UElement e2);
59 typedef int8_t U_CALLCONV UElementComparator(UElement e1, UElement e2);
67 typedef void U_CALLCONV UElementAssigner(UElement *dst, UElement *src);
78 uhash_compareUnicodeString(const UElement key1, const UElement key2);
89 uhash_compareCaselessUnicodeString(const UElement key1, const UElement key2);
Duvector.cpp77 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()
[all …]
Dunistr_case.cpp225 uhash_hashCaselessUnicodeString(const UElement key) { in uhash_hashCaselessUnicodeString()
239 uhash_compareCaselessUnicodeString(const UElement key1, const UElement key2) { in uhash_compareCaselessUnicodeString()
Duvector.h88 UElement* elements;
268 int32_t indexOf(UElement key, int32_t startIndex = 0, int8_t hint = 0) const;
270 void sortedInsert(UElement e, UElementComparator *compare, UErrorCode& ec);
Duhash.h91 typedef UElement UHashTok;
644 uhash_hashUnicodeString(const UElement key);
653 uhash_hashCaselessUnicodeString(const UElement key);
Dfilteredbrk.cpp51 static int8_t U_CALLCONV compareUnicodeString(UElement t1, UElement t2) { in compareUnicodeString()
Duniset.cpp128 static void U_CALLCONV cloneUnicodeString(UElement *dst, UElement *src) { in cloneUnicodeString()
132 static int8_t U_CALLCONV compareUnicodeString(UElement t1, UElement t2) { in compareUnicodeString()
Dunistr.cpp1948 uhash_hashUnicodeString(const UElement key) { in uhash_hashUnicodeString()
1956 uhash_compareUnicodeString(const UElement key1, const UElement key2) { in uhash_compareUnicodeString()
/external/icu/icu4c/source/test/intltest/
Duvectest.cpp72 UVectorTest_compareInt32(UElement key1, UElement key2) { in UVectorTest_compareInt32()
84 UVectorTest_compareCstrings(const UElement key1, const UElement key2) { in UVectorTest_compareCstrings()
166 static UBool U_CALLCONV neverTRUE(const UElement /*key1*/, const UElement /*key2*/) { in neverTRUE() argument
Ditspoof.cpp521 UElement arabEl; arabEl.pointer = &arabSet; in testScriptSet()
522 UElement latinEl; latinEl.pointer = &latinSet; in testScriptSet()
/external/icu/icu4c/source/i18n/
Dscriptset.h76 uhash_compareScriptSet(const UElement key1, const UElement key2);
79 uhash_hashScriptSet(const UElement key);
Dscriptset.cpp290 uhash_equalsScriptSet(const UElement key1, const UElement key2) { in uhash_equalsScriptSet()
297 uhash_compareScriptSet(UElement key0, UElement key1) { in uhash_compareScriptSet()
312 uhash_hashScriptSet(const UElement key) { in uhash_hashScriptSet()
Dalphaindex.cpp950 const UElement *leftElement = static_cast<const UElement *>(left); in collatorComparator()
951 const UElement *rightElement = static_cast<const UElement *>(right); in collatorComparator()
975 const UElement *leftElement = static_cast<const UElement *>(left); in recordCompareFn()
976 const UElement *rightElement = static_cast<const UElement *>(right); in recordCompareFn()
/external/icu/icu4c/source/tools/genrb/
Dreslist.cpp307 string_hash(const UElement key) { in string_hash()
313 string_comp(const UElement key1, const UElement key2) { in string_comp()