• Home
  • Raw
  • Download

Lines Matching refs:ctxtItemPtr

371     const LocNameDispContextItem * ctxtItemPtr;  in TestUldnDisplayContext()  local
372 for (ctxtItemPtr = ctxtItems; ctxtItemPtr->displayLocale != NULL; ctxtItemPtr++) { in TestUldnDisplayContext()
373 …UDisplayContext contexts[3] = {ctxtItemPtr->dialectHandling, ctxtItemPtr->capitalization, ctxtItem… in TestUldnDisplayContext()
375 …ULocaleDisplayNames * uldn = uldn_openForContext(ctxtItemPtr->displayLocale, contexts, 3, &status); in TestUldnDisplayContext()
377 … errln(UnicodeString("FAIL: uldn_openForContext failed for locale ") + ctxtItemPtr->displayLocale + in TestUldnDisplayContext()
378 ", dialectHandling " + ctxtItemPtr->dialectHandling + in TestUldnDisplayContext()
379 ", capitalization " + ctxtItemPtr->capitalization + in TestUldnDisplayContext()
380 ", displayLength " + ctxtItemPtr->displayLength); in TestUldnDisplayContext()
387 } else if (dialectHandling != ctxtItemPtr->dialectHandling || in TestUldnDisplayContext()
388 capitalization != ctxtItemPtr->capitalization || in TestUldnDisplayContext()
389 displayLength != ctxtItemPtr->displayLength) { in TestUldnDisplayContext()
393 …int32_t len = uldn_localeDisplayName(uldn, ctxtItemPtr->localeToBeNamed, nameBuf, ULOC_FULLNAME_CA… in TestUldnDisplayContext()
396 } else if (u_strcmp(ctxtItemPtr->result, nameBuf) != 0) { in TestUldnDisplayContext()
397 UnicodeString exp(ctxtItemPtr->result, u_strlen(ctxtItemPtr->result)); in TestUldnDisplayContext()
399 …errln(UnicodeString("FAIL: uldn_localeDisplayName, capitalization ") + ctxtItemPtr->capitalization… in TestUldnDisplayContext()