Home
last modified time | relevance | path

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

/third_party/rust/crates/regex/src/
H A Dre_builder.rs37 ($name:ident, $regex_mod:ident, $only_utf8:expr) => {
71 .only_utf8($only_utf8) in build()
235 ($name:ident, $regex_mod:ident, $only_utf8:expr) => {
271 .only_utf8($only_utf8) in build()
H A Dprog.rs40 pub only_utf8: bool,
88 only_utf8: true, in new()
141 pub fn only_utf8(&self) -> bool { in only_utf8() functions
142 self.only_utf8 in only_utf8()
H A Dexec.rs117 only_utf8: bool,
160 only_utf8: true, in new_options()
217 pub fn only_utf8(mut self, yes: bool) -> Self { in only_utf8() functions
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(sel in build()
[all...]
H A Dinput.rs228 only_utf8: bool,
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()
H A Dcompile.rs100 pub fn only_utf8(mut self, yes: bool) -> Self { in only_utf8() functions
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/
H A Dtest_nfa_bytes.rs6 .only_utf8(false)
23 .only_utf8(false)
H A Dtest_backtrack_bytes.rs6 .only_utf8(false)
23 .only_utf8(false)
H A 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()

Completed in 7 milliseconds