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

References

lib/Support/StringRef.cpp
  141   if (N == 0)
  143   if (Size < N)
  145   if (N == 1) {
  150   const char *Stop = Start + (Size - N + 1);
  153   if (Size < 16 || N > 255) {
  155       if (std::memcmp(Start, Needle, N) == 0)
  164   std::memset(BadCharSkip, N, 256);
  165   for (unsigned i = 0; i != N-1; ++i)
  166     BadCharSkip[(uint8_t)Str[i]] = N-1-i;
  169     uint8_t Last = Start[N - 1];
  170     if (LLVM_UNLIKELY(Last == (uint8_t)Needle[N - 1]))
  171       if (std::memcmp(Start, Needle, N - 1) == 0)