Home
last modified time | relevance | path

Searched refs:re_string_t (Results 1 – 4 of 4) sorted by relevance

/ndk/sources/host-tools/sed-4.2.1/lib/
Dregex_internal.h362 struct re_string_t struct
417 typedef struct re_string_t re_string_t; argument
431 static reg_errcode_t re_string_realloc_buffers (re_string_t *pstr,
435 static void build_wcs_buffer (re_string_t *pstr) internal_function;
436 static reg_errcode_t build_wcs_upper_buffer (re_string_t *pstr)
439 static void build_upper_buffer (re_string_t *pstr) internal_function;
440 static void re_string_translate_buffer (re_string_t *pstr) internal_function;
441 static unsigned int re_string_context_at (const re_string_t *input, Idx idx,
611 re_string_t input;
809 re_string_char_size_at (const re_string_t *pstr, Idx idx) in internal_function()
[all …]
Dregex_internal.c24 re_string_t *pstr,
42 re_string_allocate (re_string_t *pstr, const char *str, Idx len, Idx init_len, in re_string_allocate()
70 re_string_construct (re_string_t *pstr, const char *str, Idx len, in re_string_construct()
74 memset (pstr, '\0', sizeof (re_string_t)); in re_string_construct()
133 re_string_realloc_buffers (re_string_t *pstr, Idx new_buf_len) in re_string_realloc_buffers()
173 re_string_construct_common (const char *str, Idx len, re_string_t *pstr, in re_string_construct_common()
205 build_wcs_buffer (re_string_t *pstr) in build_wcs_buffer()
273 build_wcs_upper_buffer (re_string_t *pstr) in build_wcs_upper_buffer()
489 re_string_skip_chars (re_string_t *pstr, Idx new_raw_idx, wint_t *last_wc) in re_string_skip_chars()
531 build_upper_buffer (re_string_t *pstr) in build_upper_buffer()
[all …]
Dregcomp.c58 static Idx fetch_number (re_string_t *input, re_token_t *token,
60 static int peek_token (re_token_t *token, re_string_t *input,
62 static bin_tree_t *parse (re_string_t *regexp, regex_t *preg,
64 static bin_tree_t *parse_reg_exp (re_string_t *regexp, regex_t *preg,
67 static bin_tree_t *parse_branch (re_string_t *regexp, regex_t *preg,
70 static bin_tree_t *parse_expression (re_string_t *regexp, regex_t *preg,
73 static bin_tree_t *parse_sub_exp (re_string_t *regexp, regex_t *preg,
76 static bin_tree_t *parse_dup_op (bin_tree_t *dup_elem, re_string_t *regexp,
79 static bin_tree_t *parse_bracket_exp (re_string_t *regexp, re_dfa_t *dfa,
83 re_string_t *regexp,
[all …]
Dregexec.c191 const re_string_t *input, Idx idx)
3780 const re_string_t *input, Idx str_idx) in check_node_accept_bytes()
4132 re_string_t *pstr = &mctx->input; in extend_buffers()