| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Support/ |
| H A D | Regex.h | 28 class Regex { 48 Regex(); 53 Regex(StringRef Regex, RegexFlags Flags = NoFlags); 54 Regex(StringRef Regex, unsigned Flags); 55 Regex(const Regex &) = delete; 56 Regex &operator=(Regex regex) { 61 Regex(Regex &®ex); 62 ~Regex();
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
| H A D | Regex.cpp | 27 Regex::Regex() : preg(nullptr), error(REG_BADPAT) {} in Regex() function in Regex 29 Regex::Regex(StringRef regex, RegexFlags Flags) { in Regex() function in Regex 42 Regex::Regex(StringRef regex, unsigned Flags) in Regex() function in Regex 43 : Regex(regex, static_cast<RegexFlags>(Flags)) {} in Regex() 45 Regex::Regex(Regex &®ex) { in Regex() function in Regex 52 Regex::~Regex() { in ~Regex() 72 bool Regex::isValid(std::string &Error) const { in isValid() 82 unsigned Regex::getNumMatches() const { in getNumMatches() 86 bool Regex::match(StringRef String, SmallVectorImpl<StringRef> *Matches, in match() 136 std::string Regex::sub(StringRef Repl, StringRef String, in sub() [all …]
|
| H A D | SpecialCaseList.cpp | 37 if (Regex::isLiteralERE(Regexp)) { in insert() 52 Regex CheckRE(Regexp); in insert() 57 std::make_pair(std::make_unique<Regex>(std::move(CheckRE)), LineNumber)); in insert() 153 Regex CheckRE(Section); in parse()
|
| H A D | TrigramIndex.cpp | 28 void TrigramIndex::insert(const std::string &Regex) { in insert() argument 35 for (unsigned Char : Regex) { in insert()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/src/ |
| H A D | re.h | 56 class Regex { 58 Regex() : init_(false) {} in Regex() function 60 ~Regex(); 85 inline bool Regex::Init(const std::string& spec, std::string* error) { in Init() 103 inline Regex::~Regex() {} in ~Regex() 105 inline bool Regex::Match(const std::string& str) { in Match() 113 inline bool Regex::Init(const std::string& spec, std::string* error) { in Init() 136 inline Regex::~Regex() { in ~Regex() 142 inline bool Regex::Match(const std::string& str) { in Match()
|
| /netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/src/ |
| H A D | re.h | 61 class Regex { 63 Regex() : init_(false) {} in Regex() function 65 ~Regex(); 90 inline bool Regex::Init(const std::string& spec, std::string* error) { in Init() 109 inline Regex::~Regex() {} in ~Regex() 111 inline bool Regex::Match(const std::string& str) { in Match() 119 inline bool Regex::Init(const std::string& spec, std::string* error) { in Init() 142 inline Regex::~Regex() { in ~Regex() 148 inline bool Regex::Match(const std::string& str) { in Match()
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/ASTMatchers/Dynamic/ |
| H A D | Marshallers.cpp | 116 static constexpr std::pair<llvm::StringRef, llvm::Regex::RegexFlags> 118 {"NoFlags", llvm::Regex::RegexFlags::NoFlags}, 119 {"IgnoreCase", llvm::Regex::RegexFlags::IgnoreCase}, 120 {"Newline", llvm::Regex::RegexFlags::Newline}, 121 {"BasicRegex", llvm::Regex::RegexFlags::BasicRegex}, 124 static llvm::Optional<llvm::Regex::RegexFlags> 142 llvm::Optional<llvm::Regex::RegexFlags> 144 llvm::Regex::RegexFlags>::getFlags(llvm::StringRef Flags) { in getFlags() 145 llvm::Optional<llvm::Regex::RegexFlags> Flag; in getFlags() 149 if (llvm::Optional<llvm::Regex::RegexFlags> NextFlag = in getFlags() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Format/ |
| H A D | BreakableToken.h | 158 const llvm::Regex &CommentPragmasRegex) const = 0; 193 const llvm::Regex &CommentPragmasRegex) const { in getReflowSplit() 258 const llvm::Regex &CommentPragmasRegex) const override; 301 const llvm::Regex &CommentPragmasRegex) const override; 312 const llvm::Regex &CommentPragmasRegex) const = 0; 366 const llvm::Regex &CommentPragmasRegex) const override; 378 const llvm::Regex &CommentPragmasRegex) const override; 387 const llvm::Regex &CommentPragmasRegex) const override; 450 const llvm::Regex &CommentPragmasRegex) const override; 457 const llvm::Regex &CommentPragmasRegex) const override;
|
| H A D | NamespaceEndCommentsFixer.cpp | 93 static const llvm::Regex NamespaceCommentPattern = in validEndComment() 94 llvm::Regex("^/[/*] *(end (of )?)? *(anonymous|unnamed)? *" in validEndComment() 96 llvm::Regex::IgnoreCase); in validEndComment() 97 static const llvm::Regex NamespaceMacroCommentPattern = in validEndComment() 98 llvm::Regex("^/[/*] *(end (of )?)? *(anonymous|unnamed)? *" in validEndComment() 100 llvm::Regex::IgnoreCase); in validEndComment() 131 static const llvm::Regex CommentPattern = llvm::Regex( in validEndComment() 132 "^/[/*] *( +([a-zA-Z0-9:_]+))?\\.? *(\\*/)?$", llvm::Regex::IgnoreCase); in validEndComment()
|
| H A D | FormatTokenLexer.h | 119 llvm::Regex MacroBlockBeginRegex; 120 llvm::Regex MacroBlockEndRegex;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-pdbutil/ |
| H A D | LinePrinter.h | 75 void SetFilters(std::list<Regex> &List, Iter Begin, Iter End) { in SetFilters() 86 std::list<Regex> ExcludeCompilandFilters; 87 std::list<Regex> ExcludeTypeFilters; 88 std::list<Regex> ExcludeSymbolFilters; 90 std::list<Regex> IncludeCompilandFilters; 91 std::list<Regex> IncludeTypeFilters; 92 std::list<Regex> IncludeSymbolFilters;
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-yaml-numeric-parser-fuzzer/ |
| H A D | yaml-numeric-parser-fuzzer.cpp | 15 static llvm::Regex Infinity("^[-+]?(\\.inf|\\.Inf|\\.INF)$"); in isNumericRegex() 16 static llvm::Regex Base8("^0o[0-7]+$"); in isNumericRegex() 17 static llvm::Regex Base16("^0x[0-9a-fA-F]+$"); in isNumericRegex() 18 static llvm::Regex Float( in isNumericRegex()
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/ASTMatchers/ |
| H A D | ASTMatchersMacros.h | 464 std::shared_ptr<llvm::Regex> RE) \ 472 std::shared_ptr<llvm::Regex> Param; \ 476 llvm::StringRef Param, llvm::Regex::RegexFlags RegexFlags) { \ 484 return DefineMatcher(Param, llvm::Regex::NoFlags); \ 489 llvm::Regex::RegexFlags); \ 516 std::shared_ptr<llvm::Regex> RE) \ 524 std::shared_ptr<llvm::Regex> Param; \ 529 std::shared_ptr<llvm::Regex>> \ 530 DefineMatcher(llvm::StringRef Param, llvm::Regex::RegexFlags RegexFlags) { \ 533 std::shared_ptr<llvm::Regex>>( \ [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-cov/ |
| H A D | CoverageFilters.cpp | 30 return llvm::Regex(Regex).match(Function.Name); in matches() 34 return llvm::Regex(Regex).match(Filename); in matchesFilename()
|
| H A D | CoverageFilters.h | 58 StringRef Regex; variable 61 NameRegexCoverageFilter(StringRef Regex) : Regex(Regex) {} in NameRegexCoverageFilter() argument
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Tooling/Inclusions/ |
| H A D | IncludeStyle.h | 58 std::string Regex; member 66 return Regex == Other.Regex && Priority == Other.Priority &&
|
| H A D | HeaderIncludes.h | 43 SmallVector<llvm::Regex, 4> CategoryRegexs; 127 llvm::Regex IncludeRegex;
|
| /netbsd-src/external/mit/libcbor/dist/ |
| H A D | .clang-format | 65 - Regex: '^<ext/.*\.h>' 67 - Regex: '^<.*\.h>' 69 - Regex: '^<.*' 71 - Regex: '.*'
|
| /netbsd-src/external/apache2/llvm/dist/clang/include/clang/Basic/ |
| H A D | CodeGenOptions.h | 292 std::shared_ptr<llvm::Regex> Regex; member 295 OptRemark() : Kind(RK_Missing), Pattern(""), Regex(nullptr) {} in OptRemark() 299 bool hasValidPattern() const { return Regex != nullptr; } in hasValidPattern() 303 return hasValidPattern() && Regex->match(String); in patternMatches()
|
| /netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/regex/internal/ |
| H A D | ir.d | 465 Matcher!Char create(const ref Regex!Char, in Char[] input) const; in MatcherFactory() 480 EngineType!Char construct(const ref Regex!Char re, in Char[] input, void[] memory) const; 482 override EngineType!Char create(const ref Regex!Char re, in Char[] input) const @trusted 528 … override EngineType!Char construct(const ref Regex!Char re, in Char[] input, void[] memory) const 539 … override EngineType!Char construct(const ref Regex!Char re, in Char[] input, void[] memory) const 547 private auto defaultFactoryImpl(Char)(const ref Regex!Char re) in defaultFactoryImpl() 583 @property MatcherFactory!Char defaultFactory(const ref Regex!Char re) @safe pure in defaultFactory() 585 static auto impl(const ref Regex!Char re) in defaultFactory() 590 static auto pureImpl(const ref Regex!Char re) @trusted in defaultFactory() 613 @property ref const(Regex!Char) pattern() @safe; in Matcher() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/clang/lib/Tooling/Inclusions/ |
| H A D | HeaderIncludes.cpp | 194 CategoryRegexs.emplace_back(Category.Regex, Category.RegexIsCaseSensitive in IncludeCategoryManager() 195 ? llvm::Regex::NoFlags in IncludeCategoryManager() 196 : llvm::Regex::IgnoreCase); in IncludeCategoryManager() 203 llvm::Regex MainFileRegex(Style.IncludeIsMainSourceRegex); in IncludeCategoryManager() 260 llvm::Regex MainIncludeRegex(HeaderStem.str() + Style.IncludeIsMainRegex, in isMainHeader() 261 llvm::Regex::IgnoreCase); in isMainHeader() 277 IncludeRegex(llvm::Regex(IncludeRegexPattern)) { in HeaderIncludes()
|
| /netbsd-src/external/bsd/pam-u2f/dist/ |
| H A D | .clang-format | 61 - Regex: '^"(llvm|llvm-c|clang|clang-c)/' 63 - Regex: '^(<|"(gtest|isl|json)/)' 65 - Regex: '.*'
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Remarks/ |
| H A D | RemarkStreamer.cpp | 33 Regex R = Regex(Filter); in setFilter()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-objcopy/ |
| H A D | CommonConfig.h | 93 Regex, // Enabled with --regex. enumerator 99 std::shared_ptr<Regex> R; 104 NameOrPattern(std::shared_ptr<Regex> R) : R(R) {} in NameOrPattern()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/IR/ |
| H A D | DiagnosticHandler.cpp | 25 std::shared_ptr<Regex> Pattern; 30 Pattern = std::make_shared<Regex>(Val); in operator =()
|