php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
pcre2_context.c File Reference
#include "pcre2_internal.h"

Go to the source code of this file.

Functions

void *PRIV memctl_malloc (size_t size, pcre2_memctl *memctl)
 
PCRE2_EXP_DEFN pcre2_general_context *PCRE2_CALL_CONVENTION pcre2_general_context_create (void *(*private_malloc)(size_t, void *), void(*private_free)(void *, void *), void *memory_data)
 
const pcre2_compile_context PRIV (default_compile_context)
 
PCRE2_EXP_DEFN pcre2_compile_context *PCRE2_CALL_CONVENTION pcre2_compile_context_create (pcre2_general_context *gcontext)
 
const pcre2_match_context PRIV (default_match_context)
 
PCRE2_EXP_DEFN pcre2_match_context *PCRE2_CALL_CONVENTION pcre2_match_context_create (pcre2_general_context *gcontext)
 
const pcre2_convert_context PRIV (default_convert_context)
 
PCRE2_EXP_DEFN pcre2_convert_context *PCRE2_CALL_CONVENTION pcre2_convert_context_create (pcre2_general_context *gcontext)
 
PCRE2_EXP_DEFN pcre2_general_context *PCRE2_CALL_CONVENTION pcre2_general_context_copy (pcre2_general_context *gcontext)
 
PCRE2_EXP_DEFN pcre2_compile_context *PCRE2_CALL_CONVENTION pcre2_compile_context_copy (pcre2_compile_context *ccontext)
 
PCRE2_EXP_DEFN pcre2_match_context *PCRE2_CALL_CONVENTION pcre2_match_context_copy (pcre2_match_context *mcontext)
 
PCRE2_EXP_DEFN pcre2_convert_context *PCRE2_CALL_CONVENTION pcre2_convert_context_copy (pcre2_convert_context *ccontext)
 
PCRE2_EXP_DEFN void PCRE2_CALL_CONVENTION pcre2_general_context_free (pcre2_general_context *gcontext)
 
PCRE2_EXP_DEFN void PCRE2_CALL_CONVENTION pcre2_compile_context_free (pcre2_compile_context *ccontext)
 
PCRE2_EXP_DEFN void PCRE2_CALL_CONVENTION pcre2_match_context_free (pcre2_match_context *mcontext)
 
PCRE2_EXP_DEFN void PCRE2_CALL_CONVENTION pcre2_convert_context_free (pcre2_convert_context *ccontext)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_character_tables (pcre2_compile_context *ccontext, const uint8_t *tables)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_bsr (pcre2_compile_context *ccontext, uint32_t value)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_max_pattern_length (pcre2_compile_context *ccontext, PCRE2_SIZE length)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_max_pattern_compiled_length (pcre2_compile_context *ccontext, PCRE2_SIZE length)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_newline (pcre2_compile_context *ccontext, uint32_t newline)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_max_varlookbehind (pcre2_compile_context *ccontext, uint32_t limit)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_parens_nest_limit (pcre2_compile_context *ccontext, uint32_t limit)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_compile_extra_options (pcre2_compile_context *ccontext, uint32_t options)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_compile_recursion_guard (pcre2_compile_context *ccontext, int(*guard)(uint32_t, void *), void *user_data)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_callout (pcre2_match_context *mcontext, int(*callout)(pcre2_callout_block *, void *), void *callout_data)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_substitute_callout (pcre2_match_context *mcontext, int(*substitute_callout)(pcre2_substitute_callout_block *, void *), void *substitute_callout_data)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_heap_limit (pcre2_match_context *mcontext, uint32_t limit)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_match_limit (pcre2_match_context *mcontext, uint32_t limit)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_depth_limit (pcre2_match_context *mcontext, uint32_t limit)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_offset_limit (pcre2_match_context *mcontext, PCRE2_SIZE limit)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_recursion_limit (pcre2_match_context *mcontext, uint32_t limit)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_recursion_memory_management (pcre2_match_context *mcontext, void *(*mymalloc)(size_t, void *), void(*myfree)(void *, void *), void *mydata)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_glob_separator (pcre2_convert_context *ccontext, uint32_t separator)
 
PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_glob_escape (pcre2_convert_context *ccontext, uint32_t escape)
 

Function Documentation

◆ memctl_malloc()

void *PRIV memctl_malloc ( size_t size,
pcre2_memctl * memctl )
extern

Definition at line 86 of file pcre2_context.c.

◆ pcre2_compile_context_copy()

Definition at line 244 of file pcre2_context.c.

◆ pcre2_compile_context_create()

Definition at line 151 of file pcre2_context.c.

◆ pcre2_compile_context_free()

PCRE2_EXP_DEFN void PCRE2_CALL_CONVENTION pcre2_compile_context_free ( pcre2_compile_context * ccontext)

Definition at line 292 of file pcre2_context.c.

◆ pcre2_convert_context_copy()

Definition at line 268 of file pcre2_context.c.

◆ pcre2_convert_context_create()

Definition at line 215 of file pcre2_context.c.

◆ pcre2_convert_context_free()

PCRE2_EXP_DEFN void PCRE2_CALL_CONVENTION pcre2_convert_context_free ( pcre2_convert_context * ccontext)

Definition at line 308 of file pcre2_context.c.

◆ pcre2_general_context_copy()

Definition at line 232 of file pcre2_context.c.

◆ pcre2_general_context_create()

PCRE2_EXP_DEFN pcre2_general_context *PCRE2_CALL_CONVENTION pcre2_general_context_create ( void *(* private_malloc )(size_t, void *),
void(* private_free )(void *, void *),
void * memory_data )

Definition at line 115 of file pcre2_context.c.

◆ pcre2_general_context_free()

PCRE2_EXP_DEFN void PCRE2_CALL_CONVENTION pcre2_general_context_free ( pcre2_general_context * gcontext)

Definition at line 284 of file pcre2_context.c.

◆ pcre2_match_context_copy()

Definition at line 256 of file pcre2_context.c.

◆ pcre2_match_context_create()

Definition at line 185 of file pcre2_context.c.

◆ pcre2_match_context_free()

PCRE2_EXP_DEFN void PCRE2_CALL_CONVENTION pcre2_match_context_free ( pcre2_match_context * mcontext)

Definition at line 300 of file pcre2_context.c.

◆ pcre2_set_bsr()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_bsr ( pcre2_compile_context * ccontext,
uint32_t value )

Definition at line 335 of file pcre2_context.c.

◆ pcre2_set_callout()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_callout ( pcre2_match_context * mcontext,
int(* callout )(pcre2_callout_block *, void *),
void * callout_data )

Definition at line 416 of file pcre2_context.c.

◆ pcre2_set_character_tables()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_character_tables ( pcre2_compile_context * ccontext,
const uint8_t * tables )

Definition at line 327 of file pcre2_context.c.

◆ pcre2_set_compile_extra_options()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_compile_extra_options ( pcre2_compile_context * ccontext,
uint32_t options )

Definition at line 397 of file pcre2_context.c.

◆ pcre2_set_compile_recursion_guard()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_compile_recursion_guard ( pcre2_compile_context * ccontext,
int(* guard )(uint32_t, void *),
void * user_data )

Definition at line 404 of file pcre2_context.c.

◆ pcre2_set_depth_limit()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_depth_limit ( pcre2_match_context * mcontext,
uint32_t limit )

Definition at line 449 of file pcre2_context.c.

◆ pcre2_set_glob_escape()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_glob_escape ( pcre2_convert_context * ccontext,
uint32_t escape )

Definition at line 501 of file pcre2_context.c.

◆ pcre2_set_glob_separator()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_glob_separator ( pcre2_convert_context * ccontext,
uint32_t separator )

Definition at line 492 of file pcre2_context.c.

◆ pcre2_set_heap_limit()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_heap_limit ( pcre2_match_context * mcontext,
uint32_t limit )

Definition at line 435 of file pcre2_context.c.

◆ pcre2_set_match_limit()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_match_limit ( pcre2_match_context * mcontext,
uint32_t limit )

Definition at line 442 of file pcre2_context.c.

◆ pcre2_set_max_pattern_compiled_length()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_max_pattern_compiled_length ( pcre2_compile_context * ccontext,
PCRE2_SIZE length )

Definition at line 357 of file pcre2_context.c.

◆ pcre2_set_max_pattern_length()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_max_pattern_length ( pcre2_compile_context * ccontext,
PCRE2_SIZE length )

Definition at line 350 of file pcre2_context.c.

◆ pcre2_set_max_varlookbehind()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_max_varlookbehind ( pcre2_compile_context * ccontext,
uint32_t limit )

Definition at line 383 of file pcre2_context.c.

◆ pcre2_set_newline()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_newline ( pcre2_compile_context * ccontext,
uint32_t newline )

Definition at line 364 of file pcre2_context.c.

◆ pcre2_set_offset_limit()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_offset_limit ( pcre2_match_context * mcontext,
PCRE2_SIZE limit )

Definition at line 456 of file pcre2_context.c.

◆ pcre2_set_parens_nest_limit()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_parens_nest_limit ( pcre2_compile_context * ccontext,
uint32_t limit )

Definition at line 390 of file pcre2_context.c.

◆ pcre2_set_recursion_limit()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_recursion_limit ( pcre2_match_context * mcontext,
uint32_t limit )

Definition at line 469 of file pcre2_context.c.

◆ pcre2_set_recursion_memory_management()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_recursion_memory_management ( pcre2_match_context * mcontext,
void *(* mymalloc )(size_t, void *),
void(* myfree )(void *, void *),
void * mydata )

Definition at line 475 of file pcre2_context.c.

◆ pcre2_set_substitute_callout()

PCRE2_EXP_DEFN int PCRE2_CALL_CONVENTION pcre2_set_substitute_callout ( pcre2_match_context * mcontext,
int(* substitute_callout )(pcre2_substitute_callout_block *, void *),
void * substitute_callout_data )

Definition at line 425 of file pcre2_context.c.

◆ PRIV() [1/3]

const pcre2_compile_context PRIV ( default_compile_context )

◆ PRIV() [2/3]

const pcre2_convert_context PRIV ( default_convert_context )

◆ PRIV() [3/3]

const pcre2_match_context PRIV ( default_match_context )