|
GDB (xrefs)
|
#include "gdb_regex.h"
Public Member Functions | |
| compiled_regex (const char *regex, int cflags, const char *message) ATTRIBUTE_NONNULL(2) ATTRIBUTE_NONNULL(4) | |
| ~compiled_regex () | |
| DISABLE_COPY_AND_ASSIGN (compiled_regex) | |
| int | exec (const char *string, size_t nmatch, regmatch_t pmatch[], int eflags) const |
| int | search (const char *string, int size, int startpos, int range, struct re_registers *regs) |
Private Attributes | |
| regex_t | m_pattern |
Definition at line 35 of file gdb_regex.h.
| compiled_regex::compiled_regex | ( | const char * | regex, |
| int | cflags, | ||
| const char * | message | ||
| ) |
Definition at line 22 of file gdb_regex.c.
References code, err, error(), gdb_assert, and m_pattern.
| compiled_regex::~compiled_regex | ( | ) |
Definition at line 39 of file gdb_regex.c.
References m_pattern.
| compiled_regex::DISABLE_COPY_AND_ASSIGN | ( | compiled_regex | ) |
| int compiled_regex::exec | ( | const char * | string, |
| size_t | nmatch, | ||
| regmatch_t | pmatch[], | ||
| int | eflags | ||
| ) | const |
Definition at line 45 of file gdb_regex.c.
References m_pattern.
Referenced by ada_add_standard_exceptions(), collect_probes(), mapping_is_anonymous_p(), name_matches_regex(), search_symbols(), and skiplist_entry::skip_function_p().
| int compiled_regex::search | ( | const char * | string, |
| int | size, | ||
| int | startpos, | ||
| int | range, | ||
| struct re_registers * | regs | ||
| ) |
|
private |
Definition at line 60 of file gdb_regex.h.
Referenced by compiled_regex(), exec(), search(), and ~compiled_regex().
1.8.14