Lines Matching refs:total
42 int buggy, error, i, successes, total;
47 total = 0;
66 total += error;
67 error = write(desc[0], &buffer[total], 4096);
68 total += error;
69 error = write(desc[0], &buffer[total], 4096);
70 total += error;
71 error = write(desc[0], &buffer[total], 4096);
72 total += error;
73 error = write(desc[0], &buffer[total], 4096);
74 total += error;
75 error = write(desc[0], &buffer[total], 4096);
76 total += error;
77 error = write(desc[0], &buffer[total], 4096);
78 total += error;
79 error = write(desc[0], &buffer[total], 4096);
80 total += error;
81 printf("Wrote %d bytes, sleeping\n", total);
83 error = write(desc[0], &buffer[total], 4096);
84 total += error;
85 error = write(desc[0], &buffer[total], 4096);
86 total += error;
87 printf("Wrote another 8192 bytes, %d total, done\n", total);
91 total += error;
94 error = read(desc[1], &buffer2[total], 8192);
95 total += error;
98 for (i = 0; i < total; i++) {
106 if ((buggy == 1) || (total != 40960))