Home
last modified time | relevance | path

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

/third_party/pcre2/pcre2/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.c127 PCRE2_SIZE *bufflenptr, BOOL dummyrun, pcre2_convert_context *ccontext) in convert_posix() argument
143 (void)ccontext; /* Not currently used */ in convert_posix()
789 PCRE2_SIZE *bufflenptr, BOOL dummyrun, pcre2_convert_context *ccontext) in convert_glob() argument
794 PCRE2_UCHAR separator = ccontext->glob_separator; in convert_glob()
795 PCRE2_UCHAR escape = ccontext->glob_escape; in convert_glob()
1059 pcre2_convert_context *ccontext) in pcre2_pattern_convert() argument
1079 if (ccontext == NULL) ccontext = in pcre2_pattern_convert()
1124 use_buffer, use_length, bufflenptr, dummyrun, ccontext); in pcre2_pattern_convert()
1130 bufflenptr, dummyrun, ccontext); in pcre2_pattern_convert()
1147 (*bufflenptr + 1)*PCRE2_CODE_UNIT_WIDTH, (pcre2_memctl *)ccontext); in pcre2_pattern_convert()
Dpcre2_jit_test.c1995 int pattern_index, int i, pcre2_compile_context_8 *ccontext, pcre2_match_data_8 *mdata) in run_invalid_utf8_test() argument
2006 current->compile_options, &errorcode, &erroroffset, ccontext); in run_invalid_utf8_test()
2048 pcre2_compile_context_8 *ccontext; in invalid_utf8_regression_tests() local
2055 ccontext = pcre2_compile_context_create_8(NULL); in invalid_utf8_regression_tests()
2056 pcre2_set_newline_8(ccontext, PCRE2_NEWLINE_ANY); in invalid_utf8_regression_tests()
2066 if (!run_invalid_utf8_test(current, total - 1, 0, ccontext, mdata)) in invalid_utf8_regression_tests()
2068 if (!run_invalid_utf8_test(current, total - 1, 1, ccontext, mdata)) in invalid_utf8_regression_tests()
2071 pcre2_set_newline_8(ccontext, PCRE2_NEWLINE_CR); in invalid_utf8_regression_tests()
2072 if (!run_invalid_utf8_test(current, total - 1, 0, ccontext, mdata)) in invalid_utf8_regression_tests()
2074 pcre2_set_newline_8(ccontext, PCRE2_NEWLINE_ANY); in invalid_utf8_regression_tests()
[all …]
Dpcre2_compile.c9671 int *errorptr, PCRE2_SIZE *erroroffset, pcre2_compile_context *ccontext) in pcre2_compile() argument
9739 if (ccontext == NULL) in pcre2_compile()
9740 ccontext = (pcre2_compile_context *)(&PRIV(default_compile_context)); in pcre2_compile()
9749 (ccontext->extra_options & ~PUBLIC_COMPILE_EXTRA_OPTIONS) != 0) in pcre2_compile()
9757 (ccontext->extra_options & ~PUBLIC_LITERAL_COMPILE_EXTRA_OPTIONS) != 0)) in pcre2_compile()
9769 if (patlen > ccontext->max_pattern_length) in pcre2_compile()
9781 tables = (ccontext->tables != NULL)? ccontext->tables : PRIV(default_tables); in pcre2_compile()
9790 cb.cx = ccontext; in pcre2_compile()
9952 if ((ccontext->extra_options & PCRE2_EXTRA_ALLOW_SURROGATE_ESCAPES) != 0) in pcre2_compile()
9971 if (bsr == 0) bsr = ccontext->bsr_convention; in pcre2_compile()
[all …]
/third_party/selinux/libselinux/src/
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()
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()
/third_party/pcre2/pcre2/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 …]