/dports/security/gnupg/gnupg-2.3.3/regexp/ |
H A D | jimregexp.c | 157 #define OP(preg, p) (preg->program[p]) argument 248 memset(preg, 0, sizeof(*preg)); in regcomp() 1016 if (preg->p + n >= preg->proglen) { in reg_grow() 1017 preg->proglen = (preg->p + n) * 2; in reg_grow() 1018 preg->program = realloc(preg->program, preg->proglen * sizeof(int)); in reg_grow() 1031 preg->program[preg->p++] = op; in regnode() 1032 preg->program[preg->p++] = 0; in regnode() 1044 preg->program[preg->p++] = b; in regc() 1159 if (prefix_cmp(preg->program + preg->regmust, preg->regmlen, s, preg->cflags & REG_ICASE) >= 0) { in regexec() 1243 preg->pmatch[0].rm_eo = preg->reginput - preg->start; in regtry() [all …]
|
/dports/lang/jimtcl/jimtcl-0.81/ |
H A D | jimregexp.c | 153 #define OP(preg, p) (preg->program[p]) argument 244 memset(preg, 0, sizeof(*preg)); in jim_regcomp() 1012 if (preg->p + n >= preg->proglen) { in reg_grow() 1013 preg->proglen = (preg->p + n) * 2; in reg_grow() 1014 preg->program = realloc(preg->program, preg->proglen * sizeof(int)); in reg_grow() 1027 preg->program[preg->p++] = op; in regnode() 1028 preg->program[preg->p++] = 0; in regnode() 1040 preg->program[preg->p++] = b; in regc() 1155 if (prefix_cmp(preg->program + preg->regmust, preg->regmlen, s, preg->cflags & REG_ICASE) >= 0) { in jim_regexec() 1236 preg->pmatch[0].rm_eo = preg->reginput - preg->start; in regtry() [all …]
|
/dports/devel/openocd/openocd-0.11.0/jimtcl/ |
H A D | jimregexp.c | 153 #define OP(preg, p) (preg->program[p]) argument 244 memset(preg, 0, sizeof(*preg)); in regcomp() 999 if (preg->p + n >= preg->proglen) { in reg_grow() 1000 preg->proglen = (preg->p + n) * 2; in reg_grow() 1001 preg->program = realloc(preg->program, preg->proglen * sizeof(int)); in reg_grow() 1014 preg->program[preg->p++] = op; in regnode() 1015 preg->program[preg->p++] = 0; in regnode() 1027 preg->program[preg->p++] = b; in regc() 1142 if (prefix_cmp(preg->program + preg->regmust, preg->regmlen, s, preg->cflags & REG_ICASE) >= 0) { in regexec() 1223 preg->pmatch[0].rm_eo = preg->reginput - preg->start; in regtry() [all …]
|
/dports/devel/re2c/re2c-2.2/lib/ |
H A D | regfree.cc | 24 void regfree(regex_t *preg) in regfree() argument 26 delete preg->rmgr; in regfree() 28 delete &preg->nfa->charset; in regfree() 29 delete &preg->nfa->rules; in regfree() 30 delete &preg->nfa->tags; in regfree() 31 delete preg->nfa; in regfree() 41 if (preg->flags & REG_NFA) { in regfree() 42 if ((preg->flags & REG_TRIE) && (preg->flags & REG_LEFTMOST)) { in regfree() 59 delete preg->dfa; in regfree() 69 delete preg->rldfa; in regfree() [all …]
|
/dports/irc/srvx/srvx-1.3.1/rx/ |
H A D | rxposix.c | 57 regex_t * preg; in regncomp() 66 rx_bzero ((char *)preg, sizeof (*preg)); 105 preg->translate); 119 preg->pattern, 125 preg->is_anchored = rx_is_anchored_p (preg->pattern); 138 regex_t * preg; in regcomp() 213 if (!preg->pattern) 465 regfree (preg) in regfree() 466 regex_t *preg; in regfree() 469 if (preg->pattern) [all …]
|
/dports/multimedia/v4l_compat/linux-5.13-rc2/drivers/video/fbdev/ |
H A D | controlfb.h | 35 struct preg { /* padded register */ struct 41 struct preg vcount; /* vertical counter */ argument 47 struct preg vesync; /* vert end sync */ 48 struct preg vssync; /* vert start sync */ 49 struct preg vperiod; /* vert period */ 55 struct preg hesync; /* horiz end sync */ 60 struct preg cnttst; 61 struct preg ctrl; /* display control */ 66 struct preg mode; 67 struct preg rfrcnt; /* refresh count */ [all …]
|
/dports/multimedia/libv4l/linux-5.13-rc2/drivers/video/fbdev/ |
H A D | controlfb.h | 35 struct preg { /* padded register */ struct 41 struct preg vcount; /* vertical counter */ argument 47 struct preg vesync; /* vert end sync */ 48 struct preg vssync; /* vert start sync */ 49 struct preg vperiod; /* vert period */ 55 struct preg hesync; /* horiz end sync */ 60 struct preg cnttst; 61 struct preg ctrl; /* display control */ 66 struct preg mode; 67 struct preg rfrcnt; /* refresh count */ [all …]
|
/dports/multimedia/v4l-utils/linux-5.13-rc2/drivers/video/fbdev/ |
H A D | controlfb.h | 35 struct preg { /* padded register */ struct 41 struct preg vcount; /* vertical counter */ argument 47 struct preg vesync; /* vert end sync */ 48 struct preg vssync; /* vert start sync */ 49 struct preg vperiod; /* vert period */ 55 struct preg hesync; /* horiz end sync */ 60 struct preg cnttst; 61 struct preg ctrl; /* display control */ 66 struct preg mode; 67 struct preg rfrcnt; /* refresh count */ [all …]
|
/dports/net/freeradius3/freeradius-server-3.0.25/src/lib/ |
H A D | regex.c | 42 if (preg->compiled) { in _regex_free() 47 if (preg->extra) { in _regex_free() 53 preg->extra = NULL; in _regex_free() 97 regex_t *preg; in regex_compile() local 126 talloc_free(preg); in regex_compile() 135 talloc_free(preg); in regex_compile() 142 *out = preg; in regex_compile() 234 regfree(preg); in _regex_free() 267 regex_t *preg; in regex_compile() local 307 talloc_free(preg); in regex_compile() [all …]
|
/dports/ftp/pavuk/pavuk-0.9.35/src/ |
H A D | re.c | 17 regfree(&(ree->preg)); in re_free() 20 _free(ree->preg); in re_free() 23 regfree(&(ree->preg)); in re_free() 26 _free(ree->preg); in re_free() 51 regfree(&(rv->preg)); in re_make() 71 rv->preg.allocated = 0; in re_make() 72 rv->preg.buffer = NULL; in re_make() 79 regfree(&(rv->preg)); in re_make() 90 if(!rv->preg) in re_make() 138 rv = !regexec(&(ree->preg), str, ree->preg.re_nsub + 1, pmatch, 0); in re_pmatch_sub() [all …]
|
/dports/textproc/bsdgrep/grep-2.6.0-FreeBSD/regex/ |
H A D | fastmatch.c | 51 ret = tre_compile_literal(preg, wregex, wlen, cflags); in tre_fixncomp() 56 return tre_compile_literal(preg, NULL, 0, cflags); in tre_fixncomp() 73 ? tre_compile_literal(preg, wregex, wlen, cflags) in tre_fastncomp() 74 : tre_compile_fast(preg, wregex, wlen, cflags); in tre_fastncomp() 79 return tre_compile_literal(preg, NULL, 0, cflags); in tre_fastncomp() 98 return tre_compile_literal(preg, regex, n, cflags); in tre_fixwncomp() 105 tre_compile_literal(preg, regex, n, cflags) : in tre_fastwncomp() 106 tre_compile_fast(preg, regex, n, cflags); in tre_fastwncomp() 122 tre_fastfree(fastmatch_t *preg) in tre_fastfree() argument 124 tre_free_fast(preg); in tre_fastfree() [all …]
|
/dports/emulators/dolphin-emu/dolphin-3152428/Source/Core/Core/PowerPC/Jit64/RegCache/ |
H A D | JitRegCache.cpp | 48 RCOpArg::RCOpArg(RegCache* rc_, preg_t preg) : rc(rc_), contents(preg) in RCOpArg() argument 50 rc->Lock(preg); in RCOpArg() 90 rc->Realize(*preg); in Realize() 99 return rc->R(*preg); in Location() 131 rc->Unlock(*preg); in Unlock() 192 RCX64Reg::RCX64Reg(RegCache* rc_, preg_t preg) : rc(rc_), contents(preg) in RCX64Reg() argument 194 rc->Lock(preg); in RCX64Reg() 225 rc->Realize(*preg); in Realize() 254 rc->Unlock(*preg); in Unlock() 578 best_preg = preg; in GetFreeXReg() [all …]
|
/dports/net/haproxy/haproxy-2.4.10/include/haproxy/ |
H A D | regex.h | 57 if (pcre_exec(preg->reg, preg->extra, subject, strlen(subject), 0, 0, NULL, 0) < 0) in regex_exec() 65 ret = preg->mfn(preg->reg, (PCRE2_SPTR)subject, (PCRE2_SIZE)strlen(subject), in regex_exec() 89 if (pcre_exec(preg->reg, preg->extra, subject, length, 0, 0, NULL, 0) < 0) in regex_exec2() 97 ret = preg->mfn(preg->reg, (PCRE2_SPTR)subject, (PCRE2_SIZE)length, in regex_exec2() 117 if (!preg) in regex_free() 120 pcre_free(preg->reg); in regex_free() 125 pcre_free_study(preg->extra); in regex_free() 127 pcre_free(preg->extra); in regex_free() 130 pcre2_code_free(preg->reg); in regex_free() 132 regfree(&preg->regex); in regex_free() [all …]
|
/dports/net/haproxy23/haproxy-2.3.16/include/haproxy/ |
H A D | regex.h | 57 if (pcre_exec(preg->reg, preg->extra, subject, strlen(subject), 0, 0, NULL, 0) < 0) in regex_exec() 65 ret = preg->mfn(preg->reg, (PCRE2_SPTR)subject, (PCRE2_SIZE)strlen(subject), in regex_exec() 89 if (pcre_exec(preg->reg, preg->extra, subject, length, 0, 0, NULL, 0) < 0) in regex_exec2() 97 ret = preg->mfn(preg->reg, (PCRE2_SPTR)subject, (PCRE2_SIZE)length, in regex_exec2() 117 if (!preg) in regex_free() 120 pcre_free(preg->reg); in regex_free() 125 pcre_free_study(preg->extra); in regex_free() 127 pcre_free(preg->extra); in regex_free() 130 pcre2_code_free(preg->reg); in regex_free() 132 regfree(&preg->regex); in regex_free() [all …]
|
/dports/devel/tla/tla-1.3.5/src/hackerlab/rx-posix/ |
H A D | posix.c | 41 const regex_t *preg, 181 mem_set0 ((char *)preg, sizeof (*preg)); in regncomp() 227 preg->re_nsub = 1; in regncomp() 228 preg->subexps = 0; in regncomp() 229 if (rx_analyze_rexp (&preg->subexps, &preg->re_nsub, preg->pattern)) in regncomp() 233 mem_set0 ((char *)preg, sizeof (*preg)); in regncomp() 239 rx_is_anchored_p (&preg->is_left_anchored, &preg->is_right_anchored, preg->pattern); in regncomp() 241 preg->small_p = (!preg->pattern || preg->pattern->small_advised_p); in regncomp() 453 if (!preg->no_sub && (nmatch >= preg->re_nsub)) in regnexec() 476 preg, in regnexec() [all …]
|
/dports/net/haproxy21/haproxy-2.1.12/include/common/ |
H A D | regex.h | 101 if (pcre_exec(preg->reg, preg->extra, subject, strlen(subject), 0, 0, NULL, 0) < 0) in regex_exec() 117 match = regexec(&preg->regex, subject, 0, NULL, 0); in regex_exec() 132 if (pcre_exec(preg->reg, preg->extra, subject, length, 0, 0, NULL, 0) < 0) in regex_exec2() 150 match = regexec(&preg->regex, subject, 0, NULL, 0); in regex_exec2() 164 if (!preg) in regex_free() 167 pcre_free(preg->reg); in regex_free() 172 pcre_free_study(preg->extra); in regex_free() 174 pcre_free(preg->extra); in regex_free() 177 pcre2_code_free(preg->reg); in regex_free() 179 regfree(&preg->regex); in regex_free() [all …]
|
/dports/net/haproxy20/haproxy-2.0.26/include/common/ |
H A D | regex.h | 101 if (pcre_exec(preg->reg, preg->extra, subject, strlen(subject), 0, 0, NULL, 0) < 0) in regex_exec() 117 match = regexec(&preg->regex, subject, 0, NULL, 0); in regex_exec() 132 if (pcre_exec(preg->reg, preg->extra, subject, length, 0, 0, NULL, 0) < 0) in regex_exec2() 150 match = regexec(&preg->regex, subject, 0, NULL, 0); in regex_exec2() 164 if (!preg) in regex_free() 167 pcre_free(preg->reg); in regex_free() 172 pcre_free_study(preg->extra); in regex_free() 174 pcre_free(preg->extra); in regex_free() 177 pcre2_code_free(preg->reg); in regex_free() 179 regfree(&preg->regex); in regex_free() [all …]
|
/dports/net/nuster/nuster-5.0.4.21/include/common/ |
H A D | regex.h | 101 if (pcre_exec(preg->reg, preg->extra, subject, strlen(subject), 0, 0, NULL, 0) < 0) in regex_exec() 117 match = regexec(&preg->regex, subject, 0, NULL, 0); in regex_exec() 132 if (pcre_exec(preg->reg, preg->extra, subject, length, 0, 0, NULL, 0) < 0) in regex_exec2() 150 match = regexec(&preg->regex, subject, 0, NULL, 0); in regex_exec2() 164 if (!preg) in regex_free() 167 pcre_free(preg->reg); in regex_free() 172 pcre_free_study(preg->extra); in regex_free() 174 pcre_free(preg->extra); in regex_free() 177 pcre2_code_free(preg->reg); in regex_free() 179 regfree(&preg->regex); in regex_free() [all …]
|
/dports/net/haproxy22/haproxy-2.2.19/include/haproxy/ |
H A D | regex.h | 57 if (pcre_exec(preg->reg, preg->extra, subject, strlen(subject), 0, 0, NULL, 0) < 0) in regex_exec() 73 match = regexec(&preg->regex, subject, 0, NULL, 0); in regex_exec() 89 if (pcre_exec(preg->reg, preg->extra, subject, length, 0, 0, NULL, 0) < 0) in regex_exec2() 107 match = regexec(&preg->regex, subject, 0, NULL, 0); in regex_exec2() 117 if (!preg) in regex_free() 120 pcre_free(preg->reg); in regex_free() 125 pcre_free_study(preg->extra); in regex_free() 127 pcre_free(preg->extra); in regex_free() 130 pcre2_code_free(preg->reg); in regex_free() 132 regfree(&preg->regex); in regex_free() [all …]
|
/dports/editors/ssed/sed-3.62/pcre/ |
H A D | regexp.c | 174 const regex_t *preg; 188 if (preg != NULL && (int) preg->re_erroffset != -1) 207 regfree (preg) in regfree() argument 208 regex_t *preg; in regfree() 232 regex_t *preg; in regcomp() 241 regex_t *preg; in regncomp() 271 preg->re_study = pcre_study (preg->re_pcre, 0, &errptr); 273 pcre_info (preg->re_pcre, preg->re_study, 287 regex_t *preg; in regexec() 303 regex_t *preg; in regnexec() [all …]
|
/dports/www/httest/httest-2.4.24/src/ |
H A D | regex.c | 79 htt_regex_t *preg = apr_palloc(p, sizeof *preg); in htt_regexcomp() local 81 preg->match = 0; in htt_regexcomp() 82 preg->pattern = apr_pstrdup(p, pattern); in htt_regexcomp() 85 preg->re_erroffset = *erroff; in htt_regexcomp() 87 if (preg->re_pcre == NULL) { in htt_regexcomp() 91 pcre_fullinfo((const pcre *)preg->re_pcre, NULL, PCRE_INFO_CAPTURECOUNT, &(preg->re_nsub)); in htt_regexcomp() 96 return preg; in htt_regexcomp() 149 ++preg->match; in htt_regexec() 167 int htt_regexhits(htt_regex_t * preg) { in htt_regexhits() argument 168 return preg->match; in htt_regexhits() [all …]
|
/dports/net/haproxy19/haproxy-1.9.16/include/common/ |
H A D | regex.h | 73 struct my_regex *preg; /* expression to look for */ member 101 if (pcre_exec(preg->reg, preg->extra, subject, strlen(subject), 0, 0, NULL, 0) < 0) in regex_exec() 117 match = regexec(&preg->regex, subject, 0, NULL, 0); in regex_exec() 132 if (pcre_exec(preg->reg, preg->extra, subject, length, 0, 0, NULL, 0) < 0) in regex_exec2() 150 match = regexec(&preg->regex, subject, 0, NULL, 0); in regex_exec2() 163 static inline void regex_free(struct my_regex *preg) { in regex_free() argument 165 pcre_free(preg->reg); in regex_free() 170 pcre_free_study(preg->extra); in regex_free() 172 pcre_free(preg->extra); in regex_free() 175 pcre2_code_free(preg->reg); in regex_free() [all …]
|
/dports/net/haproxy18/haproxy-1.8.30/include/common/ |
H A D | regex.h | 73 struct my_regex *preg; /* expression to look for */ member 101 if (pcre_exec(preg->reg, preg->extra, subject, strlen(subject), 0, 0, NULL, 0) < 0) in regex_exec() 117 match = regexec(&preg->regex, subject, 0, NULL, 0); in regex_exec() 132 if (pcre_exec(preg->reg, preg->extra, subject, length, 0, 0, NULL, 0) < 0) in regex_exec2() 150 match = regexec(&preg->regex, subject, 0, NULL, 0); in regex_exec2() 163 static inline void regex_free(struct my_regex *preg) { in regex_free() argument 165 pcre_free(preg->reg); in regex_free() 170 pcre_free_study(preg->extra); in regex_free() 172 pcre_free(preg->extra); in regex_free() 175 pcre2_code_free(preg->reg); in regex_free() [all …]
|
/dports/sysutils/rsyslog8/rsyslog-8.2112.0/runtime/ |
H A D | regexp.c | 77 regex_t *preg; member 85 regex_t preg; member 132 entry->original_preg = preg; in create_perthread_regex() 187 if (!preg) in _regfree() 190 regfree(preg); in _regfree() 191 remove_uncomp_regexp(preg); in _regfree() 214 regfree(&entry->preg); in _regfree() 231 remove_uncomp_regexp(preg); in _regcomp() 242 uncomp->preg = preg; in _regcomp() 249 *ppreg = preg; in _regcomp() [all …]
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/innobase/xtrabackup/src/ |
H A D | xb_regex.h | 34 #define xb_regexec(preg, string, nmatch, pmatch, eflags) \ argument 35 my_regexec(preg, string, nmatch, pmatch, eflags) 37 #define xb_regerror(errcode, preg, errbuf, errbuf_size) \ argument 38 my_regerror(errcode, preg, errbuf, errbuf_size) 40 #define xb_regcomp(preg, regex, cflags) \ argument 41 my_regcomp(preg, regex, cflags, &my_charset_latin1) 43 #define xb_regfree(preg) my_regfree(preg) argument 59 regexec(preg, string, nmatch, pmatch, eflags) 62 regerror(errcode, preg, errbuf, errbuf_size) 64 #define xb_regcomp(preg, regex, cflags) regcomp(preg, regex, cflags) argument [all …]
|