/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/include/gtest/ |
H A D | gtest-death-test.h | 168 # define ASSERT_EXIT(statement, predicate, regex) \ argument 169 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_FATAL_FAILURE_) 173 # define EXPECT_EXIT(statement, predicate, regex) \ argument 174 GTEST_DEATH_TEST_(statement, predicate, regex, GTEST_NONFATAL_FAILURE_) 179 # define ASSERT_DEATH(statement, regex) \ argument 180 ASSERT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex) 184 # define EXPECT_DEATH(statement, regex) \ argument 185 EXPECT_EXIT(statement, ::testing::internal::ExitedUnsuccessfully, regex) 259 # define EXPECT_DEBUG_DEATH(statement, regex) \ argument 260 GTEST_EXECUTE_STATEMENT_(statement, regex) [all …]
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/regex/internal/ |
H A D | tests2.d | 3 module std.regex.internal.tests2; 5 package(std.regex): 8 std.typecons, std.regex; 62 auto rtr = regex("a|b|c"); 63 static ctr = regex("a|b|c"); 67 static testCT = regex(`abc|(edf)|xyz`); 68 auto testRT = regex(`abc|(edf)|xyz`); 111 auto r1 = regex("\\b[a-z]+\\b","g"); in test_body() 116 auto free_reg = regex(` in test_body() 131 auto rm = regex(`@(?<=\S+@)\S+`,"g"); in test_body() [all …]
|
/netbsd-src/external/bsd/file/dist/magic/magdir/ |
H A D | ringdove | 6 0 regex/128l ha:rnd-menu-v[0-9]+[\ \t\r\n]*[{] librnd menu system (lihata) 7 0 regex/128l ha:rnd-menu-patch-v[0-9]+[\ \t\r\n]*[{] librnd menu patch (lihata) 8 0 regex/128l ha:coraleda-project-v[0-9]+[\ \t\r\n]*[{] CoralEDA/Ringdove project file (lihata) 9 0 regex/128l ha:ringdove-project-v[0-9]+[\ \t\r\n]*[{] Ringdove project file (lihata) 12 0 regex/128l ha:pcb-rnd-board-v[0-9]+[\ \t\r\n]*[{] pcb-rnd board file (lihata) 13 0 regex/128l li:pcb-rnd-subcircuit-v[0-9]+[\ \t\r\n]*[{] pcb-rnd subcircuit/footprint file (lihata) 14 0 regex/128l ha:pcb-rnd-buffer-v[0-9]+[\ \t\r\n]*[{] pcb-rnd paste buffer content (lihata) 15 0 regex/128l li:pcb-rnd-conf-v[0-9]+[\ \t\r\n]*[{] pcb-rnd configuration (lihata) 16 0 regex/128l ha:pcb-rnd-drc-query-v[0-9]+[\ \t\r\n]*[{] pcb-rnd drc query string (lihata) 17 0 regex/128l li:pcb-rnd-font-v[0-9]+[\ \t\r\n]*[{] pcb-rnd vector font (lihata) [all …]
|
H A D | c-lang | 16 >0 regex \^#include C 17 >>0 regex \^class[[:space:]]+ 18 >>>&0 regex \\{[\.\*]\\}(;)?$ \b++ 23 >0 regex \^#[[:space:]]*pragma C source text 26 >0 regex \^#[[:space:]]*(if\|ifn)def 27 >>&0 regex \^#[[:space:]]*endif$ C source text 30 >0 regex \^#[[:space:]]*(if\|ifn)def 31 >>&0 regex \^#[[:space:]]*define C source text 34 >0 regex \^[[:space:]]*char(\ \\*|\\*)(.+)(=.*)?;[[:space:]]*$ C source text 37 >0 regex \^[[:space:]]*double(\ \\*|\\*)(.+)(=.*)?;[[:space:]]*$ C source text [all …]
|
H A D | sisu | 5 0 regex \^%?[\ \t]*SiSU[\ \t]+insert SiSU text insert 6 >5 regex [0-9.]+ %s 8 0 regex \^%[\ \t]+SiSU[\ \t]+master SiSU text master 9 >5 regex [0-9.]+ %s 11 0 regex \^%?[\ \t]*SiSU[\ \t]+text SiSU text 12 >5 regex [0-9.]+ %s 14 0 regex \^%?[\ \t]*SiSU[\ \t][0-9.]+ SiSU text 15 >5 regex [0-9.]+ %s 17 0 regex \^%*[\ \t]*sisu-[0-9.]+ SiSU text 18 >5 regex [0-9.]+ %s
|
H A D | bioinformatics | 45 >>&0x00 regex =^[@]HD\t.*VN: \b, with SAM header 46 >>>&0 regex =[0-9.]+ \b version %s 122 #0 regex =^@[A-Za-z0-9_.:-]+\?\n 124 #>&1 regex =^[A-Za-z\n.~]++ 126 #>>&1 regex =^[A-Za-z0-9_.:-]*\?\n 128 #>>>&1 regex =^[!-~\n]+\n FASTQ 135 # q>0 regex =^[>][!-~\t\ ]+$ 137 #>>1 regex !=[!-'Jj;:=?@^`|~\\] FASTA 140 #>>>1 regex !=[EFIJLOPQZefijlopqz] \b, with IUPAC nucleotide codes 141 #>>>1 regex =^[EFIJLOPQZefijlopqz]+$ \b, with Amino Acid codes [all …]
|
H A D | ruby | 26 >0 regex \^[[:space:]]*require[[:space:]]'[A-Za-z_/.]+' 27 >>0 regex def\ [a-z]|\ do$ 28 >>>&0 regex \^[[:space:]]*end([[:space:]]+[;#].*)?$ Ruby script text 31 0 regex \^[[:space:]]*(class|module)[[:space:]][A-Z] 32 >0 regex (modul|includ)e\ [A-Z]|def\ [a-z] 33 >>&0 regex \^[[:space:]]*end([[:space:]]+[;#].*)?$ Ruby script text 37 0 regex \^[[:space:]]*(class|module)[[:space:]][A-Z] 38 >&0 regex \^[[:space:]]*end([[:space:]]+[;#if].*)?$ Ruby script text 45 >0 regex \^[[:space:]]*def\ [a-z]|def\ [[:alpha:]]+::[a-z] 46 >>&0 regex \^[[:space:]]*end([[:space:]]+[;#].*)?$ Ruby script text [all …]
|
H A D | subtitle | 9 >6 regex =^[0-9][0-9] \b, rate %s 12 >>>16 regex =^[^\ ]{0,32} \b, title "%s" 13 >>>>224 regex =^[0-9]{2} \b, created %-.2s 14 >>>>>&0 regex =^[0-9]{2} \b-%-.2s 15 >>>>>>&0 regex =^[0-9]{2} \b-%-.2s 19 0 regex/20 =^1[\r\n]+0[01]:[0-9]{2}:[0-9]{2},[0-9]{3}\040--> SubRip 26 >&0 regex/255 =[0-9]{2}:[0-9]{2}\\.[0-9]{3}\040--> WebVTT subtitles 34 >>&0 regex ['"]http://www.w3.org/ns/ttml TTML subtitles
|
H A D | assembler | 5 0 regex \^[\040\t]{0,50}\\.asciiz assembler source text 7 0 regex \^[\040\t]{0,50}\\.byte assembler source text 9 0 regex \^[\040\t]{0,50}\\.even assembler source text 11 0 regex \^[\040\t]{0,50}\\.globl assembler source text 13 0 regex \^[\040\t]{0,50}\\.text assembler source text 15 0 regex \^[\040\t]{0,50}\\.file assembler source text 17 0 regex \^[\040\t]{0,50}\\.type assembler source text
|
H A D | algol68 | 12 0 regex/4006 \^PROC[[:space:]][a-zA-Z0-9_[:space:]]*[[:space:]]= 14 0 regex/1024 \bMODE[\t\ ] 16 0 regex/1024 \bMODE[\t\ ] 18 0 regex/1024 \bREF[\t\ ] 20 0 regex/1024 \bFLEX[\t\ ]\*\\[ 30 #0 regex [\t\ ]OD Algol 68 source text 33 #0 regex [\t\ ]FI Algol 68 source text
|
H A D | terminfo | 17 >>12 regex \^[a-zA-Z0-9][a-zA-Z0-9.][^|]* Compiled terminfo entry "%-s" 30 >>12 regex \^[a-zA-Z0-9][a-zA-Z0-9.][^|]* Compiled 32-bit terminfo entry "%-s" 49 0 regex \^MAX=[0-9]+,[0-9]+$ 50 >1 regex \^BEG=[0-9]+,[0-9]+$ 51 >2 regex \^SCROLL=[0-9]+,[0-9]+$ 52 >3 regex \^VMIN=[0-9]+$ 53 >4 regex \^VTIME=[0-9]+$ 54 >5 regex \^FLAGS=0x[[:xdigit:]]+$ 55 >6 regex \^FG=[0-9],[0-9]+$ 56 >7 regex \^BG=[0-9]+,[0-9]+, Solaris xcurses screen image
|
/netbsd-src/external/gpl2/xcvs/dist/m4/ |
H A D | regex.m4 | 22 [regcomp.c, regex.c, regex.h, 25 AC_ARG_WITH([included-regex], 26 [AC_HELP_STRING([--without-included-regex], 27 [don't compile regex; this is the default on 35 # If the system regex support is good enough that it passes the the 36 # following run test, then default to *not* using the included regex.c. 38 # regex.c. The first failing regular expression is from `Spencer ere 45 #include <regex.h>], 46 [[static struct re_pattern_buffer regex; 53 memset (®ex, 0, sizeof (regex)); [all …]
|
/netbsd-src/external/bsd/tre/dist/lib/ |
H A D | regcomp.c | 22 tre_regncomp(regex_t *preg, const char *regex, size_t n, int cflags) in tre_regncomp() argument 43 const unsigned char *str = (const unsigned char *)regex; in tre_regncomp() 61 consumed = tre_mbrtowc(wcptr, regex, n, &state); in tre_regncomp() 66 if (*regex == '\0') in tre_regncomp() 84 regex += consumed; in tre_regncomp() 96 ret = tre_compile(preg, (const tre_char_t *)regex, n, cflags); in tre_regncomp() 105 tre_regncompb(regex_t *preg, const char *regex, size_t n, int cflags) in tre_regncompb() argument 117 wregex[i] = (tre_char_t) ((unsigned char) regex[i]); in tre_regncompb() 122 ret = tre_compile(preg, (const tre_char_t *)regex, n, cflags | REG_USEBYTES); in tre_regncompb() 130 tre_regcomp(regex_t *preg, const char *regex, int cflags) in tre_regcomp() argument [all …]
|
/netbsd-src/external/gpl2/gettext/dist/gettext-tools/m4/ |
H A D | regex.m4 | 15 gl_INCLUDED_REGEX([lib/regex.c]) 18 dnl Usage: gl_INCLUDED_REGEX([lib/regex.c]) 22 dnl Even packages that don't use regex.c can use this macro. 25 # Assume we'll default to using the included regex.c. 28 # However, if the system regex support is good enough that it passes the 29 # the following run test, then default to *not* using the included regex.c. 31 # regex.c. The first failing regular expression is from `Spencer ere 39 #include <regex.h> 43 static struct re_pattern_buffer regex; 47 memset (®ex, 0, sizeof (regex)); [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/regex/internal/ |
H A D | tests.d | 4 module std.regex.internal.tests; 6 package(std.regex): 9 std.typecons, std.regex; 11 import std.regex.internal.parser : Escapables; // characters that need escaping 17 regex("(a|b)*"); 18 regex(`(?:([0-9A-F]+)\.\.([0-9A-F]+)|([0-9A-F]+))\s*;\s*(.*)\s*#`); 19 regex("abc|edf|ighrg"); 20 auto r1 = regex("abc"); 21 auto r2 = regex("(gylba)"); 30 rc = regex("test"); [all …]
|
/netbsd-src/external/gpl2/diffutils/dist/m4/ |
H A D | regex.m4 | 6 dnl Usage: jm_INCLUDED_REGEX([lib/regex.c]) 10 dnl Even packages that don't use regex.c can use this macro. 13 # Assume we'll default to using the included regex.c. 16 # However, if the system regex support is good enough that it passes the 17 # the following run test, then default to *not* using the included regex.c. 19 # regex.c. The first failing regular expression is from `Spencer ere 25 #include <regex.h> 29 static struct re_pattern_buffer regex; 33 [s = re_compile_pattern ("a[[:@:>@:]]b\n", 9, ®ex);] 39 s = re_compile_pattern ("{1", 2, ®ex); [all …]
|
/netbsd-src/external/apache2/llvm/dist/llvm/utils/unittest/googletest/src/ |
H A D | gtest-port.cc | 736 void RE::Init(const char* regex) { in Init() argument 737 pattern_ = posix::StrDup(regex); in Init() 741 const size_t full_regex_len = strlen(regex) + 10; in Init() 744 snprintf(full_pattern, full_regex_len, "^(%s)$", regex); in Init() 755 const char* const partial_regex = (*regex == '\0') ? "()" : regex; in Init() 759 << "Regular expression \"" << regex in Init() 816 static std::string FormatRegexSyntaxError(const char* regex, int index) { in FormatRegexSyntaxError() argument 818 << " in simple regular expression \"" << regex << "\": ").GetString(); in FormatRegexSyntaxError() 823 bool ValidateRegex(const char* regex) { in ValidateRegex() argument 824 if (regex == nullptr) { in ValidateRegex() [all …]
|
/netbsd-src/lib/libc/regex/ |
H A D | Makefile.inc | 5 .PATH: ${.CURDIR}/regex 11 MAN+= regex.3 re_format.7 13 MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3 \ 14 regex.3 regfree.3 regex.3 regnsub.3 regex.3 regasub.3
|
/netbsd-src/external/bsd/atf/dist/tools/ |
H A D | expand.cpp | 47 std::string regex; in glob_to_regex() local 48 regex.reserve(glob.length() * 2); in glob_to_regex() 50 regex += '^'; in glob_to_regex() 54 case '*': regex += ".*"; break; in glob_to_regex() 55 case '?': regex += "."; break; in glob_to_regex() 56 default: regex += *iter; in glob_to_regex() 59 regex += '$'; in glob_to_regex() 61 return regex; in glob_to_regex()
|
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Support/ |
H A D | Regex.cpp | 29 Regex::Regex(StringRef regex, RegexFlags Flags) { in Regex() argument 32 preg->re_endp = regex.end(); in Regex() 39 error = llvm_regcomp(preg, regex.data(), flags|REG_PEND); in Regex() 42 Regex::Regex(StringRef regex, unsigned Flags) in Regex() argument 43 : Regex(regex, static_cast<RegexFlags>(Flags)) {} in Regex() 45 Regex::Regex(Regex &®ex) { in Regex() argument 46 preg = regex.preg; in Regex() 47 error = regex.error; in Regex() 48 regex.preg = nullptr; in Regex() 49 regex.error = REG_BADPAT; in Regex()
|
/netbsd-src/external/apache2/llvm/dist/llvm/cmake/modules/ |
H A D | ChooseMSVCCRT.cmake | 13 # 2. Replace the flags in both variables with the new flag via a regex. 18 macro(make_crt_regex regex crts) 19 set(${regex} "") 23 set(${regex} "${${regex}}|(^| +)/${crt}($| +)") 25 string(REGEX REPLACE "^\\|" "" ${regex} "${${regex}}") 28 macro(get_current_crt crt_current regex flagsvar) 31 string(REGEX MATCH "${${regex}}" ${crt_current} "${${flagsvar}}") 38 macro(set_flag_in_var flagsvar regex flag) 39 string(REGEX MATCH "${${regex}}" current_flag "${${flagsvar}}") 43 string(REGEX REPLACE "${${regex}}" "${${flag}}" ${flagsvar} "${${flagsvar}}")
|
/netbsd-src/external/gpl3/gcc.old/dist/libphobos/src/std/regex/ |
H A D | package.d | 4 on strings, with $(I regex) being a catchy word for a pattern in this domain 46 import std.regex; 51 auto r = regex(r"\b[0-9][0-9]?/[0-9][0-9]?/[0-9][0-9](?:[0-9][0-9])?\b"); 72 auto multi = regex([`\d+,\d+`,`(a-z]+):(\d+)`]); 88 The general usage guideline is to keep regex complexity on the side of simplicity, 95 For an introduction to $(D std.regex) see a 112 $(I std.regex operates on codepoint level, 174 $(REG_ROW (regex), Matches subexpression regex, 177 $(REG_ROW (?:regex), Matches subexpression regex, 180 $(REG_ROW (?P$(LT)name$(GT)regex), Matches named subexpression [all …]
|
/netbsd-src/external/gpl2/xcvs/dist/diff/ |
H A D | libdiff.dep | 4 "..\lib\regex.h"\ 27 "..\lib\regex.h"\ 41 "..\lib\regex.h"\ 64 "..\lib\regex.h"\ 76 "..\lib\regex.h"\ 88 "..\lib\regex.h"\ 100 "..\lib\regex.h"\ 112 "..\lib\regex.h"\ 124 "..\lib\regex.h"\ 136 "..\lib\regex.h"\
|
/netbsd-src/external/gpl3/gcc/dist/gcc/ |
H A D | opt-functions.awk | 30 function flag_set_p(regex, flags) 34 return (" " flags " ") ~ (" " regex " ") 39 function test_flag(regex, flags, string) 41 if (flag_set_p(regex, flags)) 48 function flag_init(regex, flags) 50 if (flag_set_p(regex, flags)) 51 return "1 /* " regex " */, " 114 regex = langs[j] 115 gsub ( "\\+", "\\+", regex ) 116 result = result test_flag(regex, flags, " | " macros[j])
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/src/std/regex/ |
H A D | package.d | 4 on strings, with $(I regex) being a catchy word for a pattern in this domain 22 $(LREF regex) 47 import std.regex; 52 auto r = regex(r"\b[0-9][0-9]?/[0-9][0-9]?/[0-9][0-9](?:[0-9][0-9])?\b"); 73 auto multi = regex([`\d+,\d+`, `([a-z]+):(\d+)`]); 97 The general usage guideline is to keep regex complexity on the side of simplicity, 104 For an introduction to `std.regex` see a 121 $(I std.regex operates on codepoint level, 187 $(REG_ROW (regex), Matches subexpression regex, 190 $(REG_ROW (?:regex), Matches subexpression regex, [all …]
|