Searched refs:re2_string (Results 1 – 2 of 2) sorted by relevance
122 struct re2_string { struct127 impl<'a> From<&'a str> for re2_string { implementation128 fn from(s: &'a str) -> re2_string { in from() argument129 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() argument144 text: re2_string, in re2_regexp_find() argument
11 typedef struct re2_string { struct14 } re2_string; argument16 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()