Searched refs:only_utf8 (Results 1 – 9 of 9) sorted by relevance
/third_party/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 | 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() 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 …]
|
D | input.rs | 228 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()
|
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 | 100 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/ |
D | test_backtrack_bytes.rs | 6 .only_utf8(false) 23 .only_utf8(false)
|
D | test_nfa_bytes.rs | 6 .only_utf8(false) 23 .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()
|
/third_party/rust/crates/regex/regex-debug/src/ |
D | main.rs | 193 let prog = args.compiler().only_utf8(false).compile(&[expr])?; in cmd_captures() 208 .only_utf8(!args.flag_bytes) in cmd_compile()
|