Lines Matching refs:ccontext

150 pcre2_compile_context *ccontext = PRIV(memctl_malloc)(  in pcre2_compile_context_create()  local
152 if (ccontext == NULL) return NULL; in pcre2_compile_context_create()
153 *ccontext = PRIV(default_compile_context); in pcre2_compile_context_create()
155 *((pcre2_memctl *)ccontext) = *((pcre2_memctl *)gcontext); in pcre2_compile_context_create()
156 return ccontext; in pcre2_compile_context_create()
212 pcre2_convert_context *ccontext = PRIV(memctl_malloc)( in pcre2_convert_context_create() local
214 if (ccontext == NULL) return NULL; in pcre2_convert_context_create()
215 *ccontext = PRIV(default_convert_context); in pcre2_convert_context_create()
217 *((pcre2_memctl *)ccontext) = *((pcre2_memctl *)gcontext); in pcre2_convert_context_create()
218 return ccontext; in pcre2_convert_context_create()
239 pcre2_compile_context_copy(pcre2_compile_context *ccontext) in pcre2_compile_context_copy() argument
242 ccontext->memctl.malloc(sizeof(pcre2_real_compile_context), in pcre2_compile_context_copy()
243 ccontext->memctl.memory_data); in pcre2_compile_context_copy()
245 memcpy(new, ccontext, sizeof(pcre2_real_compile_context)); in pcre2_compile_context_copy()
264 pcre2_convert_context_copy(pcre2_convert_context *ccontext) in pcre2_convert_context_copy() argument
267 ccontext->memctl.malloc(sizeof(pcre2_real_convert_context), in pcre2_convert_context_copy()
268 ccontext->memctl.memory_data); in pcre2_convert_context_copy()
270 memcpy(new, ccontext, sizeof(pcre2_real_convert_context)); in pcre2_convert_context_copy()
288 pcre2_compile_context_free(pcre2_compile_context *ccontext) in pcre2_compile_context_free() argument
290 if (ccontext != NULL) in pcre2_compile_context_free()
291 ccontext->memctl.free(ccontext, ccontext->memctl.memory_data); in pcre2_compile_context_free()
304 pcre2_convert_context_free(pcre2_convert_context *ccontext) in pcre2_convert_context_free() argument
306 if (ccontext != NULL) in pcre2_convert_context_free()
307 ccontext->memctl.free(ccontext, ccontext->memctl.memory_data); in pcre2_convert_context_free()
323 pcre2_set_character_tables(pcre2_compile_context *ccontext, in pcre2_set_character_tables() argument
326 ccontext->tables = tables; in pcre2_set_character_tables()
331 pcre2_set_bsr(pcre2_compile_context *ccontext, uint32_t value) in pcre2_set_bsr() argument
337 ccontext->bsr_convention = value; in pcre2_set_bsr()
346 pcre2_set_max_pattern_length(pcre2_compile_context *ccontext, PCRE2_SIZE length) in pcre2_set_max_pattern_length() argument
348 ccontext->max_pattern_length = length; in pcre2_set_max_pattern_length()
353 pcre2_set_newline(pcre2_compile_context *ccontext, uint32_t newline) in pcre2_set_newline() argument
363 ccontext->newline_convention = newline; in pcre2_set_newline()
372 pcre2_set_parens_nest_limit(pcre2_compile_context *ccontext, uint32_t limit) in pcre2_set_parens_nest_limit() argument
374 ccontext->parens_nest_limit = limit; in pcre2_set_parens_nest_limit()
379 pcre2_set_compile_extra_options(pcre2_compile_context *ccontext, uint32_t options) in pcre2_set_compile_extra_options() argument
381 ccontext->extra_options = options; in pcre2_set_compile_extra_options()
386 pcre2_set_compile_recursion_guard(pcre2_compile_context *ccontext, in pcre2_set_compile_recursion_guard() argument
389 ccontext->stack_guard = guard; in pcre2_set_compile_recursion_guard()
390 ccontext->stack_guard_data = user_data; in pcre2_set_compile_recursion_guard()
458 pcre2_set_glob_separator(pcre2_convert_context *ccontext, uint32_t separator) in pcre2_set_glob_separator() argument
462 ccontext->glob_separator = separator; in pcre2_set_glob_separator()
467 pcre2_set_glob_escape(pcre2_convert_context *ccontext, uint32_t escape) in pcre2_set_glob_escape() argument
471 ccontext->glob_escape = escape; in pcre2_set_glob_escape()