Lines Matching full:notes
43 struct annotation *notes = browser__annotation(browser); in disasm_line__filter() local
45 return annotation_line__filter(al, notes); in disasm_line__filter()
50 struct annotation *notes = browser__annotation(browser); in ui_browser__jumps_percent_color() local
54 if (nr == notes->max_jump_sources) in ui_browser__jumps_percent_color()
94 struct annotation *notes = browser__annotation(browser); in annotate_browser__write() local
100 .change_color = (!notes->options->hide_src_code && in annotate_browser__write()
117 annotation_line__write(al, notes, &ops, ab->opts); in annotate_browser__write()
159 struct annotation *notes = symbol__annotation(sym); in annotate_browser__draw_current_jump() local
160 u8 pcnt_width = annotation__pcnt_width(notes); in annotate_browser__draw_current_jump()
191 target = notes->offsets[cursor->ops.target.offset]; in annotate_browser__draw_current_jump()
193 ui_helpline__printf("WARN: jump target inconsistency, press 'o', notes->offsets[%#x] = NULL\n", in annotate_browser__draw_current_jump()
198 if (notes->options->hide_src_code) { in annotate_browser__draw_current_jump()
206 width = annotation__cycles_width(notes); in annotate_browser__draw_current_jump()
210 pcnt_width + 2 + notes->widths.addr + width, in annotate_browser__draw_current_jump()
216 pcnt_width + 3 + notes->widths.addr + width, in annotate_browser__draw_current_jump()
223 struct annotation *notes = browser__annotation(browser); in annotate_browser__refresh() local
225 int pcnt_width = annotation__pcnt_width(notes); in annotate_browser__refresh()
227 if (notes->options->jump_arrows) in annotate_browser__refresh()
273 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__set_top() local
283 if (annotation_line__filter(pos, notes)) in annotate_browser__set_top()
297 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__set_rb_top() local
301 if (notes->options->hide_src_code) in annotate_browser__set_rb_top()
312 struct annotation *notes = symbol__annotation(sym); in annotate_browser__calc_percent() local
317 annotation__lock(notes); in annotate_browser__calc_percent()
321 list_for_each_entry(pos, ¬es->src->source, al.node) { in annotate_browser__calc_percent()
346 annotation__unlock(notes); in annotate_browser__calc_percent()
376 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__toggle_source() local
383 if (notes->options->hide_src_code) { in annotate_browser__toggle_source()
387 browser->b.nr_entries = notes->nr_entries; in annotate_browser__toggle_source()
388 notes->options->hide_src_code = false; in annotate_browser__toggle_source()
405 browser->b.nr_entries = notes->nr_asm_entries; in annotate_browser__toggle_source()
406 notes->options->hide_src_code = true; in annotate_browser__toggle_source()
436 struct annotation *notes = browser__annotation(browser); in ui_browser__init_asm_mode() local
438 browser->nr_entries = notes->nr_asm_entries; in ui_browser__init_asm_mode()
464 struct annotation *notes; in annotate_browser__callq() local
472 notes = symbol__annotation(dl->ops.target.sym); in annotate_browser__callq()
473 annotation__lock(notes); in annotate_browser__callq()
476 annotation__unlock(notes); in annotate_browser__callq()
485 annotation__unlock(notes); in annotate_browser__callq()
496 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__find_offset() local
500 list_for_each_entry(pos, ¬es->src->source, al.node) { in annotate_browser__find_offset()
503 if (!annotation_line__filter(&pos->al, notes)) in annotate_browser__find_offset()
542 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__find_string() local
546 list_for_each_entry_continue(al, ¬es->src->source, node) { in annotate_browser__find_string()
547 if (annotation_line__filter(al, notes)) in annotate_browser__find_string()
579 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__find_string_reverse() local
583 list_for_each_entry_continue_reverse(al, ¬es->src->source, node) { in annotate_browser__find_string_reverse()
584 if (annotation_line__filter(al, notes)) in annotate_browser__find_string_reverse()
719 struct annotation *notes = symbol__annotation(ms->sym); in annotate_browser__run() local
812 notes->options->show_linenr = !notes->options->show_linenr; in annotate_browser__run()
825 notes->options->use_offset = !notes->options->use_offset; in annotate_browser__run()
826 annotation__update_column_widths(notes); in annotate_browser__run()
829 if (++notes->options->offset_level > ANNOTATION__MAX_OFFSET_LEVEL) in annotate_browser__run()
830 notes->options->offset_level = ANNOTATION__MIN_OFFSET_LEVEL; in annotate_browser__run()
833 notes->options->jump_arrows = !notes->options->jump_arrows; in annotate_browser__run()
836 notes->options->show_nr_jumps = !notes->options->show_nr_jumps; in annotate_browser__run()
837 annotation__update_column_widths(notes); in annotate_browser__run()
863 notes->nr_asm_entries); in annotate_browser__run()
897 annotation__update_column_widths(notes); in annotate_browser__run()
900 if (notes->options->show_minmax_cycle) in annotate_browser__run()
901 notes->options->show_minmax_cycle = false; in annotate_browser__run()
903 notes->options->show_minmax_cycle = true; in annotate_browser__run()
904 annotation__update_column_widths(notes); in annotate_browser__run()
913 annotation__toggle_full_addr(notes, ms); in annotate_browser__run()
957 struct annotation *notes = symbol__annotation(sym); in symbol__tui_annotate() local
972 int not_annotated = list_empty(¬es->src->source); in symbol__tui_annotate()
994 browser.b.width = notes->max_line_len; in symbol__tui_annotate()
995 browser.b.nr_entries = notes->nr_entries; in symbol__tui_annotate()
996 browser.b.entries = ¬es->src->source, in symbol__tui_annotate()
999 if (notes->options->hide_src_code) in symbol__tui_annotate()
1005 annotated_source__purge(notes->src); in symbol__tui_annotate()
1009 zfree(¬es->offsets); in symbol__tui_annotate()