Lines Matching refs:ctxtItemPtr
341 const LocNameDispContextItem * ctxtItemPtr; in TestUldnDisplayContext() local
342 for (ctxtItemPtr = ctxtItems; ctxtItemPtr->displayLocale != NULL; ctxtItemPtr++) { in TestUldnDisplayContext()
343 …UDisplayContext contexts[3] = {ctxtItemPtr->dialectHandling, ctxtItemPtr->capitalization, ctxtItem… in TestUldnDisplayContext()
345 …ULocaleDisplayNames * uldn = uldn_openForContext(ctxtItemPtr->displayLocale, contexts, 3, &status); in TestUldnDisplayContext()
347 … errln(UnicodeString("FAIL: uldn_openForContext failed for locale ") + ctxtItemPtr->displayLocale + in TestUldnDisplayContext()
348 ", dialectHandling " + ctxtItemPtr->dialectHandling + in TestUldnDisplayContext()
349 ", capitalization " + ctxtItemPtr->capitalization + in TestUldnDisplayContext()
350 ", displayLength " + ctxtItemPtr->displayLength); in TestUldnDisplayContext()
357 } else if (dialectHandling != ctxtItemPtr->dialectHandling || in TestUldnDisplayContext()
358 capitalization != ctxtItemPtr->capitalization || in TestUldnDisplayContext()
359 displayLength != ctxtItemPtr->displayLength) { in TestUldnDisplayContext()
363 …int32_t len = uldn_localeDisplayName(uldn, ctxtItemPtr->localeToBeNamed, nameBuf, ULOC_FULLNAME_CA… in TestUldnDisplayContext()
366 } else if (u_strcmp(ctxtItemPtr->result, nameBuf) != 0) { in TestUldnDisplayContext()
367 UnicodeString exp(ctxtItemPtr->result, u_strlen(ctxtItemPtr->result)); in TestUldnDisplayContext()
369 …errln(UnicodeString("FAIL: uldn_localeDisplayName, capitalization ") + ctxtItemPtr->capitalization… in TestUldnDisplayContext()