Lines Matching refs:hit
126 const char *hit = memchr(p, '<', remaining);
127 if (!hit) {
141 if (strncasecmp(hit, "<channel", strlen("<channel")) == 0) {
144 } else if (strncasecmp(hit, "<rdf", strlen("<rdf")) == 0) {
146 } else if (strncasecmp(hit, "<rss", strlen("<rss")) == 0) {
148 } else if (strncasecmp(hit, "<feed", strlen("<feed")) == 0) {
150 …} else if (strncasecmp(hit, "<?", strlen("<?")) != 0 && strncasecmp(hit, "<!", strlen("<!")) != 0)…
155 remaining -= (hit + 1) - p;
156 p = hit + 1;
181 const char *hit = memchr(p, '<', remaining);
182 if (!hit) {
187 if (strncasecmp(hit, "<html>", strlen("<html>")) == 0 ||
188 strncasecmp(hit, "<a ", strlen("<a ")) == 0 ||
189 strncasecmp(hit, "<script", strlen("<script")) == 0 ||
190 strncasecmp(hit, "<title>", strlen("<title>")) == 0) {
195 remaining -= (hit + 1) - p;
196 p = hit + 1;
205 const char *hit = NULL;
212 hit = upperhit;
215 hit = lowerhit;
218 hit = MIN(lowerhit, upperhit);
222 if (strncasecmp(hit, "text/html", TEXT_HTML_LENGTH) == 0) {
227 remaining -= (hit + 1) - p;
228 p = hit + 1;