| 28 | return p; |
| 29 | } |
| 30 | static bool sw(const char *p, const char *end, const char *tag) { |
| 31 | size_t n = strlen(tag); |
| 32 | return (size_t)(end - p) >= n && memcmp(p, tag, n) == 0; |
| 33 | } |
| 34 | static const char *find_s(const char *p, const char *end, const char *needle) { |
| 35 | size_t n = strlen(needle); |
| 36 | while (p + n <= end) { |
no outgoing calls
no test coverage detected