Home
last modified time | relevance | path

Searched refs:only_utf8 (Results 1 – 8 of 8) sorted by relevance

/external/rust/crates/regex/src/
Dre_builder.rs37 ($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)
Dinput.rs230 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()
Dexec.rs117 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 …]
Dprog.rs40 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()
Dcompile.rs88 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/
Dtest_nfa_bytes.rs9 .only_utf8(false)
26 .only_utf8(false)
Dtest_backtrack_bytes.rs9 .only_utf8(false)
26 .only_utf8(false)
Dconsistent.rs81 .only_utf8(false) in backends_are_consistent()
90 .only_utf8(false) in backends_are_consistent()
98 .only_utf8(false) in backends_are_consistent()