Lines Matching refs:notes
48 struct annotation *notes = browser__annotation(browser); in ui_browser__jumps_percent_color() local
52 if (nr == notes->src->max_jump_sources) in ui_browser__jumps_percent_color()
92 struct annotation *notes = browser__annotation(browser); in annotate_browser__write() local
115 annotation_line__write(al, notes, &ops); in annotate_browser__write()
157 struct annotation *notes = symbol__annotation(sym); in annotate_browser__draw_current_jump() local
158 u8 pcnt_width = annotation__pcnt_width(notes); in annotate_browser__draw_current_jump()
190 target = annotated_source__get_line(notes->src, cursor->ops.target.offset); in annotate_browser__draw_current_jump()
205 width = annotation__cycles_width(notes); in annotate_browser__draw_current_jump()
209 pcnt_width + 2 + notes->src->widths.addr + width + cntr_width, in annotate_browser__draw_current_jump()
215 pcnt_width + 3 + notes->src->widths.addr + width + cntr_width, in annotate_browser__draw_current_jump()
222 struct annotation *notes = browser__annotation(browser); in annotate_browser__refresh() local
224 int pcnt_width = annotation__pcnt_width(notes); in annotate_browser__refresh()
309 struct annotation *notes = symbol__annotation(sym); in annotate_browser__calc_percent() local
314 annotation__lock(notes); in annotate_browser__calc_percent()
318 list_for_each_entry(pos, ¬es->src->source, al.node) { in annotate_browser__calc_percent()
343 annotation__unlock(notes); in annotate_browser__calc_percent()
373 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__toggle_source() local
384 browser->b.nr_entries = notes->src->nr_entries; in annotate_browser__toggle_source()
402 browser->b.nr_entries = notes->src->nr_asm_entries; in annotate_browser__toggle_source()
433 struct annotation *notes = browser__annotation(browser); in ui_browser__init_asm_mode() local
435 browser->nr_entries = notes->src->nr_asm_entries; in ui_browser__init_asm_mode()
461 struct annotation *notes; in annotate_browser__callq() local
469 notes = symbol__annotation(dl->ops.target.sym); in annotate_browser__callq()
470 annotation__lock(notes); in annotate_browser__callq()
473 annotation__unlock(notes); in annotate_browser__callq()
482 annotation__unlock(notes); in annotate_browser__callq()
493 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__find_offset() local
497 list_for_each_entry(pos, ¬es->src->source, al.node) { in annotate_browser__find_offset()
539 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__find_string() local
543 list_for_each_entry_continue(al, ¬es->src->source, node) { in annotate_browser__find_string()
576 struct annotation *notes = browser__annotation(&browser->b); in annotate_browser__find_string_reverse() local
580 list_for_each_entry_continue_reverse(al, ¬es->src->source, node) { in annotate_browser__find_string_reverse()
715 struct annotation *notes = symbol__annotation(ms->sym); in annotate_browser__run() local
826 annotation__update_column_widths(notes); in annotate_browser__run()
837 annotation__update_column_widths(notes); in annotate_browser__run()
863 notes->src->nr_asm_entries); in annotate_browser__run()
897 annotation__update_column_widths(notes); in annotate_browser__run()
904 annotation__update_column_widths(notes); in annotate_browser__run()
921 annotation__toggle_full_addr(notes, ms); in annotate_browser__run()
964 struct annotation *notes = symbol__annotation(sym); in symbol__tui_annotate() local
978 int not_annotated = list_empty(¬es->src->source); in symbol__tui_annotate()
1000 browser.b.width = notes->src->widths.max_line_len; in symbol__tui_annotate()
1001 browser.b.nr_entries = notes->src->nr_entries; in symbol__tui_annotate()
1002 browser.b.entries = ¬es->src->source; in symbol__tui_annotate()
1011 annotated_source__purge(notes->src); in symbol__tui_annotate()