Home
last modified time | relevance | path

Searched refs:first_match (Results 1 – 25 of 576) sorted by relevance

12345678910>>...24

/dports/devel/py-cmd2/cmd2-2.3.2/tests/
H A Dtest_completion.py184 assert first_match is None
271 assert first_match is None
284 assert first_match
298 assert first_match
334 assert first_match is None
360 assert first_match is None
370 assert first_match is None
1075 assert first_match is None
1117 assert first_match is None
1149 assert first_match is None
[all …]
H A Dtest_argparse_completer.py389 assert first_match is None
407 assert first_match is None
552 assert first_match is None
582 assert first_match is None
616 assert first_match is None
662 assert first_match is None
686 assert first_match is None
730 assert first_match is not None
752 assert first_match is not None
1040 assert first_match is None
[all …]
/dports/net-mgmt/flow-tools/flow-tools-2ca53f5/src/
H A Dflow-filter.c97 int first_match = 0; in main() local
196 first_match = 1; in main()
431 if (!first_match) in main()
441 if (!first_match) in main()
451 if (!first_match) in main()
461 if (!first_match) in main()
471 if (!first_match) in main()
482 if (!first_match) in main()
513 if (!first_match) in main()
523 if (!first_match) in main()
[all …]
/dports/security/py-exscript/exscript-2.6/tests/Exscript/util/
H A DmatchTest.py14 from Exscript.util.match import first_match
17 self.assertIsNone(first_match(string, r'aaa'))
18 self.assertEqual(first_match(string, r'\S+'), 'my test')
19 self.assertIsNone(first_match(string, r'(aaa)'))
20 self.assertEqual(first_match(string, r'(\S+)'), 'my')
21 self.assertEqual(first_match(string, r'(aaa) (\S+)'), (None, None))
22 self.assertEqual(first_match(string, r'(\S+) (\S+)'), ('my', 'test'))
24 first_match("24.1632", r'(\d+)\.(\d+)'), ('24', '1632'))
25 self.assertEqual(first_match("24", r'(\d+)\.?(\d+)?'), ('24', None))
28 self.assertEqual(first_match(multi_line, r'(he)llo'), 'he')
/dports/net-p2p/microdc2/microdc2-0.15.6/src/common/
H A Dbksearch.c76 comparison_fn_t cmp, const void **first_match, in bsearchrange() argument
84 if (first_match != NULL) in bsearchrange()
85 *first_match = NULL; in bsearchrange()
91 if (first_match != NULL) in bsearchrange()
92 *first_match = bsearchpartial(key, base, 0, idx, size, cmp, true); in bsearchrange()
103 size_t keyoffs, comparison_fn_t cmp, const void **first_match, in bksearchrange() argument
111 if (first_match != NULL) in bksearchrange()
112 *first_match = NULL; in bksearchrange()
118 if (first_match != NULL) in bksearchrange()
119 *first_match = bksearchpartial(key, base, 0, idx, size, keyoffs, cmp, true); in bksearchrange()
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Dexpect.py186 first_match = None
209 if n >= 0 and (first_match is None or n < first_match):
210 first_match = n
212 if first_match is None:
215 self.start = first_match
285 first_match = None
297 if first_match is None or n < first_match:
298 first_match = n
301 if first_match is None:
303 self.start = first_match
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Dexpect.py186 first_match = None
209 if n >= 0 and (first_match is None or n < first_match):
210 first_match = n
212 if first_match is None:
215 self.start = first_match
285 first_match = None
297 if first_match is None or n < first_match:
298 first_match = n
301 if first_match is None:
303 self.start = first_match
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Dexpect.py186 first_match = None
209 if n >= 0 and (first_match is None or n < first_match):
210 first_match = n
212 if first_match is None:
215 self.start = first_match
285 first_match = None
297 if first_match is None or n < first_match:
298 first_match = n
301 if first_match is None:
303 self.start = first_match
/dports/devel/llvm12/llvm-project-12.0.1.src/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Dexpect.py186 first_match = None
209 if n >= 0 and (first_match is None or n < first_match):
210 first_match = n
212 if first_match is None:
215 self.start = first_match
285 first_match = None
297 if first_match is None or n < first_match:
298 first_match = n
301 if first_match is None:
303 self.start = first_match
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Dexpect.py186 first_match = None
209 if n >= 0 and (first_match is None or n < first_match):
210 first_match = n
212 if first_match is None:
215 self.start = first_match
285 first_match = None
297 if first_match is None or n < first_match:
298 first_match = n
301 if first_match is None:
303 self.start = first_match
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Dexpect.py186 first_match = None
209 if n >= 0 and (first_match is None or n < first_match):
210 first_match = n
212 if first_match is None:
215 self.start = first_match
285 first_match = None
297 if first_match is None or n < first_match:
298 first_match = n
301 if first_match is None:
303 self.start = first_match
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Dexpect.py186 first_match = None
209 if n >= 0 and (first_match is None or n < first_match):
210 first_match = n
212 if first_match is None:
215 self.start = first_match
285 first_match = None
297 if first_match is None or n < first_match:
298 first_match = n
301 if first_match is None:
303 self.start = first_match
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Dexpect.py186 first_match = None
209 if n >= 0 and (first_match is None or n < first_match):
210 first_match = n
212 if first_match is None:
215 self.start = first_match
285 first_match = None
297 if first_match is None or n < first_match:
298 first_match = n
301 if first_match is None:
303 self.start = first_match
/dports/devel/tinygo/tinygo-0.14.1/llvm-project/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Dexpect.py186 first_match = None
209 if n >= 0 and (first_match is None or n < first_match):
210 first_match = n
212 if first_match is None:
215 self.start = first_match
285 first_match = None
297 if first_match is None or n < first_match:
298 first_match = n
301 if first_match is None:
303 self.start = first_match
/dports/devel/llvm13/llvm-project-13.0.1.src/lldb/third_party/Python/module/pexpect-4.6/pexpect/
H A Dexpect.py186 first_match = None
209 if n >= 0 and (first_match is None or n < first_match):
210 first_match = n
212 if first_match is None:
215 self.start = first_match
285 first_match = None
297 if first_match is None or n < first_match:
298 first_match = n
301 if first_match is None:
303 self.start = first_match
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/pipenv/pipenv/vendor/pexpect/
H A Dexpect.py186 first_match = None
209 if n >= 0 and (first_match is None or n < first_match):
210 first_match = n
212 if first_match is None:
215 self.start = first_match
285 first_match = None
297 if first_match is None or n < first_match:
298 first_match = n
301 if first_match is None:
303 self.start = first_match
/dports/textproc/erlang-p1_utils/p1_utils-1.0.23/src/
H A Dp1_nif_utils.erl29 PrivDir = first_match(fun(App) ->
42 LPath = first_match(fun(Path) ->
66 first_match(_Fun, []) -> function
68 first_match(Fun, [H|T]) -> function
71 first_match(Fun, T);
/dports/math/spot/spot-2.10.2/tests/core/
H A Dreduccmp.test474 {first_match(a)}, a
477 {first_match(a;c;b*;e)}, a & X(c & X{first_match(b[*];e)})
483 {first_match(b:a[*2][+])}, {first_match(b:a[*2])}
484 {first_match(b[*3]:a[*2][+])}, b & X(b & X{first_match(b:a[*2])})
485 {first_match((a | (b;b))[*2..3])}, {first_match((a | b[*2])[*2])}
486 {first_match((a | (b;b))[:*2..3])}, {first_match((a | b[*2])[:*2])}
487 {first_match(a;(a | (b;b))[*2..3])}, a & X{first_match((a | b[*2])[*2])}
488 {first_match(a:(a | (b;b))[*2..3])}, {first_match(a:(a | b[*2])[*2])}
490 {first_match(a:(a | (b;b))[:*2..3])}, {first_match(a:(a | b[*2])[:*2])}
492 {first_match(first_match(a*;e);b)}[]->a, {first_match(a[*];e)}[]-> X(a | !b)
[all …]
/dports/math/py-spot/spot-2.10.2/tests/core/
H A Dreduccmp.test474 {first_match(a)}, a
477 {first_match(a;c;b*;e)}, a & X(c & X{first_match(b[*];e)})
483 {first_match(b:a[*2][+])}, {first_match(b:a[*2])}
484 {first_match(b[*3]:a[*2][+])}, b & X(b & X{first_match(b:a[*2])})
485 {first_match((a | (b;b))[*2..3])}, {first_match((a | b[*2])[*2])}
486 {first_match((a | (b;b))[:*2..3])}, {first_match((a | b[*2])[:*2])}
487 {first_match(a;(a | (b;b))[*2..3])}, a & X{first_match((a | b[*2])[*2])}
488 {first_match(a:(a | (b;b))[*2..3])}, {first_match(a:(a | b[*2])[*2])}
490 {first_match(a:(a | (b;b))[:*2..3])}, {first_match(a:(a | b[*2])[:*2])}
492 {first_match(first_match(a*;e);b)}[]->a, {first_match(a[*];e)}[]-> X(a | !b)
[all …]
/dports/misc/py-pexpect/pexpect-4.8.0/pexpect/
H A Dexpect.py251 first_match = None
274 if n >= 0 and (first_match is None or n < first_match):
275 first_match = n
277 if first_match is None:
280 self.start = first_match
350 first_match = None
362 if first_match is None or n < first_match:
363 first_match = n
366 if first_match is None:
368 self.start = first_match
/dports/devel/py-pipenv/pipenv-2021.5.29/pipenv/vendor/pexpect/
H A Dexpect.py251 first_match = None
274 if n >= 0 and (first_match is None or n < first_match):
275 first_match = n
277 if first_match is None:
280 self.start = first_match
350 first_match = None
362 if first_match is None or n < first_match:
363 first_match = n
366 if first_match is None:
368 self.start = first_match
/dports/devel/py-cmd2/cmd2-2.3.2/tests_isolated/test_commandset/
H A Dtest_commandset.py500 assert first_match is not None
513 assert first_match is not None
545 assert first_match is not None
555 assert first_match is not None
679 assert first_match is not None
689 assert first_match is not None
779 assert first_match == 'alabama'
805 assert first_match == 'alabama'
849 assert first_match is None
872 assert first_match is None
[all …]
/dports/net-im/zkgroup/zkgroup-0.7.4/cargo-crates/combine-3.8.1/src/parser/
H A Dregex.rs167 let first_match = captures_iter.next().unwrap().unwrap(); in captures() localVariable
168 end = first_match.end(); in captures()
169 Some(Some(first_match)) in captures()
203 let first_match = captures_iter.next().unwrap().unwrap(); in captures() localVariable
204 end = first_match.end(); in captures()
205 Some(Some(first_match)) in captures()
270 let first_match = captures_iter.next().unwrap().unwrap(); in captures() localVariable
271 end = first_match.end(); in captures()
272 Some(Some(first_match)) in captures()
307 end = first_match.end(); in captures()
[all …]
/dports/security/cargo-audit/rustsec-cargo-audit-v0.15.2/cargo-audit/cargo-crates/combine-3.8.1/src/parser/
H A Dregex.rs167 let first_match = captures_iter.next().unwrap().unwrap(); in captures() localVariable
168 end = first_match.end(); in captures()
169 Some(Some(first_match)) in captures()
203 let first_match = captures_iter.next().unwrap().unwrap(); in captures() localVariable
204 end = first_match.end(); in captures()
205 Some(Some(first_match)) in captures()
270 let first_match = captures_iter.next().unwrap().unwrap(); in captures() localVariable
271 end = first_match.end(); in captures()
272 Some(Some(first_match)) in captures()
307 end = first_match.end(); in captures()
[all …]
/dports/editors/xi-core/xi-editor-0.3.0/rust/cargo-crates/combine-3.8.1/src/parser/
H A Dregex.rs167 let first_match = captures_iter.next().unwrap().unwrap(); in captures() localVariable
168 end = first_match.end(); in captures()
169 Some(Some(first_match)) in captures()
203 let first_match = captures_iter.next().unwrap().unwrap(); in captures() localVariable
204 end = first_match.end(); in captures()
205 Some(Some(first_match)) in captures()
270 let first_match = captures_iter.next().unwrap().unwrap(); in captures() localVariable
271 end = first_match.end(); in captures()
272 Some(Some(first_match)) in captures()
307 end = first_match.end(); in captures()
[all …]

12345678910>>...24