Home
last modified time | relevance | path

Searched refs:PCRE2_UTF (Results 1 – 25 of 27) sorted by relevance

12

/third_party/pcre2/pcre2/src/
Dpcre2_jit_test.c126 #define MU (PCRE2_MULTILINE | PCRE2_UTF)
127 #define MUP (PCRE2_MULTILINE | PCRE2_UTF | PCRE2_UCP)
128 #define CMU (PCRE2_CASELESS | PCRE2_MULTILINE | PCRE2_UTF)
129 #define CMUP (PCRE2_CASELESS | PCRE2_MULTILINE | PCRE2_UTF | PCRE2_UCP)
132 #define U (PCRE2_UTF)
1234 disabled_options |= PCRE2_UTF; in regression_tests()
1282 if ((current->compile_options & PCRE2_UTF) || (current->start_offset & F_FORCECONV)) in regression_tests()
1309 if ((current->compile_options & PCRE2_UTF) || (current->start_offset & F_FORCECONV)) in regression_tests()
1412 if ((current->compile_options & PCRE2_UTF) || (current->start_offset & F_FORCECONV)) in regression_tests()
1457 if ((current->compile_options & PCRE2_UTF) || (current->start_offset & F_FORCECONV)) in regression_tests()
[all …]
Dpcre2_fuzzsupport.c32 PCRE2_UTF)
141 ((compile_options & PCRE2_UTF) != 0)? ",utf" : ""); in LLVMFuzzerTestOneInput()
Dpcre2demo.c338 utf8 = (option_bits & PCRE2_UTF) != 0; in main()
Dpcre2_compile.c770 PCRE2_NO_START_OPTIMIZE|PCRE2_NO_UTF_CHECK|PCRE2_USE_OFFSET_LIMIT|PCRE2_UTF)
832 { (uint8_t *)STRING_UTFn_RIGHTPAR, PSO_OPT, PCRE2_UTF },
833 { (uint8_t *)STRING_UTF_RIGHTPAR, 4, PSO_OPT, PCRE2_UTF },
1508 BOOL utf = (options & PCRE2_UTF) != 0; in PRIV()
2623 BOOL utf = (options & PCRE2_UTF) != 0; in parse_regex()
5016 if ((options & (PCRE2_UTF|PCRE2_UCP)) != 0) in add_to_class_internal()
5064 if ((options & PCRE2_UTF) == 0 && end > MAX_NON_UTF_CHAR) in add_to_class_internal()
5086 if ((options & PCRE2_UTF) != 0) in add_to_class_internal()
5273 BOOL utf = (options & PCRE2_UTF) != 0; in add_not_list_to_class()
5430 BOOL utf = (options & PCRE2_UTF) != 0; in compile_branch()
[all …]
Dpcre2_substitute.c238 BOOL utf = (code->overall_options & PCRE2_UTF) != 0; in pcre2_substitute()
423 else if ((code->overall_options & PCRE2_UTF) != 0) in pcre2_substitute()
Dpcre2_pattern_info.c281 utf = (re->overall_options & PCRE2_UTF) != 0; in pcre2_callout_enumerate()
Dpcre2posix.c297 if ((cflags & REG_UTF) != 0) options |= PCRE2_UTF; in pcre2_regcomp()
Dpcre2_printint.c343 BOOL utf = (re->overall_options & PCRE2_UTF) != 0; in pcre2_printint()
Dpcre2_auto_possess.c1139 BOOL utf = (cb->external_options & PCRE2_UTF) != 0; in PRIV()
Dpcre2test.c755 { "utf", MOD_PATP, MOD_OPT, PCRE2_UTF, PO(options) },
766 PCRE2_UTF|PCRE2_UNGREEDY)
4236 ((options & PCRE2_UTF) != 0)? " utf" : "", in show_compile_options()
4404 BOOL utf = (FLD(compiled_code, overall_options) & PCRE2_UTF) != 0; in callout_callback()
4452 BOOL utf = (FLD(compiled_code, overall_options) & PCRE2_UTF) != 0; in show_pattern_info()
5230 utf = (pat_patctl.options & (PCRE2_UTF|PCRE2_MATCH_INVALID_UTF)) != 0; in process_pattern()
6188 BOOL utf = (FLD(compiled_code, overall_options) & PCRE2_UTF) != 0; in substitute_callout_function()
6244 BOOL utf = (FLD(compiled_code, overall_options) & PCRE2_UTF) != 0; in callout_function()
6755 FLD(compiled_code, overall_options)) & PCRE2_UTF) != 0; in process_data()
6757 utf = (FLD(compiled_code, overall_options) & PCRE2_UTF) != 0; in process_data()
Dpcre2_study.c1676 BOOL utf = (re->overall_options & PCRE2_UTF) != 0; in PRIV()
Dpcre2_dfa_match.c550 BOOL utf = (mb->poptions & PCRE2_UTF) != 0; in internal_dfa_match()
3416 utf = (re->overall_options & PCRE2_UTF) != 0; in pcre2_dfa_match()
Dpcre2grep.c3607 case 'u': options |= PCRE2_UTF; utf = TRUE; break; in handle_option()
3608 case 'U': options |= PCRE2_UTF|PCRE2_MATCH_INVALID_UTF; utf = TRUE; break; in handle_option()
Dpcre2_match.c386 BOOL utf = (mb->poptions & PCRE2_UTF) != 0; in match_ref()
627 BOOL utf = (mb->poptions & PCRE2_UTF) != 0; in match()
6432 utf = (re->overall_options & PCRE2_UTF) != 0; in pcre2_match()
Dpcre2.h.in138 #define PCRE2_UTF 0x00080000u /* C J M D */ macro
Dpcre2.h.generic138 #define PCRE2_UTF 0x00080000u /* C J M D */
/third_party/rust/crates/regex/bench/src/ffi/
Dpcre2.rs43 PCRE2_UCP | PCRE2_UTF, in new()
146 const PCRE2_UTF: u32 = 0x00080000; constant
/third_party/glib/patch/
Dbackport-regex-Do-not-mix-PCRE2-Compile-Match-Newline-and-BSR-flags.patch57 - PCRE2_UTF | \
70 -#define G_REGEX_COMPILE_NONPCRE_MASK (PCRE2_UTF | \
110 + PCRE2_UTF | \
120 +#define G_REGEX_COMPILE_NONPCRE_MASK (PCRE2_UTF)
253 pcre2_flags |= PCRE2_UTF;
384 if (!(pcre2_flags & PCRE2_UTF))
781 if (compile_options & PCRE2_UTF)
Dbackport-replace-pcre1-with-pcre2.patch128 + PCRE2_UTF | \
143 +#define G_REGEX_COMPILE_NONPCRE_MASK (PCRE2_UTF | \
293 + pcre2_flags |= PCRE2_UTF;
394 + if (!(pcre2_flags & PCRE2_UTF))
1368 + if (compile_options & PCRE2_UTF)
/third_party/pcre2/pcre2/
DNEWS118 3. When Unicode is supported and PCRE2_UCP is set without PCRE2_UTF, Unicode
177 (c) When PCRE2_UTF is set, allow non-ASCII letters and decimal digits in
DChangeLog568 PCRE2_UCP is set without PCRE2_UTF, Unicode character properties are used for
930 30. When PCRE2_UTF is set, allow non-ASCII letters and decimal digits in group
1804 pattern with PCRE2_UCP set without PCRE2_UTF if a class required all wide
/third_party/pcre2/pcre2/doc/
Dpcre2.txt105 PCRE2_UTF. Alternatively, you can set the PCRE2_NEVER_UTF option when
1497 PCRE2_UTF or PCRE2_UCP is set, Unicode properties are used for all
1503 a lookup table is used for speed. When neither PCRE2_UTF nor PCRE2_UCP
1636 PCRE2_UTF, and PCRE2_USE_OFFSET_LIMIT. The extra options PCRE2_EX-
1642 This option forces PCRE2_UTF (see below) and also enables support for
1705 of PCRE2_UTF and PCRE2_NEVER_UTF causes an error.
1803 When PCRE2_UTF is set, the validity of the pattern as a UTF string is
1841 greater than 127, even when PCRE2_UTF is not set. This makes it possi-
1862 PCRE2_UTF
1869 tails of how PCRE2_UTF changes the behaviour of PCRE2 are given in the
[all …]
Dpcre2test.txt296 PCRE2_NEVER_UCP options set, which locks out the use of the PCRE2_UTF
300 when PCRE2_UTF is not set, but which require Unicode property support
595 utf set PCRE2_UTF
597 As well as turning on the PCRE2_UTF option, the utf modifier causes all
/third_party/pcre2/pcre2/maint/
DREADME388 which is the PCRE2 default for PCRE2_UTF (use PCRE2_UCP to change). However,
/third_party/pcre2/pcre2/doc/html/
DREADME.txt191 enabled by setting the PCRE2_UTF option at run time or starting a pattern

12