Lines Matching refs:repetitions
447 int32_t repetitions; in TestfgetsBuffers() local
465 for (repetitions = 0; repetitions < 16; repetitions++) { in TestfgetsBuffers()
484 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers()
485 …_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions); in TestfgetsBuffers()
487 if (buffer[(expectedSize*repetitions) + 1] != 0xBEEF) { in TestfgetsBuffers()
507 for (repetitions = 0; repetitions < 16; repetitions++) { in TestfgetsBuffers()
529 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers()
530 …_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions); in TestfgetsBuffers()
532 if (buffer[(expectedSize*repetitions) + 1] != 0xBEEF) { in TestfgetsBuffers()
549 for (repetitions = 0; repetitions < 1; repetitions++) { in TestfgetsBuffers()
579 int32_t repetitions; in TestFileReadBuffering() local
582 for (repetitions = 0; repetitions < 2; repetitions++) { in TestFileReadBuffering()
604 int32_t repetitions; in TestfgetsLineCount() local
613 for (repetitions = 0; repetitions < 16; repetitions++) { in TestfgetsLineCount()
615 for (nlRepetitions = 0; nlRepetitions < repetitions; nlRepetitions++) { in TestfgetsLineCount()
736 int32_t repetitions; in TestLineCount() local
746 for (repetitions = 0; repetitions < numRepititions; repetitions++) { in TestLineCount()
766 for (repetitions = 0; ; repetitions++) { in TestLineCount()
775 log_err("buffers are different at count %d\n", repetitions); in TestLineCount()
781 if (repetitions != numRepititions) { in TestLineCount()
782 log_err("got wrong number of lines. got=%d expected=%d\n", repetitions, numRepititions); in TestLineCount()
800 int32_t repetitions; in TestFgetsLineBuffering() local
811 for (repetitions = 0; repetitions < (UPRV_LENGTHOF(buffer)*2); repetitions++) { in TestFgetsLineBuffering()
812 fwrite(repetitions ? "1" : "2", 1, 1, stdFile); in TestFgetsLineBuffering()