Home
last modified time | relevance | path

Searched refs:utf16_str (Results 1 – 25 of 506) sorted by relevance

12345678910>>...21

/dports/x11-toolkits/qt5-virtualkeyboard/kde-qtvirtualkeyboard-5.15.2p4/src/plugins/pinyin/3rdparty/pinyin/share/
H A Dutf16char.cpp34 while ((char16)' ' == utf16_str[pos] || (char16)'\n' == utf16_str[pos] in utf16_strtok()
38 utf16_str += pos; in utf16_strtok()
41 while ((char16)'\0' != utf16_str[pos] && (char16)' ' != utf16_str[pos] in utf16_strtok()
47 char16 *ret_val = utf16_str; in utf16_strtok()
48 if ((char16)'\0' == utf16_str[pos]) { in utf16_strtok()
56 utf16_str[pos] = (char16)'\0'; in utf16_strtok()
62 int utf16_atoi(const char16 *utf16_str) { in utf16_atoi() argument
63 if (NULL == utf16_str) in utf16_atoi()
70 if ((char16)'-' == utf16_str[pos]) { in utf16_atoi()
89 utf16_strcpy_tochar(char8, utf16_str); in utf16_atof()
[all …]
/dports/games/gemrb/gemrb-0.9.0/tools/tlk_convert/
H A Dtlk_convert.py7 def insert_space(utf16_str, interval=1, codec = None): argument
9 utf16_str = utf16_str.decode(codec)
11 utf16_str = utf16_str.replace(u" ", u" ")
14 for i, u in enumerate(utf16_str):
18 and (i+1 < len(utf16_str) and utf16_str[i+1] not in PUNCTUATIONS):
/dports/sysutils/gsmartcontrol/gsmartcontrol-1.1.3/src/hz/
H A Dwin32_tools.h125 inline std::string win32_utf16_to_utf8_string(const wchar_t* utf16_str);
624 if (!utf16_str) in win32_utf16_to_user()
627 int buf_size = WideCharToMultiByte(to_cp, 0, utf16_str, -1, 0, 0, 0, 0); in win32_utf16_to_user()
657 return win32_utf16_to_user(CP_UTF8, utf16_str, returned_buf_size); in win32_utf16_to_utf8()
667 inline std::string win32_utf16_to_utf8_string(const wchar_t* utf16_str) in win32_utf16_to_utf8_string() argument
669 char* buf = win32_utf16_to_utf8(utf16_str); in win32_utf16_to_utf8_string()
700 wchar_t* utf16_str = win32_locale_to_utf16(loc_str, 0, use_thread_locale); in win32_locale_to_utf8() local
701 char* utf8_str = win32_utf16_to_utf8(utf16_str, returned_buf_size); in win32_locale_to_utf8()
702 delete[] utf16_str; in win32_locale_to_utf8()
711 wchar_t* utf16_str = win32_utf8_to_utf16(utf8_str); in win32_utf8_to_locale() local
[all …]
/dports/multimedia/obs-studio/obs-studio-27.1.3/plugins/text-freetype2/
H A Dfind-font-windows.c126 wchar_t *utf16_str = malloc((utf16_len + 1) * sizeof(wchar_t)); in convert_utf16_be_to_utf8() local
129 utf16_str[utf16_len] = 0; in convert_utf16_be_to_utf8()
136 utf16_str[i] = ((ch >> 8) & 0xFF) | ((ch << 8) & 0xFF00); in convert_utf16_be_to_utf8()
139 utf8_str = wide_to_utf8(utf16_str, utf16_len); in convert_utf16_be_to_utf8()
141 free(utf16_str); in convert_utf16_be_to_utf8()
152 wchar_t *utf16_str; in sfnt_name_to_utf8() local
163 utf16_str = malloc((utf16_len + 1) * sizeof(wchar_t)); in sfnt_name_to_utf8()
167 utf16_str, (int)utf16_len); in sfnt_name_to_utf8()
170 utf16_str[utf16_len] = 0; in sfnt_name_to_utf8()
171 utf8_str = wide_to_utf8(utf16_str, utf16_len); in sfnt_name_to_utf8()
[all …]
/dports/emulators/aranym/aranym-1.1.0/src/Unix/darwin/
H A Dclipbrd_darwin.M51 unichar *utf16_str = new unichar[clip_len];
52 [pasteboard_string getCharacters:utf16_str];
58 unsigned short ch = utf16_str[pos];
72 delete [] utf16_str;
87 unichar *utf16_str = new unichar[clip_len];
90 utf16_str[pos] = atari_to_utf16[ch];
97 …[paste_board setString:[[NSString alloc] initWithCharacters:utf16_str length:clip_len] forType:NSS…
100 delete [] utf16_str;
/dports/x11-toolkits/qt5-virtualkeyboard/kde-qtvirtualkeyboard-5.15.2p4/src/plugins/pinyin/3rdparty/pinyin/include/
H A Dutf16char.h33 char16* utf16_strtok(char16 *utf16_str, size_t *token_size,
36 int utf16_atoi(const char16 *utf16_str);
38 float utf16_atof(const char16 *utf16_str);
40 size_t utf16_strlen(const char16 *utf16_str);
/dports/graphics/gimp-app/gimp-2.10.30/plug-ins/file-psd/
H A Dpsd-util.c347 gunichar2 *utf16_str; in fread_unicode_string() local
377 utf16_str = g_malloc (len * 2); in fread_unicode_string()
380 if (fread (&utf16_str[i], 2, 1, f) < 1) in fread_unicode_string()
383 g_free (utf16_str); in fread_unicode_string()
387 utf16_str[i] = GINT16_FROM_BE (utf16_str[i]); in fread_unicode_string()
398 g_free (utf16_str); in fread_unicode_string()
408 g_free (utf16_str); in fread_unicode_string()
427 gunichar2 *utf16_str; in fwrite_unicode_string() local
446 utf16_str = g_utf8_to_utf16 (src, -1, NULL, &len, NULL); in fwrite_unicode_string()
450 utf16_str[i] = GINT16_TO_BE (utf16_str[i]); in fwrite_unicode_string()
[all …]
/dports/math/vtk9/VTK-9.1.0/Common/Core/Testing/Python/
H A DTestStdVector.py13 v = u.utf16_str()
19 a = u.utf16_str(v)
22 a = u.utf16_str(b)
/dports/math/vtk8/VTK-8.2.0/Common/Core/Testing/Python/
H A DTestStdVector.py13 v = u.utf16_str()
19 a = u.utf16_str(v)
22 a = u.utf16_str(b)
/dports/games/openttd/openttd-12.1/src/
H A Dstring.cpp765 std::vector<UChar> utf16_str; ///< UTF-16 copy of the string. member in IcuStringIterator
775 this->utf16_str.push_back('\0'); in IcuStringIterator()
793 this->utf16_str.clear(); in SetString()
801 this->utf16_str.push_back((UChar)c); in SetString()
804 this->utf16_str.push_back((UChar)(0xD800 + ((c - 0x10000) >> 10))); in SetString()
805 this->utf16_str.push_back((UChar)(0xDC00 + ((c - 0x10000) & 0x3FF))); in SetString()
810 this->utf16_str.push_back('\0'); in SetString()
815 utext_openUChars(&text, this->utf16_str.data(), this->utf16_str.size() - 1, &status); in SetString()
854 IsWhitespace(Utf16DecodeChar((const uint16 *)&this->utf16_str[pos]))) { in Next()
886 IsWhitespace(Utf16DecodeChar((const uint16 *)&this->utf16_str[pos]))) { in Prev()
/dports/lang/ruby26/ruby-2.6.9/spec/ruby/core/string/shared/
H A Dto_sym.rb43 utf16_str = "UtéF16".encode(Encoding::UTF_16LE)
44 sym = utf16_str.send(@method)
46 sym.to_s.should == utf16_str
/dports/science/InsightToolkit/ITK-5.0.1/Modules/IO/ImageBase/test/
H A DitkUnicodeIOTest.cxx100 std::wstring utf16_str; in main() local
101 utf16_str.push_back((wchar_t)(0x03B1)); in main()
102 utf16_str += L".txt"; in main()
105 if ( fromutf8_utf16_str != utf16_str ) in main()
/dports/textproc/p5-Spreadsheet-WriteExcel/Spreadsheet-WriteExcel-2.40/examples/
H A Dmerge6.pl55 my $utf16_str = pack "H*", '005500540046002d00310036003a0020'.
60 $worksheet->merge_range('B6:D7', $utf16_str, $format, 1);
/dports/games/openttd/openttd-12.1/src/os/macosx/
H A Dstring_osx.cpp350 std::vector<UniChar> utf16_str; ///< UTF-16 copy of the string. in SetString() local
356 utf16_str.push_back((UniChar)c); in SetString()
359 utf16_str.push_back((UniChar)(0xD800 + ((c - 0x10000) >> 10))); in SetString()
360 utf16_str.push_back((UniChar)(0xDC00 + ((c - 0x10000) & 0x3FF))); in SetString()
370 if (utf16_str.size() > 0) { in SetString()
371 …ef> str(CFStringCreateWithCharactersNoCopy(kCFAllocatorDefault, &utf16_str[0], utf16_str.size(), k… in SetString()
/dports/editors/vim/vim-8.2.3745/src/
H A Dos_mac_conv.c449 UniChar *utf16_str; in mac_enc_to_cfstring() local
453 utf16_str = mac_enc_to_utf16(from, fromLen, &utf16_len); in mac_enc_to_cfstring()
454 if (utf16_str) in mac_enc_to_cfstring()
456 result = CFStringCreateWithCharacters(NULL, utf16_str, utf16_len/sizeof(UniChar)); in mac_enc_to_cfstring()
457 vim_free(utf16_str); in mac_enc_to_cfstring()
/dports/games/openttd/openttd-12.1/src/os/windows/
H A Dstring_uniscribe.cpp532 std::vector<wchar_t> utf16_str; ///< UTF-16 copy of the string. in SetString() local
538 utf16_str.push_back((wchar_t)c); in SetString()
541 utf16_str.push_back((wchar_t)(0xD800 + ((c - 0x10000) >> 10))); in SetString()
542 utf16_str.push_back((wchar_t)(0xDC00 + ((c - 0x10000) & 0x3FF))); in SetString()
552 if (utf16_str.size() > 0) { in SetString()
554 std::vector<SCRIPT_ITEM> runs = UniscribeItemizeString(&utf16_str[0], (int32)utf16_str.size()); in SetString()
560 ScriptBreak(&utf16_str[run->iCharPos], len, &run->a, &attr[0]); in SetString()
/dports/math/vtk8/VTK-8.2.0/Common/Core/
H A DvtkUnicodeString.h179 std::vector<vtkTypeUInt16> utf16_str() const;
184 void utf16_str(std::vector<vtkTypeUInt16>& result) const;
/dports/math/vtk6/VTK-6.2.0/Common/Core/
H A DvtkUnicodeString.h157 std::vector<vtkTypeUInt16> utf16_str() const;
161 void utf16_str(std::vector<vtkTypeUInt16>& result) const;
/dports/sysutils/dua-cli/dua-cli-2.14.11/cargo-crates/sysinfo-0.20.5/src/windows/
H A Dsystem.rs516 fn utf16_str<S: AsRef<OsStr> + ?Sized>(text: &S) -> Vec<u16> { in utf16_str() function
524 let c_path = utf16_str(path); in get_reg_string_value()
525 let c_field_name = utf16_str(field_name); in get_reg_string_value()
567 let c_path = utf16_str(path);
568 let c_field_name = utf16_str(field_name);
/dports/math/vtk9/VTK-9.1.0/Common/Core/
H A DvtkUnicodeString.h199 std::vector<vtkTypeUInt16> utf16_str() const;
204 void utf16_str(std::vector<vtkTypeUInt16>& result) const;
/dports/net/wireshark-lite/wireshark-3.6.1/wiretap/
H A Dnetmon.c695 guint8 *utf16_str; in netmon_open() local
733 utf16_str = (guint8*)g_malloc(title_length); in netmon_open()
734 if (!wtap_read_bytes(wth->fh, utf16_str, title_length, in netmon_open()
744 comment_rec->title = utf_16_to_utf_8(utf16_str, in netmon_open()
746 g_free(utf16_str); in netmon_open()
812 guint8 *utf16_str; in netmon_open() local
840 utf16_str = (guint8*)g_malloc(path_size); in netmon_open()
841 if (!wtap_read_bytes(wth->fh, utf16_str, path_size, in netmon_open()
851 process_info->path = utf_16_to_utf_8(utf16_str, in netmon_open()
853 g_free(utf16_str); in netmon_open()
/dports/net/wireshark/wireshark-3.6.1/wiretap/
H A Dnetmon.c695 guint8 *utf16_str; in netmon_open() local
733 utf16_str = (guint8*)g_malloc(title_length); in netmon_open()
734 if (!wtap_read_bytes(wth->fh, utf16_str, title_length, in netmon_open()
744 comment_rec->title = utf_16_to_utf_8(utf16_str, in netmon_open()
746 g_free(utf16_str); in netmon_open()
812 guint8 *utf16_str; in netmon_open() local
840 utf16_str = (guint8*)g_malloc(path_size); in netmon_open()
841 if (!wtap_read_bytes(wth->fh, utf16_str, path_size, in netmon_open()
851 process_info->path = utf_16_to_utf_8(utf16_str, in netmon_open()
853 g_free(utf16_str); in netmon_open()
/dports/net/tshark-lite/wireshark-3.6.1/wiretap/
H A Dnetmon.c695 guint8 *utf16_str; in netmon_open() local
733 utf16_str = (guint8*)g_malloc(title_length); in netmon_open()
734 if (!wtap_read_bytes(wth->fh, utf16_str, title_length, in netmon_open()
744 comment_rec->title = utf_16_to_utf_8(utf16_str, in netmon_open()
746 g_free(utf16_str); in netmon_open()
812 guint8 *utf16_str; in netmon_open() local
840 utf16_str = (guint8*)g_malloc(path_size); in netmon_open()
841 if (!wtap_read_bytes(wth->fh, utf16_str, path_size, in netmon_open()
851 process_info->path = utf_16_to_utf_8(utf16_str, in netmon_open()
853 g_free(utf16_str); in netmon_open()
/dports/net/tshark/wireshark-3.6.1/wiretap/
H A Dnetmon.c695 guint8 *utf16_str;
733 utf16_str = (guint8*)g_malloc(title_length);
734 if (!wtap_read_bytes(wth->fh, utf16_str, title_length,
744 comment_rec->title = utf_16_to_utf_8(utf16_str,
746 g_free(utf16_str);
812 guint8 *utf16_str;
840 utf16_str = (guint8*)g_malloc(path_size);
841 if (!wtap_read_bytes(wth->fh, utf16_str, path_size,
851 process_info->path = utf_16_to_utf_8(utf16_str,
853 g_free(utf16_str);
/dports/net/wireshark-lite/wireshark-3.6.1/capture/
H A Dcapture-wpcap.c233 wchar_t *utf16_str; in local_code_page_str_to_utf8() local
241 utf16_str = g_malloc_n(utf16_len, sizeof(wchar_t)); in local_code_page_str_to_utf8()
242 MultiByteToWideChar(CP_ACP, 0, str, -1, utf16_str, utf16_len); in local_code_page_str_to_utf8()
244 utf8_str = g_utf16_to_utf8(utf16_str, -1, NULL, NULL, NULL); in local_code_page_str_to_utf8()
246 g_free(utf16_str); in local_code_page_str_to_utf8()

12345678910>>...21