reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Support/StringRef.cpp
  146     const char *Ptr = (const char *)::memchr(Start, Needle[0], Size);
  150   const char *Stop = Start + (Size - N + 1);
  155       if (std::memcmp(Start, Needle, N) == 0)
  156         return Start - Data;
  157       ++Start;
  158     } while (Start < Stop);
  169     uint8_t Last = Start[N - 1];
  171       if (std::memcmp(Start, Needle, N - 1) == 0)
  172         return Start - Data;
  175     Start += BadCharSkip[Last];
  176   } while (Start < Stop);