/dports/games/freeciv-nox11/freeciv-2.6.6/client/gui-sdl2/ |
H A D | widget_label.c | 80 if (pLabel->string_utf8 != NULL) { in redraw_label() 82 pLabel->string_utf8->fgcol = bar_color; in redraw_label() 106 if (pLabel->string_utf8->render == 3) { in redraw_label() 121 utf8_str *text = pLabel->string_utf8; in remake_label_size() 192 pLabel->string_utf8 = pstr; in create_themelabel() 223 pILabel->string_utf8 = pstr; in create_iconlabel() 258 pLabel->string_utf8 = pstr; in create_themelabel2() 354 store = pIconLabel->string_utf8->bgcol; in convert_iconlabel_to_themeiconlabel2() 358 &pIconLabel->string_utf8->bgcol.b, in convert_iconlabel_to_themeiconlabel2() 368 pIconLabel->string_utf8->bgcol = store; in convert_iconlabel_to_themeiconlabel2() [all …]
|
H A D | widget_edit.c | 161 if (pEdit_Widget->string_utf8->text != NULL in redraw_edit() 163 char *backup = pEdit_Widget->string_utf8->text; in redraw_edit() 169 pEdit_Widget->string_utf8->text = cbuf; in redraw_edit() 172 pEdit_Widget->string_utf8->text = backup; in redraw_edit() 191 if (pEdit_Widget->string_utf8->style & SF_CENTER) { in redraw_edit() 362 pEdit->string_utf8 = pstr; in create_edit() 372 pEdit->string_utf8->style |= SF_CENTER; in create_edit() 722 TTF_SetFontStyle(pEdit_Widget->string_utf8->font, in edit_field() 797 FC_FREE(pEdit_Widget->string_utf8->text); in edit_field() 798 pEdit_Widget->string_utf8->text = in edit_field() [all …]
|
H A D | widget_button.c | 69 if (pIButton->string_utf8 != NULL) { in redraw_ibutton() 71 TMPString = *pIButton->string_utf8; in redraw_ibutton() 149 if (pIButton->string_utf8->style & SF_CENTER) { in redraw_ibutton() 152 if (pIButton->string_utf8->style & SF_CENTER_RIGHT) { in redraw_ibutton() 165 if (pIButton->string_utf8->style & SF_CENTER) { in redraw_ibutton() 169 if (pIButton->string_utf8->style & SF_CENTER_RIGHT) { in redraw_ibutton() 185 if (pIButton->string_utf8->style & SF_CENTER) { in redraw_ibutton() 188 if (pIButton->string_utf8->style & SF_CENTER_RIGHT) { in redraw_ibutton() 279 pButton->string_utf8 = pstr; in create_icon_button() 290 pButton->string_utf8->style |= SF_CENTER; in create_icon_button()
|
H A D | pages.c | 166 pWidget->string_utf8->style |= SF_CENTER | TTF_STYLE_BOLD; in show_main_page() 180 pWidget->string_utf8->style |= SF_CENTER | TTF_STYLE_BOLD; in show_main_page() 194 pWidget->string_utf8->style |= SF_CENTER; in show_main_page() 209 pWidget->string_utf8->style |= SF_CENTER; in show_main_page() 224 pWidget->string_utf8->style |= SF_CENTER; in show_main_page() 239 pWidget->string_utf8->style |= SF_CENTER; in show_main_page() 254 pWidget->string_utf8->style |= SF_CENTER; in show_main_page() 269 pWidget->string_utf8->style |= SF_CENTER; in show_main_page() 284 pWidget->string_utf8->style |= SF_CENTER; in show_main_page()
|
H A D | messagewin.c | 74 pWidget->string_utf8->fgcol = *get_theme_color(COLOR_THEME_MESWIN_ACTIVE_TEXT2); in msg_callback() 161 pBuf->string_utf8->bgcol = (SDL_Color) {0, 0, 0, 0}; in real_meswin_dialog_update() 170 pBuf->string_utf8->fgcol = *get_theme_color(COLOR_THEME_MESWIN_ACTIVE_TEXT2); in real_meswin_dialog_update() 172 pBuf->string_utf8->fgcol = *get_theme_color(COLOR_THEME_MESWIN_ACTIVE_TEXT); in real_meswin_dialog_update() 200 pBuf->string_utf8->bgcol = (SDL_Color) {0, 0, 0, 0}; in real_meswin_dialog_update() 209 pBuf->string_utf8->fgcol = *get_theme_color(COLOR_THEME_MESWIN_ACTIVE_TEXT2); in real_meswin_dialog_update() 211 pBuf->string_utf8->fgcol = *get_theme_color(COLOR_THEME_MESWIN_ACTIVE_TEXT); in real_meswin_dialog_update()
|
H A D | widget_combo.c | 73 text = create_text_surf_from_utf8(combo->string_utf8); in combo_redraw() 77 if (combo->string_utf8->style & SF_CENTER) { in combo_redraw() 80 if (combo->string_utf8->style & SF_CENTER_RIGHT) { in combo_redraw() 127 copy_chars_to_utf8_str(combo->string_utf8, label->string_utf8->text); in combo_menu_item_callback() 245 combo->string_utf8 = pstr; in combo_new() 256 combo->string_utf8->style |= SF_CENTER; in combo_new()
|
H A D | connectdlg.c | 342 pNewWidget->string_utf8->style |= SF_CENTER; in popup_connection_dialog() 474 if (pWidget->string_utf8->text != NULL) { in convert_playername_callback() 475 sz_strlcpy(user_name, pWidget->string_utf8->text); in convert_playername_callback() 494 if (pWidget->string_utf8->text != NULL) { in convert_servername_callback() 495 sz_strlcpy(server_host, pWidget->string_utf8->text); in convert_servername_callback() 516 if (pWidget->string_utf8->text != NULL) { in convert_portnr_callback() 517 sscanf(pWidget->string_utf8->text, "%d", &server_port); in convert_portnr_callback() 731 if (pWidget->string_utf8->text != NULL) { in convert_passwd_callback() 905 if (pWidget->string_utf8->text != NULL) { in convert_first_passwd_callback() 922 if (pWidget->string_utf8->text != NULL in convert_second_passwd_callback() [all …]
|
H A D | cityrep.c | 978 copy_chars_to_utf8_str(pWidget->string_utf8, cbuf); in real_city_report_dialog_update_city() 989 copy_chars_to_utf8_str(pWidget->string_utf8, cbuf); in real_city_report_dialog_update_city() 994 copy_chars_to_utf8_str(pWidget->string_utf8, cbuf); in real_city_report_dialog_update_city() 1010 copy_chars_to_utf8_str(pWidget->string_utf8, cbuf); in real_city_report_dialog_update_city() 1013 pWidget->string_utf8->fgcol.r = 255; in real_city_report_dialog_update_city() 1015 pWidget->string_utf8->fgcol.r = 0; in real_city_report_dialog_update_city() 1021 copy_chars_to_utf8_str(pWidget->string_utf8, cbuf); in real_city_report_dialog_update_city() 1026 copy_chars_to_utf8_str(pWidget->string_utf8, cbuf); in real_city_report_dialog_update_city() 1031 copy_chars_to_utf8_str(pWidget->string_utf8, cbuf); in real_city_report_dialog_update_city() 1036 copy_chars_to_utf8_str(pWidget->string_utf8, cbuf); in real_city_report_dialog_update_city() [all …]
|
/dports/games/freeciv/freeciv-2.6.6/client/gui-sdl2/ |
H A D | widget_label.c | 80 if (pLabel->string_utf8 != NULL) { in redraw_label() 82 pLabel->string_utf8->fgcol = bar_color; in redraw_label() 106 if (pLabel->string_utf8->render == 3) { in redraw_label() 121 utf8_str *text = pLabel->string_utf8; in remake_label_size() 192 pLabel->string_utf8 = pstr; in create_themelabel() 223 pILabel->string_utf8 = pstr; in create_iconlabel() 258 pLabel->string_utf8 = pstr; in create_themelabel2() 354 store = pIconLabel->string_utf8->bgcol; in convert_iconlabel_to_themeiconlabel2() 358 &pIconLabel->string_utf8->bgcol.b, in convert_iconlabel_to_themeiconlabel2() 368 pIconLabel->string_utf8->bgcol = store; in convert_iconlabel_to_themeiconlabel2() [all …]
|
H A D | widget_edit.c | 161 if (pEdit_Widget->string_utf8->text != NULL in redraw_edit() 163 char *backup = pEdit_Widget->string_utf8->text; in redraw_edit() 169 pEdit_Widget->string_utf8->text = cbuf; in redraw_edit() 172 pEdit_Widget->string_utf8->text = backup; in redraw_edit() 191 if (pEdit_Widget->string_utf8->style & SF_CENTER) { in redraw_edit() 362 pEdit->string_utf8 = pstr; in create_edit() 372 pEdit->string_utf8->style |= SF_CENTER; in create_edit() 722 TTF_SetFontStyle(pEdit_Widget->string_utf8->font, in edit_field() 797 FC_FREE(pEdit_Widget->string_utf8->text); in edit_field() 798 pEdit_Widget->string_utf8->text = in edit_field() [all …]
|
H A D | widget_button.c | 69 if (pIButton->string_utf8 != NULL) { in redraw_ibutton() 71 TMPString = *pIButton->string_utf8; in redraw_ibutton() 149 if (pIButton->string_utf8->style & SF_CENTER) { in redraw_ibutton() 152 if (pIButton->string_utf8->style & SF_CENTER_RIGHT) { in redraw_ibutton() 165 if (pIButton->string_utf8->style & SF_CENTER) { in redraw_ibutton() 169 if (pIButton->string_utf8->style & SF_CENTER_RIGHT) { in redraw_ibutton() 185 if (pIButton->string_utf8->style & SF_CENTER) { in redraw_ibutton() 188 if (pIButton->string_utf8->style & SF_CENTER_RIGHT) { in redraw_ibutton() 279 pButton->string_utf8 = pstr; in create_icon_button() 290 pButton->string_utf8->style |= SF_CENTER; in create_icon_button()
|
H A D | pages.c | 166 pWidget->string_utf8->style |= SF_CENTER | TTF_STYLE_BOLD; in show_main_page() 180 pWidget->string_utf8->style |= SF_CENTER | TTF_STYLE_BOLD; in show_main_page() 194 pWidget->string_utf8->style |= SF_CENTER; in show_main_page() 209 pWidget->string_utf8->style |= SF_CENTER; in show_main_page() 224 pWidget->string_utf8->style |= SF_CENTER; in show_main_page() 239 pWidget->string_utf8->style |= SF_CENTER; in show_main_page() 254 pWidget->string_utf8->style |= SF_CENTER; in show_main_page() 269 pWidget->string_utf8->style |= SF_CENTER; in show_main_page() 284 pWidget->string_utf8->style |= SF_CENTER; in show_main_page()
|
H A D | messagewin.c | 74 pWidget->string_utf8->fgcol = *get_theme_color(COLOR_THEME_MESWIN_ACTIVE_TEXT2); in msg_callback() 161 pBuf->string_utf8->bgcol = (SDL_Color) {0, 0, 0, 0}; in real_meswin_dialog_update() 170 pBuf->string_utf8->fgcol = *get_theme_color(COLOR_THEME_MESWIN_ACTIVE_TEXT2); in real_meswin_dialog_update() 172 pBuf->string_utf8->fgcol = *get_theme_color(COLOR_THEME_MESWIN_ACTIVE_TEXT); in real_meswin_dialog_update() 200 pBuf->string_utf8->bgcol = (SDL_Color) {0, 0, 0, 0}; in real_meswin_dialog_update() 209 pBuf->string_utf8->fgcol = *get_theme_color(COLOR_THEME_MESWIN_ACTIVE_TEXT2); in real_meswin_dialog_update() 211 pBuf->string_utf8->fgcol = *get_theme_color(COLOR_THEME_MESWIN_ACTIVE_TEXT); in real_meswin_dialog_update()
|
H A D | widget_combo.c | 73 text = create_text_surf_from_utf8(combo->string_utf8); in combo_redraw() 77 if (combo->string_utf8->style & SF_CENTER) { in combo_redraw() 80 if (combo->string_utf8->style & SF_CENTER_RIGHT) { in combo_redraw() 127 copy_chars_to_utf8_str(combo->string_utf8, label->string_utf8->text); in combo_menu_item_callback() 245 combo->string_utf8 = pstr; in combo_new() 256 combo->string_utf8->style |= SF_CENTER; in combo_new()
|
H A D | connectdlg.c | 342 pNewWidget->string_utf8->style |= SF_CENTER; in popup_connection_dialog() 474 if (pWidget->string_utf8->text != NULL) { in convert_playername_callback() 475 sz_strlcpy(user_name, pWidget->string_utf8->text); in convert_playername_callback() 494 if (pWidget->string_utf8->text != NULL) { in convert_servername_callback() 495 sz_strlcpy(server_host, pWidget->string_utf8->text); in convert_servername_callback() 516 if (pWidget->string_utf8->text != NULL) { in convert_portnr_callback() 517 sscanf(pWidget->string_utf8->text, "%d", &server_port); in convert_portnr_callback() 731 if (pWidget->string_utf8->text != NULL) { in convert_passwd_callback() 905 if (pWidget->string_utf8->text != NULL) { in convert_first_passwd_callback() 922 if (pWidget->string_utf8->text != NULL in convert_second_passwd_callback() [all …]
|
H A D | cityrep.c | 978 copy_chars_to_utf8_str(pWidget->string_utf8, cbuf); in real_city_report_dialog_update_city() 989 copy_chars_to_utf8_str(pWidget->string_utf8, cbuf); in real_city_report_dialog_update_city() 994 copy_chars_to_utf8_str(pWidget->string_utf8, cbuf); in real_city_report_dialog_update_city() 1010 copy_chars_to_utf8_str(pWidget->string_utf8, cbuf); in real_city_report_dialog_update_city() 1013 pWidget->string_utf8->fgcol.r = 255; in real_city_report_dialog_update_city() 1015 pWidget->string_utf8->fgcol.r = 0; in real_city_report_dialog_update_city() 1021 copy_chars_to_utf8_str(pWidget->string_utf8, cbuf); in real_city_report_dialog_update_city() 1026 copy_chars_to_utf8_str(pWidget->string_utf8, cbuf); in real_city_report_dialog_update_city() 1031 copy_chars_to_utf8_str(pWidget->string_utf8, cbuf); in real_city_report_dialog_update_city() 1036 copy_chars_to_utf8_str(pWidget->string_utf8, cbuf); in real_city_report_dialog_update_city() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/minizip/src/ |
H A D | mz_os_posix.c | 41 uint8_t *string_utf8 = NULL; in mz_os_utf8_string_create() local 66 string_utf8 = (uint8_t *)MZ_ALLOC((int32_t)(string_utf8_size + 1)); in mz_os_utf8_string_create() 67 string_utf8_ptr = string_utf8; in mz_os_utf8_string_create() 69 if (string_utf8) in mz_os_utf8_string_create() 71 memset(string_utf8, 0, string_utf8_size + 1); in mz_os_utf8_string_create() 81 MZ_FREE(string_utf8); in mz_os_utf8_string_create() 82 string_utf8 = NULL; in mz_os_utf8_string_create() 85 return string_utf8; in mz_os_utf8_string_create()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/minizip/src/ |
H A D | mz_os_posix.c | 41 uint8_t *string_utf8 = NULL; in mz_os_utf8_string_create() local 66 string_utf8 = (uint8_t *)MZ_ALLOC((int32_t)(string_utf8_size + 1)); in mz_os_utf8_string_create() 67 string_utf8_ptr = string_utf8; in mz_os_utf8_string_create() 69 if (string_utf8) in mz_os_utf8_string_create() 71 memset(string_utf8, 0, string_utf8_size + 1); in mz_os_utf8_string_create() 81 MZ_FREE(string_utf8); in mz_os_utf8_string_create() 82 string_utf8 = NULL; in mz_os_utf8_string_create() 85 return string_utf8; in mz_os_utf8_string_create()
|
/dports/audio/spectmorph/spectmorph-0.5.2/3rdparty/minizip/ |
H A D | mz_os_posix.c | 41 uint8_t *string_utf8 = NULL; 66 string_utf8 = (uint8_t *)MZ_ALLOC((int32_t)(string_utf8_size + 1)); 67 string_utf8_ptr = string_utf8; 69 if (string_utf8) 71 memset(string_utf8, 0, string_utf8_size + 1); 81 MZ_FREE(string_utf8); 82 string_utf8 = NULL; 85 return string_utf8;
|
/dports/math/R-cran-haven/haven/src/ |
H A D | DfWriter.cpp | 13 inline const char* string_utf8(SEXP x, int i) { in string_utf8() function 96 readstat_writer_set_file_label(writer_, string_utf8(label, 0)); in setFileLabel() 142 const char* name = string_utf8(names, j); in write() 181 status = insertValue(var, string_utf8(col, i), string_is_missing(col, i)); in write() 208 return string_utf8(label, 0); in var_label() 215 return string_utf8(format, 0); in var_format() 251 readstat_label_int32_value(labelSet, i + 1, string_utf8(levels, i)); in defineVariable() 259 readstat_label_int32_value(labelSet, values[i], string_utf8(labels, i)); in defineVariable() 285 readstat_label_tagged_value(labelSet, tag, string_utf8(labels, i)); in defineVariable() 325 readstat_label_string_value(labelSet, string_utf8(values, i), string_utf8(labels, i)); in defineVariable() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/crashpad/crashpad/minidump/ |
H A D | minidump_string_writer.h | 101 void SetUTF8(const std::string& string_utf8); 121 void SetUTF8(const std::string& string_utf8) { set_string(string_utf8); } in SetUTF8() argument 160 void AddStringUTF8(const std::string& string_utf8);
|
H A D | minidump_string_writer.cc | 89 void MinidumpUTF16StringWriter::SetUTF8(const std::string& string_utf8) { in SetUTF8() argument 92 set_string(MinidumpWriterUtil::ConvertUTF8ToUTF16(string_utf8)); in SetUTF8() 121 const std::string& string_utf8) { in AddStringUTF8() argument 123 string_writer->SetUTF8(string_utf8); in AddStringUTF8()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/crashpad/crashpad/minidump/ |
H A D | minidump_string_writer.h | 101 void SetUTF8(const std::string& string_utf8); 121 void SetUTF8(const std::string& string_utf8) { set_string(string_utf8); } in SetUTF8() argument 160 void AddStringUTF8(const std::string& string_utf8);
|
H A D | minidump_string_writer.cc | 89 void MinidumpUTF16StringWriter::SetUTF8(const std::string& string_utf8) { in SetUTF8() argument 92 set_string(MinidumpWriterUtil::ConvertUTF8ToUTF16(string_utf8)); in SetUTF8() 121 const std::string& string_utf8) { in AddStringUTF8() argument 123 string_writer->SetUTF8(string_utf8); in AddStringUTF8()
|
/dports/audio/wavpack/wavpack-5.4.0/cli/ |
H A D | win32_unicode_support.c | 134 int fputs_utf8 (const char *string_utf8, FILE *stream) in fputs_utf8() argument 146 return fputs (string_utf8, stream); in fputs_utf8() 149 return fputs (string_utf8, stream); in fputs_utf8() 151 wide_string = utf8_to_utf16(string_utf8); in fputs_utf8() 157 fputs (string_utf8, stream); in fputs_utf8()
|