Home | History | Annotate | Download | only in Misc

Lines Matching refs:remaining

120     int remaining = MIN(length, WEB_GUESS_MIME_TYPE_PEEK_LENGTH) - (CHANNEL_TAG_LENGTH - 1);
124 while (remaining > 0) {
126 const char *hit = memchr(p, '<', remaining);
155 remaining -= (hit + 1) - p;
178 int remaining = MIN(length, WEB_GUESS_MIME_TYPE_PEEK_LENGTH) - (SCRIPT_TAG_LENGTH - 1);
179 while (remaining > 0) {
181 const char *hit = memchr(p, '<', remaining);
195 remaining -= (hit + 1) - p;
202 remaining = MIN(length, WEB_GUESS_MIME_TYPE_PEEK_LENGTH) - (TEXT_HTML_LENGTH - 1);
203 while (remaining > 0) {
206 const char *lowerhit = memchr(p, 't', remaining);
207 const char *upperhit = memchr(p, 'T', remaining);
227 remaining -= (hit + 1) - p;