/dports/audio/musescore/MuseScore-3.6.1/thirdparty/poppler/poppler/ |
H A D | CharCodeToUnicode.cc | 463 int utf16Len = n / 4; in addMapping() local 464 Unicode *utf16 = (Unicode*)gmallocn(utf16Len, sizeof(Unicode)); in addMapping() 465 for (j = 0; j < utf16Len; ++j) { in addMapping() 472 utf16[utf16Len - 1] += offset; in addMapping() 473 sMap[sMapLen].len = UTF16toUCS4(utf16, utf16Len, &sMap[sMapLen].u); in addMapping()
|
H A D | UTF.cc | 38 int UTF16toUCS4(const Unicode *utf16, int utf16Len, Unicode **ucs4) in UTF16toUCS4() argument 45 for (i = 0; i < utf16Len; i++) { in UTF16toUCS4() 46 if (utf16[i] >= 0xd800 && utf16[i] < 0xdc00 && i + 1 < utf16Len && in UTF16toUCS4() 58 for (i = 0; i < utf16Len; i++) { in UTF16toUCS4() 60 if (i + 1 < utf16Len && utf16[i+1] >= 0xdc00 && utf16[i+1] < 0xe000) { in UTF16toUCS4()
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/scripting/mozjs/ |
H A D | valuereader.cpp | 256 size_t utf16Len; in fromStringData() local 261 _context, JS::UTF8Chars(sd.rawData(), sd.size()), &utf16Len); in fromStringData() 269 auto jsStr = JS_NewUCStringCopyN(_context, utf16.get(), utf16Len); in fromStringData()
|
/dports/databases/sqlitebrowser/sqlitebrowser-3.12.1/libs/qscintilla/src/ |
H A D | UniConversion.cpp | 93 const unsigned int utf16Len = UTF16LengthFromUTF8ByteCount(byteCount); in UTF16Length() local 95 ulen += (i > len) ? 1 : utf16Len; in UTF16Length()
|
/dports/devel/astyle/astyle/src/ |
H A D | astyle_main.cpp | 2870 size_t utf16Len = encode.utf8ToUtf16(const_cast<char*>(out.str().c_str()), in writeFile() local 2872 assert(utf16Len <= utf16Size); in writeFile() 2873 fout << string(utf16Out, utf16Len); in writeFile() 2982 size_t utf16Len = encode.utf8ToUtf16(data, dataSize + 1, isBigEndian, utf16Out); in convertUtf8ToUtf16() local 2983 assert(utf16Len == utf16Size); in convertUtf8ToUtf16()
|
/dports/devel/codeblocks/codeblocks-20.03/src/plugins/astyle/astyle/ |
H A D | astyle_main.cpp | 2865 size_t utf16Len = encode.utf8ToUtf16(const_cast<char*>(out.str().c_str()), in writeFile() local 2867 assert(utf16Len <= utf16Size); in writeFile() 2868 fout << string(utf16Out, utf16Len); in writeFile() 2977 size_t utf16Len = encode.utf8ToUtf16(data, dataSize + 1, isBigEndian, utf16Out); in convertUtf8ToUtf16() local 2978 assert(utf16Len == utf16Size); in convertUtf8ToUtf16()
|
/dports/devel/codequery/codequery-0.24.0/scintilla/src/ |
H A D | UniConversion.cxx | 93 const unsigned int utf16Len = UTF16LengthFromUTF8ByteCount(byteCount); in UTF16Length() local 95 ulen += (i > len) ? 1 : utf16Len; in UTF16Length()
|
/dports/devel/geany-legacy/geany-1.37.1/scintilla/src/ |
H A D | UniConversion.cxx | 93 const unsigned int utf16Len = UTF16LengthFromUTF8ByteCount(byteCount); in UTF16Length() local 95 ulen += (i > len) ? 1 : utf16Len; in UTF16Length()
|
/dports/devel/geany/geany-1.38/scintilla/src/ |
H A D | UniConversion.cxx | 93 const unsigned int utf16Len = UTF16LengthFromUTF8ByteCount(byteCount); in UTF16Length() local 95 ulen += (i > len) ? 1 : utf16Len; in UTF16Length()
|
/dports/devel/libastylej-arduino/astyle/src/ |
H A D | astyle_main.cpp | 2490 size_t utf16Len = utf8_16.utf8ToUtf16(const_cast<char*>(out.str().c_str()), in writeFile() local 2492 assert(utf16Len == utf16Size); in writeFile() 2493 fout << string(utf16Out, utf16Len); in writeFile() 2602 size_t utf16Len = utf8_16.utf8ToUtf16(data, dataSize + 1, isBigEndian, utf16Out); in convertUtf8ToUtf16() local 2603 assert(utf16Len == utf16Size); in convertUtf8ToUtf16()
|
/dports/devel/libastylej/astyle/src/ |
H A D | astyle_main.cpp | 2490 size_t utf16Len = utf8_16.utf8ToUtf16(const_cast<char*>(out.str().c_str()), in writeFile() local 2492 assert(utf16Len == utf16Size); in writeFile() 2493 fout << string(utf16Out, utf16Len); in writeFile() 2602 size_t utf16Len = utf8_16.utf8ToUtf16(data, dataSize + 1, isBigEndian, utf16Out); in convertUtf8ToUtf16() local 2603 assert(utf16Len == utf16Size); in convertUtf8ToUtf16()
|
/dports/devel/llvm70/llvm-7.0.1.src/tools/clang/tools/extra/clangd/ |
H A D | SourceCode.cpp | 72 static size_t utf16Len(StringRef U8) { in utf16Len() function 126 Pos.character = utf16Len(Before.substr(StartOfLine)); in offsetToPosition() 142 P.character = utf16Len(LineSoFar); in sourceLocToPosition()
|
/dports/devel/py-qt5-qscintilla2/QScintilla_src-2.13.0/scintilla/src/ |
H A D | UniConversion.cpp | 93 const unsigned int utf16Len = UTF16LengthFromUTF8ByteCount(byteCount); in UTF16Length() local 95 ulen += (i > len) ? 1 : utf16Len; in UTF16Length()
|
/dports/devel/qscintilla2-designerplugin-qt5/QScintilla_src-2.13.0/scintilla/src/ |
H A D | UniConversion.cpp | 93 const unsigned int utf16Len = UTF16LengthFromUTF8ByteCount(byteCount); in UTF16Length() local 95 ulen += (i > len) ? 1 : utf16Len; in UTF16Length()
|
/dports/devel/qscintilla2-qt5/QScintilla_src-2.13.0/scintilla/src/ |
H A D | UniConversion.cpp | 93 const unsigned int utf16Len = UTF16LengthFromUTF8ByteCount(byteCount); in UTF16Length() local 95 ulen += (i > len) ? 1 : utf16Len; in UTF16Length()
|
/dports/editors/scite/scintilla/src/ |
H A D | UniConversion.cxx | 106 const unsigned int utf16Len = UTF16LengthFromUTF8ByteCount(byteCount); in UTF16Length() local 108 ulen += (i > svu8.length()) ? 1 : utf16Len; in UTF16Length()
|
/dports/editors/scite/scintilla/win32/ |
H A D | ScintillaWin.cxx | 1043 const Sci::Position utf16Len = pdoc->CountUTF16(selStart, selEnd); in SelectionToHangul() local 1045 if (utf16Len > 0) { in SelectionToHangul()
|
/dports/editors/textadept/scintilla/src/ |
H A D | UniConversion.cxx | 106 const unsigned int utf16Len = UTF16LengthFromUTF8ByteCount(byteCount); in UTF16Length() local 108 ulen += (i > svu8.length()) ? 1 : utf16Len; in UTF16Length()
|
/dports/editors/textadept/scintilla/win32/ |
H A D | ScintillaWin.cxx | 1043 const Sci::Position utf16Len = pdoc->CountUTF16(selStart, selEnd); in SelectionToHangul() local 1045 if (utf16Len > 0) { in SelectionToHangul()
|
/dports/graphics/cfdg/cfdg-3.3_1/src-scintilla/src/ |
H A D | UniConversion.cxx | 106 const unsigned int utf16Len = UTF16LengthFromUTF8ByteCount(byteCount); in UTF16Length() local 108 ulen += (i > svu8.length()) ? 1 : utf16Len; in UTF16Length()
|
/dports/graphics/dcp2icc/dcp2icc-0.1/XMP-Toolkit-SDK-4.4.2/source/XMPFiles/FormatSupport/ |
H A D | Reconcile_Impl.cpp | 108 size_t utf16Len = utf16.size() / 2; in UTF8ToWinEncoding() local 110 int hostLen = WideCharToMultiByte ( codePage, 0, utf16Ptr, (int)utf16Len, 0, 0, 0, 0 ); in UTF8ToWinEncoding() 113 …(void) WideCharToMultiByte ( codePage, 0, utf16Ptr, (int)utf16Len, (LPSTR)host->data(), hostLen, 0… in UTF8ToWinEncoding() 272 int utf16Len = MultiByteToWideChar ( codePage, 0, (LPCSTR)hostPtr, (int)hostLen, 0, 0 ); in WinEncodingToUTF8() local 273 std::vector<UTF16Unit> utf16 ( utf16Len, 0 ); // MultiByteToWideChar returns native UTF-16. in WinEncodingToUTF8() 275 …d) MultiByteToWideChar ( codePage, 0, (LPCSTR)hostPtr, (int)hostLen, (LPWSTR)&utf16[0], utf16Len ); in WinEncodingToUTF8() 276 FromUTF16Native ( &utf16[0], (int)utf16Len, utf8 ); in WinEncodingToUTF8()
|
H A D | TIFF_Support.cpp | 270 static void UTF16_to_UTF8 ( const UTF16Unit * utf16Ptr, size_t utf16Len, bool bigEndian, std::strin… in UTF16_to_UTF8() argument 283 outStr->reserve ( utf16Len * 2 ); // As good a guess as any. in UTF16_to_UTF8() 285 while ( utf16Len > 0 ) { in UTF16_to_UTF8() 286 ToUTF8 ( utf16Ptr, utf16Len, buffer, sizeof(buffer), &inCount, &outCount ); in UTF16_to_UTF8() 289 utf16Len -= inCount; in UTF16_to_UTF8() 322 size_t utf16Len = valueLen >> 1; // The number of UTF-16 storage units, not bytes. in DecodeString() local 323 UTF16_to_UTF8 ( utf16Ptr, utf16Len, this->bigEndian, utf8Str ); in DecodeString()
|
/dports/graphics/dcp2icc/dcp2icc-0.1/XMP-Toolkit-SDK-4.4.2/source/common/ |
H A D | UnicodeConversions.cpp | 375 while ( utf16Len > 0 ) { in FromUTF16() 380 utf16Len -= readCount; in FromUTF16() 396 while ( utf16Len > 0 ) { in FromUTF16Native() 401 utf16Len -= readCount; in FromUTF16Native() 703 size_t utf16Left = utf16Len; in UTF8_to_UTF16Nat() 810 size_t utf16Left = utf16Len; in UTF16Nat_to_UTF8() 928 size_t utf16Left = utf16Len; in UTF16Nat_to_UTF32Nat() 980 size_t utf16Left = utf16Len; in UTF32Nat_to_UTF16Nat() 1135 size_t utf16Left = utf16Len; in UTF8_to_UTF16Swp() 1244 size_t utf16Left = utf16Len; in UTF16Swp_to_UTF8() [all …]
|
H A D | UnicodeConversions.hpp | 32 …_UTF16_Proc) ( const UTF32Unit cpIn, UTF16Unit * utf16Out, const size_t utf16Len, size_t * utf16Wr… 34 typedef void (*CodePoint_from_UTF16_Proc) ( const UTF16Unit * utf16In, const size_t utf16Len, UTF32… 37 UTF16Unit * utf16Out, const size_t utf16Len, 44 typedef void (*UTF16_to_UTF8_Proc) ( const UTF16Unit * utf16In, const size_t utf16Len, 52 typedef void (*UTF16_to_UTF32_Proc) ( const UTF16Unit * utf16In, const size_t utf16Len, 57 UTF16Unit * utf16Out, const size_t utf16Len, 102 extern void SwapUTF16 ( const UTF16Unit * utf16In, UTF16Unit * utf16Out, const size_t utf16Len ); 108 extern void FromUTF16 ( const UTF16Unit * utf16In, size_t utf16Len, std::string * utf8Str, bool big… 114 extern void FromUTF16Native ( const UTF16Unit * utf16In, size_t utf16Len, std::string * utf8Str );
|
/dports/graphics/digikam/digikam-7.4.0/core/libs/dngwriter/extra/xmp_sdk/source/ |
H A D | UnicodeConversions.cpp | 365 while ( utf16Len > 0 ) { in FromUTF16() 370 utf16Len -= readCount; in FromUTF16() 386 while ( utf16Len > 0 ) { in FromUTF16Native() 391 utf16Len -= readCount; in FromUTF16Native() 692 size_t utf16Left = utf16Len; in UTF8_to_UTF16Nat() 799 size_t utf16Left = utf16Len; in UTF16Nat_to_UTF8() 917 size_t utf16Left = utf16Len; in UTF16Nat_to_UTF32Nat() 969 size_t utf16Left = utf16Len; in UTF32Nat_to_UTF16Nat() 1124 size_t utf16Left = utf16Len; in UTF8_to_UTF16Swp() 1233 size_t utf16Left = utf16Len; in UTF16Swp_to_UTF8() [all …]
|