| /src/external/bsd/mdocml/dist/ |
| test-rewb-bsd.c | 8 regex_t re; local 10 if (regcomp(&re, "[[:<:]]word[[:>:]]", REG_EXTENDED | REG_NOSUB)) 12 if (regexec(&re, "the word is here", 0, NULL, 0)) 14 if (regexec(&re, "same word", 0, NULL, 0)) 16 if (regexec(&re, "word again", 0, NULL, 0)) 18 if (regexec(&re, "word", 0, NULL, 0)) 20 if (regexec(&re, "wordy", 0, NULL, 0) != REG_NOMATCH) 22 if (regexec(&re, "sword", 0, NULL, 0) != REG_NOMATCH) 24 if (regexec(&re, "reworded", 0, NULL, 0) != REG_NOMATCH)
|
| test-rewb-sysv.c | 8 regex_t re; local 10 if (regcomp(&re, "\\<word\\>", REG_EXTENDED | REG_NOSUB)) 12 if (regexec(&re, "the word is here", 0, NULL, 0)) 14 if (regexec(&re, "same word", 0, NULL, 0)) 16 if (regexec(&re, "word again", 0, NULL, 0)) 18 if (regexec(&re, "word", 0, NULL, 0)) 20 if (regexec(&re, "wordy", 0, NULL, 0) != REG_NOMATCH) 22 if (regexec(&re, "sword", 0, NULL, 0) != REG_NOMATCH) 24 if (regexec(&re, "reworded", 0, NULL, 0) != REG_NOMATCH)
|
| /src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/cmake/ |
| gnu_posix_regex.cpp | 5 regex_t re; local 6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 10 return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
|
| std_regex.cpp | 5 std::regex re; local 6 re = std::regex("^[a-z]+[0-9]+$", 8 return std::regex_search(str, re) ? 0 : -1;
|
| posix_regex.cpp | 5 regex_t re; local 6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 10 int ret = regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0; 11 regfree(&re);
|
| /src/external/apache2/llvm/dist/llvm/utils/benchmark/cmake/ |
| gnu_posix_regex.cpp | 5 regex_t re; local 6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 10 return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0;
|
| std_regex.cpp | 5 std::regex re; local 6 re = std::regex("^[a-z]+[0-9]+$", 8 return std::regex_search(str, re) ? 0 : -1;
|
| posix_regex.cpp | 5 regex_t re; local 6 int ec = regcomp(&re, "^[a-z]+[0-9]+$", REG_EXTENDED | REG_NOSUB); 10 int ret = regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0; 11 regfree(&re);
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.python/ |
| py-auto-load-chaining-f1.o-gdb.py | 19 import re namespace 28 filename = re.sub(r"-f1.o$", "-f2.o", filename)
|
| py-objfile-script-gdb.py | 18 import re namespace 61 pretty_printers_dict[re.compile("^ss$")] = pp_ss
|
| py-section-script.py | 18 import re namespace 61 pretty_printers_dict[re.compile("^ss$")] = pp_ss
|
| /src/external/mpl/bind/dist/bin/tests/system/isctest/ |
| transfer.py | 12 from re import Pattern 14 import re namespace 39 source_str = re.escape(source_ns) if source_ns is not None else ".*" 41 msg_str = msg.pattern if isinstance(msg, Pattern) else re.escape(msg) 43 return re.compile( 44 re.escape(f"transfer of '{zone}/IN' from ")
|
| /src/lib/libc/locale/ |
| _wctrans.c | 85 _RuneEntry *base, *re; local 96 re = base + (x >> 1); 97 if (re->re_min <= c0 && re->re_max >= c0) 98 return (re->re_map + c0 - re->re_min); 99 else if (c0 >= re->re_max) { 100 base = re + 1;
|
| _wctype.c | 79 _RuneEntry *base, *re; local 93 re = base + (x >> 1); 94 if (re->re_min <= wc0 && re->re_max >= wc0) { 95 if (re->re_rune_types) 96 return re->re_rune_types[wc0 - re->re_min]; 98 return re->re_map; 99 } else if (wc0 > re->re_max) { 100 base = re + 1 [all...] |
| /src/external/lgpl3/mpc/dist/tests/ |
| tpl_mpc.c | 26 mpfr_rnd_t re, im; local 27 tpl_read_mpfr_rnd (datafile_context, &re); 29 *rnd = MPC_RND (re, im);
|
| /src/external/gpl3/gdb.old/dist/gdb/testsuite/ |
| analyze-racy-logs.py | 32 import re namespace 59 sum_matcher = re.compile("^(.?(PASS|FAIL)): (.*)$") 68 m = re.match(sum_matcher, line) 74 test_name = re.sub(r"(\s+)?\(.*$", "", test_name)
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/ |
| analyze-racy-logs.py | 32 import re namespace 59 sum_matcher = re.compile("^(.?(PASS|FAIL)): (.*)$") 67 m = re.match(sum_matcher, line) 73 test_name = re.sub(r"(\s+)?\(.*$", "", test_name)
|
| /src/external/gpl3/gdb/dist/gdb/testsuite/gdb.rust/ |
| pp.py | 19 import re namespace
|
| /src/external/mpl/bind/dist/bin/tests/system/rndc_confgen/ |
| tests_rndc_confgen.py | 14 import re namespace 22 match = re.search(rb'secret\s+"([^"]+)"', stdout)
|
| /src/tests/lib/libc/regex/ |
| t_regex_binary.c | 45 regex_t re; local 49 if ((e = regcomp(&re, "[\xe0-\xf1][\xa0-\xd1].*", REG_EXTENDED)) != 0) { 50 regerror(e, &re, msg, sizeof(msg)); 63 regex_t re; local 68 if ((e = regcomp(&re, ": j:[]j:[]j:[\xd9j:[]", REG_EXTENDED)) != 0) { 69 regerror(e, &re, msg, sizeof(msg));
|
| /src/external/gpl3/gdb/dist/sim/testsuite/bfin/ |
| e0.s | 12 P1 = re (Z); // load a pointer to ihandler interrupt 1 13 P1.H = re; 32 re: label
|
| /src/external/gpl3/gdb.old/dist/sim/testsuite/bfin/ |
| e0.s | 12 P1 = re (Z); // load a pointer to ihandler interrupt 1 13 P1.H = re; 32 re: label
|
| /src/external/gpl3/gdb/dist/gdb/python/lib/gdb/function/ |
| caller_is.py | 17 import re namespace 83 return re.match(name.string(), frame.name()) is not None 144 name_re = re.compile(name.string())
|
| strfns.py | 19 import re namespace 97 r = re.compile(regex.string())
|
| /src/external/gpl3/gdb/dist/gdb/syscalls/ |
| riscv-canonicalize-syscall-gen.py | 38 import re namespace 90 match = re.search(r"\s*(?P<name>gdb_sys_[^S]+)\S*=", line) 102 match = re.match(
|