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