Lines Matching refs:list
706 listing_page (list_info_type *list) in listing_page() argument
719 while (c != 0 && list) in listing_page()
721 if (list->edict == EDICT_SBTTL && !had_subtitle) in listing_page()
724 subtitle = list->edict_arg; in listing_page()
726 if (list->edict == EDICT_TITLE && !had_title) in listing_page()
729 title = list->edict_arg; in listing_page()
731 list = list->next; in listing_page()
752 emit_line (list_info_type * list, const char * format, ...) in emit_line() argument
760 listing_page (list); in emit_line()
766 calc_hex (list_info_type *list) in calc_hex() argument
769 list_info_type *first = list; in calc_hex()
776 frag = list->frag; in calc_hex()
777 while (frag && frag->line != list) in calc_hex()
834 print_lines (list_info_type *list, unsigned int lineno, in print_lines() argument
846 listing_page (list); in print_lines()
889 emit_line (list, "\t%s\n", string ? string : ""); in print_lines()
891 for (msg = list->messages; msg; msg = msg->next) in print_lines()
892 emit_line (list, "**** %s\n", msg->message); in print_lines()
922 emit_line (list, "\n"); in print_lines()
1035 list_info_type * list, in print_source() argument
1043 if (current_file->linenum > list->hll_line in print_source()
1044 && list->hll_line > 0) in print_source()
1067 && cached_lines[i].line == list->hll_line) in print_source()
1081 cache->line = list->hll_line; in print_source()
1086 emit_line (list, "%4u:%-13s **** %s\n", in print_source()
1095 while (current_file->linenum < list->hll_line in print_source()
1115 emit_line (list, "%4u:%-13s **** %s\n", in print_source()
1126 debugging_pseudo (list_info_type *list, const char *line) in debugging_pseudo() argument
1133 if (list->debugging) in debugging_pseudo()
1158 && list->next != NULL in debugging_pseudo()
1159 && list->next->debugging) in debugging_pseudo()
1202 list_info_type *list = head; in listing_listing() local
1212 list = head->next; in listing_listing()
1214 while (list) in listing_listing()
1221 list_line = list->line; in listing_listing()
1222 switch (list->edict) in listing_listing()
1240 title = list->edict_arg; in listing_listing()
1243 subtitle = list->edict_arg; in listing_listing()
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()
1256 if (list->edict == EDICT_LIST in listing_listing()
1257 || (list->edict == EDICT_NOLIST_NEXT && show_listing == 0)) in listing_listing()
1268 if (list->hll_file) in listing_listing()
1269 current_hll_file = list->hll_file; in listing_listing()
1271 if (current_hll_file && list->hll_line && (listing & LISTING_HLL)) in listing_listing()
1272 print_source (current_hll_file, list, width); in listing_listing()
1274 if (list->line_contents) in listing_listing()
1277 && debugging_pseudo (list, list->line_contents))) in listing_listing()
1278 print_lines (list, in listing_listing()
1279 list->file->linenum == 0 ? list->line : list->file->linenum, in listing_listing()
1280 list->line_contents, calc_hex (list)); in listing_listing()
1282 free (list->line_contents); in listing_listing()
1283 list->line_contents = NULL; 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()
1297 address = calc_hex (list); in listing_listing()
1300 && debugging_pseudo (list, p))) in listing_listing()
1301 print_lines (list, list->file->linenum, p, address); in listing_listing()
1305 if (list->edict == EDICT_EJECT) in listing_listing()
1309 if (list->edict == EDICT_NOLIST_NEXT && show_listing == 1) in listing_listing()
1312 list = list->next; in listing_listing()