Home
last modified time | relevance | path

Searched refs:rure (Results 1 – 7 of 7) sorted by relevance

/third_party/rust/crates/regex/regex-capi/include/
Drure.h17 typedef struct rure rure; typedef
135 rure *rure_compile_must(const char *pattern);
156 rure *rure_compile(const uint8_t *pattern, size_t length,
165 void rure_free(rure *re);
185 bool rure_is_match(rure *re, const uint8_t *haystack, size_t length,
208 bool rure_find(rure *re, const uint8_t *haystack, size_t length,
236 bool rure_find_captures(rure *re, const uint8_t *haystack, size_t length,
261 bool rure_shortest_match(rure *re, const uint8_t *haystack, size_t length,
273 int32_t rure_capture_name_index(rure *re, const char *name);
280 rure_iter_capture_names *rure_iter_capture_names_new(rure *re);
[all …]
/third_party/rust/crates/regex/regex-capi/ctest/
Dtest.c17 rure *re = rure_compile_must("\\p{So}$"); in test_is_match()
35 rure *re = rure_compile_must("a+"); in test_shortest_match()
64 rure *re = rure_compile_must("\\p{So}$"); in test_find()
93 rure *re = rure_compile_must(".(.*(?P<snowman>\\p{So}))$"); in test_captures()
155 rure *re = rure_compile_must("\\w+(\\w)"); in test_iter()
229 rure *re = rure_compile_must( in test_iter_capture_names()
278 rure *re = rure_compile((const uint8_t *)pattern, strlen(pattern), in test_flags()
295 rure *re = rure_compile((const uint8_t *)"(", 1, 0, NULL, err); in test_compile_error()
324 rure *re = rure_compile((const uint8_t *)"\\w{100}", 8, 0, opts, err); in test_compile_error_size_limit()
/third_party/rust/crates/regex/regex-capi/src/
Dlib.rs4 mod rure; module
7 pub use crate::rure::*;
/third_party/rust/crates/regex/regex-capi/
DCargo.toml2 name = "rure"
17 name = "rure"
DREADME.md3 rure is a C API to Rust's regex library, which guarantees linear time
11 The header file (`includes/rure.h`) serves as the primary API documentation of
/third_party/rust/crates/regex/regex-capi/examples/
Diter.c55 rure *re = rure_compile((const uint8_t *)pattern, pattern_len, in main()
/third_party/rust/crates/regex/
DCHANGELOG.md1045 Add rure, a C API.