Graphviz  2.29.20120524.0446
Data Structures | Defines | Typedefs | Enumerations | Functions | Variables
lib/gvc/regex_win32.h File Reference
#include <stdlib.h>
Include dependency graph for regex_win32.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  re_pattern_buffer
struct  re_registers
struct  regmatch_t

Defines

#define RE_BACKSLASH_ESCAPE_IN_LISTS   ((unsigned long int) 1)
#define RE_BK_PLUS_QM   (RE_BACKSLASH_ESCAPE_IN_LISTS << 1)
#define RE_CHAR_CLASSES   (RE_BK_PLUS_QM << 1)
#define RE_CONTEXT_INDEP_ANCHORS   (RE_CHAR_CLASSES << 1)
#define RE_CONTEXT_INDEP_OPS   (RE_CONTEXT_INDEP_ANCHORS << 1)
#define RE_CONTEXT_INVALID_OPS   (RE_CONTEXT_INDEP_OPS << 1)
#define RE_DOT_NEWLINE   (RE_CONTEXT_INVALID_OPS << 1)
#define RE_DOT_NOT_NULL   (RE_DOT_NEWLINE << 1)
#define RE_HAT_LISTS_NOT_NEWLINE   (RE_DOT_NOT_NULL << 1)
#define RE_INTERVALS   (RE_HAT_LISTS_NOT_NEWLINE << 1)
#define RE_LIMITED_OPS   (RE_INTERVALS << 1)
#define RE_NEWLINE_ALT   (RE_LIMITED_OPS << 1)
#define RE_NO_BK_BRACES   (RE_NEWLINE_ALT << 1)
#define RE_NO_BK_PARENS   (RE_NO_BK_BRACES << 1)
#define RE_NO_BK_REFS   (RE_NO_BK_PARENS << 1)
#define RE_NO_BK_VBAR   (RE_NO_BK_REFS << 1)
#define RE_NO_EMPTY_RANGES   (RE_NO_BK_VBAR << 1)
#define RE_UNMATCHED_RIGHT_PAREN_ORD   (RE_NO_EMPTY_RANGES << 1)
#define RE_NO_POSIX_BACKTRACKING   (RE_UNMATCHED_RIGHT_PAREN_ORD << 1)
#define RE_NO_GNU_OPS   (RE_NO_POSIX_BACKTRACKING << 1)
#define RE_DEBUG   (RE_NO_GNU_OPS << 1)
#define RE_SYNTAX_EMACS   0
#define RE_SYNTAX_AWK
#define RE_SYNTAX_GNU_AWK
#define RE_SYNTAX_POSIX_AWK
#define RE_SYNTAX_GREP
#define RE_SYNTAX_EGREP
#define RE_SYNTAX_POSIX_EGREP   (RE_SYNTAX_EGREP | RE_INTERVALS | RE_NO_BK_BRACES)
#define RE_SYNTAX_ED   RE_SYNTAX_POSIX_BASIC
#define RE_SYNTAX_SED   RE_SYNTAX_POSIX_BASIC
#define _RE_SYNTAX_POSIX_COMMON
#define RE_SYNTAX_POSIX_BASIC   (_RE_SYNTAX_POSIX_COMMON | RE_BK_PLUS_QM)
#define RE_SYNTAX_POSIX_MINIMAL_BASIC   (_RE_SYNTAX_POSIX_COMMON | RE_LIMITED_OPS)
#define RE_SYNTAX_POSIX_EXTENDED
#define RE_SYNTAX_POSIX_MINIMAL_EXTENDED
#define RE_DUP_MAX   (0x7fff)
#define REG_EXTENDED   1
#define REG_ICASE   (REG_EXTENDED << 1)
#define REG_NEWLINE   (REG_ICASE << 1)
#define REG_NOSUB   (REG_NEWLINE << 1)
#define REG_NOTBOL   1
#define REG_NOTEOL   (1 << 1)
#define RE_TRANSLATE_TYPE   char *
#define REGS_UNALLOCATED   0
#define REGS_REALLOCATE   1
#define REGS_FIXED   2
#define RE_NREGS   30
#define _RE_ARGS(args)   ()

Typedefs

typedef long int s_reg_t
typedef unsigned long int active_reg_t
typedef unsigned long int reg_syntax_t
typedef struct re_pattern_buffer regex_t
typedef int regoff_t

Enumerations

enum  reg_errcode_t {
  REG_NOERROR = 0, REG_NOMATCH, REG_BADPAT, REG_ECOLLATE,
  REG_ECTYPE, REG_EESCAPE, REG_ESUBREG, REG_EBRACK,
  REG_EPAREN, REG_EBRACE, REG_BADBR, REG_ERANGE,
  REG_ESPACE, REG_BADRPT, REG_EEND, REG_ESIZE,
  REG_ERPAREN
}

Functions

reg_syntax_t re_set_syntax _RE_ARGS ((reg_syntax_t syntax))
const char *re_compile_pattern _RE_ARGS ((const char *pattern, size_t length, struct re_pattern_buffer *buffer))
int re_compile_fastmap _RE_ARGS ((struct re_pattern_buffer *buffer))
int re_search _RE_ARGS ((struct re_pattern_buffer *buffer, const char *string, int length, int start, int range, struct re_registers *regs))
int re_search_2 _RE_ARGS ((struct re_pattern_buffer *buffer, const char *string1, int length1, const char *string2, int length2, int start, int range, struct re_registers *regs, int stop))
int re_match _RE_ARGS ((struct re_pattern_buffer *buffer, const char *string, int length, int start, struct re_registers *regs))
int re_match_2 _RE_ARGS ((struct re_pattern_buffer *buffer, const char *string1, int length1, const char *string2, int length2, int start, struct re_registers *regs, int stop))
void re_set_registers _RE_ARGS ((struct re_pattern_buffer *buffer, struct re_registers *regs, unsigned num_regs, regoff_t *starts, regoff_t *ends))
int regcomp _RE_ARGS ((regex_t *preg, const char *pattern, int cflags))
int regexec _RE_ARGS ((const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags))
size_t regerror _RE_ARGS ((int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size))
void regfree _RE_ARGS ((regex_t *preg))

Variables

reg_syntax_t re_syntax_options

Define Documentation

#define _RE_ARGS (   args)    ()

Definition at line 447 of file regex_win32.h.

#define _RE_SYNTAX_POSIX_COMMON
#define RE_BACKSLASH_ESCAPE_IN_LISTS   ((unsigned long int) 1)

Definition at line 70 of file regex_win32.h.

#define RE_BK_PLUS_QM   (RE_BACKSLASH_ESCAPE_IN_LISTS << 1)

Definition at line 75 of file regex_win32.h.

#define RE_CHAR_CLASSES   (RE_BK_PLUS_QM << 1)

Definition at line 81 of file regex_win32.h.

#define RE_CONTEXT_INDEP_ANCHORS   (RE_CHAR_CLASSES << 1)

Definition at line 95 of file regex_win32.h.

#define RE_CONTEXT_INDEP_OPS   (RE_CONTEXT_INDEP_ANCHORS << 1)

Definition at line 103 of file regex_win32.h.

#define RE_CONTEXT_INVALID_OPS   (RE_CONTEXT_INDEP_OPS << 1)

Definition at line 107 of file regex_win32.h.

#define RE_DEBUG   (RE_NO_GNU_OPS << 1)

Definition at line 175 of file regex_win32.h.

Referenced by re_set_syntax().

#define RE_DOT_NEWLINE   (RE_CONTEXT_INVALID_OPS << 1)

Definition at line 111 of file regex_win32.h.

Referenced by re_compile_fastmap(), and regcomp().

#define RE_DOT_NOT_NULL   (RE_DOT_NEWLINE << 1)

Definition at line 115 of file regex_win32.h.

#define RE_DUP_MAX   (0x7fff)

Definition at line 259 of file regex_win32.h.

#define RE_HAT_LISTS_NOT_NEWLINE   (RE_DOT_NOT_NULL << 1)

Definition at line 119 of file regex_win32.h.

Referenced by regcomp().

#define RE_INTERVALS   (RE_HAT_LISTS_NOT_NEWLINE << 1)

Definition at line 124 of file regex_win32.h.

#define RE_LIMITED_OPS   (RE_INTERVALS << 1)

Definition at line 128 of file regex_win32.h.

#define RE_NEWLINE_ALT   (RE_LIMITED_OPS << 1)

Definition at line 132 of file regex_win32.h.

#define RE_NO_BK_BRACES   (RE_NEWLINE_ALT << 1)

Definition at line 137 of file regex_win32.h.

#define RE_NO_BK_PARENS   (RE_NO_BK_BRACES << 1)

Definition at line 141 of file regex_win32.h.

#define RE_NO_BK_REFS   (RE_NO_BK_PARENS << 1)

Definition at line 145 of file regex_win32.h.

#define RE_NO_BK_VBAR   (RE_NO_BK_REFS << 1)

Definition at line 149 of file regex_win32.h.

#define RE_NO_EMPTY_RANGES   (RE_NO_BK_VBAR << 1)

Definition at line 155 of file regex_win32.h.

#define RE_NO_GNU_OPS   (RE_NO_POSIX_BACKTRACKING << 1)

Definition at line 167 of file regex_win32.h.

#define RE_NO_POSIX_BACKTRACKING   (RE_UNMATCHED_RIGHT_PAREN_ORD << 1)

Definition at line 163 of file regex_win32.h.

#define RE_NREGS   30

Definition at line 421 of file regex_win32.h.

#define RE_SYNTAX_AWK
#define RE_SYNTAX_ED   RE_SYNTAX_POSIX_BASIC

Definition at line 219 of file regex_win32.h.

#define RE_SYNTAX_EGREP
#define RE_SYNTAX_EMACS   0

Definition at line 187 of file regex_win32.h.

#define RE_SYNTAX_GNU_AWK
#define RE_SYNTAX_GREP
#define RE_SYNTAX_POSIX_AWK
#define RE_SYNTAX_POSIX_BASIC   (_RE_SYNTAX_POSIX_COMMON | RE_BK_PLUS_QM)

Definition at line 228 of file regex_win32.h.

Referenced by regcomp().

#define RE_SYNTAX_POSIX_EGREP   (RE_SYNTAX_EGREP | RE_INTERVALS | RE_NO_BK_BRACES)

Definition at line 215 of file regex_win32.h.

#define RE_SYNTAX_POSIX_EXTENDED
#define RE_SYNTAX_POSIX_MINIMAL_BASIC   (_RE_SYNTAX_POSIX_COMMON | RE_LIMITED_OPS)

Definition at line 234 of file regex_win32.h.

#define RE_SYNTAX_POSIX_MINIMAL_EXTENDED
#define RE_SYNTAX_SED   RE_SYNTAX_POSIX_BASIC

Definition at line 221 of file regex_win32.h.

#define RE_TRANSLATE_TYPE   char *

Definition at line 330 of file regex_win32.h.

Referenced by re_search_2(), and regcomp().

#define RE_UNMATCHED_RIGHT_PAREN_ORD   (RE_NO_EMPTY_RANGES << 1)

Definition at line 159 of file regex_win32.h.

#define REG_EXTENDED   1

Definition at line 266 of file regex_win32.h.

Referenced by gvconfig_plugin_install_from_library(), and regcomp().

#define REG_ICASE   (REG_EXTENDED << 1)

Definition at line 270 of file regex_win32.h.

Referenced by regcomp().

#define REG_NEWLINE   (REG_ICASE << 1)

Definition at line 275 of file regex_win32.h.

Referenced by regcomp().

#define REG_NOSUB   (REG_NEWLINE << 1)

Definition at line 279 of file regex_win32.h.

Referenced by gvconfig_plugin_install_from_library(), and regcomp().

#define REG_NOTBOL   1

Definition at line 289 of file regex_win32.h.

Referenced by regexec().

#define REG_NOTEOL   (1 << 1)

Definition at line 292 of file regex_win32.h.

Referenced by regexec().

#define REGS_FIXED   2

Definition at line 377 of file regex_win32.h.

Referenced by regexec().

#define REGS_REALLOCATE   1

Definition at line 376 of file regex_win32.h.

Referenced by re_set_registers().

#define REGS_UNALLOCATED   0

Definition at line 375 of file regex_win32.h.

Referenced by re_set_registers(), and re_compile_pattern().


Typedef Documentation

typedef unsigned long int active_reg_t

Definition at line 59 of file regex_win32.h.

typedef unsigned long int reg_syntax_t

Definition at line 66 of file regex_win32.h.

typedef struct re_pattern_buffer regex_t

Definition at line 401 of file regex_win32.h.

typedef int regoff_t

Definition at line 404 of file regex_win32.h.

typedef long int s_reg_t

Definition at line 58 of file regex_win32.h.


Enumeration Type Documentation

Enumerator:
REG_NOERROR 
REG_NOMATCH 
REG_BADPAT 
REG_ECOLLATE 
REG_ECTYPE 
REG_EESCAPE 
REG_ESUBREG 
REG_EBRACK 
REG_EPAREN 
REG_EBRACE 
REG_BADBR 
REG_ERANGE 
REG_ESPACE 
REG_BADRPT 
REG_EEND 
REG_ESIZE 
REG_ERPAREN 

Definition at line 297 of file regex_win32.h.


Function Documentation

reg_syntax_t re_set_syntax _RE_ARGS ( (reg_syntax_t syntax)  )
const char* re_compile_pattern _RE_ARGS ( (const char *pattern, size_t length, struct re_pattern_buffer *buffer)  )
int re_compile_fastmap _RE_ARGS ( (struct re_pattern_buffer *buffer)  )
int re_search _RE_ARGS ( (struct re_pattern_buffer *buffer, const char *string, int length, int start, int range, struct re_registers *regs)  )
int re_search_2 _RE_ARGS ( (struct re_pattern_buffer *buffer, const char *string1, int length1, const char *string2, int length2, int start, int range, struct re_registers *regs, int stop)  )
int re_match _RE_ARGS ( (struct re_pattern_buffer *buffer, const char *string, int length, int start, struct re_registers *regs)  )
int re_match_2 _RE_ARGS ( (struct re_pattern_buffer *buffer, const char *string1, int length1, const char *string2, int length2, int start, struct re_registers *regs, int stop)  )
void re_set_registers _RE_ARGS ( (struct re_pattern_buffer *buffer, struct re_registers *regs, unsigned num_regs, regoff_t *starts, regoff_t *ends)  )
int regcomp _RE_ARGS ( (regex_t *preg, const char *pattern, int cflags)  )
int regexec _RE_ARGS ( (const regex_t *preg, const char *string, size_t nmatch, regmatch_t pmatch[], int eflags)  )
size_t regerror _RE_ARGS ( (int errcode, const regex_t *preg, char *errbuf, size_t errbuf_size)  )
void regfree _RE_ARGS ( (regex_t *preg)  )

Variable Documentation

Definition at line 971 of file regex_win32.c.

Referenced by re_set_syntax().