Lines Matching defs:bool
13 bool test_is_match() {
14 bool passed = true;
18 bool matched = rure_is_match(re, (const uint8_t *)haystack,
31 bool test_shortest_match() {
32 bool passed = true;
37 bool matched = rure_shortest_match(re, (const uint8_t *)haystack,
60 bool test_find() {
61 bool passed = true;
66 bool matched = rure_find(re, (const uint8_t *)haystack, strlen(haystack),
89 bool test_captures() {
90 bool passed = true;
96 bool matched = rure_find_captures(re, (const uint8_t *)haystack,
150 bool test_iter() {
151 bool passed = true;
160 bool matched = rure_iter_next(it, haystack, haystack_len, &match);
211 bool test_iter_capture_name(char *expect, char *given) {
212 bool passed = true;
225 bool test_iter_capture_names() {
226 bool passed = true;
233 bool result = rure_iter_capture_names_next(it, &name);
273 bool test_flags() {
274 bool passed = true;
280 bool matched = rure_is_match(re, (const uint8_t *)haystack,
292 bool test_compile_error() {
293 bool passed = true;
319 bool test_compile_error_size_limit() {
320 bool passed = true;
349 bool test_regex_set_matches() {
353 bool passed = true;
388 bool matches[PAT_COUNT];
394 const bool match_target[] = {
415 bool test_regex_set_match_start() {
419 bool passed = true;
450 bool matches[PAT_COUNT];
456 const bool match_target[] = {
470 bool matches[PAT_COUNT];
476 const bool match_target[] = {
498 bool test_regex_set_options() {
500 bool passed = true;
534 bool test_escape() {
535 bool passed = true;
559 void run_test(bool (test)(), const char *name, bool *passed) {
569 bool passed = true;