Searched refs:cset (Results 1 – 5 of 5) sorted by relevance
/ndk/sources/host-tools/ndk-stack/regex/ |
D | regcomp.c | 76 static void p_b_term(struct parse *, cset *); 77 static void p_b_cclass(struct parse *, cset *); 78 static void p_b_eclass(struct parse *, cset *); 87 static cset *allocset(struct parse *); 88 static void freeset(struct parse *, cset *); 89 static int freezeset(struct parse *, cset *); 90 static int firstch(struct parse *, cset *); 91 static int nch(struct parse *, cset *); 92 static void mcadd(struct parse *, cset *, const char *); 93 static void mcinvert(struct parse *, cset *); [all …]
|
D | regex2.h | 111 } cset; typedef 132 cset *sets; /* -> cset [ncsets] */
|
D | engine.c | 488 cset *cs; in backref() 845 cset *cs; in step()
|
/ndk/sources/host-tools/sed-4.2.1/lib/ |
D | regexec.c | 3859 const re_charset_t *cset = node->opr.mbcset; in check_node_accept_bytes() local 3867 wchar_t wc = ((cset->nranges || cset->nchar_classes || cset->nmbchars) in check_node_accept_bytes() 3871 for (i = 0; i < cset->nmbchars; ++i) in check_node_accept_bytes() 3872 if (wc == cset->mbchars[i]) in check_node_accept_bytes() 3878 for (i = 0; i < cset->nchar_classes; ++i) in check_node_accept_bytes() 3880 wctype_t wt = cset->char_classes[i]; in check_node_accept_bytes() 3901 if (cset->ncoll_syms) in check_node_accept_bytes() 3904 for (i = 0; i < cset->ncoll_syms; ++i) in check_node_accept_bytes() 3906 const unsigned char *coll_sym = extra + cset->coll_syms[i]; in check_node_accept_bytes() 3923 if (cset->nranges) in check_node_accept_bytes() [all …]
|
D | regcomp.c | 30 static void free_charset (re_charset_t *cset); 362 re_charset_t *cset = dfa->nodes[node].opr.mbcset; in re_compile_fastmap_iter() local 373 && (cset->ncoll_syms || cset->nranges)) in re_compile_fastmap_iter() 388 && (cset->nchar_classes || cset->non_match in re_compile_fastmap_iter() 390 || cset->nequiv_classes in re_compile_fastmap_iter() 408 for (i = 0; i < cset->nmbchars; ++i) in re_compile_fastmap_iter() 413 if (__wcrtomb (buf, cset->mbchars[i], &state) != (size_t) -1) in re_compile_fastmap_iter() 417 if (__wcrtomb (buf, towlower (cset->mbchars[i]), &state) in re_compile_fastmap_iter() 3711 free_charset (re_charset_t *cset) in free_charset() argument 3713 re_free (cset->mbchars); in free_charset() [all …]
|