/dports/devel/android-tools-adb/platform_system_core-android-9.0.0_r3/libcutils/ |
H A D | strdup16to8.cpp | 31 size_t utf8Len = 0; in strnlen16to8() local 63 utf8Len += 3; in strnlen16to8() 65 utf8Len += 2; in strnlen16to8() 67 utf8Len++; in strnlen16to8() 69 return utf8Len; in strnlen16to8() 79 utf8Len += 3; in strnlen16to8() 81 utf8Len += 2; in strnlen16to8() 83 utf8Len++; in strnlen16to8() 90 if (utf8Len == SIZE_MAX) in strnlen16to8() 91 utf8Len = SIZE_MAX-1; in strnlen16to8() [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/media/libstagefright/system/core/libcutils/ |
H A D | strdup16to8.c | 31 size_t utf8Len = 0; in strnlen16to8() local 62 utf8Len += 3; in strnlen16to8() 64 utf8Len += 2; in strnlen16to8() 66 utf8Len++; in strnlen16to8() 68 return utf8Len; in strnlen16to8() 77 utf8Len += 3; in strnlen16to8() 79 utf8Len += 2; in strnlen16to8() 81 utf8Len++; in strnlen16to8() 88 if (utf8Len == SIZE_MAX) in strnlen16to8() 89 utf8Len = SIZE_MAX-1; in strnlen16to8() [all …]
|
/dports/graphics/dcp2icc/dcp2icc-0.1/XMP-Toolkit-SDK-4.4.2/source/XMPFiles/FormatSupport/ |
H A D | Reconcile_Impl.cpp | 55 const XMP_Uns8 * utf8End = utf8Pos + utf8Len; in IsUTF8() 105 ToUTF16Native ( (UTF8Unit*)utf8Ptr, utf8Len, &utf16 ); in UTF8ToWinEncoding() 144 host->reserve ( utf8Len ); // As good a guess as any. in UTF8ToMacEncoding() 146 while ( utf8Len > 0 ) { in UTF8ToMacEncoding() 154 utf8Len -= bytesRead; in UTF8ToMacEncoding() 189 if ( IsASCII ( utf8Ptr, utf8Len ) ) { in UTF8ToLocal() 190 local->assign ( (const char *)utf8Ptr, utf8Len ); in UTF8ToLocal() 196 UTF8ToWinEncoding ( CP_ACP, utf8Ptr, utf8Len, local ); in UTF8ToLocal() 235 if ( IsASCII ( utf8Ptr, utf8Len ) ) { in UTF8ToLatin1() 236 latin1->assign ( (const char *)utf8Ptr, utf8Len ); in UTF8ToLatin1() [all …]
|
/dports/graphics/exiv2/exiv2-0.27.5-Source/xmpsdk/src/ |
H A D | UnicodeConversions.cpp | 285 while ( utf8Len > 0 ) { in ToUTF16() 290 utf8Len -= readCount; in ToUTF16() 306 while ( utf8Len > 0 ) { in ToUTF16Native() 311 utf8Len -= readCount; in ToUTF16Native() 330 while ( utf8Len > 0 ) { in ToUTF32() 335 utf8Len -= readCount; in ToUTF32() 351 while ( utf8Len > 0 ) { in ToUTF32Native() 356 utf8Len -= readCount; in ToUTF32Native() 702 size_t utf8Left = utf8Len; in UTF8_to_UTF16Nat() 760 size_t utf8Left = utf8Len; in UTF8_to_UTF32Nat() [all …]
|
H A D | UnicodeConversions.hpp | 36 typedef void (*UTF8_to_UTF16_Proc) ( const UTF8Unit * utf8In, const size_t utf8Len, 40 typedef void (*UTF8_to_UTF32_Proc) ( const UTF8Unit * utf8In, const size_t utf8Len, 45 UTF8Unit * utf8Out, const size_t utf8Len, 49 UTF8Unit * utf8Out, const size_t utf8Len, 62 extern void CodePoint_to_UTF8 ( const UTF32Unit cpIn, UTF8Unit * utf8Out, const size_t utf8Len, … 64 extern void CodePoint_from_UTF8 ( const UTF8Unit * utf8In, const size_t utf8Len, UTF32Unit * cpO… 105 extern void ToUTF16 ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf16Str, bool bigEndi… 106 extern void ToUTF32 ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf32Str, bool bigEndi… 111 extern void ToUTF16Native ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf16Str ); 112 extern void ToUTF32Native ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf32Str );
|
/dports/graphics/dcp2icc/dcp2icc-0.1/XMP-Toolkit-SDK-4.4.2/source/common/ |
H A D | UnicodeConversions.cpp | 285 while ( utf8Len > 0 ) { in ToUTF16() 290 utf8Len -= readCount; in ToUTF16() 306 while ( utf8Len > 0 ) { in ToUTF16Native() 311 utf8Len -= readCount; in ToUTF16Native() 330 while ( utf8Len > 0 ) { in ToUTF32() 335 utf8Len -= readCount; in ToUTF32() 351 while ( utf8Len > 0 ) { in ToUTF32Native() 356 utf8Len -= readCount; in ToUTF32Native() 702 size_t utf8Left = utf8Len; in UTF8_to_UTF16Nat() 760 size_t utf8Left = utf8Len; in UTF8_to_UTF32Nat() [all …]
|
H A D | UnicodeConversions.hpp | 36 typedef void (*UTF8_to_UTF16_Proc) ( const UTF8Unit * utf8In, const size_t utf8Len, 40 typedef void (*UTF8_to_UTF32_Proc) ( const UTF8Unit * utf8In, const size_t utf8Len, 45 UTF8Unit * utf8Out, const size_t utf8Len, 49 UTF8Unit * utf8Out, const size_t utf8Len, 62 extern void CodePoint_to_UTF8 ( const UTF32Unit cpIn, UTF8Unit * utf8Out, const size_t utf8Len, … 64 extern void CodePoint_from_UTF8 ( const UTF8Unit * utf8In, const size_t utf8Len, UTF32Unit * cpO… 105 extern void ToUTF16 ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf16Str, bool bigEndi… 106 extern void ToUTF32 ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf32Str, bool bigEndi… 111 extern void ToUTF16Native ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf16Str ); 112 extern void ToUTF32Native ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf32Str );
|
/dports/graphics/photoflow/PhotoFlow-8472024f/src/external/exiv2/xmpsdk/src/ |
H A D | UnicodeConversions.cpp | 285 while ( utf8Len > 0 ) { in ToUTF16() 290 utf8Len -= readCount; in ToUTF16() 306 while ( utf8Len > 0 ) { in ToUTF16Native() 311 utf8Len -= readCount; in ToUTF16Native() 330 while ( utf8Len > 0 ) { in ToUTF32() 335 utf8Len -= readCount; in ToUTF32() 351 while ( utf8Len > 0 ) { in ToUTF32Native() 356 utf8Len -= readCount; in ToUTF32Native() 702 size_t utf8Left = utf8Len; in UTF8_to_UTF16Nat() 760 size_t utf8Left = utf8Len; in UTF8_to_UTF32Nat() [all …]
|
H A D | UnicodeConversions.hpp | 36 typedef void (*UTF8_to_UTF16_Proc) ( const UTF8Unit * utf8In, const size_t utf8Len, 40 typedef void (*UTF8_to_UTF32_Proc) ( const UTF8Unit * utf8In, const size_t utf8Len, 45 UTF8Unit * utf8Out, const size_t utf8Len, 49 UTF8Unit * utf8Out, const size_t utf8Len, 62 extern void CodePoint_to_UTF8 ( const UTF32Unit cpIn, UTF8Unit * utf8Out, const size_t utf8Len, … 64 extern void CodePoint_from_UTF8 ( const UTF8Unit * utf8In, const size_t utf8Len, UTF32Unit * cpO… 105 extern void ToUTF16 ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf16Str, bool bigEndi… 106 extern void ToUTF32 ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf32Str, bool bigEndi… 111 extern void ToUTF16Native ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf16Str ); 112 extern void ToUTF32Native ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf32Str );
|
/dports/textproc/exempi/exempi-2.5.2/source/ |
H A D | UnicodeConversions.hpp | 30 typedef void (*UTF8_to_UTF16_Proc) ( const UTF8Unit * utf8In, const size_t utf8Len, 34 typedef void (*UTF8_to_UTF32_Proc) ( const UTF8Unit * utf8In, const size_t utf8Len, 39 UTF8Unit * utf8Out, const size_t utf8Len, 43 UTF8Unit * utf8Out, const size_t utf8Len, 56 extern void CodePoint_to_UTF8 ( const UTF32Unit cpIn, UTF8Unit * utf8Out, const size_t utf8Len, … 58 extern void CodePoint_from_UTF8 ( const UTF8Unit * utf8In, const size_t utf8Len, UTF32Unit * cpO… 99 extern void ToUTF16 ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf16Str, bool bigEndi… 100 extern void ToUTF32 ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf32Str, bool bigEndi… 105 extern void ToUTF16Native ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf16Str ); 106 extern void ToUTF32Native ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf32Str );
|
H A D | UnicodeConversions.cpp | 275 while ( utf8Len > 0 ) { in ToUTF16() 280 utf8Len -= readCount; in ToUTF16() 296 while ( utf8Len > 0 ) { in ToUTF16Native() 301 utf8Len -= readCount; in ToUTF16Native() 320 while ( utf8Len > 0 ) { in ToUTF32() 325 utf8Len -= readCount; in ToUTF32() 341 while ( utf8Len > 0 ) { in ToUTF32Native() 346 utf8Len -= readCount; in ToUTF32Native() 691 size_t utf8Left = utf8Len; in UTF8_to_UTF16Nat() 749 size_t utf8Left = utf8Len; in UTF8_to_UTF32Nat() [all …]
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/dngwriter/extra/xmp_sdk/source/ |
H A D | UnicodeConversions.hpp | 30 typedef void (*UTF8_to_UTF16_Proc) ( const UTF8Unit * utf8In, const size_t utf8Len, 34 typedef void (*UTF8_to_UTF32_Proc) ( const UTF8Unit * utf8In, const size_t utf8Len, 39 UTF8Unit * utf8Out, const size_t utf8Len, 43 UTF8Unit * utf8Out, const size_t utf8Len, 56 extern void CodePoint_to_UTF8 ( const UTF32Unit cpIn, UTF8Unit * utf8Out, const size_t utf8Len, … 58 extern void CodePoint_from_UTF8 ( const UTF8Unit * utf8In, const size_t utf8Len, UTF32Unit * cpO… 99 extern void ToUTF16 ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf16Str, bool bigEndi… 100 extern void ToUTF32 ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf32Str, bool bigEndi… 105 extern void ToUTF16Native ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf16Str ); 106 extern void ToUTF32Native ( const UTF8Unit * utf8In, size_t utf8Len, std::string * utf32Str );
|
H A D | UnicodeConversions.cpp | 275 while ( utf8Len > 0 ) { in ToUTF16() 280 utf8Len -= readCount; in ToUTF16() 296 while ( utf8Len > 0 ) { in ToUTF16Native() 301 utf8Len -= readCount; in ToUTF16Native() 320 while ( utf8Len > 0 ) { in ToUTF32() 325 utf8Len -= readCount; in ToUTF32() 341 while ( utf8Len > 0 ) { in ToUTF32Native() 346 utf8Len -= readCount; in ToUTF32Native() 691 size_t utf8Left = utf8Len; in UTF8_to_UTF16Nat() 749 size_t utf8Left = utf8Len; in UTF8_to_UTF32Nat() [all …]
|
/dports/textproc/exempi/exempi-2.5.2/XMPFiles/source/FormatSupport/ |
H A D | Reconcile_Impl.cpp | 109 ToUTF16Native ( (UTF8Unit*)utf8Ptr, utf8Len, &utf16 ); in UTF8ToWinEncoding() 152 host->reserve ( utf8Len ); // As good a guess as any. in UTF8ToMacEncoding() 154 while ( utf8Len > 0 ) { in UTF8ToMacEncoding() 157 err = ConvertFromUnicodeToText ( converterInfo, utf8Len, (UniChar*)utf8Ptr, convFlags, in UTF8ToMacEncoding() 162 utf8Len -= bytesRead; in UTF8ToMacEncoding() 192 if ( ReconcileUtils::IsASCII ( utf8Ptr, utf8Len ) ) { in UTF8ToLocal() 193 local->assign ( (const char *)utf8Ptr, utf8Len ); in UTF8ToLocal() 199 UTF8ToWinEncoding ( CP_ACP, utf8Ptr, utf8Len, local ); in UTF8ToLocal() 203 UTF8ToMacEncoding ( smSystemScript, kTextLanguageDontCare, utf8Ptr, utf8Len, local ); in UTF8ToLocal() 227 const XMP_Uns8* utf8End = utf8Ptr + utf8Len; in UTF8ToLatin1() [all …]
|
H A D | IPTC_Support.cpp | 411 if ( utf8Len == 0 ) in SetDataSet_UTF8() 431 dataLen = utf8Len; in SetDataSet_UTF8() 438 dataLen = utf8Len; in SetDataSet_UTF8() 446 dataLen = utf8Len; in SetDataSet_UTF8() 454 dataLen = utf8Len; in SetDataSet_UTF8() 459 if ( (rtStr.size() == utf8Len) && (memcmp ( rtStr.data(), utf8Ptr, utf8Len ) == 0) ) { in SetDataSet_UTF8() 466 dataLen = utf8Len; in SetDataSet_UTF8() 471 dataLen = utf8Len; in SetDataSet_UTF8() 757 XMP_StringLen utf8Len = dsInfo.dataLen; in CheckRoundTripLoss() local 759 ReconcileUtils::UTF8ToLocal ( utf8Ptr, utf8Len, &localStr ); in CheckRoundTripLoss() [all …]
|
/dports/java/openjdk11/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/jdk/internal/reflect/ |
H A D | UTF8.java | 62 int utf8Len = 0; in utf8Length() local 66 utf8Len += 1; in utf8Length() 69 utf8Len += 2; in utf8Length() 71 utf8Len += 3; in utf8Length() 74 return utf8Len; in utf8Length()
|
/dports/java/openjdk13/jdk13u-jdk-13.0.10-1-1/src/java.base/share/classes/jdk/internal/reflect/ |
H A D | UTF8.java | 62 int utf8Len = 0; in utf8Length() local 66 utf8Len += 1; in utf8Length() 69 utf8Len += 2; in utf8Length() 71 utf8Len += 3; in utf8Length() 74 return utf8Len; in utf8Length()
|
/dports/java/openjdk11-jre/jdk11u-jdk-11.0.13-8-1/src/java.base/share/classes/jdk/internal/reflect/ |
H A D | UTF8.java | 62 int utf8Len = 0; in utf8Length() local 66 utf8Len += 1; in utf8Length() 69 utf8Len += 2; in utf8Length() 71 utf8Len += 3; in utf8Length() 74 return utf8Len; in utf8Length()
|
/dports/java/openjdk8/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/reflect/ |
H A D | UTF8.java | 62 int utf8Len = 0; in utf8Length() local 66 utf8Len += 1; in utf8Length() 69 utf8Len += 2; in utf8Length() 71 utf8Len += 3; in utf8Length() 74 return utf8Len; in utf8Length()
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/java.base/share/classes/jdk/internal/reflect/ |
H A D | UTF8.java | 62 int utf8Len = 0; in utf8Length() local 66 utf8Len += 1; in utf8Length() 69 utf8Len += 2; in utf8Length() 71 utf8Len += 3; in utf8Length() 74 return utf8Len; in utf8Length()
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/java.base/share/classes/jdk/internal/reflect/ |
H A D | UTF8.java | 62 int utf8Len = 0; in utf8Length() local 66 utf8Len += 1; in utf8Length() 69 utf8Len += 2; in utf8Length() 71 utf8Len += 3; in utf8Length() 74 return utf8Len; in utf8Length()
|
/dports/java/openjdk12/openjdk-jdk12u-jdk-12.0.2-10-4/src/java.base/share/classes/jdk/internal/reflect/ |
H A D | UTF8.java | 62 int utf8Len = 0; in utf8Length() local 66 utf8Len += 1; in utf8Length() 69 utf8Len += 2; in utf8Length() 71 utf8Len += 3; in utf8Length() 74 return utf8Len; in utf8Length()
|
/dports/java/openjdk15/jdk15u-jdk-15.0.6-1-1/src/java.base/share/classes/jdk/internal/reflect/ |
H A D | UTF8.java | 62 int utf8Len = 0; in utf8Length() local 66 utf8Len += 1; in utf8Length() 69 utf8Len += 2; in utf8Length() 71 utf8Len += 3; in utf8Length() 74 return utf8Len; in utf8Length()
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/java.base/share/classes/jdk/internal/reflect/ |
H A D | UTF8.java | 62 int utf8Len = 0; in utf8Length() local 66 utf8Len += 1; in utf8Length() 69 utf8Len += 2; in utf8Length() 71 utf8Len += 3; in utf8Length() 74 return utf8Len; in utf8Length()
|
/dports/java/openjdk8-jre/jdk8u-jdk8u312-b07.1/jdk/src/share/classes/sun/reflect/ |
H A D | UTF8.java | 62 int utf8Len = 0; in utf8Length() local 66 utf8Len += 1; in utf8Length() 69 utf8Len += 2; in utf8Length() 71 utf8Len += 3; in utf8Length() 74 return utf8Len; in utf8Length()
|