Home
last modified time | relevance | path

Searched refs:regexec (Results 1 – 25 of 235) sorted by relevance

12345678910

/netbsd-src/external/bsd/mdocml/dist/
H A Dtest-rewb-sysv.c12 if (regexec(&re, "the word is here", 0, NULL, 0)) in main()
14 if (regexec(&re, "same word", 0, NULL, 0)) in main()
16 if (regexec(&re, "word again", 0, NULL, 0)) in main()
18 if (regexec(&re, "word", 0, NULL, 0)) in main()
20 if (regexec(&re, "wordy", 0, NULL, 0) != REG_NOMATCH) in main()
22 if (regexec(&re, "sword", 0, NULL, 0) != REG_NOMATCH) in main()
24 if (regexec(&re, "reworded", 0, NULL, 0) != REG_NOMATCH) in main()
H A Dtest-rewb-bsd.c12 if (regexec(&re, "the word is here", 0, NULL, 0)) in main()
14 if (regexec(&re, "same word", 0, NULL, 0)) in main()
16 if (regexec(&re, "word again", 0, NULL, 0)) in main()
18 if (regexec(&re, "word", 0, NULL, 0)) in main()
20 if (regexec(&re, "wordy", 0, NULL, 0) != REG_NOMATCH) in main()
22 if (regexec(&re, "sword", 0, NULL, 0) != REG_NOMATCH) in main()
24 if (regexec(&re, "reworded", 0, NULL, 0) != REG_NOMATCH) in main()
/netbsd-src/lib/libc/regex/
H A DMakefile.inc9 SRCS+= regcomp.c regerror.c regexec.c regfree.c regsub.c
13 MLINKS+=regex.3 regcomp.3 regex.3 regexec.3 regex.3 regerror.3 \
16 LINTFLAGS.regexec.c += -X 129,191
H A Dregexec.c71 __weak_alias(regexec,_regexec) in __weak_alias() argument
226 regexec(const regex_t * __restrict preg, in regexec() function
/netbsd-src/crypto/external/bsd/netpgp/dist/src/libpaa/
H A Dlibpaa.c102 if (regexec(&id_re, response, 10, matches, 0) != 0) { in fill_identity()
111 if (regexec(&response_re, raw_challenge, 10, matches, 0) != 0) { in fill_identity()
242 if (regexec(&r, in, 10, matches, 0) != 0) { in paa_format_response()
283 if (regexec(&signature_regex, response, 10, matches, 0) != 0) { in paa_check_response()
302 if (regexec(&challenge_regex, verified, 10, matches, 0) != 0) { in paa_check_response()
319 if (regexec(&realm_regex, response, 10, matches, 0) != 0) { in paa_check_response()
/netbsd-src/crypto/external/bsd/netpgp/dist/src/hkpd/
H A Dhkpd.c259 if (regexec(&get, buf, 10, opmatches, 0) != 0) { in hkpd()
263 if (ok && regexec(&opterm, buf, 10, opmatches, 0) != 0) { in hkpd()
267 if (ok && regexec(&fmtterm, buf, 3, fmtmatch, 0) == 0) { in hkpd()
274 if (ok && regexec(&searchterm, buf, 10, searchmatches, 0) != 0) { in hkpd()
/netbsd-src/distrib/utils/libhack/
H A DMakefile.inc28 aligned_alloc.o regcomp.o regexec.o wrap.o
86 regexec.o: ${HACKSRC}/../../../lib/libc/regex/regexec.c
/netbsd-src/tests/fs/cd9660/
H A Dh_hexdump_r.c66 if (regexec(&data_re, line, 18, m, 0) == 0) { in main()
72 } else if (regexec(&end_re, line, 2, m, 0) == 0) { in main()
/netbsd-src/external/bsd/tre/dist/
H A DChangeLog.old123 * lib/Makefile.am, lib/regexec.c, tests/Makefile.am: Fixed to
256 * tests/retest.c: Changed to run all regexec tests also with a
331 * lib/regexec.c (tre_match_approx): Fixed to return error if the
447 * lib/regex.h: regcomp, regexec, regerror, and regfree weren't
512 * lib/regcomp.c, lib/regexec.c, lib/tre-config.h.in:
552 * lib/regexec.c, lib/tre-internal.h: Related changes (no more
565 * lib/regexec.c, lib/regex.h: Changed API of approximate matching
586 * lib/regcomp.c, lib/regexec.c, lib/regexec-bt.c, lib/tre.h:
597 * lib/regcomp.c, lib/regex.h, lib/regexec.c, lib/tre.h: Related
616 * lib/regexec.c (tnfa_execute_approx): Implemented approximate
[all …]
H A DREADME.md127 consumed by any regexec() call is always directly proportional to
137 A regexec() call never allocates memory from the heap. TRE
140 the regexec() call. The amount of temporary space needed is
145 temporary working space from the stack frame during a regexec()
246 * A REG_SHORTEST regexec() flag for returning the shortest match
/netbsd-src/external/bsd/nvi/dist/common/
H A Dsearch.c246 eval = regexec(&sp->re_c, l, 1, match, in f_search()
383 eval = regexec(&sp->re_c, l, 1, match, in b_search()
418 eval = regexec(&sp->re_c, l, 1, match, in b_search()
/netbsd-src/external/bsd/tre/dist/lib/
H A Dtre.h28 __weak_alias(regexec, tre_regexec) in __weak_alias()
33 #define tre_regexec regexec in __weak_alias()
H A Dregex.h21 #define regexec tre_regexec macro
/netbsd-src/external/apache2/llvm/dist/llvm/utils/benchmark/cmake/
H A Dgnu_posix_regex.cpp10 return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0; in main()
H A Dposix_regex.cpp10 int ret = regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0; in main()
/netbsd-src/external/apache2/llvm/dist/libcxx/utils/google-benchmark/cmake/
H A Dgnu_posix_regex.cpp10 return regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0; in main()
H A Dposix_regex.cpp10 int ret = regexec(&re, str.c_str(), 0, nullptr, 0) ? -1 : 0; in main()
/netbsd-src/external/gpl2/grep/
H A DMakefile.inc5 SANITIZER_RENAME_SYMBOL+= regcomp regerror regexec regfree
/netbsd-src/external/bsd/nvi/
H A DMakefile.inc5 SANITIZER_RENAME_SYMBOL+= regcomp regerror regexec regfree
/netbsd-src/bin/ed/
H A Dsub.c192 if (!regexec(pat, txt, SE_MAX, rm, 0)) { in substitute_matching_text()
215 && !regexec(pat, txt, SE_MAX, rm, REG_NOTBOL)); in substitute_matching_text()
/netbsd-src/external/gpl3/binutils.old/dist/include/
H A Dxregex.h8 # define regexec xregexec macro
/netbsd-src/external/gpl3/gdb/dist/include/
H A Dxregex.h8 # define regexec xregexec macro
/netbsd-src/external/gpl3/gdb.old/dist/include/
H A Dxregex.h8 # define regexec xregexec macro
/netbsd-src/external/gpl3/gcc/dist/include/
H A Dxregex.h8 # define regexec xregexec macro
/netbsd-src/external/gpl3/binutils/dist/include/
H A Dxregex.h8 # define regexec xregexec macro

12345678910