Lines Matching defs:buffer
116 static char *get_value(char **buffer)
123 if (**buffer == '"') {
127 (*buffer)++;
132 val = strsep(buffer, end);
137 (*buffer)++;
139 while (isspace(**buffer))
140 (*buffer)++;
167 char *buffer;
187 * Allocate a buffer rather than put it on the stack so we can
189 * points into this buffer for its strings).
191 buffer = malloc(MAX_BUFFER_LEN);
192 if (!buffer)
200 buf = fgets(buffer, MAX_BUFFER_LEN, f);
204 if (buf[strlen(buffer) - 1] != '\n') {
254 log_error("Error parsing config file line %d '%s'", lineno, buffer);
283 strcpy(buffer, options_in);
284 c = argc_count(buffer) + 2;
293 * store the buffer address there for
296 (*newargv)[c] = buffer;
298 (*newargv)[c] = strsep(&buffer, " \t");
306 free(buffer);