Home | History | Annotate | Download | only in squashfs-tools

Lines Matching defs:line

222 	char *line, *name;
231 while(fgets(line = line_buffer, MAX_LINE + 1, fd) != NULL) {
232 int len = strlen(line);
234 if(len == MAX_LINE && line[len - 1] != '\n') {
235 /* line too large */
236 ERROR("Line too long when reading "
243 * Remove '\n' terminator if it exists (the last line
246 if(len && line[len - 1] == '\n')
247 line[len - 1] = '\0';
250 while(isspace(*line))
251 line ++;
253 /* if comment line, skip */
254 if(*line == '#')
261 for(name = sort_filename; !isspace(*line) && *line != '\0';) {
262 if(*line == '\\') {
263 line ++;
264 if (*line == '\0')
267 *name ++ = *line ++;
272 * if filename empty, then line was empty of anything but
279 * Scan the rest of the line, we expect a decimal number
283 res = sscanf(line, "%d%n", &priority, &n);
306 line += n;
307 while(isspace(*line))
308 line ++;
310 if(*line != '\0') {