Lines Matching refs:pos
306 const char* pos;
307 for (pos = content; pos < end; ++pos) {
308 if (!IsAsciiWhitespace(*pos))
315 // |pos| now points to first non-whitespace character (or at end).
316 return CheckForMagicNumbers(pos, end - pos,
365 const char* pos = content;
377 for (int i = 0; i < kMaxTagIterations && pos < end; ++i) {
378 pos = reinterpret_cast<const char*>(memchr(pos, '<', end - pos));
379 if (!pos)
382 if (base::strncasecmp(pos, "<?xml", sizeof("<?xml")-1) == 0) {
384 ++pos;
386 } else if (base::strncasecmp(pos, "<!DOCTYPE",
389 ++pos;
393 if (CheckForMagicNumbers(pos, end - pos,
409 return pos < end;