Lines Matching defs:file
230 static int parse_string(const char *file, unsigned long len,
235 add_char(file[0], md);
237 add_char(file[i], md);
238 if (file[i] == '"' && file[i-1] != '\\')
244 static int parse_comment(const char *file, unsigned long len)
249 if (file[i-1] == '*' && file[i] == '/')
258 char *file;
261 file = read_text_file(fname);
262 len = strlen(file);
266 if (file[i] == '\\' && (i+1 < len) && file[i+1] == '\n') {
272 if (isspace(file[i]))
276 if (file[i] == '"') {
277 i += parse_string(file+i, len - i, md);
282 if (file[i] == '/' && file[i+1] == '*') {
283 i += parse_comment(file+i, len - i);
287 add_char(file[i], md);
289 free(file);
292 /* Check whether the file is a static library or not */
300 /* We have dir/file.o. Open dir/.file.o.cmd, look for source_ and deps_ line
304 char *cmd, *file, *line, *dir, *pos;
323 file = read_text_file(cmd);
325 pos = file;
369 /* Check if this file is in same dir as objfile */
384 free(file);
398 /* objects for a module are listed in the first line of *.mod file. */