Home
last modified time | relevance | path

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

/external/pcre/dist2/src/
Dpcre2_context.c118 pcre2_general_context *gcontext; in pcre2_general_context_create() local
121 gcontext = private_malloc(sizeof(pcre2_real_general_context), memory_data); in pcre2_general_context_create()
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()
125 gcontext->memctl.memory_data = memory_data; in pcre2_general_context_create()
126 return gcontext; in pcre2_general_context_create()
148 pcre2_compile_context_create(pcre2_general_context *gcontext) in pcre2_compile_context_create() argument
151 sizeof(pcre2_real_compile_context), (pcre2_memctl *)gcontext); in pcre2_compile_context_create()
154 if (gcontext != NULL) in pcre2_compile_context_create()
[all …]
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);
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()
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()
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()
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()
/external/pcre/dist2/doc/
Dpcre2.txt208 pcre2_general_context *gcontext);
211 const pcre2_code *code, pcre2_general_context *gcontext);
245 pcre2_general_context *gcontext);
247 void pcre2_general_context_free(pcre2_general_context *gcontext);
253 pcre2_general_context *gcontext);
285 pcre2_general_context *gcontext);
368 void pcre2_jit_free_unused_memory(pcre2_general_context *gcontext);
371 PCRE2_SIZE maxsize, pcre2_general_context *gcontext);
383 pcre2_general_context *gcontext);
387 PCRE2_SIZE *serialized_size, pcre2_general_context *gcontext);
[all …]