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

Declarations

include/llvm/ADT/StringRef.h
  487     size_t count(StringRef Str) const;

References

include/llvm/ADT/SmallString.h
  229     return str().count(Str);
lib/ProfileData/InstrProf.cpp
  387                  .count(getInstrProfNameSeparator()) == (NameStrs.size() - 1) &&
lib/Target/Hexagon/HexagonInstrInfo.cpp
 1747   Length += AStr.count(Occ)*4;
tools/clang/lib/Frontend/Rewrite/InclusionRewriter.cpp
  317     Line += TextToWrite.count(LocalEOL);
tools/lldb/unittests/Utility/TimerTest.cpp
   45   ASSERT_EQ(ss.GetString().count("CAT1"), 1U);
tools/llvm-cov/SourceCoverageViewHTML.cpp
  254   unsigned NumSeps = ViewPath.count(PathSep);
tools/polly/lib/Analysis/ScopDetection.cpp
 1655   if (!CurRegion.getEntry()->getName().count(OnlyRegion)) {
tools/polly/lib/Analysis/ScopGraphPrinter.cpp
  207     if (ViewFilter != "" && !F.getName().count(ViewFilter))
unittests/ADT/StringRefTest.cpp
  504   EXPECT_EQ(0U, Str.count("helloworld"));
  505   EXPECT_EQ(1U, Str.count("hello"));
  506   EXPECT_EQ(1U, Str.count("ello"));
  507   EXPECT_EQ(0U, Str.count("zz"));