Home
last modified time | relevance | path

Searched refs:is_always_utf8 (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/regex-syntax/src/hir/
Dmod.rs277 info.set_always_utf8(class.is_always_utf8()); in class()
350 info.set_always_utf8(rep.hir.is_always_utf8()); in repetition()
377 info.set_always_utf8(group.hir.is_always_utf8()); in group()
410 let x = info.is_always_utf8() && e.is_always_utf8(); in concat()
507 let x = info.is_always_utf8() && e.is_always_utf8(); in alternation()
592 pub fn is_always_utf8(&self) -> bool { in is_always_utf8() method
593 self.info.is_always_utf8() in is_always_utf8()
823 pub fn is_always_utf8(&self) -> bool { in is_always_utf8() method
1507 define_bool!(0, is_always_utf8, set_always_utf8);
Dtranslate.rs2905 assert!(t_bytes(r"a").is_always_utf8()); in analysis_is_always_utf8()
2906 assert!(t_bytes(r"ab").is_always_utf8()); in analysis_is_always_utf8()
2907 assert!(t_bytes(r"(?-u)a").is_always_utf8()); in analysis_is_always_utf8()
2908 assert!(t_bytes(r"(?-u)ab").is_always_utf8()); in analysis_is_always_utf8()
2909 assert!(t_bytes(r"\xFF").is_always_utf8()); in analysis_is_always_utf8()
2910 assert!(t_bytes(r"\xFF\xFF").is_always_utf8()); in analysis_is_always_utf8()
2911 assert!(t_bytes(r"[^a]").is_always_utf8()); in analysis_is_always_utf8()
2912 assert!(t_bytes(r"[^a][^a]").is_always_utf8()); in analysis_is_always_utf8()
2913 assert!(t_bytes(r"\b").is_always_utf8()); in analysis_is_always_utf8()
2914 assert!(t_bytes(r"\B").is_always_utf8()); in analysis_is_always_utf8()
[all …]
/external/rust/crates/regex/src/
Dexec.rs251 bytes = bytes || !expr.is_always_utf8(); in parse()