Home
last modified time | relevance | path

Searched refs:RCHAR_T (Results 1 – 8 of 8) sorted by relevance

/freebsd/contrib/nvi/regex/
H A Dcclass.h38 RCHAR_T ALNUM[] = {'a','l','n','u','m',0};
39 RCHAR_T ALPHA[] = {'a','l','p','h','a',0};
40 RCHAR_T BLANK[] = {'b','l','a','n','k',0};
41 RCHAR_T CNTRL[] = {'c','n','t','r','l',0};
42 RCHAR_T DIGIT[] = {'d','i','g','i','t',0};
43 RCHAR_T GRAPH[] = {'g','r','a','p','h',0};
44 RCHAR_T LOWER[] = {'l','o','w','e','r',0};
45 RCHAR_T PRINT[] = {'p','r','i','n','t',0};
46 RCHAR_T PUNCT[] = {'p','u','n','c','t',0};
47 RCHAR_T SPACE[] = {'s','p','a','c','e',0};
[all …]
H A Dengine.c73 const RCHAR_T *offp; /* offsets work from here */
74 const RCHAR_T *beginp; /* start of string -- virtual NUL precedes */
75 const RCHAR_T *endp; /* end of string -- virtual NUL here */
76 const RCHAR_T *coldp; /* can be no match starting before here */
77 const RCHAR_T **lastpos; /* [nplus+1] */
91 static int matcher(struct re_guts *g, const RCHAR_T *string, size_t nmatch, regmatch_t pmatch[], in…
92 static const RCHAR_T *dissect(struct match *m, const RCHAR_T *start, const RCHAR_T *stop, sopno sta…
93 static const RCHAR_T *backref(struct match *m, const RCHAR_T *start, const RCHAR_T *stop, sopno sta…
94 static const RCHAR_T *fast(struct match *m, const RCHAR_T *start, const RCHAR_T *stop, sopno starts…
95 static const RCHAR_T *slow(struct match *m, const RCHAR_T *start, const RCHAR_T *stop, sopno starts…
[all …]
H A Dregcomp.c61 RCHAR_T *next; /* next character in RE */
62 RCHAR_T *end; /* end of string (-> NUL normally) */
65 RCHAR_T *stripdata; /* malloced stripdata */
131 static RCHAR_T nuls[10]; /* place to point scanner in event of error */
180 regcomp(regex_t *preg, const RCHAR_T *pattern, int cflags) in regcomp()
215 p->stripdata = (RCHAR_T *)malloc(p->ssize * sizeof(RCHAR_T)); in regcomp()
225 p->next = (RCHAR_T *)pattern; /* convenience; we do not modify it */ in regcomp()
690 static RCHAR_T bow[] = { '[', ':', '<', ':', ']', ']' }; in p_bracket()
691 static RCHAR_T eow[] = { '[', ':', '>', ':', ']', ']' }; in p_bracket()
829 RCHAR_T *sp = p->next; in p_b_cclass()
[all …]
H A Dregex.h52 const RCHAR_T *re_endp; /* end pointer for REG_PEND */
109 int regcomp(regex_t *, const RCHAR_T *, int);
112 const RCHAR_T *, size_t, regmatch_t [], int);
H A Dregex2.h129 typedef RCHAR_T cat_t;
138 RCHAR_T *stripdata; /* malloced area for stripdata */
157 RCHAR_T *must; /* match must contain this string */
H A Dcname.h40 const RCHAR_T *name;
H A Dregexec.c152 regexec(const regex_t *preg, const RCHAR_T *string, size_t nmatch, in regexec()
/freebsd/contrib/nvi/common/
H A Dmultibyte.h34 typedef wchar_t RCHAR_T; typedef
68 typedef char RCHAR_T; typedef