Lines Matching refs: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);
197 from = cursor->al.idx_asm;
200 from = (u64)cursor->al.idx;
248 struct annotation_line *al)
259 if (disasm__cmp(al, l, annotate_opts.percent_type) < 0)
264 rb_link_node(&al->rb_node, parent, p);
265 rb_insert_color(&al->rb_node, root);
317 list_for_each_entry(pos, &notes->src->source, al.node) {
321 if (pos->al.offset == -1) {
322 RB_CLEAR_NODE(&pos->al.rb_node);
326 for (i = 0; i < pos->al.data_nr; i++) {
329 percent = annotation_data__percent(&pos->al.data[i],
336 if (max_percent < 0.01 && (!pos->al.cycles || pos->al.cycles->ipc == 0)) {
337 RB_CLEAR_NODE(&pos->al.rb_node);
340 disasm_rb_tree__insert(browser, &pos->al);
349 struct annotation_line *al)
351 struct annotation_line *it = al;
360 it = al;
373 struct annotation_line *al;
377 al = list_entry(browser->b.top, struct annotation_line, node);
380 if (al->idx_asm < offset)
381 offset = al->idx;
386 browser->b.top_idx = al->idx - offset;
387 browser->b.index = al->idx;
389 if (al->idx_asm < 0) {
391 al = annotate_browser__find_next_asm_line(browser, al);
392 if (!al) {
398 if (al->idx_asm < offset)
399 offset = al->idx_asm;
404 browser->b.top_idx = al->idx_asm - offset;
405 browser->b.index = al->idx_asm;
417 struct annotation_line *al = &cursor->al;
419 if (al->offset != -1)
421 else if (al->fileloc == NULL)
425 sprintf (help_line, "Source file location: %s", al->fileloc);
496 list_for_each_entry(pos, &notes->src->source, al.node) {
497 if (pos->al.offset == offset)
499 if (!annotation_line__filter(&pos->al))
529 annotate_browser__set_top(browser, &dl->al, idx);
539 struct annotation_line *al = browser->selection;
542 list_for_each_entry_continue(al, &notes->src->source, node) {
543 if (annotation_line__filter(al))
548 if (al->line && strstr(al->line, s) != NULL)
549 return al;
557 struct annotation_line *al;
560 al = annotate_browser__find_string(browser, browser->search_bf, &idx);
561 if (al == NULL) {
566 annotate_browser__set_top(browser, al, idx);
576 struct annotation_line *al = browser->selection;
579 list_for_each_entry_continue_reverse(al, &notes->src->source, node) {
580 if (annotation_line__filter(al))
585 if (al->line && strstr(al->line, s) != NULL)
586 return al;
594 struct annotation_line *al;
597 al = annotate_browser__find_string_reverse(browser, browser->search_bf, &idx);
598 if (al == NULL) {
603 annotate_browser__set_top(browser, al, idx);