| 110 | } |
| 111 | |
| 112 | static int definition_count(const CBMFileResult *r, const char *name) { |
| 113 | int count = 0; |
| 114 | for (int i = 0; i < r->defs.count; i++) { |
| 115 | const CBMDefinition *def = &r->defs.items[i]; |
| 116 | if (def->name && strcmp(def->name, name) == 0) |
| 117 | count++; |
| 118 | } |
| 119 | return count; |
| 120 | } |
| 121 | |
| 122 | static CBMFileResult *extract_case(const char *tag, const char *source, CBMLanguage language, |
| 123 | const char *filename) { |
no outgoing calls
no test coverage detected