Lines Matching refs:ubuf
1507 UChar ubuf[kUbufMax]; in TestContext() local
1508 …int32_t len = udatpg_getBestPattern(udtpg, textContextItemPtr->skeleton, -1, ubuf, kUbufMax, &stat… in TestContext()
1510 …udat_open(UDAT_PATTERN, UDAT_PATTERN, textContextItemPtr->locale, zoneGMT, -1, ubuf, len, &status); in TestContext()
1515 len = udat_format(udfmt, july022008, ubuf, kUbufMax, NULL, &status); in TestContext()
1520 … } else if (u_strncmp(ubuf, textContextItemPtr->expectedFormat, kUbufMax) != 0) { in TestContext()
1525 …u_austrncpy(bbuf1,textContextItemPtr->expectedFormat,kUbufMax), u_austrncpy(bbuf2,ubuf,kUbufMax) ); in TestContext()
1560 UChar ubuf[kUbufMax]; in TestContext() local
1563 int32_t len = udat_format(udfmt, today, ubuf, kUbufMax, NULL, &status); in TestContext()
1568 … } else if (u_strncmp(ubuf, textRelContextItemPtr->expectedFormatToday, kUbufMax) != 0) { in TestContext()
1571 …cpy(bbuf1,textRelContextItemPtr->expectedFormatToday,kUbufMax), u_austrncpy(bbuf2,ubuf,kUbufMax) ); in TestContext()
1578 len = udat_format(udfmt, yesterday, ubuf, kUbufMax, NULL, &status); in TestContext()
1582 … } else if (u_strncmp(ubuf, textRelContextItemPtr->expectedFormatYesterday, kUbufMax) != 0) { in TestContext()
1585 …bbuf1,textRelContextItemPtr->expectedFormatYesterday,kUbufMax), u_austrncpy(bbuf2,ubuf,kUbufMax) ); in TestContext()
1659 UChar ubuf[kUbufMax]; in TestOverrideNumberFormat() local
1698 udat_format(fmt2, july022008, ubuf, kUbufMax, NULL, &status); in TestOverrideNumberFormat()
1701 if (u_strncmp(ubuf, expected, kUbufMax) != 0) in TestOverrideNumberFormat()
1703 u_austrncpy(bbuf1,expected,kUbufMax), u_austrncpy(bbuf2,ubuf,kUbufMax) ); in TestOverrideNumberFormat()
1790 UChar ubuf[kUBufFieldsLen]; in TestFormatForFields() local
1794 … ulen = udat_formatForFields(udfmt, date2015Feb25, ubuf, kUBufFieldsLen, fpositer, &status); in TestFormatForFields()
1803 … aescstrdup(ubuf, ulen), fptr->field, fptr->beginPos, fptr->endPos, field, beginPos, endPos); in TestFormatForFields()
1806 aescstrdup(ubuf, ulen), field, beginPos, endPos); in TestFormatForFields()
1818 … ulen = udat_formatCalendarForFields(udfmt, ucal, ubuf, kUBufFieldsLen, fpositer, &status); in TestFormatForFields()
1827 … aescstrdup(ubuf, ulen), fptr->field, fptr->beginPos, fptr->endPos, field, beginPos, endPos); in TestFormatForFields()
1830 aescstrdup(ubuf, ulen), field, beginPos, endPos); in TestFormatForFields()