Searched refs:rure (Results 1 – 7 of 7) sorted by relevance
/third_party/rust/crates/regex/regex-capi/include/ |
D | rure.h | 17 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/ |
D | test.c | 17 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/ |
D | lib.rs | 4 mod rure; module 7 pub use crate::rure::*;
|
/third_party/rust/crates/regex/regex-capi/ |
D | Cargo.toml | 2 name = "rure" 17 name = "rure"
|
D | README.md | 3 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/ |
D | iter.c | 55 rure *re = rure_compile((const uint8_t *)pattern, pattern_len, in main()
|
/third_party/rust/crates/regex/ |
D | CHANGELOG.md | 1045 Add rure, a C API.
|