| 1202 | } |
| 1203 | |
| 1204 | static bool site_in(cov_site_t s, const cov_site_t *arr, int n) { |
| 1205 | for (int i = 0; i < n; i++) { |
| 1206 | if (arr[i].start == s.start && arr[i].end == s.end && s.name && arr[i].name && |
| 1207 | strcmp(arr[i].name, s.name) == 0) { |
| 1208 | return true; |
| 1209 | } |
| 1210 | } |
| 1211 | return false; |
| 1212 | } |
| 1213 | |
| 1214 | /* Calls (calls=true) or usages, cut parse against full parse: |
| 1215 | * - nothing the full parse found outside the dropped rows may be missing; |