Searched refs:only_utf8 (Results 1 – 8 of 8) sorted by relevance
/external/rust/crates/regex/src/ |
D | re_builder.rs | 37 ($name:ident, $regex_mod:ident, $only_utf8:expr) => { 71 .only_utf8($only_utf8) 235 ($name:ident, $regex_mod:ident, $only_utf8:expr) => { 271 .only_utf8($only_utf8)
|
D | input.rs | 230 only_utf8: bool, field 235 pub fn new(text: &'t [u8], only_utf8: bool) -> ByteInput<'t> { in new() 236 ByteInput { text: text, only_utf8: only_utf8 } in new() 293 if self.only_utf8 { in is_empty_match() 307 if self.only_utf8 { in is_empty_match()
|
D | exec.rs | 117 only_utf8: bool, field 160 only_utf8: true, in new_options() 217 pub fn only_utf8(mut self, yes: bool) -> Self { in only_utf8() method 218 self.only_utf8 = yes; in only_utf8() 246 .allow_invalid_utf8(!self.only_utf8) in parse() 320 .only_utf8(self.only_utf8) in build() 325 .only_utf8(self.only_utf8) in build() 330 .only_utf8(self.only_utf8) in build() 1096 ByteInput::new(text, self.ro.nfa.only_utf8), in exec_pikevm() 1129 ByteInput::new(text, self.ro.nfa.only_utf8), in exec_backtrack() [all …]
|
D | prog.rs | 40 pub only_utf8: bool, field 88 only_utf8: true, in new() 141 pub fn only_utf8(&self) -> bool { in only_utf8() method 142 self.only_utf8 in only_utf8()
|
D | compile.rs | 88 pub fn only_utf8(mut self, yes: bool) -> Self { in only_utf8() method 89 self.compiled.only_utf8 = yes; in only_utf8() 388 Ok(if !self.compiled.only_utf8() { in c_dotstar()
|
/external/rust/crates/regex/tests/ |
D | test_nfa_bytes.rs | 9 .only_utf8(false) 26 .only_utf8(false)
|
D | test_backtrack_bytes.rs | 9 .only_utf8(false) 26 .only_utf8(false)
|
D | consistent.rs | 81 .only_utf8(false) in backends_are_consistent() 90 .only_utf8(false) in backends_are_consistent() 98 .only_utf8(false) in backends_are_consistent()
|