Home
last modified time | relevance | path

Searched refs:mtch (Results 1 – 25 of 213) sorted by relevance

123456789

/dports/devel/poco/poco-1.10.1-all/Foundation/src/
H A DRegularExpression.cpp63 mtch.offset = std::string::npos; in match()
64 mtch.length = 0; in match()
82 mtch.length = ovec[1] - mtch.offset; in match()
127 Match mtch; in match() local
129 return mtch.offset == offset && mtch.length == subject.length() - offset; in match()
135 Match mtch; in match() local
137 return mtch.offset == offset && mtch.length == subject.length() - offset; in match()
143 Match mtch; in extract() local
146 str.assign(subject, mtch.offset, mtch.length); in extract()
155 Match mtch; in extract() local
[all …]
/dports/lang/racket/racket-8.3/share/pkgs/redex-lib/redex/private/
H A Dlang-struct.rkt8 mtch
9 mtch?
10 make-mtch
11 mtch-bindings
12 mtch-context
13 mtch-hole
88 ;; mtch = (make-mtch bindings sexp[context] (union none sexp[hole]))
92 (define-values (mtch mtch-bindings mtch-context mtch-hole make-mtch mtch?) function
95 (values mtch
98 mtch-hole
[all …]
H A Dmatcher.rkt1451 (define bindings (mtch-bindings mtch))
1452 (define hole-exp (mtch-hole mtch))
1486 [hole-exp (mtch-hole mtch)]
1611 (let ([exp-match (map (λ (mtch) (make-mtch (mtch-bindings mtch)
1685 ;; combine-pair : (listof mtch) (listof mtch) -> (listof mtch)
1716 (map (λ (mtch) (make-mtch (make-bindings (append ribs (bindings-table (mtch-bindings mtch))))
1717 (mtch-context mtch)
1718 (mtch-hole mtch)))
1721 ;; collapse-single-multiples : (listof mtch) (listof mtch[to-lists]) -> (listof mtch[to-lists])
1983 ;; combine-matches : (listof (listof mtch)) -> (listof mtch)
[all …]
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libvcodex/
H A Dvclzparse.c426 fpair.mtch[0].mpos = -1;
427 fpair.mtch[0].size = n;
527 pair.mtch[r].tpos = p;
528 pair.mtch[r].mpos = lp;
529 pair.mtch[r].size = lz;
544 { pair.mtch[0].tpos = ad;
545 pair.mtch[0].mpos = -1;
580 { Vclzmatch_t mtch; local
581 mtch.tpos = 0;
582 mtch.mpos = -1;
[all …]
/dports/shells/ksh93/ast-93u/src/lib/libvcodex/
H A Dvclzparse.c426 fpair.mtch[0].mpos = -1;
427 fpair.mtch[0].size = n;
527 pair.mtch[r].tpos = p;
528 pair.mtch[r].mpos = lp;
529 pair.mtch[r].size = lz;
544 { pair.mtch[0].tpos = ad;
545 pair.mtch[0].mpos = -1;
580 { Vclzmatch_t mtch; local
581 mtch.tpos = 0;
582 mtch.mpos = -1;
[all …]
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libvcodex/
H A Dvclzparse.c426 fpair.mtch[0].mpos = -1;
427 fpair.mtch[0].size = n;
527 pair.mtch[r].tpos = p;
528 pair.mtch[r].mpos = lp;
529 pair.mtch[r].size = lz;
544 { pair.mtch[0].tpos = ad;
545 pair.mtch[0].mpos = -1;
580 { Vclzmatch_t mtch; local
581 mtch.tpos = 0;
582 mtch.mpos = -1;
[all …]
/dports/biology/jalview/jalview/src/jalview/ws/rest/
H A DInputType.java215 Matcher mtch = URL_PATTERN.matcher(tok); in configureFromURLtokenString() local
216 if (mtch.find()) in configureFromURLtokenString()
220 if (mtch.group(1).equals("min")) in configureFromURLtokenString()
222 min = Integer.parseInt(mtch.group(2)); in configureFromURLtokenString()
226 else if (mtch.group(1).equals("max")) in configureFromURLtokenString()
228 max = Integer.parseInt(mtch.group(2)); in configureFromURLtokenString()
235 + mtch.group(1).toLowerCase() + " '" + mtch.group(2) in configureFromURLtokenString()
239 if (!configureProperty(mtch.group(1), mtch.group(2), warnings)) in configureFromURLtokenString()
245 + mtch.group(0) + "'\n (token is '" + mtch.group(1) in configureFromURLtokenString()
246 + "' and value is '" + mtch.group(2) + "')\n"); in configureFromURLtokenString()
/dports/biology/jalview/jalview/src/jalview/util/
H A DGroupUrlLink.java80 private String[] mtch; field in GroupUrlLink
140 mtch = new String[ntoks]; in GroupUrlLink()
195 url_suffix = new String[mtch.length]; in GroupUrlLink()
196 regexReplace = new String[mtch.length]; in GroupUrlLink()
200 int mlength = 3 + mtch[pass].length(); in GroupUrlLink()
319 for (int i = 0; i < mtch.length; i++) in _replaceFor()
468 for (int i = 0; i < mtch.length; i++) in makeUrlsIf()
488 { (mtch[i]), in makeUrlsIf()
736 for (int i = 0; i < mtch.length; i++) in getGroupURLType()
738 if (mtch[i].equals(tokens[pass])) in getGroupURLType()
[all …]
/dports/math/R-cran-sp/sp/R/
H A DSpatialMultiPointsDataFrame-methods.R10 mtch = NULL functionVar
16 mtch = match(cc.ID, row.names(data))
17 match.ID = !any(is.na(mtch)) # && length(unique(mtch)) == nrow(data)
18 if (match.ID && any(mtch != 1:nrow(data)))
28 if (is.null(mtch))
29 mtch = match(cc.ID, row.names(data))
30 if (any(is.na(mtch)))
32 if (length(unique(mtch)) != nrow(data))
34 data = data[mtch, , drop = FALSE]
H A DSpatialPointsDataFrame-methods.R11 mtch = NULL functionVar
17 mtch = match(cc.ID, row.names(data))
18 match.ID = !any(is.na(mtch)) # && length(unique(mtch)) == nrow(data)
19 if (match.ID && any(mtch != 1:nrow(data)))
29 if (is.null(mtch))
30 mtch = match(cc.ID, row.names(data))
31 if (any(is.na(mtch)))
33 if (length(unique(mtch)) != nrow(data))
35 data = data[mtch, , drop = FALSE]
/dports/www/coppermine/cpg1.6.x-1.6.12/
H A Dlang_check.php243 foreach ($mtchs as $mtch) {
244 if (isset($eno->vars['lang_'.$mtch[1]][$mtch[2]])) {
245 unset($en->vars['lang_'.$mtch[1]][$mtch[2]]);
247 if (substr($mtch[1],0,7) != 'plugin_') $enMissing['lang_'.$mtch[1]] = array($fpath,$mtch[2]);
/dports/editors/xvile/vile-9.8v/perl/
H A Ddict.pm19 $strt, $entry, $db, $def, @mtch, $mtch, %DEF
50 ( $db, $mtch ) = @$entry;
51 push @mtch, $mtch;
57 $find = Vile::mlreply_opts( "Do you mean? ", @mtch );
/dports/editors/vile/vile-9.8v/perl/
H A Ddict.pm19 $strt, $entry, $db, $def, @mtch, $mtch, %DEF
50 ( $db, $mtch ) = @$entry;
51 push @mtch, $mtch;
57 $find = Vile::mlreply_opts( "Do you mean? ", @mtch );
/dports/net/kamailio/kamailio-5.4.5/src/modules/mtree/
H A Dmtree.c203 unsigned char mtch; in mt_add_to_tree() local
249 itn = itn0[mtch].child; in mt_add_to_tree()
264 itn0[mtch].child = itn; in mt_add_to_tree()
276 itn = itn0[mtch].child; in mt_add_to_tree()
383 if(itn[mtch].tvalues!=NULL) in mt_get_tvalue()
388 itn = itn[mtch].child; in mt_get_tvalue()
448 itn = itn[mtch].child; in mt_add_tvalues()
543 if(itn[mtch].tvalues!=NULL) in mt_match_prefix()
559 itn = itn[mtch].child; in mt_match_prefix()
1009 itn = itn[mtch].child; in mt_rpc_add_tvalues()
[all …]
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libvcodex/Vcsieve/
H A Dvcsieve.c124 static ssize_t putinst(vcpa, type, mtch, n) in putinst()
143 { if((z = mtch->size) <= 0 )
158 n -= 1; mtch += 1;
163 z = (mtch[n-1].tpos + mtch[n-1].size) - mtch->tpos; /* absorb all */
171 if((addr = address(si, mtch->mpos, sz, mtch->tpos, &ty)) < 0 )
195 if(mtch->mpos >= si->vcpa.nsrc)
197 else ms = si->vcpa.src + mtch->mpos;
208 { if((z = mtch[1].tpos - (mtch[0].tpos + mtch[0].size)) <= 0 )
215 ts = si->vcpa.tar + (mtch[0].tpos + mtch[0].size) - si->vcpa.nsrc;
221 /**/DEBUG_PRINT(9, "tpos %6d\n", mtch->tpos + mtch->size - vcpa->nsrc);
[all …]
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libvcodex/Vcdelta/
H A Dvcdelta.c192 static ssize_t vcdputinst(vcpa, type, mtch, n) in vcdputinst()
204 if((m = mtch)->mpos < 0)
205 { PRINT(2, "add %6d ", mtch->size);
211 PRINT(2, "cpy %6d ", mtch[n-1].tpos+mtch[n-1].size - m->tpos);
214 if((l = n - (m == mtch ? 0 : 1)) > 1 )
220 for(len = 0, here = mtch->tpos; n > 0; ++mtch, --n)
221 { if((l = mtch->tpos - here) > 0)
228 if(mtch->size <= 0)
230 else if(mtch->mpos < 0)
231 { if((l = vcdputadd(vcd, mtch->tpos, mtch->size)) != mtch->size )
[all …]
/dports/shells/ksh93/ast-93u/src/lib/libvcodex/Vcdelta/
H A Dvcdelta.c192 static ssize_t vcdputinst(vcpa, type, mtch, n) in vcdputinst()
204 if((m = mtch)->mpos < 0)
205 { PRINT(2, "add %6d ", mtch->size);
211 PRINT(2, "cpy %6d ", mtch[n-1].tpos+mtch[n-1].size - m->tpos);
214 if((l = n - (m == mtch ? 0 : 1)) > 1 )
220 for(len = 0, here = mtch->tpos; n > 0; ++mtch, --n)
221 { if((l = mtch->tpos - here) > 0)
228 if(mtch->size <= 0)
230 else if(mtch->mpos < 0)
231 { if((l = vcdputadd(vcd, mtch->tpos, mtch->size)) != mtch->size )
[all …]
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libvcodex/Vcdelta/
H A Dvcdelta.c192 static ssize_t vcdputinst(vcpa, type, mtch, n) in vcdputinst()
204 if((m = mtch)->mpos < 0)
205 { DEBUG_PRINT(2, "add %6d ", mtch->size);
211 DEBUG_PRINT(2, "cpy %6d ", mtch[n-1].tpos+mtch[n-1].size - m->tpos);
214 if((l = n - (m == mtch ? 0 : 1)) > 1 )
220 for(len = 0, here = mtch->tpos; n > 0; ++mtch, --n)
221 { if((l = mtch->tpos - here) > 0)
228 if(mtch->size <= 0)
230 else if(mtch->mpos < 0)
231 { if((l = vcdputadd(vcd, mtch->tpos, mtch->size)) != mtch->size )
[all …]
/dports/chinese/gcin-gtk3/gcin-2.9.0/
H A Dtsin-scan.cpp164 u_char mtch[MAX_PHRASE_LEN*CH_SZ+1]; in scanphr_e() local
237 nputs(mtch, match_len); in scanphr_e()
502 u_char mtch[MAX_PHRASE_LEN*CH_SZ+1]; in scanphr_en() local
507 if (!mtch[0]) { in scanphr_en()
508 memcpy(mtch, mtk8, match_len); in scanphr_en()
509 mtch[match_len] = 0; in scanphr_en()
529 if (tolower(mtch[i])!=pp8[i]) in scanphr_en()
546 nputs(mtch, match_len); in scanphr_en()
561 mtch[i]=toupper(mtch[i]); in scanphr_en()
563 mtch[0]=toupper(mtch[0]); in scanphr_en()
[all …]
/dports/chinese/gcin/gcin-2.9.0/
H A Dtsin-scan.cpp164 u_char mtch[MAX_PHRASE_LEN*CH_SZ+1]; in scanphr_e() local
237 nputs(mtch, match_len); in scanphr_e()
502 u_char mtch[MAX_PHRASE_LEN*CH_SZ+1]; in scanphr_en() local
507 if (!mtch[0]) { in scanphr_en()
508 memcpy(mtch, mtk8, match_len); in scanphr_en()
509 mtch[match_len] = 0; in scanphr_en()
529 if (tolower(mtch[i])!=pp8[i]) in scanphr_en()
546 nputs(mtch, match_len); in scanphr_en()
561 mtch[i]=toupper(mtch[i]); in scanphr_en()
563 mtch[0]=toupper(mtch[0]); in scanphr_en()
[all …]
/dports/chinese/gcin-qt5/gcin-2.9.0/
H A Dtsin-scan.cpp164 u_char mtch[MAX_PHRASE_LEN*CH_SZ+1]; in scanphr_e() local
237 nputs(mtch, match_len); in scanphr_e()
502 u_char mtch[MAX_PHRASE_LEN*CH_SZ+1]; in scanphr_en() local
507 if (!mtch[0]) { in scanphr_en()
508 memcpy(mtch, mtk8, match_len); in scanphr_en()
509 mtch[match_len] = 0; in scanphr_en()
529 if (tolower(mtch[i])!=pp8[i]) in scanphr_en()
546 nputs(mtch, match_len); in scanphr_en()
561 mtch[i]=toupper(mtch[i]); in scanphr_en()
563 mtch[0]=toupper(mtch[0]); in scanphr_en()
[all …]
/dports/lang/chicken5/chicken-5.3.0/
H A Dchicken-uninstall.scm65 (define (gather-eggs patterns mtch)
68 (pats (if mtch
129 (define (uninstall pats mtch)
130 (let ((eggs (gather-eggs pats mtch)))
158 (let ((mtch #f))
163 (uninstall (reverse pats) mtch))
183 (set! mtch #t)
/dports/net-im/telegram-desktop/tdesktop-3.2.5-full/Telegram/ThirdParty/hime/src/
H A Dtsin-scan.c44 gboolean check_gtab_fixed_mismatch (int idx, char *mtch, int plen);
117 u_char mtch[MAX_PHRASE_LEN * CH_SZ + 1]; in scanphr_e() local
121 load_tsin_entry (sti, &match_len, &usecount, mtk, mtch); in scanphr_e()
154 nputs(mtch, match_len); in scanphr_e()
159 if (check_fixed_mismatch (chpho_idx, (char *) mtch, plen)) in scanphr_e()
162 if (check_gtab_fixed_mismatch (chpho_idx, (char *) mtch, plen)) in scanphr_e()
172 utf8cpyN (sel[selN].str, (char *) mtch, match_len); in scanphr_e()
/dports/devel/R-cran-cli/cli/R/
H A Ddocs.R18 mtch <- grepl(ptn, lines) functionVar
19 lines[!mtch] <- ""
21 lines <- lines[mtch | prev != lines]
/dports/lang/purescript/purescript-0.14.5/_cabal_deps/stringsearch-0.3.6.6/Data/ByteString/Lazy/Search/
H A DDFA.hs216 let (pre, mtch) = breaker strs
217 in pre ++ case mtch of
219 _ -> subst (repl subst (ldrop patLen mtch))
256 (pre, mtch) ->
257 pre : case mtch of
259 _ -> splitter' (ldrop patLen mtch)
283 (pre, mtch) -> pre : splitter mtch
305 (pre, mtch) ->
306 pre : case mtch of
308 _ -> case lsplit patLen mtch of

123456789