Home
last modified time | relevance | path

Searched +refs:string +refs:match +refs:p (Results 1 – 25 of 63327) sorted by relevance

12345678910>>...2534

/dports/sysutils/tarsnap/tarsnap-autoconf-1.0.39/tar/
H A Dmatching.c207 for (p = pathname; p != NULL; p = strchr(p, '/')) { in match_exclusion()
209 p++; in match_exclusion()
210 if (pathmatch(match->pattern, p) == 0) in match_exclusion()
229 struct match *p, *q; in cleanup_exclusions() local
235 p = p->next; in cleanup_exclusions()
241 p = p->next; in cleanup_exclusions()
273 struct match *p; in unmatched_inclusions_warn() local
286 p = p->next; in unmatched_inclusions_warn()
319 if (string[0] == '.' && string[1] == '/') { in pathmatch()
322 ++string; in pathmatch()
[all …]
/dports/science/cp2k/cp2k-2e995eec7fd208c8a72d9544807bd8b8ba8cd1cc/src/common/
H A Dglob_matching.F43 RECURSIVE FUNCTION string_match(string, pattern) RESULT(match)
50 match = .FALSE.
53 strim = LEN_TRIM(string)
71 p = p + 1
79 p = p + 1
90 match = .TRUE.
98 match = string_match(string(start:), pattern(p:))
109 match = .TRUE.
115 match = string_match(string(start:), pattern(p:))
116 IF (match) THEN
[all …]
/dports/science/cp2k-data/cp2k-7.1.0/src/common/
H A Dglob_matching.F43 RECURSIVE FUNCTION string_match(string, pattern) RESULT(match)
50 match = .FALSE.
53 strim = LEN_TRIM(string)
71 p = p + 1
79 p = p + 1
90 match = .TRUE.
98 match = string_match(string(start:), pattern(p:))
109 match = .TRUE.
115 match = string_match(string(start:), pattern(p:))
116 IF (match) THEN
[all …]
/dports/devel/xxgdb/xxgdb-1.12/
H A Dparser.c113 PatternRec *p; local
118 p = &patternTable[i];
122 p->buf->buffer = (char *) XtMalloc (p->buf->allocated);
125 re_compile_pattern(p->pat, strlen(p->pat), p->buf);
138 int match(patternTable, string, type) in match() argument
140 char *string;
151 m = re_match(patternTable[i].buf, string, strlen(string), 0, &regs);
370 char *p; local
389 if (re_match(output_pattern[O_EXEC_GDB].buf, string, strlen(string), 0,
392 for (p=string+regs.start[r]; p!=string && *(p-1) != '\n'; p--);
[all …]
H A Dgdb_parser.c718 if (!string)
719 string = "";
774 p = strchr(string,'\032');
775 if (p && (*(p+1) == '\032') && (p == string || *(p-1) == '\n') /* && (p2 = strchr(p,'\n'))*/) {
786 AppendDialogText(string);
1104 char *string = NULL; local
1158 string = concat(string, s);
1178 if (string) {
1179 XtFree(string);
1180 string = NULL;
[all …]
/dports/devel/lua-lpeg/lpeg-1.0.2/
H A Dtest.lua614 assert(p:match(string.rep('a', 1000)) == 1001)
635 assert(p:match(string.rep("00", 10000)))
636 assert(p:match(string.rep("01", 10000)))
637 assert(p:match(string.rep("011", 10000)))
639 assert(not p:match(string.rep("011", 10001)))
649 assert(m.match(p, string.rep("0", lim)) == lim + 1)
654 assert(p:match(string.rep('a', 180) .. 'c' .. string.rep('b', 180)) == 362)
726 assert(m.match(p^0, s) == string.len(s) + 1)
754 assert(p:match(string.rep('a', 14000)))
858 assert(p:match(s) == string.rep('c', l) ..
[all …]
/dports/audio/moony-lv2/moony-0.36.0/lpeg-1.0.2/
H A Dtest.lua614 assert(p:match(string.rep('a', 1000)) == 1001)
635 assert(p:match(string.rep("00", 10000)))
636 assert(p:match(string.rep("01", 10000)))
637 assert(p:match(string.rep("011", 10000)))
639 assert(not p:match(string.rep("011", 10001)))
649 assert(m.match(p, string.rep("0", lim)) == lim + 1)
654 assert(p:match(string.rep('a', 180) .. 'c' .. string.rep('b', 180)) == 362)
726 assert(m.match(p^0, s) == string.len(s) + 1)
754 assert(p:match(string.rep('a', 14000)))
858 assert(p:match(s) == string.rep('c', l) ..
[all …]
/dports/editors/textadept/lpeg-1.0.2/
H A Dtest.lua614 assert(p:match(string.rep('a', 1000)) == 1001)
635 assert(p:match(string.rep("00", 10000)))
636 assert(p:match(string.rep("01", 10000)))
637 assert(p:match(string.rep("011", 10000)))
639 assert(not p:match(string.rep("011", 10001)))
649 assert(m.match(p, string.rep("0", lim)) == lim + 1)
654 assert(p:match(string.rep('a', 180) .. 'c' .. string.rep('b', 180)) == 362)
726 assert(m.match(p^0, s) == string.len(s) + 1)
754 assert(p:match(string.rep('a', 14000)))
858 assert(p:match(s) == string.rep('c', l) ..
[all …]
/dports/lang/guile1/guile-1.8.8/ice-9/
H A Dregex.scm103 (lambda (p)
107 (write-char #\\ p)
108 (write-char c p))
110 (write-char #\[ p)
111 (write-char c p)
112 (write-char #\] p))
115 string))))
148 (lambda (p)
149 (apply regexp-substitute p match items)))
205 (lambda (p)
[all …]
/dports/lang/guile2/guile-2.2.7/module/ice-9/
H A Dregex.scm101 (define (regexp-quote string)
103 (lambda (p)
107 (write-char #\\ p)
108 (write-char c p))
110 (write-char #\[ p)
111 (write-char c p)
115 string))))
139 (lambda (p)
140 (apply regexp-substitute p match items)))
196 (lambda (p)
[all …]
/dports/lang/guile/guile-3.0.7/module/ice-9/
H A Dregex.scm101 (define (regexp-quote string)
103 (lambda (p)
107 (write-char #\\ p)
108 (write-char c p))
110 (write-char #\[ p)
111 (write-char c p)
115 string))))
139 (lambda (p)
140 (apply regexp-substitute p match items)))
196 (lambda (p)
[all …]
/dports/www/trafficserver/trafficserver-9.1.1/plugins/header_rewrite/
H A Dconditions.cc91 match->set(p.get_arg()); in initialize()
207 match->set(p.get_arg()); in initialize()
271 match->set(p.get_arg()); in initialize()
389 match->set(p.get_arg()); in initialize()
454 match->set(p.get_arg()); in initialize()
533 match->set(p.get_arg()); in initialize()
602 std::string const &arg = p.get_arg(); in initialize()
773 match->set(p.get_arg()); in initialize()
854 match->set(p.get_arg()); in initialize()
931 match->set(p.get_arg()); in initialize()
[all …]
/dports/net/ns3/ns-allinone-3.35/ns-3.35/src/lte/helper/
H A Dlte-stats-calculator.cc151 if (match.GetN () != 0) in FindImsiFromEnbRlcPath()
175 if (match.GetN () != 0) in FindImsiFromUePhy()
177 Ptr<Object> ueRrc = match.Get (0); in FindImsiFromUePhy()
198 if (match.GetN () != 0) in FindImsiFromLteNetDevice()
220 if (match.GetN () != 0) in FindCellIdFromEnbRlcPath()
239 std::string p = path.substr (0, path.find ("/LteEnbMac")); in FindImsiFromEnbMac() local
253 std::string p = path.substr (0, path.find ("/LteEnbMac")); in FindCellIdFromEnbMac() local
271 std::string p = path.substr (0, path.find ("/LteEnbPhy")); in FindImsiForEnb() local
279 std::string p = path.substr (0, path.find ("/LteUePhy")); in FindImsiForEnb() local
294 std::string p = path.substr (0, path.find ("/LteUePhy")); in FindImsiForUe() local
[all …]
/dports/irc/evangeline/evangeline/src/
H A Dflags.c117 char *p = s; in masktype() local
120 *p++ = 'm'; in masktype()
122 *p++ = 'p'; in masktype()
124 *p++ = 'j'; in masktype()
126 *p++ = 'k'; in masktype()
128 *p++ = 'c'; in masktype()
130 *p++ = 'o'; in masktype()
167 if (p == s) in masktype()
169 *p = 0; in masktype()
470 *string++ = (plus->match & FR_AND) ? '&' : '|'; in build_flags()
[all …]
/dports/irc/evangeline/evangeline-msa/src/
H A Dflags.c117 char *p = s; in masktype() local
120 *p++ = 'm'; in masktype()
122 *p++ = 'p'; in masktype()
124 *p++ = 'j'; in masktype()
126 *p++ = 'k'; in masktype()
128 *p++ = 'c'; in masktype()
130 *p++ = 'o'; in masktype()
167 if (p == s) in masktype()
169 *p = 0; in masktype()
470 *string++ = (plus->match & FR_AND) ? '&' : '|'; in build_flags()
[all …]
/dports/lang/python-legacy/Python-2.7.18/Lib/
H A Dre.py138 def match(pattern, string, flags=0): argument
141 return _compile(pattern, flags).match(string)
279 def _expand(pattern, match, template): argument
282 return sre_parse.expand_template(template, match)
290 def filter(match, template=template): argument
291 return sre_parse.expand_template(template, match)
299 return _compile, (p.pattern, p.flags)
321 def scan(self, string): argument
324 match = self.scanner.scanner(string).match
327 m = match()
[all …]
/dports/lang/python27/Python-2.7.18/Lib/
H A Dre.py138 def match(pattern, string, flags=0): argument
141 return _compile(pattern, flags).match(string)
279 def _expand(pattern, match, template): argument
282 return sre_parse.expand_template(template, match)
290 def filter(match, template=template): argument
291 return sre_parse.expand_template(template, match)
299 return _compile, (p.pattern, p.flags)
321 def scan(self, string): argument
324 match = self.scanner.scanner(string).match
327 m = match()
[all …]
/dports/java/eclipse-pydev/eclipse-pydev-8.2.0/plugins/org.python.pydev.jython_8.2.0.202102211157/Lib/
H A Dre.py134 def match(pattern, string, flags=0): argument
137 return _compile(pattern, flags).match(string)
246 return p
263 def _expand(pattern, match, template): argument
266 return sre_parse.expand_template(template, match)
274 def filter(match, template=template): argument
275 return sre_parse.expand_template(template, match)
283 return _compile, (p.pattern, p.flags)
308 match = self.scanner.scanner(string).match
311 m = match()
[all …]
/dports/sysutils/uefi-edk2-bhyve-csm/uefi-edk2-aa8d718/AppPkg/Applications/Python/Python-2.7.2/Lib/
H A Dre.py134 def match(pattern, string, flags=0): argument
137 return _compile(pattern, flags).match(string)
248 return p
265 def _expand(pattern, match, template): argument
268 return sre_parse.expand_template(template, match)
276 def filter(match, template=template): argument
277 return sre_parse.expand_template(template, match)
285 return _compile, (p.pattern, p.flags)
310 match = self.scanner.scanner(string).match
313 m = match()
[all …]
/dports/security/razorback-yaraNugget/yaraNugget-0.5.0/libyara/
H A Dscan.c192 size_t b,p,m; in hex_match() local
203 p = 0; in hex_match()
231 … tmp = hex_match(buffer + b + i, buffer_size - b - i, pattern + p, pattern_length - p, mask + m); in hex_match()
271 p++; in hex_match()
298 p++; in hex_match()
602 match = string->matches_head; in clear_marks()
693 match = wcompare((char*) string->string, (char*) buffer, string->length); in string_match()
696 if (match > 0 && IS_FULL_WORD(string)) in string_match()
731 match = compare((char*) string->string, (char*) buffer, string->length); in string_match()
734 if (match > 0 && IS_FULL_WORD(string)) in string_match()
[all …]
/dports/audio/ecasound/ecasound-2.9.3/libecasound/
H A Deca-chainsetup-parser.cpp143 std::vector<string>::const_iterator p = opts.begin(); in interpret_options() local
178 interpret_set_result(false, string("Invalid argument, unable to parse: \"") + *p + "\""); in interpret_options()
216 std::vector<string>::iterator p = opts.begin(); in preprocess_options() local
293 bool match = true; in interpret_general_option() local
472 bool match = true; in interpret_processing_control() local
520 bool match = true; in interpret_chains() local
537 for (std::vector<string>::const_iterator p = schains.begin(); p != in interpret_chains() local
564 bool match = true; in interpret_audio_format() local
636 bool match = true; in interpret_effect_preset() local
647 match = false; in interpret_effect_preset()
[all …]
/dports/mail/balsa/balsa-2.5.1/libbalsa/
H A Dabook-completion.c43 gchar *p, *q; in completion_data_new() local
59 for (p = q = address_string; *p; p++) in completion_data_new()
60 if (*p != '"' && *p != '<') in completion_data_new()
61 *q++ = *p; in completion_data_new()
71 ret->string = g_string_free(string, FALSE); in completion_data_new()
116 const gchar *match; in strncmp_word() local
122 match = s2; in strncmp_word()
124 if (!(retval = strncmp(s1, match, n))) in strncmp_word()
126 if ((match = strchr(match, ' '))) in strncmp_word()
127 ++match; in strncmp_word()
[all …]
H A Dfilter.c138 match=libbalsa_utf8_strstr(str,cond->match.string.string); in libbalsa_condition_matches()
147 match=libbalsa_utf8_strstr(str,cond->match.string.string); in libbalsa_condition_matches()
153 cond->match.string.string)) { in libbalsa_condition_matches()
163 match=libbalsa_utf8_strstr(str,cond->match.string.string); in libbalsa_condition_matches()
168 if (cond->match.string.user_header) { in libbalsa_condition_matches()
171 cond->match.string. in libbalsa_condition_matches()
175 cond->match.string.string)) { in libbalsa_condition_matches()
189 cond->match.string.string); in libbalsa_condition_matches()
254 gchar **parts, **p; in libbalsa_filter_mailbox_messages() local
316 for (p = parts; *p; p++) { in libbalsa_filter_mailbox_messages()
[all …]
/dports/lang/python37/Python-3.7.12/Lib/
H A Dre.py172 def match(pattern, string, flags=0): argument
175 return _compile(pattern, flags).match(string)
297 return p
304 def _expand(pattern, match, template): argument
323 def _pickle(p): argument
324 return _compile, (p.pattern, p.flags)
338 p = []
347 p = sre_parse.SubPattern(s, [(BRANCH, (None, p))])
352 match = self.scanner.scanner(string).match
355 m = match()
[all …]
/dports/lang/python311/Python-3.11.0a3/Lib/
H A Dre.py165 def match(pattern, string, flags=0): argument
168 return _compile(pattern, flags).match(string)
290 return p
297 def _expand(pattern, match, template): argument
316 def _pickle(p): argument
317 return _compile, (p.pattern, p.flags)
331 p = []
340 p = sre_parse.SubPattern(s, [(BRANCH, (None, p))])
345 match = self.scanner.scanner(string).match
348 m = match()
[all …]

12345678910>>...2534