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()
371 UChar uBuffer[512]; in DataDrivenScanf() local
408 u_memset(uBuffer, 0x2A, UPRV_LENGTHOF(uBuffer)); in DataDrivenScanf()
409 uBuffer[UPRV_LENGTHOF(uBuffer)-1] = 0; in DataDrivenScanf()
487 uBufferLenReturned = u_sscanf_u(argument, format, uBuffer); in DataDrivenScanf()
489 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenScanf()
491 u_austrcpy(cBuffer, uBuffer); in DataDrivenScanf()
573 UChar uBuffer[512]; in DataDrivenPrintfPrecision() local
602 u_memset(uBuffer, 0x2A, UPRV_LENGTHOF(uBuffer)); in DataDrivenPrintfPrecision()
603 uBuffer[UPRV_LENGTHOF(uBuffer)-1] = 0; in DataDrivenPrintfPrecision()
622 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, dbl); in DataDrivenPrintfPrecision()
626 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i8); in DataDrivenPrintfPrecision()
630 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i16); in DataDrivenPrintfPrecision()
634 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i32); in DataDrivenPrintfPrecision()
638 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, i64); in DataDrivenPrintfPrecision()
641 u_austrncpy(cBuffer, uBuffer, sizeof(cBuffer)); in DataDrivenPrintfPrecision()
642 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, cBuffer); in DataDrivenPrintfPrecision()
645 uBufferLenReturned = u_sprintf_u(uBuffer, format, precision, argument); in DataDrivenPrintfPrecision()
651 if (u_strcmp(uBuffer, expectedResult) != 0) { in DataDrivenPrintfPrecision()
652 u_austrncpy(cBuffer, uBuffer, sizeof(cBuffer)); in DataDrivenPrintfPrecision()
663 else if (uBuffer[uBufferLenReturned-1] == 0 in DataDrivenPrintfPrecision()
664 || uBuffer[uBufferLenReturned] != 0 in DataDrivenPrintfPrecision()
665 || uBuffer[uBufferLenReturned+1] != 0x2A in DataDrivenPrintfPrecision()
666 || uBuffer[uBufferLenReturned+2] != 0x2A) in DataDrivenPrintfPrecision()
668 u_austrncpy(cBuffer, uBuffer, sizeof(cBuffer)); in DataDrivenPrintfPrecision()