Home
last modified time | relevance | path

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

/third_party/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)
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()
1093 ByteInput::new(text, self.ro.nfa.only_utf8), in exec_pikevm()
1126 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()
Dinput.rs228 only_utf8: bool, field
233 pub fn new(text: &'t [u8], only_utf8: bool) -> ByteInput<'t> { in new()
234 ByteInput { text, only_utf8 } in new()
291 if self.only_utf8 { in is_empty_match()
305 if self.only_utf8 { in is_empty_match()
Dcompile.rs100 pub fn only_utf8(mut self, yes: bool) -> Self { in only_utf8() method
101 self.compiled.only_utf8 = yes; in only_utf8()
423 Ok(if !self.compiled.only_utf8() { in c_dotstar()
/third_party/rust/crates/regex/tests/
Dtest_nfa_bytes.rs6 .only_utf8(false)
23 .only_utf8(false)
Dtest_backtrack_bytes.rs6 .only_utf8(false)
23 .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()
/third_party/rust/crates/regex/regex-debug/src/
Dmain.rs193 let prog = args.compiler().only_utf8(false).compile(&[expr])?; in cmd_captures()
208 .only_utf8(!args.flag_bytes) in cmd_compile()