Home
last modified time | relevance | path

Searched refs:RegexSet (Results 1 - 11 of 11) sorted by relevance

/third_party/rust/crates/regex/tests/
H A Dtest_default.rs27 use regex::RegexSet;
28 RegexSet::new($re)
85 use regex::{Regex, RegexBuilder, RegexSet, RegexSetBuilder}; in oibits()
111 assert_send::<RegexSet>(); in oibits()
112 assert_sync::<RegexSet>(); in oibits()
113 assert_unwind_safe::<RegexSet>(); in oibits()
114 assert_ref_unwind_safe::<RegexSet>(); in oibits()
120 assert_send::<bytes::RegexSet>(); in oibits()
121 assert_sync::<bytes::RegexSet>(); in oibits()
122 assert_unwind_safe::<bytes::RegexSet>(); in oibits()
[all...]
H A Dtest_default_bytes.rs10 use regex::bytes::RegexSet;
11 RegexSet::new($res)
/third_party/rust/crates/regex/src/
H A Dre_set.rs73 /// use regex::{Regex, RegexSet};
80 /// let set = RegexSet::new(&patterns).unwrap();
104 /// A `RegexSet` has the same performance characteristics as `Regex`. Namely,
108 pub struct RegexSet(Exec); structure names
110 impl RegexSet { impls
122 /// # use regex::RegexSet;
123 /// let set = RegexSet::new(&[r"\w+", r"\d+"]).unwrap();
126 pub fn new<I, S>(exprs: I) -> Result<RegexSet, Error> in new()
136 /// # use regex::RegexSet;
137 /// let set = RegexSet
[all...]
H A Dre_builder.rs241 use crate::re_set::$regex_mod::RegexSet;
269 pub fn build(&self) -> Result<RegexSet, Error> { in build()
273 .map(RegexSet::from) in build()
298 /// N.B. "matches anything" means "any byte" for `regex::bytes::RegexSet`
299 /// expressions and means "any Unicode scalar value" for `regex::RegexSet`
/third_party/rust/crates/bindgen/bindgen/
H A Dregex_set.rs3 use regex::RegexSet as RxSet;
8 pub struct RegexSet { structure names
18 impl RegexSet { impls
19 /// Create a new RegexSet
20 pub fn new() -> RegexSet { in new()
21 RegexSet { in new()
62 /// Construct a RegexSet from the set of entries we've accumulated.
H A Dlib.rs95 pub use crate::regex_set::RegexSet;
1843 blocklisted_types: RegexSet,
1847 blocklisted_functions: RegexSet,
1851 blocklisted_items: RegexSet,
1855 blocklisted_files: RegexSet,
1859 opaque_types: RegexSet,
1873 allowlisted_types: RegexSet,
1876 allowlisted_functions: RegexSet,
1879 allowlisted_vars: RegexSet,
1882 allowlisted_files: RegexSet,
[all...]
/third_party/rust/crates/regex/regex-capi/src/
H A Drure.rs31 // The `RegexSet` is not exposed with option support or matching at an
34 pub struct RegexSet { structure names
35 re: bytes::RegexSet,
64 impl Deref for RegexSet {
65 type Target = bytes::RegexSet;
66 fn deref(&self) -> &bytes::RegexSet { in deref()
476 ) -> *const RegexSet { in rure_compile_set()
514 Box::into_raw(Box::new(RegexSet { re: re })) in rure_compile_set()
529 fn rure_set_free(re: *const RegexSet) { in rure_set_free()
530 unsafe { drop(Box::from_raw(re as *mut RegexSet)); } in rure_set_free()
[all...]
/third_party/rust/crates/regex/bench/src/
H A Dbench.rs17 pub use regex::{Regex, RegexSet};
19 pub use regex::bytes::{Regex, RegexSet};
244 static ref RE: Mutex<RegexSet> = Mutex::new($re);
272 static ref RE: Mutex<RegexSet> = Mutex::new($re);
H A Dmisc.rs8 use crate::RegexSet;
348 RegexSet::new(vec![
368 RegexSet::new(vec![
/third_party/rust/crates/bindgen/bindgen/ir/
H A Denum_ty.rs10 use crate::regex_set::RegexSet;
153 enums: &RegexSet, in is_matching_enum()
/third_party/rust/crates/bindgen/bindgen-cli/
H A Doptions.rs4 MacroTypeVariation, NonCopyUnionStyle, RegexSet, RustTarget,
936 regex_set: bindgen::RegexSet, in builder_from_flags()
987 let mut regex_set = RegexSet::new(); in builder_from_flags()

Completed in 8 milliseconds