/dports/print/simple-fb2-reader/simple-fb2-reader-1.1.3/src/reader/reader_app/ |
H A D | reader_app_config.c | 8 GKeyFile* app_config = g_key_file_new(); in reader_app_config() local 21 g_key_file_set_integer(app_config, "app", "x_pos", 640/2); in reader_app_config() 22 g_key_file_set_integer(app_config, "app", "y_pos", 480/2); in reader_app_config() 23 g_key_file_set_integer(app_config, "app", "width", 640); in reader_app_config() 24 g_key_file_set_integer(app_config, "app", "height", 480); in reader_app_config() 27 g_key_file_set_double(app_config, "app", "font_scale", 1.0); in reader_app_config() 38 g_key_file_set_integer(app_config, "app", "x_pos", 640/2); in reader_app_config() 41 g_key_file_set_integer(app_config, "app", "y_pos", 480/2); in reader_app_config() 44 g_key_file_set_integer(app_config, "app", "width", 640); in reader_app_config() 47 g_key_file_set_integer(app_config, "app", "height", 480); in reader_app_config() [all …]
|
H A D | reader_close_app.c | 5 GKeyFile* app_config = app->app_config; in reader_close_app() local 22 g_key_file_set_boolean(app_config, "app", "maximize", g_value_get_boolean(&value)); in reader_close_app() 28 g_key_file_set_double(app_config, "app", "font_scale", font_scale); in reader_close_app() 34 g_key_file_set_integer(app_config, "app", "width", main_wnd_width); in reader_close_app() 35 g_key_file_set_integer(app_config, "app", "height", main_wnd_height); in reader_close_app() 40 g_key_file_set_integer(app_config, "app", "x_pos", main_wnd_x_pos); in reader_close_app() 41 g_key_file_set_integer(app_config, "app", "y_pos", main_wnd_y_pos); in reader_close_app() 44 if(g_key_file_save_to_file(app_config, app_config_path, NULL) == FALSE) in reader_close_app()
|
H A D | reader_app_gui.c | 31 gint main_wnd_x_pos = g_key_file_get_integer(app->app_config, "app", "x_pos", NULL); in reader_app_gui() 32 gint main_wnd_y_pos = g_key_file_get_integer(app->app_config, "app", "y_pos", NULL); in reader_app_gui() 35 gint main_wnd_width = g_key_file_get_integer(app->app_config, "app", "width", NULL); in reader_app_gui() 36 gint main_wnd_height = g_key_file_get_integer(app->app_config, "app", "height", NULL); in reader_app_gui() 39 if(g_key_file_get_boolean(app->app_config, "app", "maximize", NULL) == TRUE) in reader_app_gui() 42 …app->auto_scroll_period = g_key_file_get_integer(app->app_config, "app", "auto_scroll_period", N… in reader_app_gui()
|
/dports/net/pjsip/pjproject-2.11.1/pjsip-apps/src/pjsua/ |
H A D | pjsua_app.c | 417 if ((app_config.auto_play || app_config.auto_play_hangup) && in on_call_audio_state() 429 pjsua_conf_connect(app_config.avi[app_config.avi_def_idx].slot, in on_call_audio_state() 458 if (app_config.auto_rec && app_config.rec_port != in on_call_audio_state() 1400 app_config.media_cfg.snd_rec_latency = app_config.capture_lat; in app_init() 1402 app_config.media_cfg.snd_play_latency = app_config.playback_lat; in app_init() 1408 status = pjsua_init(&app_config.cfg, &app_config.log_cfg, in app_init() 1684 if (!app_config.no_udp && app_config.ipv6) { in app_init() 1753 if (!app_config.no_tcp && app_config.ipv6) { in app_init() 1821 if (app_config.use_tls && app_config.ipv6) { in app_init() 1862 app_config.acc_cfg[i].rtp_cfg = app_config.rtp_cfg; in app_init() [all …]
|
H A D | pjsua_app_common.c | 41 pjsua_app_config app_config; variable 183 acc_cfg->vid_in_auto_show = app_config.vid.in_auto_show; in app_config_init_video() 184 acc_cfg->vid_out_auto_transmit = app_config.vid.out_auto_transmit; in app_config_init_video() 190 acc_cfg->vid_cap_dev = app_config.vid.vcapture_dev; in app_config_init_video() 191 acc_cfg->vid_rend_dev = app_config.vid.vrender_dev; in app_config_init_video() 193 if (app_config.avi_auto_play && in app_config_init_video() 194 app_config.avi_def_idx != PJSUA_INVALID_ID && in app_config_init_video() 195 app_config.avi[app_config.avi_def_idx].dev_id != PJMEDIA_VID_INVALID_DEV) in app_config_init_video() 197 acc_cfg->vid_cap_dev = app_config.avi[app_config.avi_def_idx].dev_id; in app_config_init_video() 219 alt_part = pjsip_multipart_create_part(app_config.pool); in add_multipart() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/webapp2/tests/ |
H A D | extras_config_test.py | 4 from webapp2_extras import config as app_config unknown 14 config = app_config.Config({'foo': { 45 config = app_config.Config() 61 config = app_config.Config() 66 config = app_config.Config() 93 config = app_config.Config() 123 config = app_config.Config() 140 config = app_config.Config() 147 config = app_config.Config() 153 config = app_config.Config() [all …]
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/slic3r/GUI/ |
H A D | Preferences.cpp | 51 auto app_config = get_app_config(); in build() local 73 …def.set_default_value(new ConfigOptionBool{ app_config->has("remember_output_path") ? app_config->… in build() 169 …def.set_default_value(new ConfigOptionBool{ app_config->has("single_instance") ? app_config->get("… in build() 354 auto app_config = get_app_config(); in accept() local 366 if (it != m_values.end() && app_config->get(key) != it->second) { in accept() 379 app_config->set(it->first, it->second); in accept() 381 app_config->save(); in accept() 414 const auto app_config = get_app_config(); in create_icon_size_slider() local 477 auto app_config = get_app_config(); in create_settings_mode_widget() local 478 int selection = app_config->get("old_settings_layout_mode") == "1" ? 0 : in create_settings_mode_widget() [all …]
|
H A D | GUI_App.cpp | 682 if (app_config != nullptr) in ~GUI_App() 683 delete app_config; in ~GUI_App() 738 if (!app_config) in init_app_config() 822 app_config->save(); in on_init_inner() 953 if (app_config->dirty() && app_config->get("autosave") == "1") in on_init_inner() 1072 app_config->save(); in on_init_inner() 1080 app_config->save(); in on_init_inner() 1425 app_config->save(); in on_init_inner() 1587 app_config->save(); in on_init_inner() 1909 app_config = nullptr; in on_init_inner() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/fuchsia/runners/cast/ |
H A D | fake_application_config_manager.cc | 21 chromium::cast::ApplicationConfig app_config; in CreateConfig() local 22 app_config.set_id(id); in CreateConfig() 23 app_config.set_display_name("Dummy test app"); in CreateConfig() 24 app_config.set_web_url(url.spec()); in CreateConfig() 25 app_config.set_agent_url(kAgentComponentUrl); in CreateConfig() 31 app_config.mutable_permissions()->push_back(std::move(permission)); in CreateConfig() 33 return app_config; in CreateConfig() 40 chromium::cast::ApplicationConfig app_config) { in AddAppConfig() argument 41 id_to_config_[app_config.id()] = std::move(app_config); in AddAppConfig()
|
H A D | cast_runner.cc | 52 return !params.app_config.IsEmpty() && in AreCastComponentParamsValid() 99 if (app_config.has_permissions()) { in IsPermissionGrantedInAppConfig() 210 chromium::cast::ApplicationConfig app_config) { in GetConfigCallback() argument 214 if (app_config.IsEmpty()) { in GetConfigCallback() 220 if (!app_config.has_web_url()) { in GetConfigCallback() 226 if (!app_config.has_agent_url()) { in GetConfigCallback() 232 pending_component->app_config = std::move(app_config); in GetConfigCallback() 237 pending_component->app_config.agent_url(), in GetConfigCallback() 248 pending_component->app_config.agent_url(), in GetConfigCallback() 305 if (pending_component_params->app_config in MaybeStartComponent() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/fuchsia/runners/cast/ |
H A D | fake_application_config_manager.cc | 20 chromium::cast::ApplicationConfig app_config; in CreateConfig() local 21 app_config.set_id(id); in CreateConfig() 22 app_config.set_display_name("Dummy test app"); in CreateConfig() 23 app_config.set_web_url(url.spec()); in CreateConfig() 24 app_config.set_agent_url(kFakeAgentUrl); in CreateConfig() 30 app_config.mutable_permissions()->push_back(std::move(permission)); in CreateConfig() 32 return app_config; in CreateConfig() 39 chromium::cast::ApplicationConfig app_config) { in AddAppConfig() argument 40 id_to_config_[app_config.id()] = std::move(app_config); in AddAppConfig()
|
/dports/net/geoclue/geoclue-3bb60dd600a8b247fd6049e7e5b1c73c2c5fc0e8/src/ |
H A D | gclue-config.c | 67 app_config_free (AppConfig *app_config) in app_config_free() argument 69 g_free (app_config->id); in app_config_free() 70 g_free (app_config->users); in app_config_free() 134 AppConfig *app_config; in load_app_configs() local 177 app_config->users = users; in load_app_configs() 373 AppConfig *app_config = NULL; in gclue_config_get_app_perm() local 387 if (app_config == NULL) { in gclue_config_get_app_perm() 393 if (!app_config->allowed) { in gclue_config_get_app_perm() 399 if (app_config->num_users == 0) in gclue_config_get_app_perm() 418 AppConfig *app_config = NULL; in gclue_config_is_system_component() local [all …]
|
/dports/www/py-turbogears2/TurboGears2-2.3.12/tg/configuration/ |
H A D | app_config.py | 919 self._setup_auth(app_config) 920 self._setup_renderers(app_config) 921 self._setup_persistence(app_config) 927 return app_config 934 app = ErrorReporter(app, app_config, **app_config['tg.errorware']) 940 if app_config['handle_error_page']: 953 return SlowReqsReporter(app, app_config, **app_config['tg.slowreqs']) 957 return ErrorHandler(app, app_config) 967 auth_args = copy(app_config['sa_auth']) 1239 app = TGApp(app_config) [all …]
|
/dports/www/py-django-cms/django-cms-3.7.1/cms/ |
H A D | app_base.py | 14 app_config = None variable in CMSApp 25 if cls.app_config: 26 if getattr(cls.app_config, 'cmsapp', None) and cls.app_config.cmsapp != cls: 30 cls.app_config.cmsapp.__name__, cls.app_config.__name__ 33 cls.app_config.cmsapp = cls
|
/dports/x11/wmfocus/wmfocus-1.2.0/src/ |
H A D | main.rs | 38 let app_config = args::parse_args(); in main() localVariable 71 &app_config.hint_chars, in main() 79 &app_config.font.font_family, in main() 80 app_config.font.font_size, in main() 115 let x_offset = app_config.offset.x; in main() 116 let mut x = match app_config.horizontal_align { in main() 126 let y_offset = app_config.offset.y; in main() 127 let y = match app_config.vertical_align { in main() 279 if app_config.hint_chars.contains(kstr) { in main() 306 if app_config.print_only { in main() [all …]
|
H A D | utils.rs | 74 app_config: &AppConfig, in draw_hint_text() 81 app_config.bg_color.0, in draw_hint_text() 82 app_config.bg_color.1, in draw_hint_text() 83 app_config.bg_color.2, in draw_hint_text() 89 &app_config.font.font_family, in draw_hint_text() 98 app_config.text_color_alt.0, in draw_hint_text() 99 app_config.text_color_alt.1, in draw_hint_text() 112 app_config.text_color.0, in draw_hint_text() 113 app_config.text_color.1, in draw_hint_text() 114 app_config.text_color.2, in draw_hint_text() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/web_applications/ |
H A D | external_web_app_utils.cc | 156 const base::Value& app_config) { in ParseConfig() argument 161 if (app_config.type() != base::Value::Type::DICTIONARY) { in ParseConfig() 202 value = app_config.FindKey(kOnlyForNewUsers); in ParseConfig() 213 value = app_config.FindKey(kHideFromUser); in ParseConfig() 227 value = app_config.FindKey(kCreateShortcuts); in ParseConfig() 242 value = app_config.FindKey(kDisableIfArcSupported); in ParseConfig() 252 value = app_config.FindKey(kDisableIfTabletFormFactor); in ParseConfig() 278 value = app_config.FindKey(kLaunchQueryParams); in ParseConfig() 318 value = app_config.FindKey(kUninstallAndReplace); in ParseConfig() 341 value = app_config.FindKey(kOnlyUseOfflineManifest); in ParseConfig() [all …]
|
/dports/devel/cargo-generate/cargo-generate-0.9.0/src/ |
H A D | favorites.rs | 4 app_config::{AppConfig, FavoriteConfig}, 10 pub(crate) fn list_favorites(app_config: &AppConfig, args: &Args) -> Result<()> { in list_favorites() 12 let mut d = app_config in list_favorites() 52 app_config: &AppConfig, in resolve_favorite_args_and_default_values() 57 return Ok(app_config.values.clone()); in resolve_favorite_args_and_default_values() 61 return Ok(app_config.values.clone()); in resolve_favorite_args_and_default_values() 69 let (values, git, branch, subfolder, path) = app_config in resolve_favorite_args_and_default_values() 88 let values = match app_config.values.clone() { in resolve_favorite_args_and_default_values()
|
/dports/cad/PrusaSlicer/PrusaSlicer-version_2.3.3/src/slic3r/Config/ |
H A D | Snapshot.hpp | 55 bool equal_to_active(const AppConfig &app_config) const; 108 …const Snapshot& take_snapshot(const AppConfig &app_config, Snapshot::Reason reason, const std:… 109 const Snapshot& restore_snapshot(const std::string &id, AppConfig &app_config); 110 void restore_snapshot(const Snapshot &snapshot, AppConfig &app_config); 113 bool is_on_snapshot(AppConfig &app_config) const; 131 const Snapshot* take_config_snapshot_report_error(const AppConfig &app_config, Snapshot::Reason rea… 135 bool take_config_snapshot_cancel_on_error(const AppConfig &app_config, Snapshot::Reason reason, con…
|
H A D | Snapshot.cpp | 249 bool Snapshot::equal_to_active(const AppConfig &app_config) const in equal_to_active() 257 if (it_vendor_models_variants == app_config.vendors().end() || in equal_to_active() 401 snapshot.print = app_config.get("presets", "print"); in take_snapshot() 410 if (! app_config.has("presets", name)) in take_snapshot() 412 snapshot.filaments.emplace_back(app_config.get("presets", name)); in take_snapshot() 474 this->restore_snapshot(snapshot, app_config); in restore_snapshot() 495 snapshot.export_selections(app_config); in restore_snapshot() 496 snapshot.export_vendor_configs(app_config); in restore_snapshot() 499 bool SnapshotDB::is_on_snapshot(AppConfig &app_config) const in is_on_snapshot() 502 std::string on_snapshot = app_config.get("on_snapshot"); in is_on_snapshot() [all …]
|
/dports/www/py-horizon/horizon-19.2.0/horizon/contrib/staticfiles/ |
H A D | finders.py | 27 for app_config in app_configs: 28 if 'openstack_dashboard' in app_config.path: 29 for panel in os.listdir(app_config.path): 30 panel_path = os.path.join(app_config.path, panel) 36 panel_name = app_config.name + panel
|
/dports/databases/db18/db-18.1.40/examples/cxx/excxx_repquote_gsg/ |
H A D | RepMgrWrforGSG.cpp | 53 RepConfigInfo *app_config; member in RepMgrWrforGSG 157 RepMgrWrforGSG::RepMgrWrforGSG() : app_config(0), dbenv((u_int32_t)0) in RepMgrWrforGSG() 165 app_config = config; in init() 171 dbenv.repmgr_site(app_config->this_host.host, in init() 172 app_config->this_host.port, &dbsite, 0); in init() 174 if (app_config->this_host.creator) in init() 180 for ( REP_HOST_INFO *cur = app_config->other_hosts; in init() 181 cur != NULL && i <= app_config->nrsites; in init() 197 dbenv.open(app_config->home, DB_CREATE | DB_RECOVER | in init() 211 if ((ret = dbenv.repmgr_start(3, app_config->start_policy)) != 0) in init() [all …]
|
H A D | RepMgrGSG.cpp | 68 RepConfigInfo *app_config; member in RepMgrGSG 176 RepMgrGSG::RepMgrGSG() : app_config(0), dbenv((u_int32_t)0) in RepMgrGSG() 185 app_config = config; in init() 194 dbenv.repmgr_site(app_config->this_host.host, in init() 195 app_config->this_host.port, &dbsite, 0); in init() 197 if (app_config->this_host.creator) in init() 203 for ( REP_HOST_INFO *cur = app_config->other_hosts; in init() 204 cur != NULL && i <= app_config->nrsites; in init() 213 dbenv.rep_set_priority(app_config->priority); in init() 227 dbenv.open(app_config->home, DB_CREATE | DB_RECOVER | in init() [all …]
|
/dports/x11-fm/pcmanfm/pcmanfm-1.3.2/src/ |
H A D | main-win.c | 401 switch(app_config->bm_open_method) in on_bookmark() 631 app_config->side_pane_mode = mode | (app_config->side_pane_mode & ~FM_SP_MODE_MASK); 1120 (w != app_config->win_width || h != app_config->win_height)) 1122 app_config->win_width = w; 1123 app_config->win_height = h; 1274 if(w != app_config->win_width || h != app_config->win_height) 1552 if (app_config->home_path && app_config->home_path[0]) 1637 if (!app_config->show_statusbar) 1701 if (app_config->maximized) 1883 app_config->tb.nav = active; [all …]
|
/dports/databases/db5/db-5.3.28/examples/cxx/excxx_repquote_gsg/ |
H A D | RepMgrGSG.cpp | 68 RepConfigInfo *app_config; member in RepMgrGSG 154 RepMgrGSG::RepMgrGSG() : app_config(0), dbenv(0) in RepMgrGSG() 163 app_config = config; in init() 172 dbenv.repmgr_site(app_config->this_host.host, in init() 173 app_config->this_host.port, &dbsite, 0); in init() 175 if (app_config->this_host.creator) in init() 181 for ( REP_HOST_INFO *cur = app_config->other_hosts; in init() 182 cur != NULL && i <= app_config->nrsites; in init() 191 dbenv.rep_set_priority(app_config->priority); in init() 205 dbenv.open(app_config->home, DB_CREATE | DB_RECOVER | in init() [all …]
|