Home
last modified time | relevance | path

Searched refs:ucp (Results 1 – 7 of 7) sorted by relevance

/PHP-7.4/ext/fileinfo/libmagic/
H A Dis_json.c122 const unsigned char *uc = *ucp; in json_parse_string()
158 *ucp = uc; in json_parse_string()
166 *ucp = uc; in json_parse_string()
191 *ucp = uc + 1; in json_parse_array()
199 *ucp = uc; in json_parse_array()
239 *ucp = uc; in json_parse_object()
243 *ucp = uc - 1; in json_parse_object()
250 *ucp = uc; in json_parse_object()
300 *ucp = uc; in json_parse_number()
317 *ucp = uc; in json_parse_const()
[all …]
/PHP-7.4/ext/pcre/pcre2lib/
H A Dpcre2_auto_possess.c308 get_chr_property_list(PCRE2_SPTR code, BOOL utf, BOOL ucp, const uint8_t *fcc, in get_chr_property_list() argument
321 (void)ucp; in get_chr_property_list()
401 if (chr < 128 || (chr < 256 && !utf && !ucp)) in get_chr_property_list()
518 compare_opcodes(PCRE2_SPTR code, BOOL utf, BOOL ucp, const compile_block *cb, in compare_opcodes() argument
678 if (!compare_opcodes(next_code, utf, ucp, cb, base_list, base_end, in compare_opcodes()
695 code = get_chr_property_list(code, utf, ucp, cb->fcc, list); in compare_opcodes()
1122 BOOL ucp = (cb->external_options & PCRE2_UCP) != 0; in PRIV() local
1134 get_chr_property_list(code, utf, ucp, cb->fcc, list) : NULL; in PRIV()
1137 if (end != NULL && compare_opcodes(end, utf, ucp, cb, list, end, in PRIV()
1190 end = get_chr_property_list(code, utf, ucp, cb->fcc, list); in PRIV()
[all …]
H A Dpcre2_study.c782 BOOL ucp) in set_table_bit() argument
787 (void)ucp; in set_table_bit()
817 if (utf || ucp) in set_table_bit()
1124 rc = set_start_bits(re, tcode, utf, ucp, depthptr); in set_start_bits()
1180 rc = set_start_bits(re, ++tcode, utf, ucp, depthptr); in set_start_bits()
1211 tcode = set_table_bit(re, tcode + 1, TRUE, utf, ucp); in set_start_bits()
1237 (void)set_table_bit(re, tcode + 1, FALSE, utf, ucp); in set_start_bits()
1248 (void)set_table_bit(re, tcode + 1, TRUE, utf, ucp); in set_start_bits()
1677 BOOL ucp = (re->overall_options & PCRE2_UCP) != 0; in PRIV() local
1691 int rc = set_start_bits(re, code, utf, ucp, &depth); in PRIV()
[all …]
H A Dpcre2_substitute.c239 BOOL ucp = (code->overall_options & PCRE2_UCP) != 0; in pcre2_substitute() local
762 if (utf || ucp) in pcre2_substitute()
864 if (utf || ucp) in pcre2_substitute()
H A Dpcre2_match.c619 BOOL ucp = (mb->poptions & PCRE2_UCP) != 0; in match() local
1010 else if (ucp) in match()
1073 else if (ucp) in match()
1321 if (ucp && !utf && Lc > 127) Loc = UCD_OTHERCASE(Lc); in match()
1328 if ((utf || ucp) && Lc > 127) Loc = UCD_OTHERCASE(Lc); in match()
1561 if ((utf || ucp) && Lc > 127) in match()
6145 BOOL ucp = FALSE; in pcre2_match() local
6229 ucp = (re->overall_options & PCRE2_UCP) != 0; in pcre2_match()
6669 if (first_cu > 127 && ucp && !utf) first_cu2 = UCD_OTHERCASE(first_cu); in pcre2_match()
6691 if (req_cu > 127 && ucp && !utf) req_cu2 = UCD_OTHERCASE(req_cu); in pcre2_match()
[all …]
H A Dpcre2_compile.c5322 BOOL ucp = (options & PCRE2_UCP) != 0; in compile_branch() local
5573 if ((utf||ucp) && (options & PCRE2_CASELESS) != 0 && in compile_branch()
5606 if ((utf || ucp) && c > 127) d = UCD_OTHERCASE(c); else in compile_branch()
7832 if ((utf||ucp) && (options & PCRE2_CASELESS) != 0) in compile_branch()
9930 ucp = (cb.external_options & PCRE2_UCP) != 0; in pcre2_compile()
9931 if (ucp && (cb.external_options & PCRE2_NEVER_UCP) != 0) in pcre2_compile()
10355 if (firstcu < 128 || (!utf && !ucp && firstcu < 255)) in pcre2_compile()
10369 else if ((utf || ucp) && firstcu <= MAX_UTF_CODE_POINT && in pcre2_compile()
10422 if (reqcu < 128 || (!utf && !ucp && reqcu < 255)) in pcre2_compile()
10428 else if (ucp && !utf && UCD_OTHERCASE(reqcu) != reqcu) in pcre2_compile()
[all …]
H A Dpcre2_jit_compile.c485 BOOL ucp; member
3448 if (common->utf || common->ucp) in char_has_othercase()
3472 if ((common->utf || common->ucp) && c > 127) in char_othercase()
3487 if (common->utf || common->ucp) in char_get_othercase_bit()
5721 if (common->ucp && chr > 127) in scan_prefix()
6155 if (first_char > 127 && (common->utf || common->ucp)) in fast_forward_first_char()
6366 if (req_char > 127 && (common->utf || common->ucp)) in search_requested_char()
6520 if (common->ucp) in check_wordboundary()
6566 if (common->ucp) in check_wordboundary()
13476 common->ucp = (re->overall_options & PCRE2_UCP) != 0; in jit_compile()

Completed in 114 milliseconds