/openbsd-current/gnu/usr.bin/perl/lib/ |
H A D | warnings.t | 6 our $UTF8 = (${^OPEN} || "") =~ /:utf8/;
|
/openbsd-current/gnu/usr.bin/perl/cpan/Module-Metadata/corpus/BOMTest/ |
H A D | UTF8.pm | 5 package BOMTest::UTF8;
|
/openbsd-current/gnu/llvm/llvm/include/llvm/Support/ |
H A D | ConvertUTF.h | 130 typedef unsigned char UTF8; /* typically 8 bits */ typedef in namespace:llvm 161 const UTF8** sourceStart, const UTF8* sourceEnd, 165 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 169 const UTF8** sourceStart, const UTF8* sourceEnd, 173 * Convert a partial UTF8 sequence to UTF32. If the sequence ends in an 177 const UTF8** sourceStart, const UTF8* sourceEnd, 182 UTF8** targetStar [all...] |
/openbsd-current/gnu/llvm/llvm/lib/Support/ |
H A D | ConvertUTFWrapper.cpp | 20 char *&ResultPtr, const UTF8 *&ErrorPtr) { 25 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin()); 26 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) { 34 const UTF8 *sourceStart = (const UTF8*)Source.data(); 47 const UTF8 *sourceStart = (const UTF8 *)Source.data(); 68 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPt [all...] |
H A D | DJB.cpp | 23 const UTF8 *const Begin8Const = 24 reinterpret_cast<const UTF8 *>(Buffer.begin()); 25 const UTF8 *Begin8 = Begin8Const; 31 ConvertUTF8toUTF32(&Begin8, reinterpret_cast<const UTF8 *>(Buffer.end()), 37 static StringRef toUTF8(UTF32 C, MutableArrayRef<UTF8> Storage) { 39 UTF8 *Begin8 = Storage.begin(); 76 std::array<UTF8, UNI_MAX_UTF8_BYTES_PER_CODE_POINT> Storage;
|
H A D | ConvertUTF.cpp | 57 Jan 2004: updated switches in from-UTF8 conversions. 131 * Magic values subtracted from a buffer value during UTF8 conversion. 145 static const UTF8 firstByteMark[7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC }; 265 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) { 268 UTF8* target = *targetStart; 319 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 320 case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 321 case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; 322 case 1: *--target = (UTF8)(c [all...] |
/openbsd-current/gnu/usr.bin/perl/t/op/ |
H A D | utftaint.t | 24 use constant UTF8 => "\x{1234}"; 37 $lconcat .= UTF8; 38 is($lconcat, $string.UTF8, "compare: $encode, concat left"); 42 my $rconcat = UTF8; 44 is($rconcat, UTF8.$string, "compare: $encode, concat right"); 48 my $ljoin = join('!', $taint, UTF8); 49 is($ljoin, join('!', $string, UTF8), "compare: $encode, join left"); 53 my $rjoin = join('!', UTF8, $taint); 54 is($rjoin, join('!', UTF8, $string), "compare: $encode, join right");
|
/openbsd-current/gnu/llvm/lldb/tools/debugserver/source/MacOSX/ |
H A D | CFString.h | 32 const char *UTF8(std::string &str); 34 static const char *UTF8(CFStringRef cf_str, std::string &str);
|
H A D | CFString.cpp | 81 const char *CFString::UTF8(std::string &str) { function in class:CFString 82 return CFString::UTF8(get(), str); 85 // Static function that puts a copy of the UTF8 contents of CF_STR into STR 93 const char *CFString::UTF8(CFStringRef cf_str, std::string &str) { function in class:CFString
|
/openbsd-current/gnu/llvm/llvm/tools/dsymutil/ |
H A D | CFBundle.cpp | 45 const char *UTF8(std::string &Str) const { function in class:llvm::dsymutil::CFString 46 return CFString::UTF8(get(), Str); 55 static const char *UTF8(CFStringRef CFStr, std::string &Str); 64 const char *CFString::UTF8(CFStringRef CFStr, std::string &Str) { function in class:llvm::dsymutil::CFString 155 << "a " << TypeIDCFStr.UTF8(TypeIDStr) 161 CFString::UTF8(BundleID, BundleInfo.IDStr); 166 CFString::UTF8((CFStringRef)TypeRef, BundleInfo.VersionStr); 174 CFString::UTF8((CFStringRef)TypeRef, BundleInfo.ShortVersionStr);
|
/openbsd-current/gnu/llvm/lldb/source/Host/macosx/cfcpp/ |
H A D | CFCString.h | 29 const char *UTF8(std::string &str); 31 static const char *UTF8(CFStringRef cf_str, std::string &str);
|
H A D | CFCString.cpp | 78 const char *CFCString::UTF8(std::string &str) { function in class:CFCString 79 return CFCString::UTF8(get(), str); 82 // Static function that puts a copy of the UTF8 contents of CF_STR into STR and 89 const char *CFCString::UTF8(CFStringRef cf_str, std::string &str) { function in class:CFCString
|
/openbsd-current/gnu/llvm/clang/lib/Format/ |
H A D | Encoding.h | 33 /// it is considered UTF8, otherwise we treat it as some 8-bit encoding. 35 const llvm::UTF8 *Ptr = reinterpret_cast<const llvm::UTF8 *>(Text.begin()); 36 const llvm::UTF8 *BufEnd = reinterpret_cast<const llvm::UTF8 *>(Text.end());
|
/openbsd-current/gnu/llvm/clang/utils/TableGen/ |
H A D | ClangCommentHTMLNamedCharacterReferenceEmitter.cpp | 36 StringRef UTF8(Translated, TranslatedPtr - Translated); 40 for (size_t i = 0, e = UTF8.size(); i != e; ++i) { 42 OS.write_hex(static_cast<unsigned char>(UTF8[i]));
|
/openbsd-current/gnu/usr.bin/perl/cpan/Encode/lib/Encode/ |
H A D | CJKConstants.pm | 56 UTF8 => '[\xc0-\xdf][\x80-\xbf]|[\xe0-\xef][\x80-\xbf][\x80-\xbf]'
|
/openbsd-current/gnu/usr.bin/perl/t/uni/ |
H A D | tie.t | 47 package T����::UTF8 { 54 tie $t, 'T����::UTF8'; 55 is ref(tied($t)), 'T����::UTF8', "Tie'ing to a UTF8 package works.";
|
H A D | method.t | 23 sub F::��� { ::is shift, "F"; "UTF8 meth" } 24 sub ���::b { ::is shift, "���"; "UTF8 Stash" } 25 sub ���::��� { ::is shift, "���"; "UTF8 Stash&meth" } 27 is(F->���, "UTF8 meth", "If the method is in UTF-8, lookup works through explicitly named methods"); 28 is(F->${\"���"}, "UTF8 meth", '..as does for ->${\""}'); 32 is(���->b, "UTF8 Stash", "If the stash is in UTF-8, lookup works through explicitly named methods"); 33 is(���->${\"b"}, "UTF8 Stash", '..as does for ->${\""}'); 37 is(���->���, "UTF8 Stash&meth", "If both stash and method are in UTF-8, lookup works through explicitly named methods"); 38 is(���->${\"���"}, "UTF8 Stash&meth", '..as does for ->${\""}'); 196 package �� { # without UTF8 [all...] |
/openbsd-current/gnu/llvm/lldb/source/Plugins/ObjectFile/PECOFF/ |
H A D | WindowsMiniDump.cpp | 35 const llvm::UTF8 *error_ptr = nullptr;
|
/openbsd-current/gnu/llvm/lldb/source/Plugins/Language/CPlusPlus/ |
H A D | CxxStringTypes.cpp | 41 case StringElementType::UTF8: 100 return CharStringSummaryProvider<StringElementType::UTF8>(valobj, stream); 140 return StringPrinter::ReadStringAndDumpToStream<StringElementType::UTF8>( 157 return CharSummaryProvider<StringElementType::UTF8>(valobj, stream); 202 return StringPrinter::ReadBufferAndDumpToStream<StringElementType::UTF8>(
|
/openbsd-current/gnu/llvm/lldb/include/lldb/DataFormatters/ |
H A D | StringPrinter.h | 23 enum class StringElementType { ASCII, UTF8, UTF16, UTF32 }; member in class:lldb_private::formatters::StringPrinter::StringElementType 25 enum class GetPrintableElementType { ASCII, UTF8 };
|
/openbsd-current/gnu/usr.bin/perl/regen/ |
H A D | regcharclass.pl | 55 Do a lookup assuming the string is encoded in (normalized) UTF8. 359 # 'UTF8', and 'backwards_UTF8' which hold a merge of 'low' and their lowercase 473 my $UTF8= $low || $utf8; 479 @{ $self->{strs}{$str} }{qw( str txt low utf8 latin1 high cp cp_high UTF8 LATIN1 from )}= 480 ( $str, $txt, $low, $utf8, $latin1, $high, $cp, $cp_high, $UTF8, $LATIN1, $from ); 482 foreach my $key ( qw(low utf8 latin1 high cp cp_high UTF8 LATIN1) ) { 1436 # 'utf8', 'LATIN1', 'UTF8' 'backwards_UTF8' 1555 $type = 'UTF8'; 1654 # see if it is in the class determined by the macro. In the case of non-UTF8, 1700 # UTF8 generat [all...] |
/openbsd-current/gnu/llvm/lldb/tools/debugserver/source/ |
H A D | DNBError.cpp | 40 if (CFString::UTF8(statusStr, m_str) == NULL)
|
/openbsd-current/gnu/llvm/clang/tools/clang-format-vs/ClangFormat/ |
H A D | ClangFormatPackage.cs | 377 int offset = Encoding.UTF8.GetByteCount(chars, 0, start); 378 int length = Encoding.UTF8.GetByteCount(chars, 0, end) - offset; 448 byte[] bytes = Encoding.UTF8.GetBytes(text); 457 Encoding.UTF8.GetCharCount(bytes, 0, offset), 458 Encoding.UTF8.GetCharCount(bytes, offset, length));
|
/openbsd-current/gnu/llvm/llvm/lib/Object/ |
H A D | WindowsResource.cpp | 188 std::string UTF8; local 189 if (!convertUTF16LEToUTF8String(Entry.getTypeString(), UTF8)) 190 UTF8 = "(failed conversion from UTF16)"; 191 OS << '\"' << UTF8 << '\"'; local 197 std::string UTF8; local 198 if (!convertUTF16LEToUTF8String(Entry.getNameString(), UTF8)) 199 UTF8 = "(failed conversion from UTF16)"; 200 OS << '\"' << UTF8 << '\"'; local 214 std::string UTF8; local 215 if (!convertUTF16LEToUTF8String(S.String, UTF8)) 217 OS << '\\"' << UTF8 << '\\"'; local [all...] |
/openbsd-current/gnu/usr.bin/perl/cpan/Encode/ |
H A D | Encode.pm | 352 same data, the UTF8 flag for $octets is I<always> off. When you 353 encode anything, the UTF8 flag on the result is always off, even when it 354 contains a completely valid UTF-8 string. See L</"The UTF8 flag"> below. 382 UTF8 flag for $string is on. See L</"The UTF8 flag"> 466 but only #2 turns the UTF8 flag on. #1 is equivalent to: 470 See L</"The UTF8 flag"> below. 490 B<WARNING>: L<This function can produce invalid UTF-8!|/UTF-8 vs. utf8 vs. UTF8> 504 B<WARNING>: L<This function accepts invalid UTF-8!|/UTF-8 vs. utf8 vs. UTF8> 781 =head1 The UTF8 fla [all...] |