Lines Matching refs:file
161 file_info_type *file; member
299 char *file; in listing_newline() local
329 as_where (&file, &line); in listing_newline()
333 && !(last_file && file && filename_cmp (file, last_file))) in listing_newline()
349 if (strcmp (file, _("{standard input}")) == 0 in listing_newline()
403 last_file = file; in listing_newline()
416 new_i->file = file_info (file); in listing_newline()
476 buffer_line (file_info_type *file, char *line, unsigned int size) in buffer_line() argument
483 if (file->at_end) in buffer_line()
487 if (!last_open_file_info || file != last_open_file_info) in buffer_line()
497 last_open_file_info = file; in buffer_line()
498 last_open_file = fopen (file->filename, FOPEN_RB); in buffer_line()
501 file->at_end = 1; in buffer_line()
506 if (file->pos) in buffer_line()
507 fseek (last_open_file, file->pos, SEEK_SET); in buffer_line()
537 file->at_end = 1; in buffer_line()
545 file->linenum++; in buffer_line()
557 rebuffer_line (file_info_type * file, in rebuffer_line() argument
571 if (file == NULL || buffer == NULL || size <= 1 || file->linenum <= linenum) in rebuffer_line()
575 if (last_open_file_info == NULL || file != last_open_file_info) in rebuffer_line()
585 last_open_file_info = file; in rebuffer_line()
586 last_open_file = fopen (file->filename, FOPEN_RB); in rebuffer_line()
589 file->at_end = 1; in rebuffer_line()
594 if (file->pos) in rebuffer_line()
595 fseek (last_open_file, file->pos, SEEK_SET); in rebuffer_line()
602 current_line = file->linenum; in rebuffer_line()
625 as_warn (_("unable to rebuffer file: %s\n"), file->filename); in rebuffer_line()
977 symbol_get_frag (ptr)->line->file->filename, in list_symbol_table()
1028 file_info_type * file; member
1066 if (cached_lines[i].file == current_file in print_source()
1080 cache->file = current_file; in print_source()
1087 cache->line, cache->file->filename, cache->buffer); in print_source()
1101 cache->file = current_file; in print_source()
1116 cache->line, cache->file->filename, p); in print_source()
1251 while (list->file->linenum < list_line in listing_listing()
1252 && !list->file->at_end) in listing_listing()
1253 p = buffer_line (list->file, buffer, width); in listing_listing()
1279 list->file->linenum == 0 ? list->line : list->file->linenum, in listing_listing()
1287 while (list->file->linenum < list_line in listing_listing()
1288 && !list->file->at_end) in listing_listing()
1292 p = buffer_line (list->file, buffer, width); in listing_listing()
1294 if (list->file->linenum < list_line) in listing_listing()
1301 print_lines (list, list->file->linenum, p, address); in listing_listing()
1597 listing_source_file (const char *file) in listing_source_file() argument
1600 listing_tail->hll_file = file_info (file); in listing_source_file()