Searched refs:npos (Results 51 - 75 of 298) sorted by relevance

1234567891011>>

/freebsd-current/contrib/llvm-project/llvm/lib/Support/
H A DPath.cpp106 if (pos == StringRef::npos)
110 if (pos == StringRef::npos || (pos == 1 && is_separator(str[0], style)))
117 // directory in str, it returns StringRef::npos.
135 return StringRef::npos;
150 (root_dir_pos == StringRef::npos || end_pos > root_dir_pos) &&
328 (root_dir_pos == StringRef::npos || end_pos - 1 > root_dir_pos)) {
471 if (end_pos == StringRef::npos)
478 if (end_pos != StringRef::npos)
490 if (pos != StringRef::npos && pos >= filename_pos(p, style))
584 if (pos == StringRef::npos)
[all...]
H A DProgram.cpp84 const bool Escape = Arg.find_first_of(" \"\\$") != StringRef::npos;
H A DRegex.cpp177 if (End != StringRef::npos && !Ref.getAsInteger(10, RefValue)) {
236 return Str.find_first_of(RegexMetachars) == StringRef::npos;
H A DTarWriter.cpp145 if (Sep == StringRef::npos)
H A DSourceMgr.cpp203 if (NewlineOffs == StringRef::npos)
252 if (StringRef(Ptr, ColNo).find_first_of("\n\r") != StringRef::npos)
402 if (Fixit.getText().find_first_of("\n\r\t") != StringRef::npos)
463 if (NextTab == StringRef::npos) {
H A DFormatVariadic.cpp114 if (BC == StringRef::npos) {
/freebsd-current/contrib/llvm-project/clang/lib/Format/
H A DBreakableToken.h122 /// is equivalent to getRangeLength with a Length of StringRef::npos.
125 return getRangeLength(LineIndex, Offset, StringRef::npos, StartColumn);
185 /// Returning (StringRef::npos, 0) indicates reflowing is not possible.
194 return Split(StringRef::npos, 0);
213 /// A result having offset == StringRef::npos means that no reformat is
216 return Split(StringRef::npos, 0);
H A DFormatTokenLexer.cpp759 StringRef FirstLineText = FirstBreak == StringRef::npos
766 if (LastBreak != StringRef::npos) {
786 if (CloseOffset == StringRef::npos)
795 if (FirstBreak != StringRef::npos) {
828 if (NonDigitPos == StringRef::npos)
895 StringRef FirstLineText = FirstBreak == StringRef::npos
901 if (LastBreak != StringRef::npos) {
922 if (To == StringRef::npos)
994 if (LineOffset == StringRef::npos)
1001 if (FirstSpace == StringRef::npos)
[all...]
/freebsd-current/contrib/llvm-project/lld/ELF/
H A DSymbolTable.cpp75 if (pos != StringRef::npos && pos + 1 < name.size() && name[pos + 1] == '@')
96 if (pos != StringRef::npos)
148 if (pos == std::string::npos)
/freebsd-current/contrib/opencsd/decoder/source/
H A Dtrc_core_arch_map.cpp123 else if (pos != std::string::npos)
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/SymbolFile/Breakpad/
H A DSymbolFileBreakpad.cpp39 m_next_section_idx(0), m_next_line(llvm::StringRef::npos) {
50 m_current_line(llvm::StringRef::npos),
51 m_next_line(llvm::StringRef::npos) {}
82 if (m_next_line != llvm::StringRef::npos) {
85 m_next_line = llvm::StringRef::npos;
111 while (m_next_line != llvm::StringRef::npos ||
113 if (m_next_line != llvm::StringRef::npos) {
529 if (pos == llvm::StringRef::npos) {
537 if (pos == llvm::StringRef::npos)
/freebsd-current/contrib/llvm-project/llvm/tools/llvm-cov/
H A DTestingSupport.cpp70 if (Pos != std::string::npos)
/freebsd-current/cddl/contrib/opensolaris/cmd/dtrace/test/cmd/jdtrace/
H A DJDTrace.java113 int npos = i;
115 for (; (npos < len) &&
116 (!Character.isWhitespace(ch = req.s.charAt(npos)) ||
117 inBlock); ++npos) {
136 while (i < npos) {
137 for (; (i < npos) && (req.s.charAt(i) != '{'); ++i);
139 if ((i < npos) || ((i > 0) && (req.s.charAt(i - 1) != '}'))) {
144 if (i < npos) {
/freebsd-current/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A DFuzzerIOWindows.cpp93 if (Pos == std::string::npos) return Path;
391 if (FileName.find("Program Files") != std::string::npos)
393 if (FileName.find("compiler-rt\\lib\\") != std::string::npos)
H A DFuzzerUtil.h82 if (Pos == std::string::npos)
/freebsd-current/contrib/kyua/engine/
H A Datf_list.cpp59 if (pos == std::string::npos)
/freebsd-current/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DAnalyzerOptions.cpp141 if (Pos == StringRef::npos)
H A DCheckerContext.cpp60 if (start != StringRef::npos) {
/freebsd-current/contrib/llvm-project/llvm/lib/DebugInfo/LogicalView/Core/
H A DLVSupport.cpp40 while ((Pos = Name.find("//", Pos)) != std::string::npos)
/freebsd-current/contrib/llvm-project/llvm/lib/MC/
H A DMCSectionELF.cpp33 "ABCDEFGHIJKLMNOPQRSTUVWXYZ") == Name.npos) {
/freebsd-current/contrib/llvm-project/clang/lib/Tooling/Refactoring/
H A DLookup.cpp211 return std::string(Pos != StringRef::npos
/freebsd-current/contrib/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
H A DCppModuleConfiguration.cpp56 if (pos == llvm::StringRef::npos)
/freebsd-current/contrib/llvm-project/libcxx/src/support/ibm/
H A Dxlocale_zos.cpp95 if (current_loc_name.find(',') != std::string::npos) {
/freebsd-current/contrib/llvm-project/llvm/include/llvm/Support/
H A DFormatProviders.h204 size_t N = StringRef::npos;
376 if (End == StringRef::npos) {
/freebsd-current/contrib/llvm-project/llvm/lib/Object/
H A DCOFFModuleDefinition.cpp95 Buf = (End == Buf.npos) ? "" : Buf.drop_front(End);
129 Buf = (End == Buf.npos) ? "" : Buf.drop_front(End);

Completed in 211 milliseconds

1234567891011>>