Lines Matching refs:repetitions
444 int32_t repetitions; in TestfgetsBuffers() local
462 for (repetitions = 0; repetitions < 16; repetitions++) { in TestfgetsBuffers()
481 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers()
482 …_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions); in TestfgetsBuffers()
484 if (buffer[(expectedSize*repetitions) + 1] != 0xBEEF) { in TestfgetsBuffers()
504 for (repetitions = 0; repetitions < 16; repetitions++) { in TestfgetsBuffers()
526 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers()
527 …_err("Buffer is the wrong size. Got %d Expected %d\n", u_strlen(buffer), expectedSize*repetitions); in TestfgetsBuffers()
529 if (buffer[(expectedSize*repetitions) + 1] != 0xBEEF) { in TestfgetsBuffers()
546 for (repetitions = 0; repetitions < 1; repetitions++) { in TestfgetsBuffers()
576 int32_t repetitions; in TestFileReadBuffering() local
579 for (repetitions = 0; repetitions < 2; repetitions++) { in TestFileReadBuffering()
601 int32_t repetitions; in TestfgetsLineCount() local
610 for (repetitions = 0; repetitions < 16; repetitions++) { in TestfgetsLineCount()
612 for (nlRepetitions = 0; nlRepetitions < repetitions; nlRepetitions++) { in TestfgetsLineCount()
733 int32_t repetitions; in TestLineCount() local
743 for (repetitions = 0; repetitions < numRepititions; repetitions++) { in TestLineCount()
763 for (repetitions = 0; ; repetitions++) { in TestLineCount()
772 log_err("buffers are different at count %d\n", repetitions); in TestLineCount()
778 if (repetitions != numRepititions) { in TestLineCount()
779 log_err("got wrong number of lines. got=%d expected=%d\n", repetitions, numRepititions); in TestLineCount()
797 int32_t repetitions; in TestFgetsLineBuffering() local
808 for (repetitions = 0; repetitions < ((sizeof(buffer)/sizeof(buffer[0]))*2); repetitions++) { in TestFgetsLineBuffering()
809 fwrite(repetitions ? "1" : "2", 1, 1, stdFile); in TestFgetsLineBuffering()