Lines Matching refs:uBuffer

250     UChar uBuffer[256];  in TestLocalizedString()  local
263 u_uastrcpy(uBuffer,"1,234"); in TestLocalizedString()
265 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
288 u_uastrcpy(uBuffer,"1.234"); in TestLocalizedString()
290 if (u_strcmp(testStr, uBuffer) != 0) { in TestLocalizedString()
360 u_memset(uBuffer, 0x2a, sizeof(uBuffer)/sizeof(*uBuffer));\
363 uNumPrinted = u_sprintf(uBuffer, uFormat, uValue);\
364 u_austrncpy(compBuffer, uBuffer, sizeof(uBuffer)/sizeof(uBuffer[0]));\
382 UChar uBuffer[256]; in TestSprintfFormat() local
495 …u_sprintf(uBuffer, reorderFormat,"truncateiftoolong", 99, 990099, "12345678901234567890", 10, 0x12… in TestSprintfFormat()
496 u_austrncpy(compBuffer, uBuffer, sizeof(uBuffer)/sizeof(uBuffer[0])); in TestSprintfFormat()
606 UChar uBuffer[256]; in TestSScanSetFormat() local
613 u_memset(uBuffer, 0x2a, sizeof(uBuffer)/sizeof(*uBuffer)); in TestSScanSetFormat()
614 uBuffer[sizeof(uBuffer)/sizeof(*uBuffer)-1] = 0; in TestSScanSetFormat()
618 uNumScanned = u_sscanf(uValue, format, uBuffer); in TestSScanSetFormat()
620 u_austrncpy(compBuffer, uBuffer, sizeof(uBuffer)/sizeof(uBuffer[0])); in TestSScanSetFormat()
622 if (strncmp(buffer, compBuffer, sizeof(uBuffer)/sizeof(uBuffer[0])) != 0) { in TestSScanSetFormat()
628 if (uNumScanned > 0 && uBuffer[u_strlen(uBuffer)+1] != 0x2a) { in TestSScanSetFormat()
633 if (uNumScanned != 0 || uBuffer[0] != 0x2a || uBuffer[1] != 0x2a) { in TestSScanSetFormat()
687 UChar uBuffer[256]; in TestBadSScanfFormat() local
691 u_memset(uBuffer, 0x2a, sizeof(uBuffer)/sizeof(*uBuffer)); in TestBadSScanfFormat()
692 uBuffer[sizeof(uBuffer)/sizeof(*uBuffer)-1] = 0; in TestBadSScanfFormat()
694 uNumScanned = u_sscanf(uValue, format, uBuffer); in TestBadSScanfFormat()
695 if (uNumScanned != 0 || uBuffer[0] != 0x2a || uBuffer[1] != 0x2a) { in TestBadSScanfFormat()
712 UChar uBuffer[256]; in Test_u_vfprintf() local
718 count = u_vsprintf(uBuffer, format, ap); in Test_u_vfprintf()
722 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()
728 count = u_vsprintf_u(uBuffer, uBuffer2, ap); in Test_u_vfprintf()
731 if (u_strcmp(uBuffer, uBuffer2) != 0) { in Test_u_vfprintf()