|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/ADT/SmallString.h 147 return str().find(C, From);
include/llvm/ADT/StringRef.h 401 return find(C, From);
include/llvm/DebugInfo/GSYM/StringTable.h 31 auto End = Data.find('\0', Offset);
lib/Analysis/TargetLibraryInfo.cpp 610 if (funcName.empty() || funcName.find('\0') != StringRef::npos)
lib/Analysis/ValueTracking.cpp 3580 Str = Str.substr(0, Str.find('\0'));
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp 197 if (Filename.find(':') == 1)
lib/CodeGen/AsmPrinter/DwarfDebug.cpp 437 Class = In.slice(In.find('[') + 1, In.find(' '));
437 Class = In.slice(In.find('[') + 1, In.find(' '));
442 Class = In.slice(In.find('[') + 1, In.find('('));
442 Class = In.slice(In.find('[') + 1, In.find('('));
443 Category = In.slice(In.find('[') + 1, In.find(' '));
443 Category = In.slice(In.find('[') + 1, In.find(' '));
447 return In.slice(In.find(' ') + 1, In.find(']'));
447 return In.slice(In.find(' ') + 1, In.find(']'));
lib/CodeGen/TargetLoweringBase.cpp 1855 Position = In.find(RefStepToken);
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldChecker.cpp 38 size_t EQIdx = Expr.find('=');
336 size_t ComaIdx = RemainingExpr.find(',');
373 size_t ComaIdx = RemainingExpr.find(',');
lib/IR/Constants.cpp 2795 return Str.drop_back().find(0) == StringRef::npos;
lib/IR/IntrinsicInst.cpp 76 CmpEnd = Name.find('.', CmpStart + 1);
lib/IR/PassTimingInfo.cpp 231 size_t prefix_pos = PassID.find('<');
lib/MC/ELFObjectWriter.cpp 1283 size_t Pos = AliasName.find('@');
lib/MC/MCAsmStreamer.cpp 378 size_t Position = Comments.find('\n');
lib/MC/MCDisassembler/Disassembler.cpp 153 size_t Position = Comments.find('\n');
lib/MC/MCParser/DarwinAsmParser.cpp 712 size_t B = SectionVal.find(',') + 1, E = SectionVal.find(',', B);
712 size_t B = SectionVal.find(',') + 1, E = SectionVal.find(',', B);
lib/MC/MCParser/ELFAsmParser.cpp 778 if (AliasName.find('@') == StringRef::npos)
lib/Object/Archive.cpp 117 StringRef(ArMemHdr->Name, sizeof(ArMemHdr->Name)).find(EndCond);
181 size_t End = Parent->getStringTable().find('\n', /*From=*/StringOffset);
892 t.StringIndex = Parent->getSymbolTable().find('\0', t.StringIndex) + 1;
lib/Object/COFFModuleDefinition.cpp 101 size_t End = Buf.find('\n');
lib/Object/MachOObjectFile.cpp 952 uint32_t NullPos = StringRef(string, left).find('\0');
lib/Option/OptTable.cpp 290 if (Option.find(Last) == LHS.size())
lib/ProfileData/InstrProf.cpp 1119 auto Pos = MemOPSizeRange.find(':');
lib/ProfileData/SampleProfReader.cpp 106 size_t n1 = Input.find(':');
108 size_t n2 = Loc.find('.');
123 size_t n3 = Rest.find(' ');
lib/Support/CommandLine.cpp 515 size_t EqualPos = Arg.find('=');
614 StringRef::size_type Pos = Val.find(',');
623 Pos = Val.find(',');
lib/Support/DataExtractor.cpp 156 StringRef::size_type pos = Data.find('\0', offset);
166 StringRef::size_type Pos = Data.find('\0', Start);
lib/Support/FileCheck.cpp 276 size_t DefEnd = Expr.find(':');
1785 size_t EqIdx = CmdlineDef.find('=');
lib/Support/GlobPattern.cpp 80 size_t End = S.find(']', 2);
lib/Support/SourceMgr.cpp 343 size_t NextTab = LineContents.find('\t', i);
lib/Support/StringRef.cpp 349 size_t Idx = S.find(Separator);
lib/Support/Unix/Program.inc 73 if (Name.find('/') != StringRef::npos)
lib/Support/YAMLParser.cpp 1890 StringRef::size_type i = UnquotedValue.find('\'');
1895 for (; i != StringRef::npos; i = UnquotedValue.find('\'')) {
lib/Target/AArch64/AsmParser/AArch64AsmParser.cpp 2884 if (Name.find('.') != StringRef::npos)
3138 size_t Start = 0, Next = Name.find('.');
3776 size_t Start = 0, Next = Name.find('.');
3792 Next = Name.find('.', Start + 1);
3809 Next = Name.find('.', Start + 1);
lib/Target/ARM/AsmParser/ARMAsmParser.cpp 4961 size_t Start = 0, Next = Mask.find('_');
6771 size_t Start = 0, Next = Name.find('.');
6773 StringRef ExtraToken = Name.slice(Next, Name.find(' ', Next + 1));
6901 Next = Name.find('.', Start + 1);
lib/Target/Hexagon/AsmParser/HexagonAsmParser.cpp 1000 size_t First = RawString.find('.');
lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp 1037 size_t Next = Name.find('.');
lib/Target/PowerPC/AsmParser/PPCAsmParser.cpp 1574 size_t Dot = Name.find('.');
lib/Transforms/IPO/SampleProfile.cpp 1734 auto pos = OrigName.find('.');
lib/Transforms/Utils/SimplifyLibCalls.cpp 376 : Str.find(CharC->getSExtValue());
979 size_t I = Str.find(CharC->getSExtValue() & 0xFF);
2357 FormatStr.find('%') == StringRef::npos) { // No format characters.
2425 if (FormatStr.find('%') != StringRef::npos)
2526 if (FormatStr.find('%') != StringRef::npos)
2615 if (FormatStr.find('%') != StringRef::npos)
tools/clang/lib/AST/Expr.cpp 4059 if (Comp.substr(i + 1).find(Comp[i]) != StringRef::npos)
tools/clang/lib/AST/ExprConstant.cpp10726 StringRef::size_type Pos = Str.find(0);
tools/clang/lib/Basic/Targets/AMDGPU.h 141 auto E = S.find('}');
tools/clang/lib/Basic/Version.cpp 40 URL = SVNRepository.slice(SVNRepository.find(':'),
tools/clang/lib/Driver/Driver.cpp 858 size_t ArchPrefixLen = CfgFileArch.find('-');
tools/clang/lib/Driver/ToolChains/Clang.cpp 160 Position = In.find(RefinementStepToken);
538 if (Map.find('=') == StringRef::npos)
tools/clang/lib/Driver/ToolChains/CommonArgs.cpp 106 while ((Delim = Dirs.find(llvm::sys::EnvPathSeparator)) != StringRef::npos) {
tools/clang/lib/Driver/ToolChains/Cuda.cpp 190 LibDeviceName.size(), FileName.find('.', LibDeviceName.size()));
tools/clang/lib/Driver/ToolChains/MSVC.cpp 1472 size_t Hash = Val.find('#');
1473 if (Hash == StringRef::npos || Hash > Val.find('=')) {
tools/clang/lib/Format/Encoding.h 66 StringRef::size_type TabPos = Tail.find('\t');
tools/clang/lib/Format/Format.cpp 2003 auto Pos = Code.find('\n', SearchFrom);
2162 auto Pos = Code.find('\n', SearchFrom);
tools/clang/lib/Format/FormatTokenLexer.cpp 464 size_t FirstBreak = LiteralText.find('\n');
709 size_t BackslashPos = FormatTok->TokenText.find('\\');
723 BackslashPos = FormatTok->TokenText.find('\\', BackslashPos + 1);
789 size_t FirstNewlinePos = Text.find('\n');
tools/clang/lib/Frontend/CompilerInvocation.cpp 358 if (val.find('=') != StringRef::npos) {
1449 if (Val.find('=') == StringRef::npos)
1864 if (Val.find('=') == StringRef::npos)
2064 if (Val.find('=') != StringRef::npos)
3292 size_t Comma = Value.find(',');
tools/clang/lib/Frontend/TextDiagnostic.cpp 48 size_t Pos = Str.find(ToggleHighlight);
617 const unsigned Length = std::min(Str.find('\n'), Str.size());
tools/clang/lib/Frontend/VerifyDiagnosticConsumer.cpp 763 size_t loc = C.find('\\');
772 for (size_t last = 0;; loc = C.find('\\', last)) {
tools/clang/lib/Lex/HeaderSearch.cpp 495 size_t SlashPos = Filename.find('/');
947 size_t SlashPos = Filename.find('/');
978 Filename.find('/') == StringRef::npos) {
1031 size_t SlashPos = Filename.find('/');
tools/clang/lib/Lex/LiteralSupport.cpp 1047 if (Str.find('\'') != StringRef::npos) {
tools/clang/lib/Lex/PPDirectives.cpp 1826 size_t SlashPos = OriginalFilename.find('/');
tools/clang/lib/Rewrite/Rewriter.cpp 262 if (indentNewLines && Str.find('\n') != StringRef::npos) {
tools/clang/lib/Sema/SemaChecking.cpp 8800 StrRef.substr(0, TypeSize).find('\0') == StringRef::npos) {
tools/clang/lib/Sema/SemaExpr.cpp11239 LHSStrRef.find('\'') != StringRef::npos ||
11240 RHSStrRef.find('\'') != StringRef::npos)
tools/clang/lib/StaticAnalyzer/Checkers/CStringChecker.cpp 1994 size_t s1Term = s1StrRef.find('\0');
1998 size_t s2Term = s2StrRef.find('\0');
tools/clang/lib/StaticAnalyzer/Core/SarifDiagnostics.cpp 67 StringRef::npos != StringRef("-._~:@!$&'()*+,;=").find(C))
tools/clang/lib/Tooling/RefactoringCallbacks.cpp 187 size_t NextIndex = ToTemplate.find('$', Index + 1);
tools/clang/tools/driver/driver.cpp 119 Edit.slice(2, Edit.size()-1).find('/') != StringRef::npos) {
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp 215 if (DeclName.find(':') == llvm::StringRef::npos)
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp 276 const size_t BracketEndIndex = Line.find(')', BracketIndex);
tools/clang/tools/extra/clang-tidy/GlobList.cpp 29 StringRef UntrimmedGlob = GlobList.substr(0, GlobList.find(','));
37 else if (MetaChars.find(C) != StringRef::npos)
tools/clang/tools/extra/clang-tidy/android/CloexecCheck.cpp 90 if (!ModeStr || (ModeStr->getString().find(Mode) != StringRef::npos))
tools/clang/tools/extra/clang-tidy/modernize/RawStringLiteralCheck.cpp 23 size_t BackSlash = HayStack.find('\\');
28 if (Escapes.find(HayStack[BackSlash + 1]) == StringRef::npos)
30 BackSlash = HayStack.find('\\', BackSlash + 2);
38 const size_t QuotePos = Text.find('"');
tools/clang/tools/extra/clang-tidy/readability/BracesAroundStatementsCheck.cpp 100 if (Comment.startswith("/*") && Comment.find('\n') != StringRef::npos) {
tools/clang/tools/extra/clangd/SourceCode.cpp 166 size_t NextNL = Code.find('\n', StartOfLine);
tools/clang/tools/extra/clangd/URI.cpp 168 auto Pos = Uri.find(':');
178 Pos = Uri.find('/');
tools/clang/tools/extra/clangd/index/Serialization.cpp 219 auto Len = R.rest().find(0);
tools/clang/unittests/AST/DeclTest.cpp 84 AST->findFileRegionDecls(MainFileID, Code.find('{'), 0, Decls);
tools/clang/utils/TableGen/NeonEmitter.cpp 358 if (Proto.find('i') != std::string::npos)
363 if (Proto.find('p') != std::string::npos ||
364 Proto.find('c') != std::string::npos)
370 Proto.find('s') != std::string::npos)
tools/dsymutil/DwarfLinker.cpp 1444 size_t FirstSpace = ClassNameStart.find(' ');
1461 size_t OpenParens = ClassName.find('(');
tools/lld/COFF/Driver.cpp 973 if ((firstMark = altPath.find('%', cursor)) == StringRef::npos ||
974 (secondMark = altPath.find('%', firstMark + 1)) == StringRef::npos) {
tools/lld/COFF/DriverUtils.cpp 605 sym = sym.substr(0, sym.find('@', 1));
tools/lld/COFF/InputFiles.cpp 855 extName = extName.substr(0, extName.find('@'));
tools/lld/COFF/PDB.cpp 1376 bool hasWS = a.find(' ') != StringRef::npos;
1377 bool hasQ = a.find('"') != StringRef::npos;
tools/lld/COFF/Writer.cpp 639 return s.substr(0, s.find('.', 1));
tools/lld/ELF/InputSection.cpp 1211 return s.find(0);
tools/lld/ELF/ScriptLexer.cpp 154 size_t e = s.find('\n', 1);
tools/lld/ELF/SymbolTable.cpp 59 size_t pos = name.find('@');
tools/lld/ELF/Symbols.cpp 207 size_t pos = s.find('@');
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileFromAtoms.cpp 363 size_t seperatorIndex = customName.find('/');
tools/lld/lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp 761 auto colonIdx = stabSym.name.find(':');
tools/lldb/source/Breakpoint/BreakpointIDList.cpp 159 size_t pos = tmp_str.find('.');
tools/lldb/source/Commands/CommandObjectCommands.cpp 1064 regex_sed.find(separator_char, first_separator_char_pos + 1);
1077 regex_sed.find(separator_char, second_separator_char_pos + 1);
tools/lldb/source/Core/FormatEntity.cpp 515 const size_t open_bracket_index = subpath.find('[');
522 close_bracket_index = subpath.find(']', open_bracket_index + 1);
537 const size_t separator_index = subpath.find('-', open_bracket_index + 1);
2285 const size_t paren_pos = format_str.find('}');
2287 const size_t percent_pos = format_str.find('%');
2367 const size_t close_pos = str.find('}', dollar_pos + 2);
2371 const size_t format_pos = str.find('%', dollar_pos + 2);
tools/lldb/source/Core/ValueObject.cpp 2498 size_t close_bracket_position = temp_expression.find(']', 1);
tools/lldb/source/Interpreter/CommandInterpreter.cpp 2554 size_t pos = S.find(' ');
tools/lldb/source/Interpreter/OptionValueProperties.cpp 162 size_t pos = predicate_start.find('}');
tools/lldb/source/Plugins/Language/CPlusPlus/MSVCUndecoratedNameParser.cpp 75 return name.find('`') != llvm::StringRef::npos;
tools/lldb/source/Plugins/LanguageRuntime/CPlusPlus/CPPLanguageRuntime.cpp 178 size_t first_open_angle_bracket = vtable_name.find('<') + 1;
179 size_t first_comma = vtable_name.find(',');
tools/lldb/source/Plugins/ObjectFile/ELF/ObjectFileELF.cpp 1531 size_t pos = symbol_name.find('@');
2216 size_t version_pos = symbol_ref.find('@');
tools/lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp 1496 size_t pos = build_str.find(')');
tools/lldb/source/Plugins/Process/gdb-remote/GDBRemoteCommunicationClient.cpp 1482 if (value.find('r') != llvm::StringRef::npos)
1487 if (value.find('w') != llvm::StringRef::npos)
1492 if (value.find('x') != llvm::StringRef::npos)
tools/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.cpp 144 size_t dot_pos = name.find('.');
168 size_t dot_pos = name.find('.');
tools/lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp 2851 if (word_sr.find('"') != llvm::StringRef::npos ||
2852 word_sr.find('\'') != llvm::StringRef::npos)
tools/lldb/source/Plugins/SymbolFile/Breakpad/SymbolFileBreakpad.cpp 75 m_next_line = m_section_text.find('\n', m_current_line);
tools/lldb/source/Symbol/Type.cpp 684 size_t template_begin = basename.find('<');
706 template_begin = basename.find('<');
tools/lldb/source/Utility/Args.cpp 144 size_t quoted = command.find(special);
tools/lldb/source/Utility/ReproducerInstrumentation.cpp 29 auto pos = m_buffer.find('\0');
tools/lldb/source/Utility/UriParser.cpp 32 auto path_pos = uri.find('/', host_pos);
45 pos = host_port.find(']');
tools/lldb/tools/lldb-test/lldb-test.cpp 352 size_t pos = Cmd.find('%');
tools/llvm-config/llvm-config.cpp 244 const size_t NextOffset = DyLibComponentsStr.find(';', Offset);
tools/llvm-cxxdump/llvm-cxxdump.cpp 318 TINames[SymName] = SymContents.slice(0, SymContents.find('\0'));
tools/llvm-diff/DiffConsumer.cpp 167 size_t percent = format.find('%');
tools/llvm-elfabi/ELFObjHandler.cpp 48 size_t StrEnd = Str.find('\0', Offset);
tools/llvm-mc/Disassembler.cpp 119 Str = Str.substr(Str.find('\n'));
tools/llvm-objdump/MachODump.cpp 7171 size_t Position = Comments.find('\n');
9257 uint32_t NullPos = StringRef(string, left).find('\0');
tools/llvm-profdata/llvm-profdata.cpp 591 else if (SanitizedEntry.find(',') == StringRef::npos)
tools/llvm-readobj/COFFDumper.cpp 1090 size_t EqOrEnd = FrameFunc.find('=');
unittests/ADT/StringRefTest.cpp 459 EXPECT_EQ(E.Pos, E.Str.find(E.C, E.From));
unittests/Support/VirtualFileSystemTest.cpp 1357 VersionPlusContent += Content.slice(Content.find('{') + 1, StringRef::npos);
utils/TableGen/AsmMatcherEmitter.cpp 975 if (Variant.BreakCharacters.find(Char) != std::string::npos) {
984 if (Variant.TokenizingCharacters.find(Char) != std::string::npos) {
995 if (Variant.SeparatorCharacters.find(Char) != std::string::npos) {
1032 size_t EndPos = String.find('}', i);
1081 if (Tok[0] == '$' && Tok.find(':') != StringRef::npos)