Home
last modified time | relevance | path

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

/third_party/rust/crates/regex/bench/src/ffi/
Dre2.cpp9 typedef void re2_regexp; typedef
16 re2_regexp* re2_regexp_new(re2_string pat) { in re2_regexp_new()
18 return reinterpret_cast<re2_regexp*>(new RE2(re2_pat)); in re2_regexp_new()
21 void re2_regexp_free(re2_regexp *re) { in re2_regexp_free()
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()
Dre2.rs9 re: *mut re2_regexp,
119 type re2_regexp = c_void; typedef
134 fn re2_regexp_new(pat: re2_string) -> *mut re2_regexp; in re2_regexp_new() argument
135 fn re2_regexp_free(re: *mut re2_regexp); in re2_regexp_free() argument
137 re: *mut re2_regexp, in re2_regexp_match() argument
143 re: *mut re2_regexp, in re2_regexp_find() argument