Home
last modified time | relevance | path

Searched refs:gcontext (Results 1 – 6 of 6) sorted by relevance

/PHP-7.3/ext/pcre/pcre2lib/
H A Dpcre2_context.c118 pcre2_general_context *gcontext; in pcre2_general_context_create() local
122 if (gcontext == NULL) return NULL; in pcre2_general_context_create()
123 gcontext->memctl.malloc = private_malloc; in pcre2_general_context_create()
124 gcontext->memctl.free = private_free; in pcre2_general_context_create()
126 return gcontext; in pcre2_general_context_create()
154 if (gcontext != NULL) in pcre2_compile_context_create()
186 if (gcontext != NULL) in pcre2_match_context_create()
216 if (gcontext != NULL) in pcre2_convert_context_create()
231 gcontext->memctl.memory_data); in pcre2_general_context_copy()
282 if (gcontext != NULL) in pcre2_general_context_free()
[all …]
H A Dpcre2_match_data.c57 pcre2_match_data_create(uint32_t oveccount, pcre2_general_context *gcontext) in pcre2_match_data_create() argument
63 (pcre2_memctl *)gcontext); in pcre2_match_data_create()
79 pcre2_general_context *gcontext) in pcre2_match_data_create_from_pattern() argument
81 if (gcontext == NULL) gcontext = (pcre2_general_context *)code; in pcre2_match_data_create_from_pattern()
83 gcontext); in pcre2_match_data_create_from_pattern()
H A Dpcre2_jit_misc.c107 pcre2_jit_free_unused_memory(pcre2_general_context *gcontext) in pcre2_jit_free_unused_memory() argument
110 (void)gcontext; /* Suppress warning */ in pcre2_jit_free_unused_memory()
112 SLJIT_UNUSED_ARG(gcontext); in pcre2_jit_free_unused_memory()
125 pcre2_general_context *gcontext) in pcre2_jit_stack_create() argument
129 (void)gcontext; in pcre2_jit_stack_create()
145 jit_stack = PRIV(memctl_malloc)(sizeof(pcre2_real_jit_stack), (pcre2_memctl *)gcontext); in pcre2_jit_stack_create()
H A Dpcre2_maketables.c80 pcre2_maketables(pcre2_general_context *gcontext)
82 uint8_t *yield = (uint8_t *)((gcontext != NULL)?
83 gcontext->memctl.malloc(tables_length, gcontext->memctl.memory_data) :
H A Dpcre2_serialize.c74 pcre2_general_context *gcontext) in pcre2_serialize_encode() argument
84 const pcre2_memctl *memctl = (gcontext != NULL) ? in pcre2_serialize_encode()
85 &gcontext->memctl : &PRIV(default_compile_context).memctl; in pcre2_serialize_encode()
164 const uint8_t *bytes, pcre2_general_context *gcontext) in pcre2_serialize_decode() argument
167 const pcre2_memctl *memctl = (gcontext != NULL) ? in pcre2_serialize_decode()
168 &gcontext->memctl : &PRIV(default_compile_context).memctl; in pcre2_serialize_decode()
216 (pcre2_memctl *)gcontext); in pcre2_serialize_decode()
H A Dpcre2_substitute.c257 pcre2_general_context *gcontext = (mcontext == NULL)? in pcre2_substitute() local
260 match_data = pcre2_match_data_create_from_pattern(code, gcontext); in pcre2_substitute()

Completed in 14 milliseconds