/third_party/pcre2/pcre2/testdata/ |
D | testinput26 | 6 /^\p{sc=Latin}/utf 9 /^\p{Script=Latn}/utf 13 /^\p{Latin}/utf 16 /^\p{scx=Latn}/utf 20 /^\p{Latin}/utf 23 /^\p{sc=Latin}/utf 27 /^\p{Latin}/utf 31 /^\p{sc=Greek}/utf 34 /^\p{Script=Grek}/utf 38 /^\p{Greek}/utf [all …]
|
D | testoutput26 | 6 /^\p{sc=Latin}/utf 10 /^\p{Script=Latn}/utf 15 /^\p{Latin}/utf 19 /^\p{scx=Latn}/utf 24 /^\p{Latin}/utf 28 /^\p{sc=Latin}/utf 33 /^\p{Latin}/utf 38 /^\p{sc=Greek}/utf 42 /^\p{Script=Grek}/utf 47 /^\p{Greek}/utf [all …]
|
D | testinput7 | 8 /\x{100}ab/utf 11 /a\x{100}*b/utf 16 /a\x{100}+b/utf 22 /\bX/utf 29 /\BX/utf 36 /X\b/utf 43 /X\B/utf 50 /[^a]/utf 54 /^[abc\x{123}\x{400}-\x{402}]{2,3}\d/utf 64 /a.b/utf [all …]
|
D | testinput12 | 5 /���xxx/IB,utf,no_utf_check 7 /abc/utf 12 /\x{ffff}/IB,utf 14 /\x{10000}/IB,utf 16 /\x{100}/IB,utf 18 /\x{1000}/IB,utf 20 /\x{10000}/IB,utf 22 /\x{100000}/IB,utf 24 /\x{10ffff}/IB,utf 26 /[\x{ff}]/IB,utf [all …]
|
D | testinput4 | 13 /a.b/utf 20 /a(.{3})b/utf 31 /a(.*?)(.)/utf 37 /a(.*)(.)/utf 43 /a(.)(.)/utf 49 /a(.?)(.)/utf 55 /a(.??)(.)/utf 58 /a(.{3})b/utf 66 /a(.{3,})b/utf 75 /a(.{3,}?)b/utf [all …]
|
D | testinput10 | 6 /[�]/utf 8 /�/utf 10 /���xxx/utf 12 /Â��������/utf 18 /badutf/utf 60 /badutf/utf 66 /shortutf/utf 84 /anything/utf 111 /badutf/utf 118 /(?<=x)badutf/utf [all …]
|
D | testinput5 | 18 /^[\p{Arabic}]/utf 21 /^[[:graph:]]+$/utf,ucp 29 /^[[:print:]]+$/utf,ucp 37 /^[[:^graph:]]+$/utf,ucp 41 /^[[:^print:]]+$/utf,ucp 50 /^>[[:blank:]]*/utf,ucp 53 /^A\s+Z/utf,ucp 56 /^A[\s]+Z/utf,ucp 60 /^[[:graph:]]+$/utf,ucp 64 /^[[:print:]]+$/utf,ucp [all …]
|
D | testoutput4 | 13 /a.b/utf 24 /a(.{3})b/utf 46 /a(.*?)(.)/utf 58 /a(.*)(.)/utf 70 /a(.)(.)/utf 82 /a(.?)(.)/utf 94 /a(.??)(.)/utf 100 /a(.{3})b/utf 116 /a(.{3,})b/utf 136 /a(.{3,}?)b/utf [all …]
|
D | testoutput12-32 | 5 /���xxx/IB,utf,no_utf_check 8 /abc/utf 14 /\x{ffff}/IB,utf 22 Options: utf 26 /\x{10000}/IB,utf 34 Options: utf 38 /\x{100}/IB,utf 46 Options: utf 50 /\x{1000}/IB,utf 58 Options: utf [all …]
|
D | testinput8 | 52 /\x{100}/utf 54 /\x{1000}/utf 56 /\x{10000}/utf 58 /\x{100000}/utf 60 /\x{10ffff}/utf 62 /\x{110000}/utf 64 /[\x{ff}]/utf 66 /[\x{100}]/utf 68 /\x80/utf 70 /\xff/utf [all …]
|
D | testoutput10 | 6 /[�]/utf 9 /�/utf 12 /���xxx/utf 15 /Â��������/utf 23 /badutf/utf 104 /badutf/utf 113 /shortutf/utf 146 /anything/utf 194 /badutf/utf 204 /(?<=x)badutf/utf [all …]
|
D | testoutput12-16 | 5 /���xxx/IB,utf,no_utf_check 8 /abc/utf 14 /\x{ffff}/IB,utf 22 Options: utf 26 /\x{10000}/IB,utf 34 Options: utf 39 /\x{100}/IB,utf 47 Options: utf 51 /\x{1000}/IB,utf 59 Options: utf [all …]
|
D | testoutput7 | 8 /\x{100}ab/utf 12 /a\x{100}*b/utf 20 /a\x{100}+b/utf 29 /\bX/utf 40 /\BX/utf 51 /X\b/utf 62 /X\B/utf 73 /[^a]/utf 79 /^[abc\x{123}\x{400}-\x{402}]{2,3}\d/utf 96 /a.b/utf [all …]
|
D | testoutput5 | 18 /^[\p{Arabic}]/utf 22 /^[[:graph:]]+$/utf,ucp 35 /^[[:print:]]+$/utf,ucp 48 /^[[:^graph:]]+$/utf,ucp 54 /^[[:^print:]]+$/utf,ucp 65 /^>[[:blank:]]*/utf,ucp 69 /^A\s+Z/utf,ucp 73 /^A[\s]+Z/utf,ucp 79 /^[[:graph:]]+$/utf,ucp 84 /^[[:print:]]+$/utf,ucp [all …]
|
D | testinput22 | 6 /ab\Cde/utf,info 12 /(?<=ab\Cde)X/utf 19 /\C+\X \X+\C/Bx,utf 24 /utf 28 /\C(\W?ſ)'?{{/utf 32 /X(\C{3})/utf 37 /X(\C{4})/utf 42 /X\C*/utf 45 /X\C*?/utf 48 /X\C{3,5}/utf [all …]
|
D | testoutput22-32 | 6 /ab\Cde/utf,info 9 Options: utf 19 /(?<=ab\Cde)X/utf 36 /\C+\X \X+\C/Bx,utf 50 /utf 55 /\C(\W?ſ)'?{{/utf 60 /X(\C{3})/utf 69 /X(\C{4})/utf 78 /X\C*/utf 82 /X\C*?/utf [all …]
|
D | testoutput22-16 | 6 /ab\Cde/utf,info 9 Options: utf 19 /(?<=ab\Cde)X/utf 36 /\C+\X \X+\C/Bx,utf 50 /utf 55 /\C(\W?ſ)'?{{/utf 60 /X(\C{3})/utf 70 /X(\C{4})/utf 80 /X\C*/utf 84 /X\C*?/utf [all …]
|
D | testoutput22-8 | 6 /ab\Cde/utf,info 9 Options: utf 19 /(?<=ab\Cde)X/utf 36 /\C+\X \X+\C/Bx,utf 50 /utf 55 /\C(\W?ſ)'?{{/utf 60 /X(\C{3})/utf 71 /X(\C{4})/utf 82 /X\C*/utf 86 /X\C*?/utf [all …]
|
D | testoutput8-32-2 | 287 /\x{100}/utf 296 /\x{1000}/utf 305 /\x{10000}/utf 314 /\x{100000}/utf 323 /\x{10ffff}/utf 332 /\x{110000}/utf 335 /[\x{ff}]/utf 344 /[\x{100}]/utf 353 /\x80/utf 362 /\xff/utf [all …]
|
D | testoutput8-32-3 | 287 /\x{100}/utf 296 /\x{1000}/utf 305 /\x{10000}/utf 314 /\x{100000}/utf 323 /\x{10ffff}/utf 332 /\x{110000}/utf 335 /[\x{ff}]/utf 344 /[\x{100}]/utf 353 /\x80/utf 362 /\xff/utf [all …]
|
D | testoutput8-8-4 | 287 /\x{100}/utf 296 /\x{1000}/utf 305 /\x{10000}/utf 314 /\x{100000}/utf 323 /\x{10ffff}/utf 332 /\x{110000}/utf 335 /[\x{ff}]/utf 344 /[\x{100}]/utf 353 /\x80/utf 362 /\xff/utf [all …]
|
D | testoutput8-32-4 | 287 /\x{100}/utf 296 /\x{1000}/utf 305 /\x{10000}/utf 314 /\x{100000}/utf 323 /\x{10ffff}/utf 332 /\x{110000}/utf 335 /[\x{ff}]/utf 344 /[\x{100}]/utf 353 /\x80/utf 362 /\xff/utf [all …]
|
/third_party/libxml2/ |
D | xmlstring.c | 619 xmlUTF8Size(const xmlChar *utf) { in xmlUTF8Size() argument 623 if (utf == NULL) in xmlUTF8Size() 625 if (*utf < 0x80) in xmlUTF8Size() 628 if (!(*utf & 0x40)) in xmlUTF8Size() 633 if (!(*utf & mask)) in xmlUTF8Size() 670 xmlUTF8Strlen(const xmlChar *utf) { in xmlUTF8Strlen() argument 673 if (utf == NULL) in xmlUTF8Strlen() 676 while (*utf != 0) { in xmlUTF8Strlen() 677 if (utf[0] & 0x80) { in xmlUTF8Strlen() 678 if ((utf[1] & 0xc0) != 0x80) in xmlUTF8Strlen() [all …]
|
/third_party/openssl/crypto/ |
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 >> 0) & 0x3F) | 0x80); in codepoint2utf8() [all …]
|
/third_party/pcre2/pcre2/src/ |
D | pcre2_study.c | 104 PCRE2_SPTR startcode, BOOL utf, recurse_check *recurses, int *countptr, in find_minlength() argument 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, &this_recurse, in find_minlength() 557 ce = cs = (PCRE2_UCHAR *)PRIV(find_bracket)(startcode, utf, recno); in find_minlength() [all …]
|