Lines Matching refs:uBuffer
205 UChar uBuffer[512]; in DataDrivenPrintf() local
243 u_memset(uBuffer, 0x2A, UPRV_LENGTHOF(uBuffer)); in DataDrivenPrintf()
244 uBuffer[UPRV_LENGTHOF(uBuffer)-1] = 0; in DataDrivenPrintf()
262 uBufferLenReturned = u_sprintf_u(uBuffer, format, dbl); in DataDrivenPrintf()
267 uBufferLenReturned = u_sprintf_u(uBuffer, format, i8); in DataDrivenPrintf()
272 uBufferLenReturned = u_sprintf_u(uBuffer, format, i16); in DataDrivenPrintf()
277 uBufferLenReturned = u_sprintf_u(uBuffer, format, i32); in DataDrivenPrintf()
282 uBufferLenReturned = u_sprintf_u(uBuffer, format, i64); in DataDrivenPrintf()
287 uBufferLenReturned = u_sprintf_u(uBuffer, format, cBuffer); in DataDrivenPrintf()
291 uBufferLenReturned = u_sprintf_u(uBuffer, format, argument); in DataDrivenPrintf()
299 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenPrintf()
300 u_austrncpy(cBuffer, uBuffer, sizeof(cBuffer)); in DataDrivenPrintf()
311 else if (uBuffer[uBufferLenReturned-1] == 0 in DataDrivenPrintf()
312 || uBuffer[uBufferLenReturned] != 0 in DataDrivenPrintf()
313 || uBuffer[uBufferLenReturned+1] != 0x2A in DataDrivenPrintf()
314 || uBuffer[uBufferLenReturned+2] != 0x2A) in DataDrivenPrintf()
316 u_austrncpy(cBuffer, uBuffer, sizeof(cBuffer)); in DataDrivenPrintf()
326 uBuffer[0]=0; in DataDrivenPrintf()
327 u_fgets(uBuffer, UPRV_LENGTHOF(uBuffer), testFile.getAlias()); in DataDrivenPrintf()
328 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenPrintf()
329 u_austrncpy(cBuffer, uBuffer, sizeof(cBuffer)); in DataDrivenPrintf()
338 u_austrncpy(cBuffer, uBuffer, sizeof(cBuffer)); in DataDrivenPrintf()
408 UChar uBuffer[512]; in DataDrivenScanf() local
445 u_memset(uBuffer, 0x2A, UPRV_LENGTHOF(uBuffer)); in DataDrivenScanf()
446 uBuffer[UPRV_LENGTHOF(uBuffer)-1] = 0; in DataDrivenScanf()
524 uBufferLenReturned = u_sscanf_u(argument, format, uBuffer); in DataDrivenScanf()
526 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenScanf()
528 u_austrcpy(cBuffer, uBuffer); in DataDrivenScanf()
610 UChar uBuffer[512]; in DataDrivenPrintfPrecision() local
639 u_memset(uBuffer, 0x2A, UPRV_LENGTHOF(uBuffer)); in DataDrivenPrintfPrecision()
640 uBuffer[UPRV_LENGTHOF(uBuffer)-1] = 0; in DataDrivenPrintfPrecision()
659 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, dbl); in DataDrivenPrintfPrecision()
663 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i8); in DataDrivenPrintfPrecision()
667 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i16); in DataDrivenPrintfPrecision()
671 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i32); in DataDrivenPrintfPrecision()
675 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i64); in DataDrivenPrintfPrecision()
678 u_austrncpy(cBuffer, uBuffer, sizeof(cBuffer)); in DataDrivenPrintfPrecision()
679 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, cBuffer); in DataDrivenPrintfPrecision()
682 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, argument); in DataDrivenPrintfPrecision()
688 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenPrintfPrecision()
689 u_austrncpy(cBuffer, uBuffer, sizeof(cBuffer)); in DataDrivenPrintfPrecision()
700 else if (uBuffer[uBufferLenReturned-1] == 0 in DataDrivenPrintfPrecision()
701 || uBuffer[uBufferLenReturned] != 0 in DataDrivenPrintfPrecision()
702 || uBuffer[uBufferLenReturned+1] != 0x2A in DataDrivenPrintfPrecision()
703 || uBuffer[uBufferLenReturned+2] != 0x2A) in DataDrivenPrintfPrecision()
705 u_austrncpy(cBuffer, uBuffer, sizeof(cBuffer)); in DataDrivenPrintfPrecision()