Lines Matching defs:line
79 static struct objdump_line *objdump_line__new(s64 offset, char *line, size_t privsize)
85 self->line = line;
93 free(self->line);
97 static void objdump__add_line(struct list_head *head, struct objdump_line *line)
99 list_add_tail(&line->node, head);
166 * Also color the filename and line if needed, with
168 * twice for close colored addr with the same filename:line
181 color_fprintf(stdout, PERF_COLOR_BLUE, "%s\n", oline->line);
188 if (!*oline->line)
191 printf(" : %s\n", oline->line);
202 char *line = NULL, *tmp, *tmp2, *c;
206 if (getline(&line, &line_len, file) < 0)
209 if (!line)
212 while (line_len != 0 && isspace(line[line_len - 1]))
213 line[--line_len] = '\0';
215 c = strchr(line, '\n');
224 tmp = line;
249 objdump_line = objdump_line__new(offset, line, privsize);
251 free(line);
401 /* Get the filename:line for the colored entries */