Home | History | Annotate | Download | only in libdwfl

Lines Matching refs:match

74   Dwfl_Line **match = *nsrcs == 0 ? NULL : *srcsp;
97 no match is performed. */
114 /* Match the name with the name the user provided. */
123 /* See whether line and possibly column match. */
127 /* Cannot match. */
130 /* Determine whether this is the best match so far. */
133 if (dwfl_line_file (match[inner])
137 && (dwfl_line (match[inner])->line != line->line
138 || dwfl_line (match[inner])->line != lineno
140 && (dwfl_line (match[inner])->column != line->column
141 || dwfl_line (match[inner])->column != column))))
144 match for the line number, use it. */
145 if (dwfl_line (match[inner])->line >= line->line
146 && (dwfl_line (match[inner])->line != line->line
147 || dwfl_line (match[inner])->column >= line->column))
149 match[inner] = &cu->lines->idx[cnt];
159 Dwfl_Line **newp = realloc (match,
164 free (match);
168 match = newp;
171 match[cur_match++] = &cu->lines->idx[cnt];
178 assert (*nsrcs == 0 || *srcsp == match);
181 *srcsp = match;