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

Declarations

usr/include/c++/7.4.0/bits/basic_string.h
 2970       compare(const _CharT* __s) const _GLIBCXX_NOEXCEPT;

References

tools/clang/unittests/AST/DeclTest.cpp
  107   ASSERT_TRUE(0 == MangleF.compare("\x01" "foo"));
  108   ASSERT_TRUE(0 == MangleG.compare("goo"));
tools/lldb/source/Plugins/Disassembler/llvm/DisassemblerLLVMC.cpp
  522           if (!str.compare("0")) {
tools/lldb/source/Plugins/ExpressionParser/Clang/ASTResultSynthesizer.cpp
   85           !method_decl->getSelector().getAsString().compare("$__lldb_expr:")) {
   92           !function_decl->getNameInfo().getAsString().compare("$__lldb_expr")) {
tools/lldb/source/Plugins/Process/elf-core/ThreadElfCore.cpp
  260     if (!abi.compare("n64"))
  262     else if (!abi.compare("o32"))
tools/llvm-mca/llvm-mca.cpp
  326   if (!MCPU.compare("native"))
unittests/Support/CommandLineTest.cpp
 1328   EXPECT_TRUE(IncludeDirs.front().compare("/usr/include") == 0);
 1340   EXPECT_TRUE(IncludeDirs.front().compare("/usr/include") == 0);
 1351   EXPECT_TRUE(IncludeDirs.front().compare("/usr/include") == 0);
 1366   EXPECT_TRUE(MacroDefs.front().compare("=HAVE_FOO") == 0);
 1387   EXPECT_TRUE(MacroDefs.front().compare("HAVE_FOO") == 0);
unittests/Support/ErrorTest.cpp
  728   EXPECT_EQ(toString(Error::success()).compare(""), 0);
  731   EXPECT_EQ(toString(std::move(E1)).compare("CustomError {0}"), 0);
  735     EXPECT_EQ(CE.message().compare("CustomError {0}"), 0);
  740                 .compare("CustomError {0}\n"
  883   EXPECT_EQ(toString(std::move(FE1)).compare("'file.bin': CustomError {1}"), 0);
  888     EXPECT_EQ(F.message().compare("'file.bin': CustomError {2}"), 0);
  897     EXPECT_EQ(C.message().compare("CustomError {3}"), 0);
  904                 .compare("'file.bin': CustomError {41}\n"
  960   EXPECT_EQ(toString(std::move(E1)).compare("Error 1."), 0);
  964   EXPECT_EQ(toString(std::move(E2)).compare("Error 1. Detailed information"),
  969     EXPECT_EQ(F.message().compare("Error 2."), 0);
  976                 .compare("Error 1. Detailed information\n"
usr/include/c++/7.4.0/bits/basic_string.h
 6033     { return __rhs.compare(__lhs) == 0; }
 6045     { return __lhs.compare(__rhs) == 0; }
 6109     { return __lhs.compare(__rhs) < 0; }
 6121     { return __rhs.compare(__lhs) > 0; }