Home
last modified time | relevance | path

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

/PHP-8.0/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()
188 if (gcontext != NULL) in pcre2_match_context_create()
218 if (gcontext != NULL) in pcre2_convert_context_create()
233 gcontext->memctl.memory_data); in pcre2_general_context_copy()
284 if (gcontext != NULL) in pcre2_general_context_free()
[all …]
H A Dpcre2_maketables.c82 pcre2_maketables(pcre2_general_context *gcontext)
84 uint8_t *yield = (uint8_t *)((gcontext != NULL)?
85 gcontext->memctl.malloc(TABLES_LENGTH, gcontext->memctl.memory_data) :
154 pcre2_maketables_free(pcre2_general_context *gcontext, const uint8_t *tables) argument
156 if (gcontext)
157 gcontext->memctl.free((void *)tables, gcontext->memctl.memory_data);
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()
80 pcre2_general_context *gcontext) in pcre2_match_data_create_from_pattern() argument
82 if (gcontext == NULL) gcontext = (pcre2_general_context *)code; in pcre2_match_data_create_from_pattern()
84 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_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.c278 pcre2_general_context *gcontext; in pcre2_substitute() local
280 gcontext = (mcontext == NULL)? in pcre2_substitute()
284 pcre2_match_data_create_from_pattern(code, gcontext); in pcre2_substitute()
290 pcre2_general_context *gcontext = (mcontext == NULL)? in pcre2_substitute() local
296 gcontext); in pcre2_substitute()

Completed in 16 milliseconds