Lines Matching defs:match
53 Dwfl_Line **match = *nsrcs == 0 ? NULL : *srcsp;
76 no match is performed. */
93 /* Match the name with the name the user provided. */
102 /* See whether line and possibly column match. */
106 /* Cannot match. */
109 /* Determine whether this is the best match so far. */
112 if (dwfl_line_file (match[inner])
116 && (dwfl_line (match[inner])->line != line->line
117 || dwfl_line (match[inner])->line != lineno
119 && (dwfl_line (match[inner])->column != line->column
120 || dwfl_line (match[inner])->column != column))))
123 match for the line number, use it. */
124 if (dwfl_line (match[inner])->line >= line->line
125 && (dwfl_line (match[inner])->line != line->line
126 || dwfl_line (match[inner])->column >= line->column))
128 match[inner] = &cu->lines->idx[cnt];
138 Dwfl_Line **newp = realloc (match,
143 free (match);
147 match = newp;
150 match[cur_match++] = &cu->lines->idx[cnt];
157 assert (*nsrcs == 0 || *srcsp == match);
160 *srcsp = match;