File: engine.ih

package info (click to toggle)
percona-xtrabackup 2.2.3-2.1
  • links: PTS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 293,260 kB
  • ctags: 146,881
  • sloc: cpp: 1,051,960; ansic: 570,217; java: 54,595; perl: 53,495; pascal: 44,194; sh: 27,826; yacc: 15,314; python: 12,142; xml: 7,848; sql: 4,125; makefile: 1,459; awk: 785; lex: 758
file content (43 lines) | stat: -rw-r--r-- 1,690 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
/* ========= begin header generated by ./mkh ========= */
#ifdef __cplusplus
extern "C" {
#endif

/* === engine.c === */
static int matcher(const CHARSET_INFO *charset,register struct re_guts *g,
                   char *string, size_t nmatch, my_regmatch_t pmatch[],
                   int eflags);
static char *dissect(const CHARSET_INFO *charset, register struct match *m,
                     char *start, char *stop, sopno startst, sopno stopst);
static char *backref(const CHARSET_INFO *charset, register struct match *m,
                     char *start, char *stop, sopno startst, sopno stopst,
                     sopno lev);
static char *fast(const CHARSET_INFO *charset, register struct match *m,
                  char *start, char *stop, sopno startst, sopno stopst);
static char *slow(const CHARSET_INFO *charset, register struct match *m,
                  char *start, char *stop, sopno startst, sopno stopst);
static states step(register struct re_guts *g, sopno start, sopno stop,
                   register states bef, int ch, register states aft);
#define	BOL	(OUT+1)
#define	EOL	(BOL+1)
#define	BOLEOL	(BOL+2)
#define	NOTHING	(BOL+3)
#define	BOW	(BOL+4)
#define	EOW	(BOL+5)
#define	CODEMAX	(BOL+5)		/* highest code used */
#define	NONCHAR(c)	((c) > CHAR_MAX)
#define	NNONCHAR	(CODEMAX-CHAR_MAX)
#ifdef REDEBUG
static void print(struct match *m, char *caption, states st, int ch, FILE *d);
#endif
#ifdef REDEBUG
static void at(struct match *m, char *title, char *start, char *stop, sopno startst, sopno stopst);
#endif
#ifdef REDEBUG
static char *printchar(int ch,char *buf);
#endif

#ifdef __cplusplus
}
#endif
/* ========= end header generated by ./mkh ========= */