Lines Matching refs:buffer
83 char buffer[1024];
86 while ((count = read(fd, buffer, sizeof(buffer) - 1)) > 0) {
87 buffer[count] = '\0';
92 char *iter = buffer;
99 if (iter != buffer + count)
104 if (iter < buffer + count) {
127 char buffer[1024];
129 while ((count = read(fd, buffer, sizeof(buffer))) > 0 &&
131 if (memcmp(pos, buffer, count) != 0) {
157 char buffer[1024];
159 while ((length = read(input, buffer, sizeof(buffer))) > 0)
160 ATF_REQUIRE_MSG(write(output, buffer, length) == length,