Lines Matching full:al
42 struct annotation_line *al = list_entry(entry, struct annotation_line, node);
43 return annotation_line__filter(al);
93 struct annotation_line *al = list_entry(entry, struct annotation_line, node);
115 annotation_line__write(al, notes, &ops);
118 ab->selection = al;
123 struct disasm_line *pos = list_prev_entry(cursor, al.node);
127 while (pos && pos->al.offset == -1) {
128 pos = list_prev_entry(pos, al.node);
198 from = cursor->al.idx_asm;
201 from = (u64)cursor->al.idx;
249 struct annotation_line *al)
260 if (disasm__cmp(al, l, annotate_opts.percent_type) < 0)
265 rb_link_node(&al->rb_node, parent, p);
266 rb_insert_color(&al->rb_node, root);
318 list_for_each_entry(pos, ¬es->src->source, al.node) {
322 if (pos->al.offset == -1) {
323 RB_CLEAR_NODE(&pos->al.rb_node);
327 for (i = 0; i < pos->al.data_nr; i++) {
330 percent = annotation_data__percent(&pos->al.data[i],
337 if (max_percent < 0.01 && (!pos->al.cycles || pos->al.cycles->ipc == 0)) {
338 RB_CLEAR_NODE(&pos->al.rb_node);
341 disasm_rb_tree__insert(browser, &pos->al);
350 struct annotation_line *al)
352 struct annotation_line *it = al;
361 it = al;
374 struct annotation_line *al;
378 al = list_entry(browser->b.top, struct annotation_line, node);
381 if (al->idx_asm < offset)
382 offset = al->idx;
387 browser->b.top_idx = al->idx - offset;
388 browser->b.index = al->idx;
390 if (al->idx_asm < 0) {
392 al = annotate_browser__find_next_asm_line(browser, al);
393 if (!al) {
399 if (al->idx_asm < offset)
400 offset = al->idx_asm;
405 browser->b.top_idx = al->idx_asm - offset;
406 browser->b.index = al->idx_asm;
418 struct annotation_line *al = &cursor->al;
420 if (al->offset != -1)
422 else if (al->fileloc == NULL)
426 sprintf (help_line, "Source file location: %s", al->fileloc);
497 list_for_each_entry(pos, ¬es->src->source, al.node) {
498 if (pos->al.offset == offset)
500 if (!annotation_line__filter(&pos->al))
530 annotate_browser__set_top(browser, &dl->al, idx);
540 struct annotation_line *al = browser->selection;
543 list_for_each_entry_continue(al, ¬es->src->source, node) {
544 if (annotation_line__filter(al))
549 if (al->line && strstr(al->line, s) != NULL)
550 return al;
558 struct annotation_line *al;
561 al = annotate_browser__find_string(browser, browser->search_bf, &idx);
562 if (al == NULL) {
567 annotate_browser__set_top(browser, al, idx);
577 struct annotation_line *al = browser->selection;
580 list_for_each_entry_continue_reverse(al, ¬es->src->source, node) {
581 if (annotation_line__filter(al))
586 if (al->line && strstr(al->line, s) != NULL)
587 return al;
595 struct annotation_line *al;
598 al = annotate_browser__find_string_reverse(browser, browser->search_bf, &idx);
599 if (al == NULL) {
604 annotate_browser__set_top(browser, al, idx);