Home
last modified time | relevance | path

Searched refs:regmatch (Results 1 – 25 of 403) sorted by relevance

12345678910>>...17

/dports/devel/aegis/aegis-4.25.D510/common/
H A Dregula_expre.cc89 int err = regexec(&preg, text, SIZEOF(regmatch), regmatch, 0); in matches()
102 if (regmatch[j].rm_so != -1) in matches()
105 regmatch[j].rm_eo)); in matches()
109 so = regmatch[0].rm_so; in matches()
110 eo = regmatch[0].rm_eo; in matches()
132 SIZEOF(regmatch), in match()
133 regmatch, in match()
148 if (regmatch[j].rm_so != -1) in match()
151 regmatch[j].rm_eo)); in match()
207 if (regmatch[0].rm_so) in match_and_substitute()
[all …]
/dports/news/nget/nget-0.27.1/
H A Dmyregex.cc108 if ((re_err=regexec(regex,str,nregmatch,regmatch,0))) in doregex()
118 assert(regmatch[i].rm_eo>=regmatch[i].rm_so); in doregex()
121 if (regmatch[i].rm_so>=0) in doregex()
122 rsub[i].assign(str+regmatch[i].rm_so,regmatch[i].rm_eo-regmatch[i].rm_so); in doregex()
129 if (regmatch) in setnregmatch()
130 delete [] regmatch; in setnregmatch()
133 regmatch=new regmatch_t[nregmatch+1]; in setnregmatch()
135 regmatch=NULL; in setnregmatch()
139 regmatch=NULL; in c_regex_subs()
146 if (regmatch){ in ~c_regex_subs()
[all …]
/dports/archivers/opkg-openwrt/opkg-b07cde3/libopkg/
H A Dopkg_conf.c242 regmatch[2].rm_eo - regmatch[2].rm_so); in opkg_conf_parse_file()
245 regmatch[3].rm_eo - regmatch[3].rm_so); in opkg_conf_parse_file()
250 regmatch[5].rm_eo - regmatch[5].rm_so); in opkg_conf_parse_file()
253 regmatch[6].rm_eo - regmatch[6].rm_so); in opkg_conf_parse_file()
258 regmatch[8].rm_eo - regmatch[8].rm_so); in opkg_conf_parse_file()
261 regmatch[9].rm_eo - regmatch[9].rm_so); in opkg_conf_parse_file()
266 if (regmatch[13].rm_so > 0 in opkg_conf_parse_file()
267 && regmatch[13].rm_so != regmatch[13].rm_eo) in opkg_conf_parse_file()
274 regmatch[11].rm_eo - in opkg_conf_parse_file()
275 regmatch[11].rm_so); in opkg_conf_parse_file()
[all …]
/dports/ftp/wzdftpd/wzdftpd-0.8.3/backends/plaintext/
H A Dlibplaintext_file.c408 memcpy(varname,buffer+regmatch[1].rm_so,regmatch[1].rm_eo-regmatch[1].rm_so); in read_single_group()
409 varname[regmatch[1].rm_eo-regmatch[1].rm_so]='\0'; in read_single_group()
410 memcpy(value,buffer+regmatch[2].rm_so,regmatch[2].rm_eo-regmatch[2].rm_so); in read_single_group()
411 value[regmatch[2].rm_eo-regmatch[2].rm_so]='\0'; in read_single_group()
525 memcpy(varname,buffer+regmatch[1].rm_so,regmatch[1].rm_eo-regmatch[1].rm_so); in read_single_user()
526 varname[regmatch[1].rm_eo-regmatch[1].rm_so]='\0'; in read_single_user()
527 memcpy(value,buffer+regmatch[2].rm_so,regmatch[2].rm_eo-regmatch[2].rm_so); in read_single_user()
528 value[regmatch[2].rm_eo-regmatch[2].rm_so]='\0'; in read_single_user()
835 memcpy(varname,line+regmatch[1].rm_so,regmatch[1].rm_eo-regmatch[1].rm_so); in read_section_users()
837 memcpy(value,line+regmatch[2].rm_so,regmatch[2].rm_eo-regmatch[2].rm_so); in read_section_users()
[all …]
/dports/net/boinc-client/boinc-client_release-7.8-7.8.6/samples/wrapper/
H A Dregexp.h50 typedef struct regmatch struct
54 } regmatch; argument
81 extern int re_exec_w(const regexp *rp, const CHAR_TYPE *s, size_t nmatch, regmatch pmatch[]);
83 extern int re_subcount_w(const regexp* rp, const CHAR_TYPE* s, const CHAR_TYPE* src, regmatch match…
84 extern int re_dosub_w(const CHAR_TYPE* s, const CHAR_TYPE* src, regmatch matches[10], CHAR_TYPE* de…
88 extern int re_exec(const regexp *rp, const char *s, size_t nmatch, regmatch pmatch[]);
96 inline int re_exec(const regexp* rp, const char *s, size_t nmatch, regmatch pmatch[]) in re_exec()
/dports/games/ldmud/ldmud-3.3.720/doc/efun/
H A Dregmatch4 string regmatch(string text, string pattern)
5 string regmatch(string text, string pattern, int opt)
6 string regmatch(string text, string pattern, int opt, int start)
7 string * regmatch(string text, string pattern, int opt)
8 string * regmatch(string text, string pattern, int opt, int start)
35 regmatch("abcdefcdf", "cd") -> "cd"
36 regmatch("abcdefcdf", "cd(e)") -> "cde"
38 regmatch("abcdefcdf", "cd", RE_MATCH_SUBS) -> ({ "cd" })
39 regmatch("abcdefcdf", "cd(e)", RE_MATCH_SUBS) -> ({ "cde", "e" })
/dports/devel/cgit/cgit-1.2.3/git/
H A Ddiffcore-pickaxe.c25 regmatch_t regmatch; in diffgrep_consume() local
36 &regmatch, 0); in diffgrep_consume()
43 regmatch_t regmatch; in diff_grep() local
50 1, &regmatch, 0); in diff_grep()
53 1, &regmatch, 0); in diff_grep()
82 regmatch_t regmatch; in contains() local
86 !regexec_buf(regexp, data, sz, 1, &regmatch, flags)) { in contains()
88 data += regmatch.rm_eo; in contains()
89 sz -= regmatch.rm_eo; in contains()
90 if (sz && *data && regmatch.rm_so == regmatch.rm_eo) { in contains()
/dports/japanese/prn/prn/
H A Dcmt.c573 if (r_cb && (ss = regmatch(line, s, r_cb))) {
576 if (r_ce && (end = regmatch(line, ss, r_ce))) {
592 } else if (r_ab && (ss = regmatch(line, s, r_ab))) {
595 if (r_ae && (end = regmatch(line, ss, r_ae))) {
611 } else if (r_sb && (ss = regmatch(line, s, r_sb))) {
614 if (r_sn && (end = regmatch(line, ss, r_sn)))
633 } else if (r_hb && (ss = regmatch(line, s, r_hb))) {
636 if (r_hn && (end = regmatch(line, ss, r_hn)))
655 } else if (r_nc && (ss = regmatch(line, s, r_nc))) {
665 if (r_pn && (ss = regmatch(line, s, r_pn))) {
[all …]
/dports/math/R/R-4.1.2/src/main/
H A Ddcf.c76 regmatch_t regmatch[1]; in do_readDCF() local
173 offset = regmatch[0].rm_eo; in do_readDCF()
176 regmatch, 0) == 0)) in do_readDCF()
177 line[regmatch[0].rm_so] = '\0'; in do_readDCF()
206 if(tre_regexecb(&regline, line, 1, regmatch, 0) == 0) { in do_readDCF()
222 offset = regmatch[0].rm_eo; in do_readDCF()
226 regmatch, 0) == 0)) in do_readDCF()
227 line[regmatch[0].rm_so] = '\0'; in do_readDCF()
284 offset = regmatch[0].rm_eo; in do_readDCF()
288 regmatch, 0) == 0)) in do_readDCF()
[all …]
/dports/math/libRmath/R-4.1.1/src/main/
H A Ddcf.c76 regmatch_t regmatch[1]; in do_readDCF() local
173 offset = regmatch[0].rm_eo; in do_readDCF()
176 regmatch, 0) == 0)) in do_readDCF()
177 line[regmatch[0].rm_so] = '\0'; in do_readDCF()
206 if(tre_regexecb(&regline, line, 1, regmatch, 0) == 0) { in do_readDCF()
222 offset = regmatch[0].rm_eo; in do_readDCF()
226 regmatch, 0) == 0)) in do_readDCF()
227 line[regmatch[0].rm_so] = '\0'; in do_readDCF()
284 offset = regmatch[0].rm_eo; in do_readDCF()
288 regmatch, 0) == 0)) in do_readDCF()
[all …]
/dports/editors/neovim/neovim-0.6.1/src/nvim/
H A Dindent.c399 regmatch_T regmatch; in get_number_indent() local
413 if (regmatch.regprog != NULL) { in get_number_indent()
414 regmatch.rm_ic = false; in get_number_indent()
420 pos.col = (colnr_T)(*regmatch.endp - ml_get(lnum)); in get_number_indent()
423 vim_regfree(regmatch.regprog); in get_number_indent()
471 regmatch_T regmatch = { in get_breakindent_win() local
476 if (regmatch.regprog != NULL) { in get_breakindent_win()
477 regmatch.rm_ic = false; in get_breakindent_win()
478 if (vim_regexec(&regmatch, line, 0)) { in get_breakindent_win()
482 bri = (int)(*regmatch.endp - *regmatch.startp); in get_breakindent_win()
[all …]
/dports/misc/histring/histring-1.1.1-1/
H A Dhistring.c96 regmatch_t regmatch; in histring() local
123 if(p && regexec(&regex, p, 1, &regmatch, regflags) == 0) in histring()
126 if(regmatch.rm_eo - regmatch.rm_so == 0) in histring()
138 fwrite(p, 1, regmatch.rm_so, out); in histring()
141 fwrite(p+regmatch.rm_so, 1, regmatch.rm_eo - regmatch.rm_so, out); in histring()
144 p += regmatch.rm_eo; in histring()
/dports/math/vtk9/VTK-9.1.0/Utilities/KWSys/vtksys/
H A DRegularExpression.cxx49 this->regmatch = rxp.regmatch; in RegularExpression()
82 this->regmatch = rxp.regmatch; in operator =()
127 return (this->regmatch.start() == rxp.regmatch.start() && in deep_equal()
128 this->regmatch.end() == rxp.regmatch.end()); in deep_equal()
359 this->regmatch.clear(); in compile()
853 int regmatch(const char*);
942 if (regmatch(prog + 1)) { in regtry()
1028 if (regmatch(next)) { in regmatch()
1056 if (regmatch(next)) { in regmatch()
1078 if (regmatch(OPERAND(scan))) in regmatch()
[all …]
/dports/misc/adios2/ADIOS2-2.7.1/thirdparty/KWSys/adios2sys/
H A DRegularExpression.cxx49 this->regmatch = rxp.regmatch; in RegularExpression()
82 this->regmatch = rxp.regmatch; in operator =()
127 return (this->regmatch.start() == rxp.regmatch.start() && in deep_equal()
128 this->regmatch.end() == rxp.regmatch.end()); in deep_equal()
359 this->regmatch.clear(); in compile()
853 int regmatch(const char*);
942 if (regmatch(prog + 1)) { in regtry()
1028 if (regmatch(next)) { in regmatch()
1056 if (regmatch(next)) { in regmatch()
1078 if (regmatch(OPERAND(scan))) in regmatch()
[all …]
/dports/science/InsightToolkit/ITK-5.0.1/Modules/ThirdParty/KWSys/src/KWSys/
H A DRegularExpression.cxx49 this->regmatch = rxp.regmatch; in RegularExpression()
82 this->regmatch = rxp.regmatch; in operator =()
127 return (this->regmatch.start() == rxp.regmatch.start() && in deep_equal()
128 this->regmatch.end() == rxp.regmatch.end()); in deep_equal()
360 this->regmatch.clear(); in compile()
855 int regmatch(const char*);
944 if (regmatch(prog + 1)) { in regtry()
1032 if (regmatch(next)) { in regmatch()
1060 if (regmatch(next)) { in regmatch()
1082 if (regmatch(OPERAND(scan))) in regmatch()
[all …]
/dports/devel/cmake-gui/cmake-3.22.1/Source/kwsys/
H A DRegularExpression.cxx49 this->regmatch = rxp.regmatch; in RegularExpression()
82 this->regmatch = rxp.regmatch; in operator =()
127 return (this->regmatch.start() == rxp.regmatch.start() && in deep_equal()
128 this->regmatch.end() == rxp.regmatch.end()); in deep_equal()
359 this->regmatch.clear(); in compile()
853 int regmatch(const char*);
942 if (regmatch(prog + 1)) { in regtry()
1028 if (regmatch(next)) { in regmatch()
1056 if (regmatch(next)) { in regmatch()
1078 if (regmatch(OPERAND(scan))) in regmatch()
[all …]
/dports/devel/cmake/cmake-3.22.1/Source/kwsys/
H A DRegularExpression.cxx49 this->regmatch = rxp.regmatch; in RegularExpression()
82 this->regmatch = rxp.regmatch; in operator =()
127 return (this->regmatch.start() == rxp.regmatch.start() && in deep_equal()
128 this->regmatch.end() == rxp.regmatch.end()); in deep_equal()
359 this->regmatch.clear(); in compile()
853 int regmatch(const char*);
942 if (regmatch(prog + 1)) { in regtry()
1028 if (regmatch(next)) { in regmatch()
1056 if (regmatch(next)) { in regmatch()
1078 if (regmatch(OPERAND(scan))) in regmatch()
[all …]
/dports/math/vtk8/VTK-8.2.0/Utilities/KWSys/vtksys/
H A DRegularExpression.cxx49 this->regmatch = rxp.regmatch; in RegularExpression()
82 this->regmatch = rxp.regmatch; in operator =()
127 return (this->regmatch.start() == rxp.regmatch.start() && in deep_equal()
128 this->regmatch.end() == rxp.regmatch.end()); in deep_equal()
355 this->regmatch.clear(); in compile()
850 int regmatch(const char*);
939 if (regmatch(prog + 1)) { in regtry()
1027 if (regmatch(next)) { in regmatch()
1055 if (regmatch(next)) { in regmatch()
1077 if (regmatch(OPERAND(scan))) in regmatch()
[all …]
/dports/devel/cmake-doc/cmake-3.22.1/Source/kwsys/
H A DRegularExpression.cxx49 this->regmatch = rxp.regmatch; in RegularExpression()
82 this->regmatch = rxp.regmatch; in operator =()
127 return (this->regmatch.start() == rxp.regmatch.start() && in deep_equal()
128 this->regmatch.end() == rxp.regmatch.end()); in deep_equal()
359 this->regmatch.clear(); in compile()
853 int regmatch(const char*);
942 if (regmatch(prog + 1)) { in regtry()
1028 if (regmatch(next)) { in regmatch()
1056 if (regmatch(next)) { in regmatch()
1078 if (regmatch(OPERAND(scan))) in regmatch()
[all …]
/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/topology-read/model/
H A Drocketfuel-topology-reader.cc298 regmatch_t regmatch[REGMATCH_MAX]; in GetFileType() local
309 ret = regexec (&regex, line, REGMATCH_MAX, regmatch, 0); in GetFileType()
324 ret = regexec (&regex, line, REGMATCH_MAX, regmatch, 0); in GetFileType()
379 regmatch_t regmatch[REGMATCH_MAX]; in Read() local
392 ret = regexec (&regex, buf, REGMATCH_MAX, regmatch, 0); in Read()
410 ret = regexec (&regex, buf, REGMATCH_MAX, regmatch, 0); in Read()
425 if (regmatch[i].rm_so == -1) in Read()
431 line[regmatch[i].rm_eo] = '\0'; in Read()
432 argv[i - 1] = &line[regmatch[i].rm_so]; in Read()
/dports/devel/git-svn/git-2.34.1/
H A Ddiffcore-pickaxe.c25 regmatch_t regmatch; in diffgrep_consume() local
32 &regmatch, 0)) { in diffgrep_consume()
81 regmatch_t regmatch; in contains() local
85 !regexec_buf(regexp, data, sz, 1, &regmatch, flags)) { in contains()
87 data += regmatch.rm_eo; in contains()
88 sz -= regmatch.rm_eo; in contains()
89 if (sz && regmatch.rm_so == regmatch.rm_eo) { in contains()
/dports/devel/git-gui/git-2.34.1/
H A Ddiffcore-pickaxe.c25 regmatch_t regmatch; in diffgrep_consume() local
32 &regmatch, 0)) { in diffgrep_consume()
81 regmatch_t regmatch; in contains() local
85 !regexec_buf(regexp, data, sz, 1, &regmatch, flags)) { in contains()
87 data += regmatch.rm_eo; in contains()
88 sz -= regmatch.rm_eo; in contains()
89 if (sz && regmatch.rm_so == regmatch.rm_eo) { in contains()
/dports/devel/git-p4/git-2.34.1/
H A Ddiffcore-pickaxe.c25 regmatch_t regmatch;
32 &regmatch, 0)) {
81 regmatch_t regmatch;
85 !regexec_buf(regexp, data, sz, 1, &regmatch, flags)) {
87 data += regmatch.rm_eo;
88 sz -= regmatch.rm_eo;
89 if (sz && regmatch.rm_so == regmatch.rm_eo) {
/dports/devel/git/git-2.34.1/
H A Ddiffcore-pickaxe.c25 regmatch_t regmatch; in diffgrep_consume() local
32 &regmatch, 0)) { in diffgrep_consume()
81 regmatch_t regmatch; in contains() local
85 !regexec_buf(regexp, data, sz, 1, &regmatch, flags)) { in contains()
87 data += regmatch.rm_eo; in contains()
88 sz -= regmatch.rm_eo; in contains()
89 if (sz && regmatch.rm_so == regmatch.rm_eo) { in contains()
/dports/devel/git-cvs/git-2.34.1/
H A Ddiffcore-pickaxe.c25 regmatch_t regmatch; in diffgrep_consume() local
32 &regmatch, 0)) { in diffgrep_consume()
81 regmatch_t regmatch; in contains() local
85 !regexec_buf(regexp, data, sz, 1, &regmatch, flags)) { in contains()
87 data += regmatch.rm_eo; in contains()
88 sz -= regmatch.rm_eo; in contains()
89 if (sz && regmatch.rm_so == regmatch.rm_eo) { in contains()

12345678910>>...17