Searched refs:PUBL (Results 1 – 10 of 10) sorted by relevance
/external/pcre/dist/ |
D | pcre_globals.c | 70 PCRE_EXP_DATA_DEFN void *(*PUBL(malloc))(size_t) = LocalPcreMalloc; 71 PCRE_EXP_DATA_DEFN void (*PUBL(free))(void *) = LocalPcreFree; 72 PCRE_EXP_DATA_DEFN void *(*PUBL(stack_malloc))(size_t) = LocalPcreMalloc; 73 PCRE_EXP_DATA_DEFN void (*PUBL(stack_free))(void *) = LocalPcreFree; 74 PCRE_EXP_DATA_DEFN int (*PUBL(callout))(PUBL(callout_block) *) = NULL; 75 PCRE_EXP_DATA_DEFN int (*PUBL(stack_guard))(void) = NULL; 78 PCRE_EXP_DATA_DEFN void *(*PUBL(malloc))(size_t) = malloc; 79 PCRE_EXP_DATA_DEFN void (*PUBL(free))(void *) = free; 80 PCRE_EXP_DATA_DEFN void *(*PUBL(stack_malloc))(size_t) = malloc; 81 PCRE_EXP_DATA_DEFN void (*PUBL(stack_free))(void *) = free; [all …]
|
D | pcre_get.c | 462 stringlist = (pcre_uchar **)(PUBL(malloc))(size); in pcre_get_substring_list() 512 (PUBL(free))((void *)pointer); in pcre_free_substring_list() 562 substring = (pcre_uchar *)(PUBL(malloc))(IN_UCHARS(yield + 1)); in pcre_get_substring() 659 (PUBL(free))((void *)pointer); in pcre_free_substring()
|
D | pcre_study.c | 1465 PUBL(extra) *extra = NULL; in pcre_study() 1572 extra = (PUBL(extra) *)(PUBL(malloc)) in pcre_study() 1573 (sizeof(PUBL(extra)) + sizeof(pcre_study_data)); in pcre_study() 1580 study = (pcre_study_data *)((char *)extra + sizeof(PUBL(extra))); in pcre_study() 1683 PUBL(free)(extra); in pcre_free_study()
|
D | pcre_internal.h | 2620 #ifndef PUBL 2621 #define PUBL(name) pcre_##name macro 2627 #ifndef PUBL 2628 #define PUBL(name) pcre16_##name macro 2634 #ifndef PUBL 2635 #define PUBL(name) pcre32_##name macro 2751 PUBL(extra) *, int); 2752 extern int PRIV(jit_exec)(const PUBL(extra) *,
|
D | pcre_maketables.c | 84 yield = (unsigned char*)(PUBL(malloc))(tables_length); in pcre_maketables()
|
D | pcre_exec.c | 354 newframe = (heapframe *)(PUBL(stack_malloc))(sizeof(heapframe));\ 1296 if (PUBL(callout) != NULL) in match() 1298 PUBL(callout_block) cb; in match() 1320 if ((rrc = (*PUBL(callout))(&cb)) > 0) RRETURN(MATCH_NOMATCH); in match() 1706 if (PUBL(callout) != NULL) in match() 1708 PUBL(callout_block) cb; in match() 1730 if ((rrc = (*PUBL(callout))(&cb)) > 0) RRETURN(MATCH_NOMATCH); in match() 1790 (int *)(PUBL(malloc))(new_recursive.saved_max * sizeof(int)); in match() 1816 (PUBL(free))(new_recursive.offset_save); in match() 1834 (PUBL(free))(new_recursive.offset_save); in match() [all …]
|
D | pcreposix.c | 247 (PUBL(free))(preg->re_pcre); in regfree()
|
D | pcre_dfa_exec.c | 2702 if (PUBL(callout) != NULL) in internal_dfa_exec() 2704 PUBL(callout_block) cb; in internal_dfa_exec() 2724 if ((rrc = (*PUBL(callout))(&cb)) < 0) return rrc; /* Abandon */ in internal_dfa_exec() 3056 if (PUBL(callout) != NULL) in internal_dfa_exec() 3058 PUBL(callout_block) cb; in internal_dfa_exec() 3078 if ((rrc = (*PUBL(callout))(&cb)) < 0) return rrc; /* Abandon */ in internal_dfa_exec()
|
D | pcre_compile.c | 931 newspace = (PUBL(malloc))(IN_UCHARS(newsize)); in expand_workspace() 936 (PUBL(free))((void *)cd->start_workspace); in expand_workspace() 7162 named_group *newspace = (PUBL(malloc)) in compile_branch() 7174 (PUBL(free))((void *)cd->named_groups); in compile_branch() 8269 if (PUBL(stack_guard) != NULL && PUBL(stack_guard)()) in compile_regex() 9344 re = (REAL_PCRE *)(PUBL(malloc))(size); in pcre_compile2() 9411 (PUBL(free))((void *)cd->named_groups); in pcre_compile2() 9491 (PUBL(free))((void *)cd->start_workspace); in pcre_compile2() 9560 (PUBL(free))(re); in pcre_compile2() 9701 (PUBL(free))(re); in pcre_compile2()
|
D | pcre_jit_compile.c | 55 #define SLJIT_MALLOC(size, allocator_data) (PUBL(malloc))(size) 56 #define SLJIT_FREE(ptr, allocator_data) (PUBL(free))(ptr) 184 PUBL(jit_callback) callback; 6359 static int SLJIT_CALL do_callout(struct jit_arguments *arguments, PUBL(callout_block) *callout_bloc… in do_callout() 6366 if (PUBL(callout) == NULL) in do_callout() 6400 return (*PUBL(callout))(callout_block); in do_callout() 6405 (((int)sizeof(PUBL(callout_block)) + 7) & ~7) 6408 (-CALLOUT_ARG_SIZE + SLJIT_OFFSETOF(PUBL(callout_block), arg)) 9792 PRIV(jit_compile)(const REAL_PCRE *re, PUBL(extra) *extra, int mode) in PRIV() 10411 PRIV(jit_exec)(const PUBL(extra) *extra_data, const pcre_uchar *subject, in PRIV() [all …]
|