Home | History | Annotate | Download | only in brfpatch

Lines Matching refs:buffer

77 static void process_line(FILE *file_out, char *buf, char *buffer) {
78 FAILIF(strncmp(buf, "Send_", 5) != 0, "Not expecting: %s\n", buffer);
83 FAILIF(advance(&buf), "Could not find opcode in: %s\n", buffer);
85 "Could not find opcode in: %s\n", buffer);
97 "Too much data: %s\n", buffer);
99 "Error parsing (%d): %s\n", __LINE__, buffer);
108 FAILIF(*buf != 'x', "Error parsing: %s\n", buffer);
120 "Error parsing (%d): %s\n", __LINE__, buffer);
126 "Error parsing (%d): %s\n", __LINE__, buffer);
132 "Error parsing (%d): %s\n", __LINE__, buffer);
138 "Error parsing (%d): %s\n", __LINE__, buffer);
145 "Error parsing (%d): %s\n", __LINE__, buffer);
149 "Error parsing (%d): %s\n", __LINE__, buffer);
154 FAILIF(1, "Error parsing (%d): %s\n", __LINE__, buffer);
158 FAILIF(1, "Error parsing (%d): %s\n", __LINE__, buffer);
177 char buffer[1024];
180 while (fgets(buffer, 1024, file_in) != NULL) {
181 buf = buffer;
186 process_line(file_out, buf, buffer);
193 FAILIF(1, "Don't know what to do with: %s\n", buffer);