Home | History | Annotate | Download | only in cintltst

Lines Matching defs:ubuf

1507             UChar ubuf[kUbufMax];
1508 int32_t len = udatpg_getBestPattern(udtpg, textContextItemPtr->skeleton, -1, ubuf, kUbufMax, &status);
1510 UDateFormat* udfmt = udat_open(UDAT_PATTERN, UDAT_PATTERN, textContextItemPtr->locale, zoneGMT, -1, ubuf, len, &status);
1515 len = udat_format(udfmt, july022008, ubuf, kUbufMax, NULL, &status);
1520 } else if (u_strncmp(ubuf, textContextItemPtr->expectedFormat, kUbufMax) != 0) {
1525 u_austrncpy(bbuf1,textContextItemPtr->expectedFormat,kUbufMax), u_austrncpy(bbuf2,ubuf,kUbufMax) );
1560 UChar ubuf[kUbufMax];
1563 int32_t len = udat_format(udfmt, today, ubuf, kUbufMax, NULL, &status);
1568 } else if (u_strncmp(ubuf, textRelContextItemPtr->expectedFormatToday, kUbufMax) != 0) {
1571 u_austrncpy(bbuf1,textRelContextItemPtr->expectedFormatToday,kUbufMax), u_austrncpy(bbuf2,ubuf,kUbufMax) );
1578 len = udat_format(udfmt, yesterday, ubuf, kUbufMax, NULL, &status);
1582 } else if (u_strncmp(ubuf, textRelContextItemPtr->expectedFormatYesterday, kUbufMax) != 0) {
1585 u_austrncpy(bbuf1,textRelContextItemPtr->expectedFormatYesterday,kUbufMax), u_austrncpy(bbuf2,ubuf,kUbufMax) );
1659 UChar ubuf[kUbufMax];
1698 udat_format(fmt2, july022008, ubuf, kUbufMax, NULL, &status);
1701 if (u_strncmp(ubuf, expected, kUbufMax) != 0)
1703 u_austrncpy(bbuf1,expected,kUbufMax), u_austrncpy(bbuf2,ubuf,kUbufMax) );
1791 UChar ubuf[kUBufFieldsLen];
1795 ulen = udat_formatForFields(udfmt, date2015Feb25, ubuf, kUBufFieldsLen, fpositer, &status);
1804 aescstrdup(ubuf, ulen), fptr->field, fptr->beginPos, fptr->endPos, field, beginPos, endPos);
1807 aescstrdup(ubuf, ulen), field, beginPos, endPos);
1819 ulen = udat_formatCalendarForFields(udfmt, ucal, ubuf, kUBufFieldsLen, fpositer, &status);
1828 aescstrdup(ubuf, ulen), fptr->field, fptr->beginPos, fptr->endPos, field, beginPos, endPos);
1831 aescstrdup(ubuf, ulen), field, beginPos, endPos);
1843 ulen = udat_formatForFields(udfmt, date2015Feb25, ubuf, kUBufFieldsLen, fpositer, &status);
1850 aescstrdup(ubuf, ulen), field, beginPos, endPos);