Searched refs:Idx (Results 1 – 4 of 4) sorted by relevance
/ndk/sources/host-tools/sed-4.2.1/lib/ |
D | regex_internal.h | 132 typedef __re_idx_t Idx; typedef 135 #define REG_MISSING ((Idx) -1) 138 #define REG_ERROR ((Idx) -2) 142 # define REG_VALID_INDEX(n) ((Idx) (n) < REG_ERROR) 149 # define REG_VALID_NONZERO_INDEX(n) ((Idx) ((n) - 1) < (Idx) (REG_ERROR - 1)) 227 Idx alloc; 228 Idx nelem; 229 Idx *elems; 315 Idx nmbchars; 318 Idx ncoll_syms; [all …]
|
D | regexec.c | 24 Idx n) internal_function; 27 static reg_errcode_t match_ctx_add_entry (re_match_context_t *cache, Idx node, 28 Idx str_idx, Idx from, Idx to) 30 static Idx search_cur_bkref_entry (const re_match_context_t *mctx, Idx str_idx) 32 static reg_errcode_t match_ctx_add_subtop (re_match_context_t *mctx, Idx node, 33 Idx str_idx) internal_function; 35 Idx node, Idx str_idx) 38 re_dfastate_t **limited_sts, Idx last_node, 39 Idx last_str_idx) 42 const char *string, Idx length, [all …]
|
D | regex_internal.c | 23 static void re_string_construct_common (const char *str, Idx len, 42 re_string_allocate (re_string_t *pstr, const char *str, Idx len, Idx init_len, in re_string_allocate() 46 Idx init_buf_len; in re_string_allocate() 70 re_string_construct (re_string_t *pstr, const char *str, Idx len, in re_string_construct() 133 re_string_realloc_buffers (re_string_t *pstr, Idx new_buf_len) in re_string_realloc_buffers() 141 size_t max_object_size = MAX (sizeof (wint_t), sizeof (Idx)); in re_string_realloc_buffers() 151 Idx *new_offsets = re_realloc (pstr->offsets, 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() 214 Idx byte_idx, end_idx, remain_len; in build_wcs_buffer() 276 Idx src_idx, byte_idx, end_idx, remain_len; in build_wcs_upper_buffer() [all …]
|
D | regcomp.c | 51 static Idx duplicate_node (re_dfa_t *dfa, Idx org_idx, unsigned int constraint); 52 static Idx search_duplicated_node (const re_dfa_t *dfa, Idx org_node, 56 Idx node, bool root); 58 static Idx fetch_number (re_string_t *input, re_token_t *token, 66 Idx nest, reg_errcode_t *err); 69 Idx nest, reg_errcode_t *err); 72 Idx nest, reg_errcode_t *err); 75 Idx nest, reg_errcode_t *err); 94 Idx *equiv_class_alloc, 99 Idx *char_class_alloc, [all …]
|