Home
last modified time | relevance | path

Searched refs:matchbuf (Results 1 – 16 of 16) sorted by relevance

/dports/devel/cxxtools/cxxtools-2.2.1/src/
H A Dregex.cpp40 for (n = 0; n < 10 && matchbuf[n].rm_so >= 0; ++n) in size()
48 return has(n) ? str.substr(matchbuf[n].rm_so, in get()
49 matchbuf[n].rm_eo - matchbuf[n].rm_so) in get()
89 regoff_t s = matchbuf[ch - '0'].rm_so; in format()
90 regoff_t e = matchbuf[ch - '0'].rm_eo; in format()
111 regoff_t s = matchbuf[ch - '0'].rm_so; in format()
112 regoff_t e = matchbuf[ch - '0'].rm_eo; in format()
167 smatch.matchbuf[0].rm_so = 0; in match()
173 sizeof(smatch.matchbuf) / sizeof(regmatch_t), smatch.matchbuf, eflags); in match()
/dports/devel/cxxtools/cxxtools-2.2.1/include/cxxtools/
H A Dregex.h100 regmatch_t matchbuf[10]; variable
105 matchbuf[0].rm_so = 0; in RegexSMatch()
111 regoff_t offsetBegin(unsigned n) const { return matchbuf[n].rm_so; } in offsetBegin()
113 regoff_t offsetEnd(unsigned n) const { return matchbuf[n].rm_eo; } in offsetEnd()
117 { return matchbuf[n].rm_so >= 0; } in has()
/dports/print/cups/cups-2.3.3op2/tools/
H A Dipptool.c4418 *matchbuf = '\0'; in with_value()
4474 if (!matchbuf[0]) in with_value()
4541 if (!matchbuf[0]) in with_value()
4692 if (!matchbuf[0]) in with_value()
4720 if (!matchbuf[0]) in with_value()
4785 if (!matchbuf[0]) in with_value()
4994 *matchbuf = '\0'; in with_value_from()
5013 if (!matchbuf[0]) in with_value_from()
5035 if (!matchbuf[0]) in with_value_from()
5069 if (!matchbuf[0]) in with_value_from()
[all …]
/dports/math/R/R-4.1.2/src/main/
H A Dgrep.c2388 matchbuf = tmp;
2390 PROTECT(matchbuf);
2407 INTEGER(matchbuf)[matchIndex] = -1; local
2421 INTEGER(ans)[j] = INTEGER(matchbuf)[j];
2455 INTEGER(matchbuf)[0] = -1; local
2484 INTEGER(tmp)[j] = INTEGER(matchbuf)[j];
2485 matchbuf = tmp;
2487 PROTECT(matchbuf);
2503 INTEGER(ans)[j] = INTEGER(matchbuf)[j];
2646 REPROTECT(matchbuf = tmp, mb);
[all …]
/dports/math/libRmath/R-4.1.1/src/main/
H A Dgrep.c2388 matchbuf = tmp;
2390 PROTECT(matchbuf);
2407 INTEGER(matchbuf)[matchIndex] = -1; local
2421 INTEGER(ans)[j] = INTEGER(matchbuf)[j];
2455 INTEGER(matchbuf)[0] = -1; local
2484 INTEGER(tmp)[j] = INTEGER(matchbuf)[j];
2485 matchbuf = tmp;
2487 PROTECT(matchbuf);
2503 INTEGER(ans)[j] = INTEGER(matchbuf)[j];
2646 REPROTECT(matchbuf = tmp, mb);
[all …]
/dports/shells/zsh/zsh-5.8.1/Src/Zle/
H A Dcompmatch.c287 char *matchbuf = NULL; variable
302 if (matchbuf) in start_match()
303 *matchbuf = '\0'; in start_match()
341 if (matchbuf) { in add_match_str()
343 zfree(matchbuf, matchbuflen); in add_match_str()
350 matchbuf = buf; in add_match_str()
355 memmove(matchbuf + wl, matchbuf, matchbufadded + 1); in add_match_str()
356 memcpy(matchbuf, w, wl); in add_match_str()
360 matchbuf[matchbufadded] = '\0'; in add_match_str()
1187 memcpy(wpfx, matchbuf, wpl); in comp_match()
[all …]
/dports/sysutils/agedu/agedu-20211129.8cd63c5/
H A Dhttpd.c393 char linebuf[4096], matchbuf[128]; in check_owning_uid() local
427 sprintf(matchbuf, "%08X:%04X %08X:%04X", in check_owning_uid()
441 p = matchbuf; in check_owning_uid()
458 matchlen = strlen(matchbuf); in check_owning_uid()
476 if (!strncmp(p, matchbuf, matchlen)) { in check_owning_uid()
/dports/shells/zsh/zsh-5.8.1/Src/
H A Dglob.c203 #define matchbuf (curglobdata.gd_matchbuf) macro
453 matchbuf = (Gmatch)zrealloc((char *)matchbuf, in insert()
456 matchptr = matchbuf + matchct; in insert()
1826 matchptr = matchbuf = (Gmatch)zalloc((matchsz = 16) * in zglob()
1843 zfree(matchbuf, 0); in zglob()
1876 for (tmpptr = matchbuf; tmpptr < matchptr; tmpptr++) in zglob()
1905 for (tmpptr = matchbuf; tmpptr < matchptr; tmpptr++) in zglob()
1919 for (gmptr = matchbuf; gmptr < matchptr; gmptr++) in zglob()
1949 matchptr = matchbuf + matchct - first - 1; in zglob()
1956 matchptr = matchbuf + matchct - first - end; in zglob()
[all …]
/dports/devel/cgit/cgit-1.2.3/git/builtin/
H A Dls-files.c439 static const char *(matchbuf[1]); in overlay_tree_on_index() local
440 matchbuf[0] = NULL; in overlay_tree_on_index()
442 PATHSPEC_PREFER_CWD, prefix, matchbuf); in overlay_tree_on_index()
/dports/lang/expect/expect5.45.4/
H A Dexpect.c698 Tcl_UniChar* matchbuf; /* Buffer that matched, */ member
901 o->matchbuf = str; in eval_case_string()
927 o->matchbuf = str; in eval_case_string()
955 o->matchbuf = str; in eval_case_string()
968 o->matchbuf = str; in eval_case_string()
983 o->matchbuf = str; in eval_case_string()
2251 buffer = eo->matchbuf; in expMatchProcess()
2257 buffer = eo->matchbuf; in expMatchProcess()
2477 eo.matchbuf = eo.esPtr->input.buffer; in exp_background_channelhandler()
2720 eo.matchbuf = eo.esPtr->input.buffer; in Exp_ExpectObjCmd()
/dports/devel/git-svn/git-2.34.1/builtin/
H A Dls-files.c507 static const char *(matchbuf[1]); in overlay_tree_on_index() local
508 matchbuf[0] = NULL; in overlay_tree_on_index()
510 PATHSPEC_PREFER_CWD, prefix, matchbuf); in overlay_tree_on_index()
/dports/devel/git-p4/git-2.34.1/builtin/
H A Dls-files.c507 static const char *(matchbuf[1]); in overlay_tree_on_index() local
508 matchbuf[0] = NULL; in overlay_tree_on_index()
510 PATHSPEC_PREFER_CWD, prefix, matchbuf); in overlay_tree_on_index()
/dports/devel/git/git-2.34.1/builtin/
H A Dls-files.c507 static const char *(matchbuf[1]); in overlay_tree_on_index() local
508 matchbuf[0] = NULL; in overlay_tree_on_index()
510 PATHSPEC_PREFER_CWD, prefix, matchbuf); in overlay_tree_on_index()
/dports/devel/git-gui/git-2.34.1/builtin/
H A Dls-files.c507 static const char *(matchbuf[1]); in overlay_tree_on_index() local
508 matchbuf[0] = NULL; in overlay_tree_on_index()
510 PATHSPEC_PREFER_CWD, prefix, matchbuf); in overlay_tree_on_index()
/dports/devel/git-cvs/git-2.34.1/builtin/
H A Dls-files.c507 static const char *(matchbuf[1]); in overlay_tree_on_index() local
508 matchbuf[0] = NULL; in overlay_tree_on_index()
510 PATHSPEC_PREFER_CWD, prefix, matchbuf); in overlay_tree_on_index()
/dports/comms/kermit/kermit-9.0.305.04/
H A Dckuus4.c6526 static char * matchbuf = NULL; variable
6613 if (!matchbuf) {
6614 matchbuf = malloc(MATCHBUFSIZ+1);
6615 matchbuf[0] = NUL;
7017 if (matchbuf) {
7019 matchbuf[matchindex++] = c;
7020 matchbuf[matchindex] = NUL;
7292 if (!matchbuf)
7293 matchbuf = malloc(MATCHBUFSIZ+1);
7324 if (matchbuf) {
[all …]