Lines Matching refs:uBuffer
253 UChar uBuffer[256]; in TestLocalizedString() local
266 u_uastrcpy(uBuffer,"1,234"); in TestLocalizedString()
268 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
291 u_uastrcpy(uBuffer,"1.234"); in TestLocalizedString()
293 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
363 u_memset(uBuffer, 0x2a, UPRV_LENGTHOF(uBuffer));\
366 uNumPrinted = u_sprintf(uBuffer, uFormat, uValue);\
367 u_austrncpy(compBuffer, uBuffer, UPRV_LENGTHOF(uBuffer));\
385 UChar uBuffer[256]; in TestSprintfFormat() local
498 …u_sprintf(uBuffer, reorderFormat,"truncateiftoolong", 99, 990099, "12345678901234567890", 10, 0x12… in TestSprintfFormat()
499 u_austrncpy(compBuffer, uBuffer, UPRV_LENGTHOF(uBuffer)); in TestSprintfFormat()
609 UChar uBuffer[256]; in TestSScanSetFormat() local
616 u_memset(uBuffer, 0x2a, UPRV_LENGTHOF(uBuffer)); in TestSScanSetFormat()
617 uBuffer[UPRV_LENGTHOF(uBuffer)-1] = 0; in TestSScanSetFormat()
621 uNumScanned = u_sscanf(uValue, format, uBuffer); in TestSScanSetFormat()
623 u_austrncpy(compBuffer, uBuffer, UPRV_LENGTHOF(uBuffer)); in TestSScanSetFormat()
625 if (strncmp(buffer, compBuffer, UPRV_LENGTHOF(uBuffer)) != 0) { in TestSScanSetFormat()
631 if (uNumScanned > 0 && uBuffer[u_strlen(uBuffer)+1] != 0x2a) { in TestSScanSetFormat()
636 if (uNumScanned != 0 || uBuffer[0] != 0x2a || uBuffer[1] != 0x2a) { in TestSScanSetFormat()
690 UChar uBuffer[256]; in TestBadSScanfFormat() local
694 u_memset(uBuffer, 0x2a, UPRV_LENGTHOF(uBuffer)); in TestBadSScanfFormat()
695 uBuffer[UPRV_LENGTHOF(uBuffer)-1] = 0; in TestBadSScanfFormat()
697 uNumScanned = u_sscanf(uValue, format, uBuffer); in TestBadSScanfFormat()
698 if (uNumScanned != 0 || uBuffer[0] != 0x2a || uBuffer[1] != 0x2a) { in TestBadSScanfFormat()
715 UChar uBuffer[256]; in Test_u_vfprintf() local
721 count = u_vsprintf(uBuffer, format, ap); in Test_u_vfprintf()
725 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
731 count = u_vsprintf_u(uBuffer, uBuffer2, ap); in Test_u_vfprintf()
734 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()