Searched refs:gcontext (Results 1 – 7 of 7) sorted by relevance
/external/pcre/dist2/src/ |
D | pcre2_context.c | 118 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() 147 pcre2_compile_context_create(pcre2_general_context *gcontext) in pcre2_compile_context_create() argument 150 sizeof(pcre2_real_compile_context), (pcre2_memctl *)gcontext); in pcre2_compile_context_create() 153 if (gcontext != NULL) in pcre2_compile_context_create() [all …]
|
D | pcre2_match_data.c | 57 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()
|
D | pcre2_jit_misc.c | 107 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()
|
D | pcre2_serialize.c | 74 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() 146 const uint8_t *bytes, pcre2_general_context *gcontext) in pcre2_serialize_decode() argument 149 const pcre2_memctl *memctl = (gcontext != NULL) ? in pcre2_serialize_decode() 150 &gcontext->memctl : &PRIV(default_compile_context).memctl; in pcre2_serialize_decode() 198 (pcre2_memctl *)gcontext); in pcre2_serialize_decode()
|
D | pcre2_maketables.c | 80 pcre2_maketables(pcre2_general_context *gcontext) 82 uint8_t *yield = (uint8_t *)((gcontext != NULL)? 83 gcontext->memctl.malloc(tables_length, gcontext->memctl.memory_data) :
|
D | pcre2_substitute.c | 253 pcre2_general_context *gcontext = (mcontext == NULL)? in pcre2_substitute() local 256 match_data = pcre2_match_data_create_from_pattern(code, gcontext); in pcre2_substitute()
|
/external/pcre/dist2/doc/ |
D | pcre2.txt | 197 pcre2_general_context *gcontext); 200 const pcre2_code *code, pcre2_general_context *gcontext); 234 pcre2_general_context *gcontext); 236 void pcre2_general_context_free(pcre2_general_context *gcontext); 242 pcre2_general_context *gcontext); 271 pcre2_general_context *gcontext); 352 void pcre2_jit_free_unused_memory(pcre2_general_context *gcontext); 355 PCRE2_SIZE maxsize, pcre2_general_context *gcontext); 367 pcre2_general_context *gcontext); 371 PCRE2_SIZE *serialized_size, pcre2_general_context *gcontext); [all …]
|