/freebsd/contrib/llvm-project/llvm/include/llvm/Support/ |
H A D | ConvertUTF.h | 130 typedef unsigned char UTF8; /* typically 8 bits */ typedef 161 const UTF8** sourceStart, const UTF8* sourceEnd, 169 const UTF8** sourceStart, const UTF8* sourceEnd, 177 const UTF8** sourceStart, const UTF8* sourceEnd, 182 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags); 186 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags); 196 Boolean isLegalUTF8Sequence(const UTF8 *source, const UTF8 *sourceEnd); 198 Boolean isLegalUTF8String(const UTF8 **source, const UTF8 *sourceEnd); 200 unsigned getUTF8SequenceSize(const UTF8 *source, const UTF8 *sourceEnd); 202 unsigned getNumBytesForUTF8(UTF8 firstByte); [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Support/ |
H A D | ConvertUTFWrapper.cpp | 20 char *&ResultPtr, const UTF8 *&ErrorPtr) { in ConvertUTF8toWide() 25 const UTF8 *Pos = reinterpret_cast<const UTF8*>(Source.begin()); in ConvertUTF8toWide() 26 if (!isLegalUTF8String(&Pos, reinterpret_cast<const UTF8*>(Source.end()))) { in ConvertUTF8toWide() 34 const UTF8 *sourceStart = (const UTF8*)Source.data(); in ConvertUTF8toWide() 47 const UTF8 *sourceStart = (const UTF8 *)Source.data(); in ConvertUTF8toWide() 68 UTF8 *TargetStart = reinterpret_cast<UTF8 *>(ResultPtr); in ConvertCodePointToUTF8() 69 UTF8 *TargetEnd = TargetStart + 4; in ConvertCodePointToUTF8() 117 UTF8 *Dst = reinterpret_cast<UTF8 *>(&Out[0]); in convertUTF16ToUTF8String() 118 UTF8 *DstEnd = Dst + Out.size(); in convertUTF16ToUTF8String() 175 UTF8 *Dst = reinterpret_cast<UTF8 *>(&Out[0]); in convertUTF32ToUTF8String() [all …]
|
H A D | ConvertUTF.cpp | 145 static const UTF8 firstByteMark[7] = { 0x00, 0x00, 0xC0, 0xE0, 0xF0, 0xF8, 0xFC }; 265 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) { in ConvertUTF16toUTF8() 268 UTF8* target = *targetStart; in ConvertUTF16toUTF8() 319 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8() 320 case 3: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8() 321 case 2: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF16toUTF8() 322 case 1: *--target = (UTF8)(ch | firstByteMark[bytesToWrite]); in ConvertUTF16toUTF8() 335 UTF8** targetStart, UTF8* targetEnd, ConversionFlags flags) { in ConvertUTF32toUTF8() 338 UTF8* target = *targetStart; in ConvertUTF32toUTF8() 372 case 4: *--target = (UTF8)((ch | byteMark) & byteMask); ch >>= 6; in ConvertUTF32toUTF8() [all …]
|
H A D | DJB.cpp | 23 const UTF8 *const Begin8Const = in chopOneUTF32() 24 reinterpret_cast<const UTF8 *>(Buffer.begin()); in chopOneUTF32() 25 const UTF8 *Begin8 = Begin8Const; in chopOneUTF32() 31 ConvertUTF8toUTF32(&Begin8, reinterpret_cast<const UTF8 *>(Buffer.end()), in chopOneUTF32() 37 static StringRef toUTF8(UTF32 C, MutableArrayRef<UTF8> Storage) { in toUTF8() 39 UTF8 *Begin8 = Storage.begin(); in toUTF8() 76 std::array<UTF8, UNI_MAX_UTF8_BYTES_PER_CODE_POINT> Storage; in caseFoldingDjbHash()
|
H A D | Unicode.cpp | 498 const UTF8 *Start = reinterpret_cast<const UTF8 *>(Text.data() + i); in columnWidthUTF8()
|
/freebsd/contrib/llvm-project/lldb/source/DataFormatters/ |
H A D | StringPrinter.cpp | 169 DecodedCharBuffer GetPrintableImpl<StringElementType::UTF8>( in GetPrintableImpl() 181 const llvm::UTF8 *buffer_for_conversion = buffer; in GetPrintableImpl() 188 // The UTF8 helper always advances by the utf8 encoded length. in GetPrintableImpl() 228 case StringElementType::UTF8: in GetPrintable() 229 return GetPrintableImpl<StringElementType::UTF8>(buffer, buffer_end, next, in GetPrintable() 240 case GetPrintableElementType::UTF8: in GetDefaultEscapingHelper() 244 return GetPrintable(elem_type == GetPrintableElementType::UTF8 in GetDefaultEscapingHelper() 245 ? StringElementType::UTF8 in GetDefaultEscapingHelper() 260 llvm::UTF8 **, llvm::UTF8 *, in DumpEncodedBufferToStream() argument 401 ReadEncodedBufferAndDumpToStream(StringElementType elem_type,const StringPrinter::ReadStringAndDumpToStreamOptions & options,llvm::ConversionResult (* ConvertFunction)(const SourceDataType **,const SourceDataType *,llvm::UTF8 **,llvm::UTF8 *,llvm::ConversionFlags)) ReadEncodedBufferAndDumpToStream() argument [all...] |
/freebsd/crypto/openssl/doc/man7/ |
H A D | EVP_SIGNATURE-RSA.pod | 21 =item "digest" (B<OSSL_SIGNATURE_PARAM_DIGEST>) <UTF8 string> 23 =item "properties" (B<OSSL_SIGNATURE_PARAM_PROPERTIES>) <UTF8 string> 27 =item "pad-mode" (B<OSSL_SIGNATURE_PARAM_PAD_MODE>) <UTF8 string> 43 =item "mgf1-digest" (B<OSSL_SIGNATURE_PARAM_MGF1_DIGEST>) <UTF8 string> 47 =item "mgf1-properties" (B<OSSL_SIGNATURE_PARAM_MGF1_PROPERTIES>) <UTF8 string> 52 =item "saltlen" (B<OSSL_SIGNATURE_PARAM_PSS_SALTLEN>) <integer> or <UTF8 string> 84 =item "digest" (B<OSSL_SIGNATURE_PARAM_DIGEST>) <UTF8 string> 86 =item "pad-mode" (B<OSSL_SIGNATURE_PARAM_PAD_MODE>) <UTF8 string> 88 =item "mgf1-digest" (B<OSSL_SIGNATURE_PARAM_MGF1_DIGEST>) <UTF8 string> 90 =item "saltlen" (B<OSSL_SIGNATURE_PARAM_PSS_SALTLEN>) <integer> or <UTF8 string>
|
H A D | EVP_ASYM_CIPHER-RSA.pod | 16 =item "pad-mode" (B<OSSL_ASYM_CIPHER_PARAM_PAD_MODE>) <UTF8 string> 50 =item "digest" (B<OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST>) <UTF8 string> 52 =item "digest-props" (B<OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST_PROPS>) <UTF8 string> 54 =item "mgf1-digest" (B<OSSL_ASYM_CIPHER_PARAM_MGF1_DIGEST>) <UTF8 string> 56 =item "mgf1-digest-props" (B<OSSL_ASYM_CIPHER_PARAM_MGF1_DIGEST_PROPS>) <UTF8 string>
|
H A D | EVP_SIGNATURE-ECDSA.pod | 20 =item "digest" (B<OSSL_SIGNATURE_PARAM_DIGEST>) <UTF8 string> 22 =item "properties" (B<OSSL_SIGNATURE_PARAM_PROPERTIES>) <UTF8 string> 35 =item "digest" (B<OSSL_SIGNATURE_PARAM_DIGEST>) <UTF8 string>
|
H A D | EVP_SIGNATURE-DSA.pod | 21 =item "digest" (B<OSSL_SIGNATURE_PARAM_DIGEST>) <UTF8 string> 23 =item "properties" (B<OSSL_SIGNATURE_PARAM_PROPERTIES>) <UTF8 string> 36 =item "digest" (B<OSSL_SIGNATURE_PARAM_DIGEST>) <UTF8 string>
|
H A D | EVP_PKEY-HMAC.pod | 32 =item "properties" (B<OSSL_PKEY_PARAM_PROPERTIES>) <UTF8 string> 45 =item "cipher" (B<OSSL_PKEY_PARAM_CIPHER>) <UTF8 string> 49 =item "engine" (B<OSSL_PKEY_PARAM_ENGINE>) <UTF8 string> 76 =item "cipher" (B<OSSL_PKEY_PARAM_CIPHER>) <UTF8 string>
|
H A D | EVP_KDF-KB.pod | 24 =item "mode" (B<OSSL_KDF_PARAM_MODE>) <UTF8 string> 30 =item "mac" (B<OSSL_KDF_PARAM_MAC>) <UTF8 string> 34 =item "digest" (B<OSSL_KDF_PARAM_DIGEST>) <UTF8 string> 36 =item "cipher" (B<OSSL_KDF_PARAM_CIPHER>) <UTF8 string> 38 =item "properties" (B<OSSL_KDF_PARAM_PROPERTIES>) <UTF8 string>
|
H A D | provider-object.pod | 32 This means that the I<object data> is passed as an octet string or an UTF8 38 (see L</Parameter reference> below), where it's assumed to a plain UTF8 string. 97 =item "data" (B<OSSL_OBJECT_PARAM_DATA>) <octet string> or <UTF8 string> 114 The object data may only be I<passed by value>, and should be a UTF8 145 =item "data-type" (B<OSSL_OBJECT_PARAM_DATA_TYPE>) <UTF8 string> 156 =item "data-structure" (B<OSSL_OBJECT_PARAM_DATA_STRUCTURE>) <UTF8 string> 161 =item "desc" (B<OSSL_OBJECT_PARAM_DESC>) <UTF8 string>
|
H A D | EVP_RAND-HMAC-DRBG.pod | 47 =item "properties" (B<OSSL_DRBG_PARAM_PROPERTIES>) <UTF8 string> 49 =item "mac" (B<OSSL_DRBG_PARAM_MAC>) <UTF8 string> 51 =item "digest" (B<OSSL_DRBG_PARAM_DIGEST>) <UTF8 string>
|
H A D | EVP_ASYM_CIPHER-SM2.pod | 16 =item "digest" (B<OSSL_ASYM_CIPHER_PARAM_DIGEST>) <UTF8 string> 18 =item "digest-props" (B<OSSL_ASYM_CIPHER_PARAM_DIGEST_PROPS>) <UTF8 string>
|
H A D | EVP_PKEY-EC.pod | 27 =item "group" (B<OSSL_PKEY_PARAM_GROUP_NAME>) <UTF8 string> 31 =item "field-type" (B<OSSL_PKEY_PARAM_EC_FIELD_TYPE>) <UTF8 string> 86 =item "encoding" (B<OSSL_PKEY_PARAM_EC_ENCODING>) <UTF8 string> 91 =item "point-format" (B<OSSL_PKEY_PARAM_EC_POINT_CONVERSION_FORMAT>) <UTF8 string> 97 =item "group-check" (B<OSSL_PKEY_PARAM_EC_GROUP_CHECK_TYPE>) <UTF8 string> 145 =item "default-digest" (B<OSSL_PKEY_PARAM_DEFAULT_DIGEST>) <UTF8 string> 156 =item "basis-type" (B<OSSL_PKEY_PARAM_EC_CHAR2_TYPE>) <UTF8 string>
|
H A D | provider-asym_cipher.pod | 189 =item "pad-mode" (B<OSSL_ASYM_CIPHER_PARAM_PAD_MODE>) <UTF8 string> OR <integer> 194 =item "digest" (B<OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST>) <UTF8 string> 199 =item "digest" (B<OSSL_ASYM_CIPHER_PARAM_DIGEST>) <UTF8 string> 204 =item "digest-props" (B<OSSL_ASYM_CIPHER_PARAM_OAEP_DIGEST_PROPS>) <UTF8 string> 208 =item "digest-props" (B<OSSL_ASYM_CIPHER_PARAM_DIGEST_PROPS>) <UTF8 string> 212 =item "mgf1-digest" (B<OSSL_ASYM_CIPHER_PARAM_MGF1_DIGEST>) <UTF8 string> 217 =item "mgf1-digest-props" (B<OSSL_ASYM_CIPHER_PARAM_MGF1_DIGEST_PROPS>) <UTF8 string>
|
H A D | EVP_KEYEXCH-ECDH.pod | 34 =item "kdf-type" (B<OSSL_EXCHANGE_PARAM_KDF_TYPE>) <UTF8 string> 38 =item "kdf-digest" (B<OSSL_EXCHANGE_PARAM_KDF_DIGEST>) <UTF8 string> 42 =item "kdf-digest-props" (B<OSSL_EXCHANGE_PARAM_KDF_DIGEST_PROPS>) <UTF8 string>
|
/freebsd/contrib/llvm-project/clang/lib/Format/ |
H A D | Encoding.h | 34 const llvm::UTF8 *Ptr = reinterpret_cast<const llvm::UTF8 *>(Text.begin()); in detectEncoding() 35 const llvm::UTF8 *BufEnd = reinterpret_cast<const llvm::UTF8 *>(Text.end()); in detectEncoding()
|
/freebsd/contrib/llvm-project/lldb/source/Plugins/Language/CPlusPlus/ |
H A D | CxxStringTypes.cpp | 40 case StringElementType::UTF8: in getElementTraits() 99 return CharStringSummaryProvider<StringElementType::UTF8>(valobj, stream); in Char8StringSummaryProvider() 139 return StringPrinter::ReadStringAndDumpToStream<StringElementType::UTF8>( in WCharStringSummaryProvider() 156 return CharSummaryProvider<StringElementType::UTF8>(valobj, stream); in Char8SummaryProvider() 201 return StringPrinter::ReadBufferAndDumpToStream<StringElementType::UTF8>( in WCharSummaryProvider()
|
/freebsd/tools/tools/locale/tools/ |
H A D | convert_map.pl | 89 open(UTF8, "$file") || die "$!: open: $file"; 91 while (<UTF8>) { 108 close(UTF8);
|
/freebsd/crypto/openssl/doc/man3/ |
H A D | ASN1_STRING_print_ex.pod | 39 suitable, or on UTF8 terminals B<ASN1_STRFLGS_RFC2253 & ~ASN1_STRFLGS_ESC_MSB>. 47 interprets UTF8 sequences. 54 will only be used if UTF8 conversion is not set (see below). 62 If B<ASN1_STRFLGS_UTF8_CONVERT> is set then characters are converted to UTF8 63 format first. If the terminal supports the display of UTF8 sequences then this
|
H A D | OSSL_SELF_TEST_new.pod | 44 =item "st-phase" (B<OSSL_PROV_PARAM_SELF_TEST_PHASE>) <UTF8 string> 61 =item "st-phase" (B<OSSL_PROV_PARAM_SELF_TEST_PHASE>) <UTF8 string> 75 =item "st-phase" (B<OSSL_PROV_PARAM_SELF_TEST_PHASE>) <UTF8 string> 91 =item "st-type" (B<OSSL_PROV_PARAM_SELF_TEST_TYPE>) <UTF8 string> 96 =item "st-desc" (B<OSSL_PROV_PARAM_SELF_TEST_DESC>) <UTF8 string>
|
/freebsd/contrib/bearssl/src/x509/ |
H A D | asn1.t0 | 399 : read-UTF8 ( lim -- lim val ) 404 dup 0xE0 < uf 0x1F and 1 read-UTF8-next 0x80 0x7FF enduf 405 dup 0xF0 < uf 0x0F and 2 read-UTF8-next 0x800 0xFFFF enduf 406 dup 0xF8 < uf 0x07 and 3 read-UTF8-next 0x10000 0x10FFFF enduf 415 : read-UTF8-next ( lim val n -- lim val val ) 418 read-UTF8-chunk 425 : read-UTF8-chunk ( lim val -- lim val ) 476 : pad-append-UTF8-chunk ( off val nn -- off ) 489 : encode-UTF8 ( val off -- off ) 499 val 0 pad-append-UTF8-chunk [all …]
|
/freebsd/contrib/llvm-project/llvm/lib/Object/ |
H A D | WindowsResource.cpp | 189 std::string UTF8; in makeDuplicateResourceError() local 190 if (!convertUTF16LEToUTF8String(Entry.getTypeString(), UTF8)) in makeDuplicateResourceError() 191 UTF8 = "(failed conversion from UTF16)"; in makeDuplicateResourceError() 192 OS << '\"' << UTF8 << '\"'; in makeDuplicateResourceError() 198 std::string UTF8; in makeDuplicateResourceError() local 199 if (!convertUTF16LEToUTF8String(Entry.getNameString(), UTF8)) in makeDuplicateResourceError() 200 UTF8 = "(failed conversion from UTF16)"; in makeDuplicateResourceError() 201 OS << '\"' << UTF8 << '\"'; in makeDuplicateResourceError() 215 std::string UTF8; in printStringOrID() local 216 if (!convertUTF16LEToUTF8String(S.String, UTF8)) in printStringOrID() [all …]
|