Home
last modified time | relevance | path

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

/PHP-8.1/ext/fileinfo/libmagic/
H A Dis_json.c122 const unsigned char *uc = *ucp; in json_parse_string()
158 *ucp = uc; in json_parse_string()
167 *ucp = uc; in json_parse_string()
192 *ucp = uc + 1; in json_parse_array()
201 *ucp = uc; in json_parse_array()
246 *ucp = uc; in json_parse_object()
250 *ucp = uc - 1; in json_parse_object()
257 *ucp = uc; in json_parse_object()
307 *ucp = uc; in json_parse_number()
324 *ucp = uc; in json_parse_const()
[all …]
/PHP-8.1/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()
519 compare_opcodes(PCRE2_SPTR code, BOOL utf, BOOL ucp, const compile_block *cb, in compare_opcodes() argument
679 if (!compare_opcodes(next_code, utf, ucp, cb, base_list, base_end, in compare_opcodes()
696 code = get_chr_property_list(code, utf, ucp, cb->fcc, list); in compare_opcodes()
1123 BOOL ucp = (cb->external_options & PCRE2_UCP) != 0; in PRIV() local
1135 get_chr_property_list(code, utf, ucp, cb->fcc, list) : NULL; in PRIV()
1138 if (end != NULL && compare_opcodes(end, utf, ucp, cb, list, end, in PRIV()
1195 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
1012 else if (ucp) in match()
1075 else if (ucp) in match()
1323 if (ucp && !utf && Lc > 127) Loc = UCD_OTHERCASE(Lc); in match()
1330 if ((utf || ucp) && Lc > 127) Loc = UCD_OTHERCASE(Lc); in match()
1563 if ((utf || ucp) && Lc > 127) in match()
6147 BOOL ucp = FALSE; in pcre2_match() local
6231 ucp = (re->overall_options & PCRE2_UCP) != 0; in pcre2_match()
6671 if (first_cu > 127 && ucp && !utf) first_cu2 = UCD_OTHERCASE(first_cu); in pcre2_match()
6693 if (req_cu > 127 && ucp && !utf) req_cu2 = UCD_OTHERCASE(req_cu); in pcre2_match()
[all …]
H A Dpcre2_compile.c5344 BOOL ucp = (options & PCRE2_UCP) != 0; in compile_branch() local
5595 if ((utf||ucp) && (options & PCRE2_CASELESS) != 0 && in compile_branch()
5628 if ((utf || ucp) && c > 127) d = UCD_OTHERCASE(c); else in compile_branch()
7864 if ((utf||ucp) && (options & PCRE2_CASELESS) != 0) in compile_branch()
9962 ucp = (cb.external_options & PCRE2_UCP) != 0; in pcre2_compile()
9963 if (ucp && (cb.external_options & PCRE2_NEVER_UCP) != 0) in pcre2_compile()
10388 if (firstcu < 128 || (!utf && !ucp && firstcu < 255)) in pcre2_compile()
10402 else if ((utf || ucp) && firstcu <= MAX_UTF_CODE_POINT && in pcre2_compile()
10455 if (reqcu < 128 || (!utf && !ucp && reqcu < 255)) in pcre2_compile()
10461 else if (ucp && !utf && UCD_OTHERCASE(reqcu) != reqcu) in pcre2_compile()
[all …]
H A Dpcre2_jit_compile.c485 BOOL ucp; member
3444 if (common->utf || common->ucp) in char_has_othercase()
3468 if ((common->utf || common->ucp) && c > 127) in char_othercase()
3483 if (common->utf || common->ucp) in char_get_othercase_bit()
5725 if (common->ucp && chr > 127) in scan_prefix()
6159 if (first_char > 127 && (common->utf || common->ucp)) in fast_forward_first_char()
6441 if (req_char > 127 && (common->utf || common->ucp)) in search_requested_char()
6597 if (common->ucp) in check_wordboundary()
6643 if (common->ucp) in check_wordboundary()
13553 common->ucp = (re->overall_options & PCRE2_UCP) != 0; in jit_compile()

Completed in 107 milliseconds