| 8305 | int results; |
| 8306 | size_t skipped; |
| 8307 | char first_skip[PATH_MAX + 128]; |
| 8308 | agent_buf out; |
| 8309 | } agent_search_ctx; |
| 8310 | |
| 8311 | static bool agent_literal_match(const char *s, size_t n, const char *q, |
| 8312 | bool case_sensitive) { |
| 8313 | size_t qn = strlen(q); |
| 8314 | if (!qn) return true; |
| 8315 | if (qn > n) return false; |
| 8316 | for (size_t i = 0; i + qn <= n; i++) { |
| 8317 | bool ok = true; |
| 8318 | for (size_t j = 0; j < qn; j++) { |
no outgoing calls
no test coverage detected