Home
last modified time | relevance | path

Searched refs:re2_string (Results 1 – 2 of 2) sorted by relevance

/third_party/rust/crates/regex/bench/src/ffi/
Dre2.rs122 struct re2_string { struct
127 impl<'a> From<&'a str> for re2_string { implementation
128 fn from(s: &'a str) -> re2_string { in from() argument
129 re2_string { text: s.as_ptr(), len: s.len() as c_int } in from()
134 fn re2_regexp_new(pat: re2_string) -> *mut re2_regexp; in re2_regexp_new()
138 text: re2_string, in re2_regexp_match() argument
144 text: re2_string, in re2_regexp_find() argument
Dre2.cpp11 typedef struct re2_string { struct
14 } re2_string; argument
16 re2_regexp* re2_regexp_new(re2_string pat) { in re2_regexp_new()
25 bool re2_regexp_match(re2_regexp *re, re2_string text, in re2_regexp_match()
34 bool re2_regexp_find(re2_regexp *re, re2_string text, in re2_regexp_find()