Home
last modified time | relevance | path

Searched refs:tomatch (Results 1 – 25 of 76) sorted by relevance

1234

/dports/net/kamailio/kamailio-5.4.5/src/modules/phonenum/
H A Dphonenum_mod.c48 static int phonenum_match(sip_msg_t *msg, str *tomatch, str *pvclass);
124 static int phonenum_match(sip_msg_t *msg, str *tomatch, str *pvclass) in phonenum_match() argument
128 return phonenum_update_pv(tomatch, NULL, pvclass); in phonenum_match()
133 str tomatch = STR_NULL; in w_phonenum_match() local
141 if(fixup_get_svalue(msg, (gparam_t *)target, &tomatch) < 0) { in w_phonenum_match()
150 return phonenum_match(msg, &tomatch, &pvclass); in w_phonenum_match()
153 static int phonenum_match_cn(sip_msg_t *msg, str *tomatch, str *cnc, str *pvclass) in phonenum_match_cn() argument
157 return phonenum_update_pv(tomatch, cnc, pvclass); in phonenum_match_cn()
163 str tomatch = STR_NULL; in w_phonenum_match_cn() local
172 if(fixup_get_svalue(msg, (gparam_t *)target, &tomatch) < 0) { in w_phonenum_match_cn()
[all …]
H A Dphonenum_pv.c41 char tomatch[256]; member
305 int phonenum_update_pv(str *tomatch, str *cncode, str *name) in phonenum_update_pv() argument
309 if(tomatch->len > 255) { in phonenum_update_pv()
310 LM_DBG("target too long (max 255): %s\n", tomatch->s); in phonenum_update_pv()
316 LM_DBG("container not found: %s\n", tomatch->s); in phonenum_update_pv()
323 strncpy(gr->tomatch, tomatch->s, tomatch->len); in phonenum_update_pv()
324 gr->tomatch[tomatch->len] = '\0'; in phonenum_update_pv()
325 LM_DBG("attempt to match: %s\n", gr->tomatch); in phonenum_update_pv()
326 gr->record = telnum_parse(gr->tomatch, in phonenum_update_pv()
329 LM_DBG("no match for: %s\n", gr->tomatch); in phonenum_update_pv()
[all …]
H A Dphonenum_pv.h36 int phonenum_update_pv(str *tomatch, str *cncode, str *pvclass);
/dports/math/py-pystan/pystan-2.19.0.0/pystan/
H A Dlookup.py117 tomatch = list(filter(lambda x: len(x) == 2, rmatches))
118 tomatch = np.array(tomatch, dtype=str)
119 tomatch[:, 1] = np.vectorize(lambda x: "R." + x)(tomatch[:,1])
123 tomatch = np.vstack((tomatch, pymatches))
126 for i in range(tomatch.shape[0]):
127 matchedlines = np.vectorize(lambda x: re.match(tomatch[i, 0],
129 lookuptb[tomatch[i, 1]] = np.where(matchedlines)[0]
/dports/net/kamailio/kamailio-5.4.5/src/modules/mtree/
H A Dmtree.c361 if(pt==NULL || tomatch==NULL || tomatch->s==NULL || len == NULL) in mt_get_tvalue()
379 l, tomatch->len, tomatch->s); in mt_get_tvalue()
405 if (pt == NULL || tomatch == NULL || tomatch->s == NULL) { in mt_add_tvalues()
427 l, tomatch->len, tomatch->s); in mt_add_tvalues()
490 LM_DBG("no match for: %.*s\n", tomatch->len, tomatch->s); in mt_match_prefix()
539 l, tomatch->len, tomatch->s); in mt_match_prefix()
966 if (pt == NULL || tomatch == NULL || tomatch->s == NULL) { in mt_rpc_add_tvalues()
970 prefix = *tomatch; in mt_rpc_add_tvalues()
981 l, tomatch->len, tomatch->s); in mt_rpc_add_tvalues()
1053 LM_DBG("no match for: %.*s\n", tomatch->len, tomatch->s); in mt_rpc_match_prefix()
[all …]
H A Dmtree.h91 is_t* mt_get_tvalue(m_tree_t *pt, str *tomatch, int *len);
93 str *tomatch, int mode);
115 str *tomatch, int mode);
H A Dmtree_mod.c118 static int mt_match(sip_msg_t *msg, str *tname, str *tomatch,
380 static int mt_match(sip_msg_t *msg, str *tname, str *tomatch, in mt_match() argument
406 if(mt_match_prefix(msg, tr, tomatch, mval)<0) in mt_match()
410 tomatch->len, tomatch->s); in mt_match()
430 str tomatch; in w_mt_match() local
444 if(fixup_get_svalue(msg, (gparam_t*)pvar, &tomatch)<0) in w_mt_match()
455 return mt_match(msg, &tname, &tomatch, mval); in w_mt_match()
997 str tomatch = STR_NULL; in rpc_mtree_match() local
1008 if (rpc->scan(ctx, ".SSd", &tname, &tomatch, &mode) < 3) { in rpc_mtree_match()
1036 if(mt_rpc_match_prefix(rpc, ctx, tr, &tomatch, mode)<0) in rpc_mtree_match()
[all …]
H A Dapi.h27 typedef int (*mt_match_f)(sip_msg_t *msg, str *tname, str *tomatch, int mval);
/dports/net/kamailio/kamailio-5.4.5/src/modules/geoip/
H A Dgeoip_mod.c46 static int geoip_match(sip_msg_t *msg, str *tomatch, str *pvclass);
109 static int geoip_match(sip_msg_t *msg, str *tomatch, str *pvclass) in geoip_match() argument
113 return geoip_update_pv(tomatch, pvclass); in geoip_match()
118 str tomatch = STR_NULL; in w_geoip_match() local
126 if(fixup_get_svalue(msg, (gparam_t*)target, &tomatch)<0) { in w_geoip_match()
135 return geoip_match(msg, &tomatch, &pvclass); in w_geoip_match()
H A Dgeoip_pv.c44 char tomatch[256]; member
312 gpv->item->r.tomatch); in pv_get_geoip()
406 int geoip_update_pv(str *tomatch, str *name) in geoip_update_pv() argument
410 if(tomatch->len>255) in geoip_update_pv()
419 LM_DBG("container not found: %s\n", tomatch->s); in geoip_update_pv()
423 strncpy(gr->tomatch, tomatch->s, tomatch->len); in geoip_update_pv()
424 gr->tomatch[tomatch->len] = '\0'; in geoip_update_pv()
426 (const char*)gr->tomatch); in geoip_update_pv()
427 LM_DBG("attempt to match: %s\n", gr->tomatch); in geoip_update_pv()
430 LM_DBG("no match for: %s\n", gr->tomatch); in geoip_update_pv()
[all …]
H A Dgeoip_pv.h39 int geoip_update_pv(str *tomatch, str *pvclass);
/dports/net/kamailio/kamailio-5.4.5/src/modules/geoip2/
H A Dgeoip2_mod.c44 static int geoip2_match(sip_msg_t *msg, str *tomatch, str *pvclass);
106 static int geoip2_match(sip_msg_t *msg, str *tomatch, str *pvclass) in geoip2_match() argument
110 return geoip2_update_pv(tomatch, pvclass); in geoip2_match()
115 str tomatch = STR_NULL; in w_geoip2_match() local
123 if(fixup_get_svalue(msg, (gparam_t*)target, &tomatch)<0) { in w_geoip2_match()
132 return geoip2_match(msg, &tomatch, &pvclass); in w_geoip2_match()
H A Dgeoip2_pv.c48 char tomatch[256]; member
464 int geoip2_update_pv(str *tomatch, str *name) in geoip2_update_pv() argument
469 if(tomatch->len>255) in geoip2_update_pv()
471 LM_DBG("target too long (max 255): %s\n", tomatch->s); in geoip2_update_pv()
478 LM_DBG("container not found: %s\n", tomatch->s); in geoip2_update_pv()
482 strncpy(gr->tomatch, tomatch->s, tomatch->len); in geoip2_update_pv()
483 tomatch->s[tomatch->len] = '\0'; in geoip2_update_pv()
485 (const char*)gr->tomatch, in geoip2_update_pv()
488 LM_DBG("attempt to match: %s\n", gr->tomatch); in geoip2_update_pv()
491 LM_DBG("no match for: %s\n", gr->tomatch); in geoip2_update_pv()
[all …]
H A Dgeoip2_pv.h36 int geoip2_update_pv(str *tomatch, str *pvclass);
/dports/textproc/source-highlight/source-highlight-3.1.9/src/
H A Dcheck-regexp.cpp81 string tomatch = args_info.inputs[i]; in main() local
87 start = tomatch.begin(); in main()
88 end = tomatch.end(); in main()
91 cout << "\nsearching : " << tomatch << endl; in main()
/dports/textproc/p5-POSIX-Regex/POSIX-Regex-1.0003/
H A DRegex.xs133 regexec_wa(self,tomatch,opts)
135 char *tomatch
160 err = regexec(r, tomatch, 10, mat, opts);
179 av_push(retav, newSVpvn(tomatch+s, e-s));
/dports/net/ndpi/nDPI-92a1be2/src/lib/protocols/
H A Dzabbix.c40 u_int8_t tomatch[] = { 'Z', 'B', 'X', 'D', 0x1 }; in ndpi_search_zabbix() local
45 && (memcmp(packet->payload, tomatch, 5) == 0)) in ndpi_search_zabbix()
/dports/multimedia/avidemux-qt5/avidemux_2.7.6/avidemux/gtk/ADM_userInterfaces/ADM_ocr/
H A Dadm_editglyph.cpp107 char *tomatch=NULL; in DIA_glyphEdit() local
111 diaElemText txt(&tomatch,QT_TR_NOOP("String"),NULL); in DIA_glyphEdit()
119 printf("Searched string <%s>\n",tomatch); in DIA_glyphEdit()
128 printf("%s vs %s\n",currentGlyph->code,tomatch); in DIA_glyphEdit()
129 if(!strcmp(currentGlyph->code,tomatch)) in DIA_glyphEdit()
137 ADM_dezalloc(tomatch); in DIA_glyphEdit()
/dports/multimedia/avidemux/avidemux_2.7.6/avidemux/gtk/ADM_userInterfaces/ADM_ocr/
H A Dadm_editglyph.cpp107 char *tomatch=NULL; in DIA_glyphEdit() local
111 diaElemText txt(&tomatch,QT_TR_NOOP("String"),NULL); in DIA_glyphEdit()
119 printf("Searched string <%s>\n",tomatch); in DIA_glyphEdit()
128 printf("%s vs %s\n",currentGlyph->code,tomatch); in DIA_glyphEdit()
129 if(!strcmp(currentGlyph->code,tomatch)) in DIA_glyphEdit()
137 ADM_dezalloc(tomatch); in DIA_glyphEdit()
/dports/multimedia/avidemux-plugins/avidemux_2.7.6/avidemux/gtk/ADM_userInterfaces/ADM_ocr/
H A Dadm_editglyph.cpp107 char *tomatch=NULL; in DIA_glyphEdit() local
111 diaElemText txt(&tomatch,QT_TR_NOOP("String"),NULL); in DIA_glyphEdit()
119 printf("Searched string <%s>\n",tomatch); in DIA_glyphEdit()
128 printf("%s vs %s\n",currentGlyph->code,tomatch); in DIA_glyphEdit()
129 if(!strcmp(currentGlyph->code,tomatch)) in DIA_glyphEdit()
137 ADM_dezalloc(tomatch); in DIA_glyphEdit()
/dports/multimedia/avidemux-cli/avidemux_2.7.6/avidemux/gtk/ADM_userInterfaces/ADM_ocr/
H A Dadm_editglyph.cpp107 char *tomatch=NULL; in DIA_glyphEdit() local
111 diaElemText txt(&tomatch,QT_TR_NOOP("String"),NULL); in DIA_glyphEdit()
119 printf("Searched string <%s>\n",tomatch); in DIA_glyphEdit()
128 printf("%s vs %s\n",currentGlyph->code,tomatch); in DIA_glyphEdit()
129 if(!strcmp(currentGlyph->code,tomatch)) in DIA_glyphEdit()
137 ADM_dezalloc(tomatch); in DIA_glyphEdit()
/dports/converters/p5-LaTeXML/LaTeXML-0.8.6/lib/LaTeXML/Core/
H A DGullet.pm504 my @tomatch = $choice->unlist;
507 while (@tomatch && defined($token = $self->readToken)
508 && push(@matched, $token) && ($token->equals($tomatch[0]))) {
509 shift(@tomatch);
515 return $choice unless @tomatch; # All matched!!!
528 my @tomatch = split('', uc($keyword));
531 while (@tomatch && defined($tok = $self->readXToken(0)) && push(@matched, $tok)
532 && (uc($tok->toString) eq $tomatch[0])) {
533 shift(@tomatch); }
534 return $keyword unless @tomatch; # All matched!!!
H A DRewrite.pm438 my $tomatch = $node->childNodes; # or all children!
439 if ($tomatch) {
440 my ($xpath, $nnodes, $nwilds, @wilds) = domToXPath_rec($document, $tomatch, $axis, $pos);
461 my $tomatch = $children[0]->childNodes;
462 if ($tomatch) {
463 my ($xpath, $nnodes, $nwilds, @wilds) = domToXPath_rec($document, $tomatch, 'child', 1);
/dports/astro/gnuastro/gnuastro-0.16/bin/
H A Dcompletion.bash.in655 local tomatch="$2"
675 if [ x"$fullmatch" = x"$tomatch" ]; then
886 local tomatch=""
894 tomatch="$fullmatch"
896 tomatch=$(echo $fullmatch | awk 'BEGIN{FS=","} {print $NF}')
903 | grep ^$tomatch)
906 "$keys" "$tomatch" "$fullmatch" "$continuematch"
1069 local tomatch=""
1085 tomatch="$fullmatch"
1104 | grep ^$tomatch)
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/gslib/
H A Dls_helper.py294 tomatch = blr.url_string
296 if fnmatch.fnmatch(tomatch, pattern):

1234