/dports/devel/autogen/autogen-5.18.16/autoopts/test/ |
H A D | cfg-edit.test | 42 homerc = ${cfg_file}; 242 mv -f ${testname}-X ${cfg_file} 275 ./${testname} ${cfg_file}-2 278 cmp ${cfg_file} ${cfg_file}-2 || \ 279 failure "mismatched: re-saved config${nl}`diff ${cfg_file} ${cfg_file}-2`" 281 rm -f ${cfg_file}-2 284 test "X`egrep -v '^#' ${cfg_file}-2`" = "X`egrep '^[a-z]' ${cfg_file}`" || \ 288 mv -f ${cfg_file}-2 ${cfg_file} 308 ${SED} '/^#/d' ${cfg_file}-XX > ${cfg_file}-2 309 cat > ${cfg_file}-3 <<- _EOF_ [all …]
|
/dports/x11/gxkb/gxkb-0.9.3/src/ |
H A D | gxkb.c | 97 GKeyFile *cfg_file = g_key_file_new(); in xkb_save_config() local 98 g_key_file_set_list_separator(cfg_file, ','); in xkb_save_config() 110 g_key_file_set_string(cfg_file, "xkb config", "model", in xkb_save_config() 113 g_key_file_set_string(cfg_file, "xkb config", "layouts", in xkb_save_config() 116 g_key_file_set_string(cfg_file, "xkb config", "variants", in xkb_save_config() 136 str_data = g_key_file_to_data(cfg_file, &len, NULL); in xkb_save_config() 139 g_key_file_free(cfg_file); in xkb_save_config() 143 GKeyFile *cfg_file = g_key_file_new(); in xkb_load_config() local 146 g_key_file_free(cfg_file); in xkb_load_config() 159 cfg_file, "xkb config", "never_modify_config", NULL); in xkb_load_config() [all …]
|
/dports/games/uhexen2/hexen2source-1.5.9/engine/h2shared/ |
H A D | cfgfile.c | 26 static fshandle_t *cfg_file; variable 108 } while (!FS_feof(cfg_file) && !FS_ferror(cfg_file)); in CFG_ReadCvars() 110 FS_rewind (cfg_file); in CFG_ReadCvars() 146 if (cfg_file) in CFG_CloseConfig() 148 FS_fclose(cfg_file); in CFG_CloseConfig() 149 Z_Free(cfg_file); in CFG_CloseConfig() 150 cfg_file = NULL; in CFG_CloseConfig() 168 cfg_file->file = f; in CFG_OpenConfig() 169 cfg_file->start = ftell(f); in CFG_OpenConfig() 170 cfg_file->pos = 0; in CFG_OpenConfig() [all …]
|
/dports/games/vkquake/vkQuake-1.12.2/Quake/ |
H A D | cfgfile.c | 25 static fshandle_t *cfg_file; variable 107 } while (!FS_feof(cfg_file) && !FS_ferror(cfg_file)); in CFG_ReadCvars() 109 FS_rewind (cfg_file); in CFG_ReadCvars() 145 if (cfg_file) in CFG_CloseConfig() 147 FS_fclose(cfg_file); in CFG_CloseConfig() 148 Z_Free(cfg_file); in CFG_CloseConfig() 149 cfg_file = NULL; in CFG_CloseConfig() 167 cfg_file->file = f; in CFG_OpenConfig() 169 cfg_file->pos = 0; in CFG_OpenConfig() 170 cfg_file->length = length; in CFG_OpenConfig() [all …]
|
/dports/net/sems/sems-f89581a/apps/rtmp/ |
H A D | Rtmp.cpp | 62 AmConfigReader cfg_file; in onLoad() local 64 if(cfg_file.loadPluginConf(MOD_NAME) < 0){ in onLoad() 69 if(cfg_file.hasParameter("listen_address")){ in onLoad() 73 if(cfg_file.hasParameter("listen_port")){ in onLoad() 83 if(cfg_file.hasParameter("from_name")){ in onLoad() 84 cfg.FromName = cfg_file.getParameter("from_name"); in onLoad() 87 if(cfg_file.hasParameter("from_domain")){ in onLoad() 88 cfg.FromDomain = cfg_file.getParameter("from_domain"); in onLoad() 91 if(cfg_file.hasParameter("allow_external_register")){ in onLoad() 93 cfg_file.getParameter("allow_external_register") == string("yes"); in onLoad() [all …]
|
/dports/comms/gqrx/gqrx-2.15/src/applications/gqrx/ |
H A D | main.cpp | 50 QString cfg_file; in main() local 133 cfg_file = parser.value("conf"); in main() 134 qDebug() << "User specified config file:" << cfg_file; in main() 138 cfg_file = "default.conf"; in main() 143 reset_conf(cfg_file); in main() 151 MainWindow w(cfg_file, edit_conf); in main() 184 QString cfg_file; in reset_conf() local 192 if (QFile::exists(cfg_file)) in reset_conf() 194 if (QFile::remove(cfg_file)) in reset_conf() 195 qDebug() << cfg_file << "deleted"; in reset_conf() [all …]
|
/dports/java/java-subversion/subversion-1.14.1/subversion/tests/libsvn_subr/ |
H A D | config-test.c | 60 get_config_file_path(const char **cfg_file, in get_config_file_path() argument 86 const char *cfg_file; in test_text_retrieval() local 88 SVN_ERR(get_config_file_path(&cfg_file, opts, pool)); in test_text_retrieval() 135 const char *cfg_file; in test_boolean_retrieval() local 137 SVN_ERR(get_config_file_path(&cfg_file, opts, pool)); in test_boolean_retrieval() 193 const char *cfg_file; in test_has_section_case_insensitive() local 221 const char *cfg_file; in test_has_section_case_sensitive() local 249 const char *cfg_file; in test_has_option_case_sensitive() local 289 const char *cfg_file; in test_stream_interface() local 328 const char *cfg_file; in test_read_only_mode() local [all …]
|
/dports/devel/py-subversion/subversion-1.14.1/subversion/tests/libsvn_subr/ |
H A D | config-test.c | 60 get_config_file_path(const char **cfg_file, in get_config_file_path() argument 86 const char *cfg_file; in test_text_retrieval() local 88 SVN_ERR(get_config_file_path(&cfg_file, opts, pool)); in test_text_retrieval() 135 const char *cfg_file; in test_boolean_retrieval() local 137 SVN_ERR(get_config_file_path(&cfg_file, opts, pool)); in test_boolean_retrieval() 193 const char *cfg_file; in test_has_section_case_insensitive() local 221 const char *cfg_file; in test_has_section_case_sensitive() local 249 const char *cfg_file; in test_has_option_case_sensitive() local 289 const char *cfg_file; in test_stream_interface() local 328 const char *cfg_file; in test_read_only_mode() local [all …]
|
/dports/security/subversion-gnome-keyring/subversion-1.14.1/subversion/tests/libsvn_subr/ |
H A D | config-test.c | 60 get_config_file_path(const char **cfg_file, in get_config_file_path() argument 86 const char *cfg_file; in test_text_retrieval() local 88 SVN_ERR(get_config_file_path(&cfg_file, opts, pool)); in test_text_retrieval() 135 const char *cfg_file; in test_boolean_retrieval() local 137 SVN_ERR(get_config_file_path(&cfg_file, opts, pool)); in test_boolean_retrieval() 193 const char *cfg_file; in test_has_section_case_insensitive() local 221 const char *cfg_file; in test_has_section_case_sensitive() local 249 const char *cfg_file; in test_has_option_case_sensitive() local 289 const char *cfg_file; in test_stream_interface() local 328 const char *cfg_file; in test_read_only_mode() local [all …]
|
/dports/devel/p5-subversion/subversion-1.14.1/subversion/tests/libsvn_subr/ |
H A D | config-test.c | 60 get_config_file_path(const char **cfg_file, in get_config_file_path() argument 86 const char *cfg_file; in test_text_retrieval() local 88 SVN_ERR(get_config_file_path(&cfg_file, opts, pool)); in test_text_retrieval() 135 const char *cfg_file; in test_boolean_retrieval() local 137 SVN_ERR(get_config_file_path(&cfg_file, opts, pool)); in test_boolean_retrieval() 193 const char *cfg_file; in test_has_section_case_insensitive() local 221 const char *cfg_file; in test_has_section_case_sensitive() local 249 const char *cfg_file; in test_has_option_case_sensitive() local 289 const char *cfg_file; in test_stream_interface() local 328 const char *cfg_file; in test_read_only_mode() local [all …]
|
/dports/sysutils/py-salt/salt-3004.1/salt/modules/ |
H A D | zonecfg.py | 201 def _dump_cfg(cfg_file): argument 245 _dump_cfg(cfg_file) 249 cfg=cfg_file, 422 cfg_file = None 438 if cfg_file: 439 _dump_cfg(cfg_file) 443 path=cfg_file, 573 if cfg_file: 574 _dump_cfg(cfg_file) 677 if cfg_file: [all …]
|
/dports/www/p5-CGI-Application-Plugin-ConfigAuto/CGI-Application-Plugin-ConfigAuto-1.33/lib/CGI/Application/Plugin/ |
H A D | ConfigAuto.pm | 150 my $cfg_file = $self->param($key); 151 if (defined $cfg_file) { 152 push @all_cfg_files, @$cfg_file if (ref $cfg_file eq 'ARRAY'); 153 push @all_cfg_files, $cfg_file if (ref \$cfg_file eq 'SCALAR'); 158 cfg_file($self,@all_cfg_files); 202 sub cfg_file { subroutine
|
/dports/games/odamex/odamex-src-0.7.0/odalaunch/src/ |
H A D | dlg_config.cpp | 106 cfg_file = cfg; in BEGIN_EVENT_TABLE() 119 m_ChkCtrlGetListOnStart->SetValue(cfg_file->get_list_on_start); in Show() 120 m_ChkCtrlShowBlockedServers->SetValue(cfg_file->show_blocked_servers); in Show() 125 wxStringTokenizer wadlist(cfg_file->wad_paths, _T(PATH_DELIMITER)); in Show() 140 m_DirCtrlChooseOdamexPath->SetPath(cfg_file->odamex_directory); in Show() 242 cfg_file->wad_paths = _T(""); in OnOK() 450 …ConfigInfo.Read(_T(SHOWBLOCKEDSERVERS), &cfg_file->show_blocked_servers, cfg_file->show_blocked_se… in LoadSettings() 451 cfg_file->wad_paths = ConfigInfo.Read(_T(DELIMWADPATHS), cfg_file->wad_paths); in LoadSettings() 452 cfg_file->odamex_directory = ConfigInfo.Read(_T(ODAMEX_DIRECTORY), cfg_file->odamex_directory); in LoadSettings() 462 ConfigInfo.Write(wxT(GETLISTONSTART), cfg_file->get_list_on_start); in SaveSettings() [all …]
|
/dports/sysutils/ansible2/ansible-2.9.27/test/units/config/ |
H A D | test_manager.py | 19 cfg_file = os.path.join(curdir, 'test.cfg') variable 22 expected_ini = {'CONFIG_FILE': Setting(name='CONFIG_FILE', value=cfg_file, origin='', type='string'… 23 … 'config_entry': Setting(name='config_entry', value=u'fromini', origin=cfg_file, type='string'), 24 … 'config_entry_bool': Setting(name='config_entry_bool', value=False, origin=cfg_file, type='bool'), 25 …ig_entry_list': Setting(name='config_entry_list', value=['fromini'], origin=cfg_file, type='list'), 26 …ecated': Setting(name='config_entry_deprecated', value=u'fromini', origin=cfg_file, type='string'), 27 …y_multi': Setting(name='config_entry_multi', value=u'morefromini', origin=cfg_file, type='string'), 30 origin=cfg_file, type='string')} 70 cls.manager = ConfigManager(cfg_file, os.path.join(curdir, 'test.yml')) 84 assert os.path.join(curdir, 'test.yml') == resolve_path('./test.yml', cfg_file) [all …]
|
/dports/sysutils/py-ansible-base/ansible-base-2.10.15/test/units/config/ |
H A D | test_manager.py | 19 cfg_file = os.path.join(curdir, 'test.cfg') variable 22 expected_ini = {'CONFIG_FILE': Setting(name='CONFIG_FILE', value=cfg_file, origin='', type='string'… 23 … 'config_entry': Setting(name='config_entry', value=u'fromini', origin=cfg_file, type='string'), 24 … 'config_entry_bool': Setting(name='config_entry_bool', value=False, origin=cfg_file, type='bool'), 25 …ig_entry_list': Setting(name='config_entry_list', value=['fromini'], origin=cfg_file, type='list'), 26 …ecated': Setting(name='config_entry_deprecated', value=u'fromini', origin=cfg_file, type='string'), 27 …y_multi': Setting(name='config_entry_multi', value=u'morefromini', origin=cfg_file, type='string'), 30 origin=cfg_file, type='string')} 70 cls.manager = ConfigManager(cfg_file, os.path.join(curdir, 'test.yml')) 84 assert os.path.join(curdir, 'test.yml') == resolve_path('./test.yml', cfg_file) [all …]
|
/dports/textproc/augeas/augeas-1.12.0/lenses/tests/ |
H A D | test_nagioscfg.aug | 12 cfg_file=/etc/nagios3/objects/check_commands.cfg 13 cfg_file=/etc/nagios3/objects/contact_groups.cfg 14 cfg_file=/etc/nagios3/objects/contacts.cfg 15 cfg_file=/etc/nagios3/objects/hostgroups.cfg 16 cfg_file=/etc/nagios3/objects/hosts.cfg 17 cfg_file=/etc/nagios3/objects/services.cfg 48 { "cfg_file" = "/etc/nagios3/objects/check_commands.cfg" } 50 { "cfg_file" = "/etc/nagios3/objects/contacts.cfg" } 51 { "cfg_file" = "/etc/nagios3/objects/hostgroups.cfg" } 52 { "cfg_file" = "/etc/nagios3/objects/hosts.cfg" } [all …]
|
/dports/net-mgmt/pnp/pnp4nagios-0.6.26/scripts/ |
H A D | verify_pnp_config_v2.pl | 683 my $cfg_file = shift; 684 if ( -r $cfg_file ){ 706 my $cfg_file = shift; 707 if ( -r $cfg_file ){ 708 process_cfg($cfg_file); 713 my $cfg_file = shift; 714 if ( -r $cfg_file ){ 729 my $cfg_file = shift; 730 if ( -r $cfg_file ){ 738 open (NFILE, "$cfg_file") || info_and_exit("Failed to open '$cfg_file'. $! ", 2); [all …]
|
/dports/net-mgmt/pnp-icinga2/pnp4nagios-0.6.26/scripts/ |
H A D | verify_pnp_config_v2.pl | 683 my $cfg_file = shift; 684 if ( -r $cfg_file ){ 706 my $cfg_file = shift; 707 if ( -r $cfg_file ){ 708 process_cfg($cfg_file); 713 my $cfg_file = shift; 714 if ( -r $cfg_file ){ 729 my $cfg_file = shift; 730 if ( -r $cfg_file ){ 738 open (NFILE, "$cfg_file") || info_and_exit("Failed to open '$cfg_file'. $! ", 2); [all …]
|
/dports/sysutils/tmate-ssh-server/tmate-ssh-server-97d2024/ |
H A D | cfg.c | 30 char *cfg_file; variable 43 free(cfg_file); in set_cfg_file() 44 cfg_file = xstrdup(path); in set_cfg_file() 69 if (cfg_file == NULL && (home = find_home()) != NULL) { in start_cfg() 70 xasprintf(&cfg_file, "%s/.tmux.conf", home); in start_cfg() 71 if (access(cfg_file, R_OK) != 0 && errno == ENOENT) { in start_cfg() 72 free(cfg_file); in start_cfg() 73 cfg_file = NULL; in start_cfg() 76 if (cfg_file != NULL && load_cfg(cfg_file, cfg_cmd_q, &cause) == -1) in start_cfg() 77 cfg_add_cause("%s: %s", cfg_file, cause); in start_cfg()
|
/dports/sysutils/py-ansible-core/ansible-core-2.11.6/test/units/config/ |
H A D | test_manager.py | 19 cfg_file = os.path.join(curdir, 'test.cfg') variable 22 expected_ini = {'CONFIG_FILE': Setting(name='CONFIG_FILE', value=cfg_file, origin='', type='string'… 23 … 'config_entry': Setting(name='config_entry', value=u'fromini', origin=cfg_file, type='string'), 24 … 'config_entry_bool': Setting(name='config_entry_bool', value=False, origin=cfg_file, type='bool'), 25 …ig_entry_list': Setting(name='config_entry_list', value=['fromini'], origin=cfg_file, type='list'), 26 …ecated': Setting(name='config_entry_deprecated', value=u'fromini', origin=cfg_file, type='string'), 27 …y_multi': Setting(name='config_entry_multi', value=u'morefromini', origin=cfg_file, type='string'), 30 origin=cfg_file, type='string')} 82 cls.manager = ConfigManager(cfg_file, os.path.join(curdir, 'test.yml')) 96 assert os.path.join(curdir, 'test.yml') == resolve_path('./test.yml', cfg_file) [all …]
|
/dports/sysutils/tmate/tmate-2.4.0/ |
H A D | cfg.c | 31 char *cfg_file; variable 47 free(cfg_file); in set_cfg_file() 48 cfg_file = xstrdup(path); in set_cfg_file() 73 if (cfg_file == NULL && (home = find_home()) != NULL) { in start_cfg() 74 xasprintf(&cfg_file, "%s/.tmate.conf", home); in start_cfg() 75 if (access(cfg_file, R_OK) != 0 && errno == ENOENT) { in start_cfg() 76 free(cfg_file); in start_cfg() 77 cfg_file = NULL; in start_cfg() 80 if (cfg_file != NULL && load_cfg(cfg_file, cfg_cmd_q, &cause) == -1) in start_cfg() 81 cfg_add_cause("%s: %s", cfg_file, cause); in start_cfg()
|
/dports/dns/gdnsd2/gdnsd-2.4.3/libgdnsd/ |
H A D | paths.c | 86 static vscf_data_t* conf_load_vscf(const char* cfg_file) { in conf_load_vscf() argument 90 if(!stat(cfg_file, &cfg_stat)) { in conf_load_vscf() 91 log_info("Loading configuration from '%s'", cfg_file); in conf_load_vscf() 92 out = vscf_scan_filename(cfg_file); in conf_load_vscf() 94 log_fatal("Loading configuration from '%s' failed", cfg_file); in conf_load_vscf() 97 log_fatal("Config file '%s' cannot be an '[ array ]' at the top level", cfg_file); in conf_load_vscf() 101 log_info("No config file at '%s', using defaults", cfg_file); in conf_load_vscf() 134 char* cfg_file = gdnsd_resolve_path_cfg("config", NULL); in gdnsd_initialize() local 135 vscf_data_t* cfg_root = conf_load_vscf(cfg_file); in gdnsd_initialize() 136 free(cfg_file); in gdnsd_initialize()
|
/dports/databases/mariadb105-client/mariadb-10.5.15/mysql-test/suite/encryption/include/ |
H A D | innodb-util.pl | 17 my $cfg_file = sprintf("%s.cfg", $table); 26 my @args = (File::Spec->catfile($datadir, $db, $cfg_file), 27 File::Spec->catfile($tmpd, $cfg_file)); 35 my $cfg_file = sprintf("%s.cfg", $table); 37 print "unlink: $cfg_file\n"; 40 unlink(File::Spec->catfile($datadir, $db, $cfg_file)); 70 my $cfg_file = sprintf("%s.cfg", $table); 72 my @args = (File::Spec->catfile($tmpd, $cfg_file), 73 File::Spec->catfile($datadir, "$db", $cfg_file));
|
/dports/databases/mariadb105-client/mariadb-10.5.15/mysql-test/suite/innodb/include/ |
H A D | innodb-util.pl | 17 my $cfg_file = sprintf("%s.cfg", $table); 26 my @args = (File::Spec->catfile($datadir, $db, $cfg_file), 27 File::Spec->catfile($tmpd, $cfg_file)); 35 my $cfg_file = sprintf("%s.cfg", $table); 37 print "unlink: $cfg_file\n"; 40 unlink(File::Spec->catfile($datadir, $db, $cfg_file)); 70 my $cfg_file = sprintf("%s.cfg", $table); 72 my @args = (File::Spec->catfile($tmpd, $cfg_file), 73 File::Spec->catfile($datadir, "$db", $cfg_file));
|
/dports/databases/mariadb104-server/mariadb-10.4.24/mysql-test/suite/innodb/include/ |
H A D | innodb-util.pl | 17 my $cfg_file = sprintf("%s.cfg", $table); 26 my @args = (File::Spec->catfile($datadir, $db, $cfg_file), 27 File::Spec->catfile($tmpd, $cfg_file)); 35 my $cfg_file = sprintf("%s.cfg", $table); 37 print "unlink: $cfg_file\n"; 40 unlink(File::Spec->catfile($datadir, $db, $cfg_file)); 70 my $cfg_file = sprintf("%s.cfg", $table); 72 my @args = (File::Spec->catfile($tmpd, $cfg_file), 73 File::Spec->catfile($datadir, "$db", $cfg_file));
|