/third_party/pcre2/pcre2/src/ |
H A D | pcre2_study.c | 86 utf UTF flag 104 PCRE2_SPTR startcode, BOOL utf, recurse_check *recurses, int *countptr, in find_minlength() 186 d = find_minlength(re, cc, startcode, utf, recurses, countptr, in find_minlength() 207 prev_cap_d = find_minlength(re, cc, startcode, utf, recurses, countptr, in find_minlength() 315 if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]); in find_minlength() 336 if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]); in find_minlength() 384 if (utf) return -1; in find_minlength() 496 ce = cs = (PCRE2_UCHAR *)PRIV(find_bracket)(startcode, utf, recno); in find_minlength() 502 (PCRE2_UCHAR *)PRIV(find_bracket)(ce, utf, recno) == NULL) in find_minlength() 521 dd = find_minlength(re, cs, startcode, utf, in find_minlength() 103 find_minlength(const pcre2_real_code *re, PCRE2_SPTR code, PCRE2_SPTR startcode, BOOL utf, recurse_check *recurses, int *countptr, int *backref_cache) find_minlength() argument 781 set_table_bit(pcre2_real_code *re, PCRE2_SPTR p, BOOL caseless, BOOL utf, BOOL ucp) set_table_bit() argument 953 set_start_bits(pcre2_real_code *re, PCRE2_SPTR code, BOOL utf, BOOL ucp, int *depthptr) set_start_bits() argument 1676 BOOL utf = (re->overall_options & PCRE2_UTF) != 0; study() local [all...] |
H A D | pcre2_newline.c | 73 utf TRUE if in utf mode 80 uint32_t *lenptr, BOOL utf) in is_newline() 85 if (utf) { GETCHAR(c, ptr); } else c = *ptr; in is_newline() 87 (void)utf; in is_newline() 125 *lenptr = utf? 2 : 1; in is_newline() 163 utf TRUE if in utf mode 170 uint32_t *lenptr, BOOL utf) in was_newline() 176 if (utf) in was_newline() 79 is_newline(PCRE2_SPTR ptr, uint32_t type, PCRE2_SPTR endptr, uint32_t *lenptr, BOOL utf) is_newline() argument 169 was_newline(PCRE2_SPTR ptr, uint32_t type, PCRE2_SPTR startptr, uint32_t *lenptr, BOOL utf) was_newline() argument [all...] |
H A D | pcre2_extuni.c | 61 PCRE2_SPTR end_subject, BOOL utf, int *xcount) in extuni() 67 (void)utf; in extuni() 84 utf TRUE if in UTF mode 93 PCRE2_SPTR end_subject, BOOL utf, int *xcount) in extuni() 101 if (!utf) c = *eptr; else { GETCHARLEN(c, eptr, len); } in extuni() 112 if (utf) BACKCHAR(bptr); in extuni() 119 if (utf) in extuni() 60 extuni(uint32_t c, PCRE2_SPTR eptr, PCRE2_SPTR start_subject, PCRE2_SPTR end_subject, BOOL utf, int *xcount) extuni() argument 92 extuni(uint32_t c, PCRE2_SPTR eptr, PCRE2_SPTR start_subject, PCRE2_SPTR end_subject, BOOL utf, int *xcount) extuni() argument
|
H A D | pcre2_auto_possess.c | 311 utf TRUE if in UTF mode 325 get_chr_property_list(PCRE2_SPTR code, BOOL utf, BOOL ucp, const uint8_t *fcc, in get_chr_property_list() argument 337 (void)utf; /* Suppress "unused parameter" compiler warnings */ in get_chr_property_list() 418 if (chr < 128 || (chr < 256 && !utf && !ucp)) in get_chr_property_list() 525 utf TRUE in UTF mode 536 compare_opcodes(PCRE2_SPTR code, BOOL utf, BOOL ucp, const compile_block *cb, in compare_opcodes() argument 675 if (!compare_opcodes(code, utf, ucp, cb, base_list, base_end, rec_limit)) in compare_opcodes() 696 if (!compare_opcodes(next_code, utf, ucp, cb, base_list, base_end, in compare_opcodes() 713 code = get_chr_property_list(code, utf, ucp, cb->fcc, list); in compare_opcodes() 735 || (!utf in compare_opcodes() 1139 BOOL utf = (cb->external_options & PCRE2_UTF) != 0; auto_possessify() local [all...] |
H A D | pcre2_printint.c | 86 utf TRUE if string is UTF (will be FALSE if UTF is not supported) 92 print_char(FILE *f, PCRE2_SPTR ptr, BOOL utf) in print_char() argument 95 BOOL one_code_unit = !utf; in print_char() 100 if (utf) in print_char() 343 BOOL utf = (re->overall_options & PCRE2_UTF) != 0; in pcre2_printint() local 387 code += 1 + print_char(f, code, utf); in pcre2_printint() 398 code += 1 + print_char(f, code, utf); in pcre2_printint() 520 else extra = print_char(f, code+1, utf); in pcre2_printint() 535 extra = print_char(f, code + 1 + IMM2_SIZE, utf); in pcre2_printint() 565 extra = print_char(f, code + 1, utf); in pcre2_printint() [all...] |
H A D | pcre2_xclass.c | 63 utf TRUE if in UTF mode 69 PRIV(xclass)(uint32_t c, PCRE2_SPTR data, BOOL utf) in xclass() argument 76 utf = TRUE; in xclass() 107 if (utf) in xclass() 119 if (utf) in xclass() 282 (void)utf; /* Avoid compiler warning */ in xclass()
|
H A D | pcre2_find_bracket.c | 63 utf TRUE in UTF mode 70 PRIV(find_bracket)(PCRE2_SPTR code, BOOL utf, int number) in find_bracket() argument 151 if (utf) switch(c) in find_bracket() 213 (void)(utf); /* Keep compiler happy by referencing function argument */ in find_bracket()
|
H A D | pcre2test.c | 755 { "utf", MOD_PATP, MOD_OPT, PCRE2_UTF, PO(options) }, 1096 #define PCHARS(lv, p, offset, len, utf, f) \ 1098 lv = pchars32((PCRE2_SPTR32)(p)+offset, len, utf, f); \ 1100 lv = pchars16((PCRE2_SPTR16)(p)+offset, len, utf, f); \ 1102 lv = pchars8((PCRE2_SPTR8)(p)+offset, len, utf, f) 1104 #define PCHARSV(p, offset, len, utf, f) \ 1106 (void)pchars32((PCRE2_SPTR32)(p)+offset, len, utf, f); \ 1108 (void)pchars16((PCRE2_SPTR16)(p)+offset, len, utf, f); \ 1110 (void)pchars8((PCRE2_SPTR8)(p)+offset, len, utf, f) 1644 #define PCHARS(lv, p, offset, len, utf, 2944 pchar(uint32_t c, BOOL utf, FILE *f) pchar() argument 3016 pchars8(PCRE2_SPTR8 p, int length, BOOL utf, FILE *f) pchars8() argument 3053 pchars16(PCRE2_SPTR16 p, int length, BOOL utf, FILE *f) pchars16() argument 3088 pchars32(PCRE2_SPTR32 p, int length, BOOL utf, FILE *f) pchars32() argument 3177 to16(uint8_t *p, int utf, PCRE2_SIZE *lenptr) to16() argument 3264 to32(uint8_t *p, int utf, PCRE2_SIZE *lenptr) to32() argument 3339 backchars(uint8_t *subject, PCRE2_SIZE offset, uint32_t count, BOOL utf) backchars() argument 4404 BOOL utf = (FLD(compiled_code, overall_options) & PCRE2_UTF) != 0; callout_callback() local 4452 BOOL utf = (FLD(compiled_code, overall_options) & PCRE2_UTF) != 0; show_pattern_info() local 5168 BOOL utf; process_pattern() local 6188 BOOL utf = (FLD(compiled_code, overall_options) & PCRE2_UTF) != 0; substitute_callout_function() local 6244 BOOL utf = (FLD(compiled_code, overall_options) & PCRE2_UTF) != 0; callout_function() local 6455 copy_and_get(BOOL utf, int capcount) copy_and_get() argument 6713 BOOL utf; process_data() local 7943 PCHARSV(CASTFLD(void *, match_data, mark), -1, -1, utf, outfile); process_data() local 8074 PCHARSV(CASTFLD(void *, match_data, mark), -1, -1, utf, outfile); process_data() local [all...] |
H A D | pcre2_convert.c | 112 utf TRUE if UTF 125 BOOL utf, PCRE2_UCHAR *use_buffer, PCRE2_SIZE use_length, in convert_posix() 141 (void)utf; /* Not used when Unicode not supported */ in convert_posix() 577 pcre2_output_context *out, BOOL utf, PCRE2_UCHAR separator, in convert_glob_parse_range() 588 (void)utf; /* Avoid compiler warning. */ in convert_glob_parse_range() 774 utf TRUE if UTF 787 BOOL utf, PCRE2_UCHAR *use_buffer, PCRE2_SIZE use_length, in convert_glob() 804 (void)utf; /* Avoid compiler warning. */ in convert_glob() 807 if (utf && (separator >= 128 || escape >= 128)) in convert_glob() 986 &out, utf, separato in convert_glob() 124 convert_posix(uint32_t pattype, PCRE2_SPTR pattern, PCRE2_SIZE plength, BOOL utf, PCRE2_UCHAR *use_buffer, PCRE2_SIZE use_length, PCRE2_SIZE *bufflenptr, BOOL dummyrun, pcre2_convert_context *ccontext) convert_posix() argument 576 convert_glob_parse_range(PCRE2_SPTR *from, PCRE2_SPTR pattern_end, pcre2_output_context *out, BOOL utf, PCRE2_UCHAR separator, BOOL with_escape, PCRE2_UCHAR escape, BOOL no_wildsep) convert_glob_parse_range() argument 786 convert_glob(uint32_t options, PCRE2_SPTR pattern, PCRE2_SIZE plength, BOOL utf, PCRE2_UCHAR *use_buffer, PCRE2_SIZE use_length, PCRE2_SIZE *bufflenptr, BOOL dummyrun, pcre2_convert_context *ccontext) convert_glob() argument 1064 BOOL utf = (options & PCRE2_CONVERT_UTF) != 0; pcre2_pattern_convert() local [all...] |
H A D | pcre2_intmodedep.h | 310 if (utf && c >= 0xc0u) GETUTF8(c, eptr); 324 if (utf && c >= 0xc0u) GETUTF8INC(c, eptr); 339 if (utf && c >= 0xc0u) GETUTF8LEN(c, eptr, len); 357 #define PUTCHAR(c, p) ((utf && c > MAX_UTF_SINGLE_CU)? \ 402 if (utf && (c & 0xfc00u) == 0xd800u) GETUTF16(c, eptr); 422 if (utf && (c & 0xfc00u) == 0xd800u) GETUTF16INC(c, eptr); 444 if (utf && (c & 0xfc00u) == 0xd800u) GETUTF16LEN(c, eptr, len); 463 #define PUTCHAR(c, p) ((utf && c > MAX_UTF_SINGLE_CU)? \
|
H A D | pcre2_match.c | 386 BOOL utf = (mb->poptions & PCRE2_UTF) != 0; in match_ref() local 388 if (utf || (mb->poptions & PCRE2_UCP) != 0) in match_ref() 407 if (utf) in match_ref() 627 BOOL utf = (mb->poptions & PCRE2_UTF) != 0; in match() local 630 BOOL utf = FALSE; /* Required for convenience even when no Unicode support */ in match() local 919 if (utf) ACROSSCHAR(Feptr < mb->end_subject, Feptr, Feptr++); in match() 946 if (utf) in match() 991 if (utf) in match() 1068 if (utf) in match() 1227 if (utf) in match() 6351 BOOL utf = FALSE; pcre2_match() local [all...] |
H A D | pcre2_script_run.c | 66 utf TRUE if in UTF mode 85 PRIV(script_run)(PCRE2_SPTR ptr, PCRE2_SPTR endptr, BOOL utf) in script_run() argument 95 (void)utf; /* Avoid compiler warning */ in script_run() 339 (void)utf; in script_run()
|
H A D | pcre2_dfa_match.c | 550 BOOL utf = (mb->poptions & PCRE2_UTF) != 0; in internal_dfa_match() local 551 BOOL utf_or_ucp = utf || (mb->poptions & PCRE2_UCP) != 0; in internal_dfa_match() 553 BOOL utf = FALSE; in internal_dfa_match() local 604 if (utf) in internal_dfa_match() 811 if (utf) { GETCHARLEN(d, (code + coptable[codevalue]), dlen); } else in internal_dfa_match() 1111 if (utf) { BACKCHAR(temp); } in internal_dfa_match() 1135 if (utf) { FORWARDCHARTEST(temp, mb->end_subject); } in internal_dfa_match() 1563 (void)PRIV(extuni)(c, ptr + clen, mb->start_subject, end_subject, utf, in internal_dfa_match() 1828 (void)PRIV(extuni)(c, ptr + clen, mb->start_subject, end_subject, utf, in internal_dfa_match() 2104 nptr = PRIV(extuni)(c, ptr + clen, mb->start_subject, end_subject, utf, in internal_dfa_match() 3311 BOOL utf, anchored, startline, firstline; pcre2_dfa_match() local [all...] |
H A D | pcre2_substitute.c | 238 BOOL utf = (code->overall_options & PCRE2_UTF) != 0; in pcre2_substitute() local 346 if (utf && (options & PCRE2_NO_UTF_CHECK) == 0) in pcre2_substitute() 393 if (utf) options |= PCRE2_NO_UTF_CHECK; /* Only need to check once */ in pcre2_substitute() 784 if (utf || ucp) in pcre2_substitute() 803 if (utf) chlen = PRIV(ord2utf)(ch, temp); else in pcre2_substitute() 886 if (utf || ucp) in pcre2_substitute() 905 if (utf) chlen = PRIV(ord2utf)(ch, temp); else in pcre2_substitute()
|
H A D | pcre2_compile.c | 1508 BOOL utf = (options & PCRE2_UTF) != 0; in check_escape() local 1572 if (utf) in check_escape() 1683 if (utf) in check_escape() 1840 if (!utf && c > 0xff) *errorcodeptr = ERR51; in check_escape() 1868 if (c > (utf ? 0x10ffffU : 0xffU)) { overflow = TRUE; break; } in check_escape() 1870 if (c > (utf ? 0x10ffffU : 0xffffU)) { overflow = TRUE; break; } in check_escape() 1872 if (utf && c > 0x10ffffU) { overflow = TRUE; break; } in check_escape() 1882 if (utf && c >= 0xd800 && c <= 0xdfff && in check_escape() 1941 if ((utf && c > 0x10ffffU) || (!utf in check_escape() 2381 read_name(PCRE2_SPTR *ptrptr, PCRE2_SPTR ptrend, BOOL utf, uint32_t terminator, PCRE2_SIZE *offsetptr, PCRE2_SPTR *nameptr, uint32_t *namelenptr, int *errorcodeptr, compile_block *cb) read_name() argument 2623 BOOL utf = (options & PCRE2_UTF) != 0; parse_regex() local 5273 BOOL utf = (options & PCRE2_UTF) != 0; add_not_list_to_class() local 5430 BOOL utf = (options & PCRE2_UTF) != 0; compile_branch() local 5433 BOOL utf = FALSE; compile_branch() local 8623 find_recurse(PCRE2_SPTR code, BOOL utf) find_recurse() argument 9767 BOOL utf; /* Set TRUE for UTF mode */ pcre2_compile() local [all...] |
H A D | pcre2_pattern_info.c | 275 BOOL utf; in pcre2_callout_enumerate() local 281 utf = (re->overall_options & PCRE2_UTF) != 0; in pcre2_callout_enumerate() 363 if (utf && HAS_EXTRALEN(cc[-1])) cc += GET_EXTRALEN(cc[-1]); in pcre2_callout_enumerate()
|
/third_party/node/deps/openssl/openssl/crypto/ |
H A D | punycode.c | 202 static int codepoint2utf8(unsigned char *out, unsigned long utf) in codepoint2utf8() argument 204 if (utf <= 0x7F) { in codepoint2utf8() 206 out[0] = (unsigned char)utf; in codepoint2utf8() 209 } else if (utf <= 0x07FF) { in codepoint2utf8() 211 out[0] = (unsigned char)(((utf >> 6) & 0x1F) | 0xC0); in codepoint2utf8() 212 out[1] = (unsigned char)(((utf >> 0) & 0x3F) | 0x80); in codepoint2utf8() 215 } else if (utf <= 0xFFFF) { in codepoint2utf8() 217 out[0] = (unsigned char)(((utf >> 12) & 0x0F) | 0xE0); in codepoint2utf8() 218 out[1] = (unsigned char)(((utf >> 6) & 0x3F) | 0x80); in codepoint2utf8() 219 out[2] = (unsigned char)(((utf >> in codepoint2utf8() [all...] |
/third_party/openssl/crypto/ |
H A D | punycode.c | 202 static int codepoint2utf8(unsigned char *out, unsigned long utf) in codepoint2utf8() argument 204 if (utf <= 0x7F) { in codepoint2utf8() 206 out[0] = (unsigned char)utf; in codepoint2utf8() 209 } else if (utf <= 0x07FF) { in codepoint2utf8() 211 out[0] = (unsigned char)(((utf >> 6) & 0x1F) | 0xC0); in codepoint2utf8() 212 out[1] = (unsigned char)(((utf >> 0) & 0x3F) | 0x80); in codepoint2utf8() 215 } else if (utf <= 0xFFFF) { in codepoint2utf8() 217 out[0] = (unsigned char)(((utf >> 12) & 0x0F) | 0xE0); in codepoint2utf8() 218 out[1] = (unsigned char)(((utf >> 6) & 0x3F) | 0x80); in codepoint2utf8() 219 out[2] = (unsigned char)(((utf >> in codepoint2utf8() [all...] |
/third_party/skia/bench/ |
H A D | TypefaceBench.cpp | 244 font.textToGlyphs(line->utf.data(), line->utf.size(), fEncoding, 253 std::vector<char> utf; member 263 std::vector<char>& bytes = result->utf; in convertLine() 271 result->utf.insert(bytes.end(), buffer, buffer + count); in convertLine() 277 result->utf.insert(bytes.end(), (char *)buffer, (char *)buffer + count * 2); in convertLine() 281 result->utf.insert(bytes.end(), (char*) &u, (char*) &u + 4); in convertLine()
|
/third_party/pcre2/pcre2/ |
H A D | RunTest | 415 utf=$? 616 if [ $utf -eq 0 ] ; then 628 if [ $utf -eq 0 ] ; then 648 if [ $utf -eq 0 ] ; then 666 if [ $utf -eq 0 ] ; then 694 elif [ $utf -eq 0 ] ; then 725 elif [ $utf -eq 0 ] ; then 751 if [ $utf -eq 0 ] ; then 809 elif [ $utf -eq 0 ] ; then 845 elif [ $utf [all...] |
/third_party/gn/misc/vim/ftdetect/ |
H A D | gnfiletype.vim | 11 " define fileencodings to open as utf-8 encoding even if it's ascii. 15 set fileencodings=utf-8 fileformats=unix 25 au BufNewFile *.gn,*.gni setlocal filetype=gn fileencoding=utf-8 fileformat=unix
|
/third_party/cups-filters/filter/braille/filters/ |
H A D | texttobrf.in | 129 CHARSET=utf-8 136 CHARSET=utf-8 147 CHARSET=utf-8 159 if [ "$CHARSET" = utf-8 ]
|
/third_party/lzma/CPP/Windows/ |
H A D | FileLink.cpp | 138 AString utf;
in FillLinkData() local 139 ConvertUnicodeToUTF8(path, utf);
in FillLinkData() 140 const size_t size = 4 + utf.Len();
in FillLinkData() 149 memcpy(p + 12, utf.Ptr(), utf.Len());
in FillLinkData() 613 AString utf;
in SetSymLink_UString() local 614 ConvertUnicodeToUTF8(to, utf);
in SetSymLink_UString() 615 return SetSymLink(from, utf);
in SetSymLink_UString()
|
/third_party/python/Lib/pydoc_data/ |
H A D | topics.py | 1 # -*- coding: utf-8 -*- 4940 'current directory, it is read with "\'utf-8\'" encoding and ' 4949 'Changed in version 3.11: ".pdbrc" is now read with "\'utf-8\'" ' 11410 "str.encode(encoding='utf-8', errors='strict')\n" 11414 ' *encoding* defaults to "\'utf-8\'"; see Standard ' 13822 ' utf-8 byte offsets on the given source line.\n'
|
/third_party/backends/tools/ |
H A D | style-check.sh | 40 err=$(iconv -f utf-8 -t utf-8 < $1 2>&1 > /dev/null)
|