Home
last modified time | relevance | path

Searched refs:memctl (Results 1 – 12 of 12) sorted by relevance

/PHP-8.3/ext/pcre/pcre2lib/
H A Dpcre2_serialize.c84 const pcre2_memctl *memctl = (gcontext != NULL) ? in pcre2_serialize_encode() local
85 &gcontext->memctl : &PRIV(default_compile_context).memctl; in pcre2_serialize_encode()
109 bytes = memctl->malloc(total_size + sizeof(pcre2_memctl), memctl->memory_data); in pcre2_serialize_encode()
113 memcpy(bytes, memctl, sizeof(pcre2_memctl)); in pcre2_serialize_encode()
167 const pcre2_memctl *memctl = (gcontext != NULL) ? in pcre2_serialize_decode() local
168 &gcontext->memctl : &PRIV(default_compile_context).memctl; in pcre2_serialize_decode()
192 tables = memctl->malloc(TABLES_LENGTH + sizeof(PCRE2_SIZE), memctl->memory_data); in pcre2_serialize_decode()
219 memctl->free(tables, memctl->memory_data); in pcre2_serialize_decode()
222 memctl->free(codes[j], memctl->memory_data); in pcre2_serialize_decode()
236 memctl->free(dst_re, memctl->memory_data); in pcre2_serialize_decode()
[all …]
H A Dpcre2_context.c90 memctl->malloc(size, memctl->memory_data); in PRIV()
93 if (memctl == NULL) in PRIV()
99 else *newmemctl = *memctl; in PRIV()
233 gcontext->memctl.memory_data); in pcre2_general_context_copy()
245 ccontext->memctl.memory_data); in pcre2_compile_context_copy()
257 mcontext->memctl.memory_data); in pcre2_match_context_copy()
270 ccontext->memctl.memory_data); in pcre2_convert_context_copy()
285 gcontext->memctl.free(gcontext, gcontext->memctl.memory_data); in pcre2_general_context_free()
293 ccontext->memctl.free(ccontext, ccontext->memctl.memory_data); in pcre2_compile_context_free()
301 mcontext->memctl.free(mcontext, mcontext->memctl.memory_data); in pcre2_match_context_free()
[all …]
H A Dpcre2_jit_misc.c78 PRIV(jit_free)(void *executable_jit, pcre2_memctl *memctl) in PRIV()
82 (void)memctl; in PRIV()
86 void *allocator_data = memctl; in PRIV()
149 jit_stack->stack = sljit_allocate_stack(startsize, maxsize, &jit_stack->memctl); in pcre2_jit_stack_create()
152 jit_stack->memctl.free(jit_stack, jit_stack->memctl.memory_data); in pcre2_jit_stack_create()
195 sljit_free_stack((struct sljit_stack *)(jit_stack->stack), &jit_stack->memctl); in pcre2_jit_stack_free()
196 jit_stack->memctl.free(jit_stack, jit_stack->memctl.memory_data); in pcre2_jit_stack_free()
H A Dpcre2_match_data.c103 match_data->memctl.free(match_data->heapframes, in pcre2_match_data_free()
104 match_data->memctl.memory_data); in pcre2_match_data_free()
106 match_data->memctl.free((void *)match_data->subject, in pcre2_match_data_free()
107 match_data->memctl.memory_data); in pcre2_match_data_free()
108 match_data->memctl.free(match_data, match_data->memctl.memory_data); in pcre2_match_data_free()
H A Dpcre2_maketables.c85 gcontext->memctl.malloc(TABLES_LENGTH, gcontext->memctl.memory_data) :
157 gcontext->memctl.free((void *)tables, gcontext->memctl.memory_data);
H A Dpcre2_substring.c245 pcre2_memctl *memctl = (pcre2_memctl *)((char *)string - sizeof(pcre2_memctl)); in pcre2_substring_free() local
246 memctl->free(memctl, memctl->memory_data); in pcre2_substring_free()
449 pcre2_memctl *memctl = (pcre2_memctl *)((char *)list - sizeof(pcre2_memctl)); in pcre2_substring_list_free() local
450 memctl->free(memctl, memctl->memory_data); in pcre2_substring_list_free()
H A Dpcre2_intmodedep.h560 pcre2_memctl memctl; member
566 pcre2_memctl memctl; member
580 pcre2_memctl memctl; member
598 pcre2_memctl memctl; member
619 pcre2_memctl memctl; /* Memory control fields */ member
655 pcre2_memctl memctl; /* Memory control fields */ member
766 pcre2_memctl memctl; member
860 pcre2_memctl memctl; /* For general use */ member
906 pcre2_memctl memctl; /* For general use */ member
H A Dpcre2_compile.c1200 newcode = code->memctl.malloc(code->blocksize, code->memctl.memory_data); in pcre2_code_copy()
1235 newcode = code->memctl.malloc(code->blocksize, code->memctl.memory_data); in pcre2_code_copy_with_tables()
1241 code->memctl.memory_data); in pcre2_code_copy_with_tables()
1244 code->memctl.free((void *)newcode, code->memctl.memory_data); in pcre2_code_copy_with_tables()
1285 code->memctl.free((void *)code->tables, code->memctl.memory_data); in pcre2_code_free()
1289 code->memctl.free(code, code->memctl.memory_data); in pcre2_code_free()
10252 ccontext->memctl.malloc(re_blocksize, ccontext->memctl.memory_data); in pcre2_compile()
10266 re->memctl = ccontext->memctl; in pcre2_compile()
10599 ccontext->memctl.free(cb.parsed_pattern, ccontext->memctl.memory_data); in pcre2_compile()
10601 ccontext->memctl.free((void *)cb.named_groups, ccontext->memctl.memory_data); in pcre2_compile()
[all …]
H A Dpcre2_convert.c1175 pcre2_memctl *memctl = in pcre2_converted_pattern_free() local
1177 memctl->free(memctl, memctl->memory_data); in pcre2_converted_pattern_free()
H A Dpcre2_dfa_match.c438 new = mb->memctl.malloc(newsize*sizeof(int), mb->memctl.memory_data); in more_workspace()
3449 mb->memctl = re->memctl; in pcre2_dfa_match()
3464 mb->memctl = mcontext->memctl; in pcre2_dfa_match()
3630 match_data->memctl.free((void *)match_data->subject, in pcre2_dfa_match()
3631 match_data->memctl.memory_data); in pcre2_dfa_match()
4005 match_data->subject = match_data->memctl.malloc(length, in pcre2_dfa_match()
4006 match_data->memctl.memory_data); in pcre2_dfa_match()
4054 mb->memctl.free(next, mb->memctl.memory_data); in pcre2_dfa_match()
H A Dpcre2_match.c677 new = match_data->memctl.malloc(newsize, match_data->memctl.memory_data); in match()
684 match_data->memctl.free(match_data->heapframes, match_data->memctl.memory_data); in match()
6461 match_data->memctl.free((void *)match_data->subject, in pcre2_match()
6462 match_data->memctl.memory_data); in pcre2_match()
6558 match_data->memctl.memory_data); in pcre2_match()
6717 mb->memctl = re->memctl; in pcre2_match()
6719 else mb->memctl = mcontext->memctl; in pcre2_match()
6846 match_data->memctl.free(match_data->heapframes, in pcre2_match()
6847 match_data->memctl.memory_data); in pcre2_match()
6849 match_data->memctl.memory_data); in pcre2_match()
[all …]
H A Dpcre2_jit_compile.c13699 void *allocator_data = &re->memctl; in jit_compile()

Completed in 134 milliseconds