Lines Matching refs:UEnumeration
52 chArrayClose(UEnumeration *en) { in chArrayClose()
61 chArrayCount(UEnumeration *en, UErrorCode *status) { in chArrayCount()
66 chArrayUNext(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { in chArrayUNext()
83 chArrayNext(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { in chArrayNext()
95 chArrayReset(UEnumeration *en, UErrorCode *status) { in chArrayReset()
105 UEnumeration chEnum = {
115 static const UEnumeration emptyEnumerator = {
125 static const UEnumeration emptyPartialEnumerator = {
157 uchArrayClose(UEnumeration *en) { in uchArrayClose()
162 uchArrayCount(UEnumeration *en, UErrorCode *status) { in uchArrayCount()
167 uchArrayUNext(UEnumeration *en, int32_t *resultLength, UErrorCode *status) { in uchArrayUNext()
179 uchArrayReset(UEnumeration *en, UErrorCode *status) { in uchArrayReset()
188 UEnumeration uchEnum = {
200 static UEnumeration *getchArrayEnum(const char** source, int32_t size) { in getchArrayEnum()
201 UEnumeration *en = (UEnumeration *)malloc(sizeof(UEnumeration)); in getchArrayEnum()
202 memcpy(en, &chEnum, sizeof(UEnumeration)); in getchArrayEnum()
211 UEnumeration *en = getchArrayEnum(test1, UPRV_LENGTHOF(test1)); in EnumerationTest()
227 UEnumeration *emptyEnum = uprv_malloc(sizeof(UEnumeration)); in EmptyEnumerationTest()
229 uprv_memcpy(emptyEnum, &emptyEnumerator, sizeof(UEnumeration)); in EmptyEnumerationTest()
262 emptyEnum = uprv_malloc(sizeof(UEnumeration)); in EmptyEnumerationTest()
263 uprv_memcpy(emptyEnum, &emptyPartialEnumerator, sizeof(UEnumeration)); in EmptyEnumerationTest()
271 static UEnumeration *getuchArrayEnum(const UChar** source, int32_t size) { in getuchArrayEnum()
272 UEnumeration *en = (UEnumeration *)malloc(sizeof(UEnumeration)); in getuchArrayEnum()
273 memcpy(en, &uchEnum, sizeof(UEnumeration)); in getuchArrayEnum()
282 UEnumeration *en = getuchArrayEnum(test2, UPRV_LENGTHOF(test2)); in DefaultNextTest()
302 static void verifyEnumeration(int line, UEnumeration *u, const char * const * compareToChar, const … in verifyEnumeration()
419 UEnumeration *u = uenum_openCharStringsEnumeration(strings, 4, &status); in TestCharStringsEnumeration()
436 UEnumeration *u = uenum_openUCharStringsEnumeration(ustrings, 4, &status); in TestUCharStringsEnumeration()