Lines Matching refs:buffer
62 char buffer[1024];
63 atf_error_format(error, buffer, sizeof(buffer));
65 atf_tc_fail("Failed to create output file: %s", buffer);
67 err(EXIT_FAILURE, "Failed to create output file: %s", buffer);
107 char buffer[1024];
110 while ((count = read(fd, buffer, sizeof(buffer) - 1)) > 0) {
111 buffer[count] = '\0';
116 char *iter = buffer;
123 if (iter != buffer + count)
128 if (iter < buffer + count) {
151 char buffer[1024];
153 while ((count = read(fd, buffer, sizeof(buffer))) > 0 &&
155 if (memcmp(pos, buffer, count) != 0) {
181 char buffer[1024];
183 while ((length = read(input, buffer, sizeof(buffer))) > 0)
184 ATF_REQUIRE_MSG(write(output, buffer, length) == length,