Back to index

glibc  2.9
Classes | Defines | Functions | Variables
fnmatch_loop.c File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  STRUCT

Defines

#define NEW_PATTERN

Functions

static int FCT (const CHAR *pattern, const CHAR *string, const CHAR *string_end, int no_leading_period, int flags, struct STRUCT *ends) internal_function
static int EXT (INT opt, const CHAR *pattern, const CHAR *string, const CHAR *string_end, int no_leading_period, int flags) internal_function
static const CHAREND (const CHAR *patternp) internal_function

Variables

static int internal_function
const CHAR
pattern
const CHARstring
const CHARstring_end
int no_leading_period
int flags
struct STRUCTends

Class Documentation

struct STRUCT

Definition at line 20 of file fnmatch_loop.c.

Class Members
int no_leading_period
const CHAR * pattern
const CHAR * string

Define Documentation

#define NEW_PATTERN
Value:
struct patternlist *newp;                                     \
                                                                     \
           if (opt == L('?') || opt == L('@'))                              \
             newp = alloca (sizeof (struct patternlist)              \
                          + (pattern_len * sizeof (CHAR)));                 \
           else                                                      \
             newp = alloca (sizeof (struct patternlist)              \
                          + ((p - startp + 1) * sizeof (CHAR)));            \
           *((CHAR *) MEMPCPY (newp->str, startp, p - startp)) = L('\0');    \
           newp->next = NULL;                                               \
           *lastp = newp;                                            \
           lastp = &newp->next

Function Documentation

static const CHAR* END ( const CHAR patternp) [static]
static int EXT ( INT  opt,
const CHAR pattern,
const CHAR string,
const CHAR string_end,
int  no_leading_period,
int  flags 
) [static]
static int FCT ( const CHAR pattern,
const CHAR string,
const CHAR string_end,
int  no_leading_period,
int  flags,
struct STRUCT ends 
) [static]

Variable Documentation

struct STRUCT* ends

Definition at line 46 of file fnmatch_loop.c.

Definition at line 45 of file fnmatch_loop.c.

Definition at line 44 of file fnmatch_loop.c.

Definition at line 41 of file fnmatch_loop.c.

Definition at line 42 of file fnmatch_loop.c.

Definition at line 43 of file fnmatch_loop.c.