Home
last modified time | relevance | path

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

/external/pcre/src/
Dpcre2_context.c150 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()
214 pcre2_convert_context *ccontext = PRIV(memctl_malloc)( in pcre2_convert_context_create() local
216 if (ccontext == NULL) return NULL; in pcre2_convert_context_create()
217 *ccontext = PRIV(default_convert_context); in pcre2_convert_context_create()
219 *((pcre2_memctl *)ccontext) = *((pcre2_memctl *)gcontext); in pcre2_convert_context_create()
220 return ccontext; in pcre2_convert_context_create()
[all …]
Dpcre2_convert.c126 PCRE2_SIZE *bufflenptr, BOOL dummyrun, pcre2_convert_context *ccontext) in convert_posix() argument
142 (void)ccontext; /* Not currently used */ in convert_posix()
788 PCRE2_SIZE *bufflenptr, BOOL dummyrun, pcre2_convert_context *ccontext) in convert_glob() argument
793 PCRE2_UCHAR separator = ccontext->glob_separator; in convert_glob()
794 PCRE2_UCHAR escape = ccontext->glob_escape; in convert_glob()
1058 pcre2_convert_context *ccontext) in pcre2_pattern_convert() argument
1078 if (ccontext == NULL) ccontext = in pcre2_pattern_convert()
1123 use_buffer, use_length, bufflenptr, dummyrun, ccontext); in pcre2_pattern_convert()
1129 bufflenptr, dummyrun, ccontext); in pcre2_pattern_convert()
1146 (*bufflenptr + 1)*PCRE2_CODE_UNIT_WIDTH, (pcre2_memctl *)ccontext); in pcre2_pattern_convert()
Dpcre2_jit_test.c1999 int pattern_index, int i, pcre2_compile_context_8 *ccontext, pcre2_match_data_8 *mdata) in run_invalid_utf8_test() argument
2010 current->compile_options, &errorcode, &erroroffset, ccontext); in run_invalid_utf8_test()
2052 pcre2_compile_context_8 *ccontext; in invalid_utf8_regression_tests() local
2059 ccontext = pcre2_compile_context_create_8(NULL); in invalid_utf8_regression_tests()
2060 pcre2_set_newline_8(ccontext, PCRE2_NEWLINE_ANY); in invalid_utf8_regression_tests()
2070 if (!run_invalid_utf8_test(current, total - 1, 0, ccontext, mdata)) in invalid_utf8_regression_tests()
2072 if (!run_invalid_utf8_test(current, total - 1, 1, ccontext, mdata)) in invalid_utf8_regression_tests()
2075 pcre2_set_newline_8(ccontext, PCRE2_NEWLINE_CR); in invalid_utf8_regression_tests()
2076 if (!run_invalid_utf8_test(current, total - 1, 0, ccontext, mdata)) in invalid_utf8_regression_tests()
2078 pcre2_set_newline_8(ccontext, PCRE2_NEWLINE_ANY); in invalid_utf8_regression_tests()
[all …]
Dpcre2_compile.c9765 int *errorptr, PCRE2_SIZE *erroroffset, pcre2_compile_context *ccontext) in pcre2_compile() argument
9833 if (ccontext == NULL) in pcre2_compile()
9834 ccontext = (pcre2_compile_context *)(&PRIV(default_compile_context)); in pcre2_compile()
9843 (ccontext->extra_options & ~PUBLIC_COMPILE_EXTRA_OPTIONS) != 0) in pcre2_compile()
9851 (ccontext->extra_options & ~PUBLIC_LITERAL_COMPILE_EXTRA_OPTIONS) != 0)) in pcre2_compile()
9863 if (patlen > ccontext->max_pattern_length) in pcre2_compile()
9875 tables = (ccontext->tables != NULL)? ccontext->tables : PRIV(default_tables); in pcre2_compile()
9884 cb.cx = ccontext; in pcre2_compile()
10046 if ((ccontext->extra_options & PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES) != 0) in pcre2_compile()
10065 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.c39 char * ccontext = NULL; in fsetfilecon_raw() local
41 if ((fgetfilecon_raw(fd, &ccontext) >= 0) && in fsetfilecon_raw()
42 (strcmp(context,ccontext) == 0)) { in fsetfilecon_raw()
47 freecon(ccontext); in fsetfilecon_raw()
/external/pcre/doc/
Dpcre2.txt208 pcre2_compile_context *ccontext);
261 pcre2_compile_context *ccontext);
263 void pcre2_compile_context_free(pcre2_compile_context *ccontext);
265 int pcre2_set_bsr(pcre2_compile_context *ccontext,
268 int pcre2_set_character_tables(pcre2_compile_context *ccontext,
271 int pcre2_set_compile_extra_options(pcre2_compile_context *ccontext,
274 int pcre2_set_max_pattern_length(pcre2_compile_context *ccontext,
277 int pcre2_set_newline(pcre2_compile_context *ccontext,
280 int pcre2_set_parens_nest_limit(pcre2_compile_context *ccontext,
283 int pcre2_set_compile_recursion_guard(pcre2_compile_context *ccontext,
[all …]