Lines Matching refs:itemPtr
1068 const DisplayNameBracketsItem * itemPtr = displayNameBracketsItems; in TestDisplayNameBrackets() local
1069 for (; itemPtr->displayLocale != NULL; itemPtr++) { in TestDisplayNameBrackets()
1077 (void) u_unescape(itemPtr->regionName, expectRegionName, kDisplayNameBracketsMax); in TestDisplayNameBrackets()
1078 (void) u_unescape(itemPtr->localeName, expectLocaleName, kDisplayNameBracketsMax); in TestDisplayNameBrackets()
1081 …ulen = uloc_getDisplayCountry(itemPtr->namedLocale, itemPtr->displayLocale, getName, kDisplayNameB… in TestDisplayNameBrackets()
1083 … and namedLocale %s returns unexpected name or status %s\n", itemPtr->displayLocale, itemPtr->name… in TestDisplayNameBrackets()
1087 …ulen = uloc_getDisplayName(itemPtr->namedLocale, itemPtr->displayLocale, getName, kDisplayNameBrac… in TestDisplayNameBrackets()
1089 … and namedLocale %s returns unexpected name or status %s\n", itemPtr->displayLocale, itemPtr->name… in TestDisplayNameBrackets()
1094 uldn = uldn_open(itemPtr->displayLocale, ULDN_STANDARD_NAMES, &status); in TestDisplayNameBrackets()
1097 …ulen = uldn_regionDisplayName(uldn, itemPtr->namedRegion, getName, kDisplayNameBracketsMax, &statu… in TestDisplayNameBrackets()
1099 … and namedRegion %s returns unexpected name or status %s\n", itemPtr->displayLocale, itemPtr->name… in TestDisplayNameBrackets()
1103 …ulen = uldn_localeDisplayName(uldn, itemPtr->namedLocale, getName, kDisplayNameBracketsMax, &statu… in TestDisplayNameBrackets()
1105 … and namedLocale %s returns unexpected name or status %s\n", itemPtr->displayLocale, itemPtr->name… in TestDisplayNameBrackets()
1110 …log_data_err("uldn_open fails for displayLocale %s, status=%s\n", itemPtr->displayLocale, u_errorN… in TestDisplayNameBrackets()
6435 const BadLocaleItem* itemPtr; in TestBadLocaleIDs() local
6436 for (itemPtr = badLocaleItems; itemPtr->badLocaleID != NULL; itemPtr++) { in TestBadLocaleIDs()
6439 int32_t ulenExpect = u_unescape(itemPtr->expectedName, ubufExpect, kUBufDispNameMax); in TestBadLocaleIDs()
6440 …int32_t ulenGet = uloc_getDisplayName(itemPtr->badLocaleID, itemPtr->displayLocale, ubufGet, kUBuf… in TestBadLocaleIDs()
6441 if (status != itemPtr->expectedStatus || in TestBadLocaleIDs()
6449 itemPtr->badLocaleID, itemPtr->displayLocale, in TestBadLocaleIDs()
6450 u_errorName(itemPtr->expectedStatus), ulenExpect, bbufExpect, in TestBadLocaleIDs()