pcre_get.c File Reference

#include "pcre_internal.h"

Go to the source code of this file.

Functions

PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre_get_stringnumber (const pcre *code, const char *stringname)
PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre_get_stringtable_entries (const pcre *code, const char *stringname, char **firstptr, char **lastptr)
static int get_first_set (const pcre *code, const char *stringname, int *ovector)
PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre_copy_substring (const char *subject, int *ovector, int stringcount, int stringnumber, char *buffer, int size)
PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre_copy_named_substring (const pcre *code, const char *subject, int *ovector, int stringcount, const char *stringname, char *buffer, int size)
PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre_get_substring_list (const char *subject, int *ovector, int stringcount, const char ***listptr)
PCRE_EXP_DEFN void PCRE_CALL_CONVENTION pcre_free_substring_list (const char **pointer)
PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre_get_substring (const char *subject, int *ovector, int stringcount, int stringnumber, const char **stringptr)
PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre_get_named_substring (const pcre *code, const char *subject, int *ovector, int stringcount, const char *stringname, const char **stringptr)
PCRE_EXP_DEFN void PCRE_CALL_CONVENTION pcre_free_substring (const char *pointer)


Function Documentation

static int get_first_set ( const pcre code,
const char *  stringname,
int *  ovector 
) [static]

Definition at line 186 of file pcre_get.c.

References code, entry, real_pcre::flags, n, real_pcre::options, PCRE_DUPNAMES, pcre_get_stringnumber(), pcre_get_stringtable_entries(), and PCRE_JCHANGED.

Referenced by pcre_copy_named_substring(), and pcre_get_named_substring().

PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre_copy_named_substring ( const pcre code,
const char *  subject,
int *  ovector,
int  stringcount,
const char *  stringname,
char *  buffer,
int  size 
)

Definition at line 280 of file pcre_get.c.

References code, get_first_set(), n, and pcre_copy_substring().

PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre_copy_substring ( const char *  subject,
int *  ovector,
int  stringcount,
int  stringnumber,
char *  buffer,
int  size 
)

Definition at line 235 of file pcre_get.c.

References PCRE_ERROR_NOMEMORY, and PCRE_ERROR_NOSUBSTRING.

PCRE_EXP_DEFN void PCRE_CALL_CONVENTION pcre_free_substring ( const char *  pointer  ) 

Definition at line 460 of file pcre_get.c.

References pcre_free.

PCRE_EXP_DEFN void PCRE_CALL_CONVENTION pcre_free_substring_list ( const char **  pointer  ) 

Definition at line 357 of file pcre_get.c.

References pcre_free.

PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre_get_named_substring ( const pcre code,
const char *  subject,
int *  ovector,
int  stringcount,
const char *  stringname,
const char **  stringptr 
)

Definition at line 437 of file pcre_get.c.

References code, get_first_set(), n, and pcre_get_substring().

PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre_get_stringnumber ( const pcre code,
const char *  stringname 
)

Definition at line 69 of file pcre_get.c.

References c, code, entry, NULL, PCRE_ERROR_NOSUBSTRING, pcre_fullinfo(), PCRE_INFO_NAMECOUNT, PCRE_INFO_NAMEENTRYSIZE, PCRE_INFO_NAMETABLE, and top().

PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre_get_stringtable_entries ( const pcre code,
const char *  stringname,
char **  firstptr,
char **  lastptr 
)

Definition at line 118 of file pcre_get.c.

References c, code, entry, NULL, PCRE_ERROR_NOSUBSTRING, pcre_fullinfo(), PCRE_INFO_NAMECOUNT, PCRE_INFO_NAMEENTRYSIZE, PCRE_INFO_NAMETABLE, and top().

PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre_get_substring ( const char *  subject,
int *  ovector,
int  stringcount,
int  stringnumber,
const char **  stringptr 
)

Definition at line 390 of file pcre_get.c.

References NULL, PCRE_ERROR_NOMEMORY, PCRE_ERROR_NOSUBSTRING, and pcre_malloc.

PCRE_EXP_DEFN int PCRE_CALL_CONVENTION pcre_get_substring_list ( const char *  subject,
int *  ovector,
int  stringcount,
const char ***  listptr 
)

Definition at line 312 of file pcre_get.c.

References i, len, NULL, p, PCRE_ERROR_NOMEMORY, pcre_malloc, and size.


Generated on Tue Jul 5 15:57:29 2011 for ROOT_528-00b_version by  doxygen 1.5.1