Home
last modified time | relevance | path

Searched refs:ccontext (Results 1 – 6 of 6) sorted by relevance

/external/pcre/dist2/src/
Dpcre2_context.c149 pcre2_compile_context *ccontext = PRIV(memctl_malloc)( in pcre2_compile_context_create() local
151 if (ccontext == NULL) return NULL; in pcre2_compile_context_create()
152 *ccontext = PRIV(default_compile_context); in pcre2_compile_context_create()
154 *((pcre2_memctl *)ccontext) = *((pcre2_memctl *)gcontext); in pcre2_compile_context_create()
155 return ccontext; in pcre2_compile_context_create()
210 pcre2_compile_context_copy(pcre2_compile_context *ccontext) in pcre2_compile_context_copy() argument
213 ccontext->memctl.malloc(sizeof(pcre2_real_compile_context), in pcre2_compile_context_copy()
214 ccontext->memctl.memory_data); in pcre2_compile_context_copy()
216 memcpy(new, ccontext, sizeof(pcre2_real_compile_context)); in pcre2_compile_context_copy()
248 pcre2_compile_context_free(pcre2_compile_context *ccontext) in pcre2_compile_context_free() argument
[all …]
Dpcre2_compile.c8313 int *errorptr, PCRE2_SIZE *erroroffset, pcre2_compile_context *ccontext) in pcre2_compile() argument
8380 if (ccontext == NULL) in pcre2_compile()
8381 ccontext = (pcre2_compile_context *)(&PRIV(default_compile_context)); in pcre2_compile()
8391 if (patlen > ccontext->max_pattern_length) in pcre2_compile()
8399 if (patlen > ccontext->max_pattern_length) in pcre2_compile()
8408 copied_pattern = ccontext->memctl.malloc(CU2BYTES(patlen + 1), in pcre2_compile()
8409 ccontext->memctl.memory_data); in pcre2_compile()
8423 tables = (ccontext->tables != NULL)? ccontext->tables : PRIV(default_tables); in pcre2_compile()
8432 cb.cx = ccontext; in pcre2_compile()
8576 if (bsr == 0) bsr = ccontext->bsr_convention; in pcre2_compile()
[all …]
/external/selinux/libselinux/src/
Dlsetfilecon.c15 char * ccontext = NULL; in lsetfilecon_raw() local
17 if ((lgetfilecon_raw(path, &ccontext) >= 0) && in lsetfilecon_raw()
18 (strcmp(context,ccontext) == 0)) { in lsetfilecon_raw()
23 freecon(ccontext); in lsetfilecon_raw()
Dsetfilecon.c15 char * ccontext = NULL; in setfilecon_raw() local
17 if ((getfilecon_raw(path, &ccontext) >= 0) && in setfilecon_raw()
18 (strcmp(context,ccontext) == 0)) { in setfilecon_raw()
23 freecon(ccontext); in setfilecon_raw()
Dfsetfilecon.c15 char * ccontext = NULL; in fsetfilecon_raw() local
17 if ((fgetfilecon_raw(fd, &ccontext) >= 0) && in fsetfilecon_raw()
18 (strcmp(context,ccontext) == 0)) { in fsetfilecon_raw()
23 freecon(ccontext); in fsetfilecon_raw()
/external/pcre/dist2/doc/
Dpcre2.txt192 pcre2_compile_context *ccontext);
245 pcre2_compile_context *ccontext);
247 void pcre2_compile_context_free(pcre2_compile_context *ccontext);
249 int pcre2_set_bsr(pcre2_compile_context *ccontext,
252 int pcre2_set_character_tables(pcre2_compile_context *ccontext,
255 int pcre2_set_max_pattern_length(pcre2_compile_context *ccontext,
258 int pcre2_set_newline(pcre2_compile_context *ccontext,
261 int pcre2_set_parens_nest_limit(pcre2_compile_context *ccontext,
264 int pcre2_set_compile_recursion_guard(pcre2_compile_context *ccontext,
738 pcre2_compile_context *ccontext);
[all …]