/dports/net/minidlna/minidlna-4f6a473/tagutils/ |
H A D | tagutils-dsf.c | 46 unsigned char *utf8_text; in _get_dsftags() local 168 utf8_text = NULL; in _get_dsftags() 214 psong->title = (char*)utf8_text; in _get_dsftags() 224 psong->album = (char*)utf8_text; in _get_dsftags() 285 tmp = (char*)utf8_text; in _get_dsftags() 295 tmp = (char*)utf8_text; in _get_dsftags() 324 free(utf8_text); in _get_dsftags() 333 if ((utf8_text) && (strncasecmp((char*)utf8_text, "iTun", 4) != 0)) in _get_dsftags() 336 free(utf8_text); in _get_dsftags() 342 if (utf8_text) in _get_dsftags() [all …]
|
H A D | tagutils-mp3.c | 36 unsigned char *utf8_text; in _get_mp3tags() local 68 utf8_text = NULL; in _get_mp3tags() 114 psong->title = (char*)utf8_text; in _get_mp3tags() 124 psong->album = (char*)utf8_text; in _get_mp3tags() 185 tmp = (char*)utf8_text; in _get_mp3tags() 195 tmp = (char*)utf8_text; in _get_mp3tags() 224 free(utf8_text); in _get_mp3tags() 233 if((utf8_text) && (strncasecmp((char*)utf8_text, "iTun", 4) != 0)) in _get_mp3tags() 236 free(utf8_text); in _get_mp3tags() 242 if(utf8_text) in _get_mp3tags() [all …]
|
H A D | tagutils-misc.c | 110 unsigned char *utf8_text = NULL; in _get_utf8_text() local 140 utf8_text = (unsigned char*)in8; in _get_utf8_text() 149 utf8_text = (unsigned char*)iconv_buf; in _get_utf8_text() 159 utf8_text = (unsigned char*)iconv_buf; in _get_utf8_text() 163 if(!utf8_text) in _get_utf8_text() 166 utf8_text = (unsigned char*)id3_ucs4_utf8duplicate(native_text); in _get_utf8_text() 175 if(!utf8_text) in _get_utf8_text() 177 utf8_text = (unsigned char*)strdup("UNKNOWN"); in _get_utf8_text() 180 return utf8_text; in _get_utf8_text()
|
/dports/archivers/file-roller/file-roller-3.40.0/src/ |
H A D | gtk-utils.c | 324 char *utf8_text; in _gtk_entry_set_locale_text() local 330 if (utf8_text != NULL) in _gtk_entry_set_locale_text() 334 g_free (utf8_text); in _gtk_entry_set_locale_text() 341 const char *utf8_text; in _gtk_entry_get_locale_text() local 345 if (utf8_text == NULL) in _gtk_entry_get_locale_text() 358 char *utf8_text; in _gtk_label_set_locale_text() local 363 g_free (utf8_text); in _gtk_label_set_locale_text() 390 char *utf8_text; in _gtk_entry_set_filename_text() local 395 g_free (utf8_text); in _gtk_entry_set_filename_text() 422 char *utf8_text; in _gtk_label_set_filename_text() local [all …]
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/spec/lib/banzai/filter/ |
H A D | truncate_source_filter_spec.rb | 67 utf8_text = '日本語の文字が大きい' 70 expect(filter(utf8_text, limit: truncated.bytesize)).to eq(truncated) 71 expect(filter(utf8_text, limit: utf8_text.bytesize)).to eq(utf8_text) 72 expect(filter(utf8_text, limit: utf8_text.mb_chars.size)).not_to eq(utf8_text)
|
/dports/x11-toolkits/p5-Gtk2/Gtk2-1.24993/t/ |
H A D | GtkEntryBuffer.t | 19 my $utf8_text = "♥ Lorem ipsum dolor sit amet, consectetur adipisicing elit"; 20 $buffer->set_text($utf8_text); 21 is( $buffer->get_length(), length($utf8_text) ); 22 is( $buffer->get_bytes(), length($utf8_text) + 2 ); # ♥ == 0xE2 0x99 0xA5 23 is( $buffer->get_text(), $utf8_text ); 25 $buffer = Gtk2::EntryBuffer->new(substr($utf8_text, 0, 5));
|
/dports/www/tikiwiki/tiki-21.2/lib/smarty_tiki/ |
H A D | modifier.utf8unicode.php | 15 function smarty_modifier_utf8unicode($utf8_text) argument 19 for ($pos = 0, $pos_strlen_utf8_text = strlen($utf8_text); $pos < $pos_strlen_utf8_text; $pos++) { 20 $chval = ord($utf8_text{$pos}); 36 if ($pos + $bytes - 1 < strlen($utf8_text)) { 41 $outputval = $outputval * 0x40 + ( (ord($utf8_text{$pos})) & 0x3F );
|
/dports/games/spacezero/spacezero/src/ |
H A D | locales.c | 47 gchar *utf8_text;/*[MAXTEXTLEN];*/ in GetLocales() local 74 utf8_text=malloc(MAXTEXTLEN*sizeof(gchar)); in GetLocales() 75 if(utf8_text==NULL){ in GetLocales() 102 utf8_text=g_locale_from_utf8 (text, length, NULL,NULL,&error); in GetLocales() 113 snprintf(localetype[i],MAXTEXTLEN,"%s",utf8_text); in GetLocales() 121 free(utf8_text); in GetLocales()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/ui/base/ime/linux/ |
H A D | composition_text_util_pango.cc | 18 void ExtractCompositionTextFromGtkPreedit(const char* utf8_text, in ExtractCompositionTextFromGtkPreedit() argument 23 composition->text = base::UTF8ToUTF16(utf8_text); in ExtractCompositionTextFromGtkPreedit() 49 int utf8_length = strlen(utf8_text); in ExtractCompositionTextFromGtkPreedit() 63 start = g_utf8_pointer_to_offset(utf8_text, utf8_text + start); in ExtractCompositionTextFromGtkPreedit() 64 end = g_utf8_pointer_to_offset(utf8_text, utf8_text + end); in ExtractCompositionTextFromGtkPreedit()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/ui/base/ime/linux/ |
H A D | composition_text_util_pango.cc | 18 void ExtractCompositionTextFromGtkPreedit(const char* utf8_text, in ExtractCompositionTextFromGtkPreedit() argument 23 composition->text = base::UTF8ToUTF16(utf8_text); in ExtractCompositionTextFromGtkPreedit() 49 int utf8_length = strlen(utf8_text); in ExtractCompositionTextFromGtkPreedit() 63 start = g_utf8_pointer_to_offset(utf8_text, utf8_text + start); in ExtractCompositionTextFromGtkPreedit() 64 end = g_utf8_pointer_to_offset(utf8_text, utf8_text + end); in ExtractCompositionTextFromGtkPreedit()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/blink/renderer/modules/clipboard/ |
H A D | clipboard_reader.cc | 128 StringUTF8Adaptor utf8_text(plain_text); in EncodeOnBackgroundThread() local 130 utf8_bytes.ReserveInitialCapacity(utf8_text.size()); in EncodeOnBackgroundThread() 131 utf8_bytes.Append(utf8_text.data(), utf8_text.size()); in EncodeOnBackgroundThread() 201 StringUTF8Adaptor utf8_text(plain_text); in EncodeOnBackgroundThread() local 203 utf8_bytes.ReserveInitialCapacity(utf8_text.size()); in EncodeOnBackgroundThread() 204 utf8_bytes.Append(utf8_text.data(), utf8_text.size()); in EncodeOnBackgroundThread() 277 StringUTF8Adaptor utf8_text(plain_text); in EncodeOnBackgroundThread() local 279 utf8_bytes.ReserveInitialCapacity(utf8_text.size()); in EncodeOnBackgroundThread() 280 utf8_bytes.Append(utf8_text.data(), utf8_text.size()); in EncodeOnBackgroundThread()
|
/dports/print/fontforge/fontforge-20201107/Unicode/ |
H A D | ustring.c | 734 *utf8_text++ = us>>8; in utf8_idpb() 738 *utf8_text++ = ch>>8; in utf8_idpb() 769 *utf8_text++ = ch; in utf8_idpb() 770 return( utf8_text ); in utf8_idpb() 778 return( utf8_text ); in utf8_ib() 780 return( utf8_text+1 ); in utf8_ib() 782 return( utf8_text+2 ); in utf8_ib() 784 return( utf8_text+3 ); in utf8_ib() 786 return( utf8_text+4 ); in utf8_ib() 788 return( utf8_text+5 ); in utf8_ib() [all …]
|
/dports/print/tex-luatex/texlive-20150521-source/texk/web2c/luatexdir/utils/ |
H A D | unistring.w | 124 char *uni2string(char *utf8_text, unsigned ch) 128 return (utf8_text); 131 *utf8_text++ = (char) ch; 133 *utf8_text++ = (char) (0xc0 | (ch >> 6)); 134 *utf8_text++ = (char) (0x80 | (ch & 0x3f)); 136 *utf8_text++ = (char) (0xe0 | (ch >> 12)); 138 *utf8_text++ = (char) (0x80 | (ch & 0x3f)); 143 *utf8_text++ = (char) (0xf0 | (u >> 2)); 145 *utf8_text++ = (char) (0x80 | y); 146 *utf8_text++ = (char) (0x80 | x); [all …]
|
/dports/devel/tex-synctex/texlive-20150521-source/texk/web2c/luatexdir/utils/ |
H A D | unistring.w | 124 char *uni2string(char *utf8_text, unsigned ch) 128 return (utf8_text); 131 *utf8_text++ = (char) ch; 133 *utf8_text++ = (char) (0xc0 | (ch >> 6)); 134 *utf8_text++ = (char) (0x80 | (ch & 0x3f)); 136 *utf8_text++ = (char) (0xe0 | (ch >> 12)); 138 *utf8_text++ = (char) (0x80 | (ch & 0x3f)); 143 *utf8_text++ = (char) (0xf0 | (u >> 2)); 145 *utf8_text++ = (char) (0x80 | y); 146 *utf8_text++ = (char) (0x80 | x); [all …]
|
/dports/devel/tex-web2c/texlive-20150521-source/texk/web2c/luatexdir/utils/ |
H A D | unistring.w | 124 char *uni2string(char *utf8_text, unsigned ch) 128 return (utf8_text); 131 *utf8_text++ = (char) ch; 133 *utf8_text++ = (char) (0xc0 | (ch >> 6)); 134 *utf8_text++ = (char) (0x80 | (ch & 0x3f)); 136 *utf8_text++ = (char) (0xe0 | (ch >> 12)); 138 *utf8_text++ = (char) (0x80 | (ch & 0x3f)); 143 *utf8_text++ = (char) (0xf0 | (u >> 2)); 145 *utf8_text++ = (char) (0x80 | y); 146 *utf8_text++ = (char) (0x80 | x); [all …]
|
/dports/japanese/tex-ptex/texlive-20150521-source/texk/web2c/luatexdir/utils/ |
H A D | unistring.w | 124 char *uni2string(char *utf8_text, unsigned ch) 128 return (utf8_text); 131 *utf8_text++ = (char) ch; 133 *utf8_text++ = (char) (0xc0 | (ch >> 6)); 134 *utf8_text++ = (char) (0x80 | (ch & 0x3f)); 136 *utf8_text++ = (char) (0xe0 | (ch >> 12)); 138 *utf8_text++ = (char) (0x80 | (ch & 0x3f)); 143 *utf8_text++ = (char) (0xf0 | (u >> 2)); 145 *utf8_text++ = (char) (0x80 | y); 146 *utf8_text++ = (char) (0x80 | x); [all …]
|
/dports/print/tex-basic-engines/texlive-20150521-source/texk/web2c/luatexdir/utils/ |
H A D | unistring.w | 124 char *uni2string(char *utf8_text, unsigned ch) 128 return (utf8_text); 131 *utf8_text++ = (char) ch; 133 *utf8_text++ = (char) (0xc0 | (ch >> 6)); 134 *utf8_text++ = (char) (0x80 | (ch & 0x3f)); 136 *utf8_text++ = (char) (0xe0 | (ch >> 12)); 138 *utf8_text++ = (char) (0x80 | (ch & 0x3f)); 143 *utf8_text++ = (char) (0xf0 | (u >> 2)); 145 *utf8_text++ = (char) (0x80 | y); 146 *utf8_text++ = (char) (0x80 | x); [all …]
|
/dports/print/tex-aleph/texlive-20150521-source/texk/web2c/luatexdir/utils/ |
H A D | unistring.w | 124 char *uni2string(char *utf8_text, unsigned ch) 128 return (utf8_text); 131 *utf8_text++ = (char) ch; 133 *utf8_text++ = (char) (0xc0 | (ch >> 6)); 134 *utf8_text++ = (char) (0x80 | (ch & 0x3f)); 136 *utf8_text++ = (char) (0xe0 | (ch >> 12)); 138 *utf8_text++ = (char) (0x80 | (ch & 0x3f)); 143 *utf8_text++ = (char) (0xf0 | (u >> 2)); 145 *utf8_text++ = (char) (0x80 | y); 146 *utf8_text++ = (char) (0x80 | x); [all …]
|
/dports/print/tex-xetex/texlive-20150521-source/texk/web2c/luatexdir/utils/ |
H A D | unistring.w | 124 char *uni2string(char *utf8_text, unsigned ch) 128 return (utf8_text); 131 *utf8_text++ = (char) ch; 133 *utf8_text++ = (char) (0xc0 | (ch >> 6)); 134 *utf8_text++ = (char) (0x80 | (ch & 0x3f)); 136 *utf8_text++ = (char) (0xe0 | (ch >> 12)); 138 *utf8_text++ = (char) (0x80 | (ch & 0x3f)); 143 *utf8_text++ = (char) (0xf0 | (u >> 2)); 145 *utf8_text++ = (char) (0x80 | y); 146 *utf8_text++ = (char) (0x80 | x); [all …]
|
/dports/games/julius/julius-1.7.0/src/platform/switch/ |
H A D | switch.c | 24 char utf8_text[MAX_VKBD_TEXT_SIZE]; member 55 encoding_to_utf8(text, vkbd.utf8_text, max_length, 0); in switch_keyboard_get() 64 swkbdConfigSetInitialText(&kbd, vkbd.utf8_text); in switch_keyboard_get() 65 rc = swkbdShow(&kbd, vkbd.utf8_text, max_length); in switch_keyboard_get() 68 encoding_from_utf8(vkbd.utf8_text, vkbd.text, max_length); in switch_keyboard_get()
|
/dports/games/augustus/augustus-3.1.0/src/platform/switch/ |
H A D | switch.c | 24 char utf8_text[MAX_VKBD_TEXT_SIZE]; member 55 encoding_to_utf8(text, vkbd.utf8_text, max_length, 0); in switch_keyboard_get() 64 swkbdConfigSetInitialText(&kbd, vkbd.utf8_text); in switch_keyboard_get() 65 rc = swkbdShow(&kbd, vkbd.utf8_text, max_length); in switch_keyboard_get() 68 encoding_from_utf8(vkbd.utf8_text, vkbd.text, max_length); in switch_keyboard_get()
|
/dports/archivers/engrampa/engrampa-1.26.0/src/ |
H A D | gtk-utils.c | 417 char *utf8_text; in _gtk_entry_set_locale_text() local 423 if (utf8_text != NULL) in _gtk_entry_set_locale_text() 424 gtk_entry_set_text (entry, utf8_text); in _gtk_entry_set_locale_text() 427 g_free (utf8_text); in _gtk_entry_set_locale_text() 434 const char *utf8_text; in _gtk_entry_get_locale_text() local 437 utf8_text = gtk_entry_get_text (entry); in _gtk_entry_get_locale_text() 438 if (utf8_text == NULL) in _gtk_entry_get_locale_text() 451 char *utf8_text; in _gtk_entry_set_filename_text() local 454 if (utf8_text != NULL) { in _gtk_entry_set_filename_text() 455 gtk_entry_set_text (entry, utf8_text); in _gtk_entry_set_filename_text() [all …]
|
/dports/print/tex-luatex/texlive-20150521-source/texk/web2c/luatexdir/unilib/ |
H A D | ustring.c | 689 return( utf8_text ); in utf8_idpb() 692 *utf8_text++ = ch; in utf8_idpb() 703 *utf8_text++ = 0xf0 | (u>>2); in utf8_idpb() 705 *utf8_text++ = 0x80 | y; in utf8_idpb() 706 *utf8_text++ = 0x80 | x; in utf8_idpb() 708 return( utf8_text ); in utf8_idpb() 717 return( utf8_text ); in utf8_ib() 719 return( utf8_text+1 ); in utf8_ib() 721 return( utf8_text+2 ); in utf8_ib() 723 return( utf8_text+3 ); in utf8_ib() [all …]
|
/dports/devel/tex-synctex/texlive-20150521-source/texk/web2c/luatexdir/unilib/ |
H A D | ustring.c | 689 return( utf8_text ); in utf8_idpb() 692 *utf8_text++ = ch; in utf8_idpb() 703 *utf8_text++ = 0xf0 | (u>>2); in utf8_idpb() 705 *utf8_text++ = 0x80 | y; in utf8_idpb() 706 *utf8_text++ = 0x80 | x; in utf8_idpb() 708 return( utf8_text ); in utf8_idpb() 717 return( utf8_text ); in utf8_ib() 719 return( utf8_text+1 ); in utf8_ib() 721 return( utf8_text+2 ); in utf8_ib() 723 return( utf8_text+3 ); in utf8_ib() [all …]
|
/dports/devel/tex-web2c/texlive-20150521-source/texk/web2c/luatexdir/unilib/ |
H A D | ustring.c | 689 return( utf8_text ); in utf8_idpb() 692 *utf8_text++ = ch; in utf8_idpb() 703 *utf8_text++ = 0xf0 | (u>>2); in utf8_idpb() 705 *utf8_text++ = 0x80 | y; in utf8_idpb() 706 *utf8_text++ = 0x80 | x; in utf8_idpb() 708 return( utf8_text ); in utf8_idpb() 717 return( utf8_text ); in utf8_ib() 719 return( utf8_text+1 ); in utf8_ib() 721 return( utf8_text+2 ); in utf8_ib() 723 return( utf8_text+3 ); in utf8_ib() [all …]
|