/dports/dns/drool/drool-1.1.0/src/ |
H A D | conf_file.c | 50 return conf_file; in conf_file_new() 55 if (conf_file) { in conf_file_free() 57 free(conf_file); in conf_file_free() 63 if (conf_file) { in conf_file_release() 73 drool_assert(conf_file); in conf_file_next() 74 return conf_file->next; in conf_file_next() 79 if (!conf_file) { in conf_file_set_next() 86 conf_file->next = next; in conf_file_set_next() 94 return conf_file->name; in conf_file_name() 99 if (!conf_file) { in conf_file_set_name() [all …]
|
/dports/databases/p5-App-Sqitch/App-Sqitch-0.9994/t/ |
H A D | init.t | 242 unlink $conf_file; 274 unlink $conf_file; 297 unlink $conf_file; 323 unlink $conf_file; 368 unlink $conf_file; 394 unlink $conf_file; 415 unlink $conf_file; 440 unlink $conf_file; 464 unlink $conf_file; 484 unlink $conf_file; [all …]
|
/dports/sysutils/py-salt/salt-3004.1/salt/modules/ |
H A D | supervisord.py | 43 def _ctl_cmd(cmd, name, conf_file, bin_env): argument 48 if conf_file is not None: 49 ret += ["-c", conf_file] 178 _ctl_cmd("add", name, conf_file, bin_env), 359 def _read_config(conf_file=None): argument 363 if conf_file is None: 367 conf_file = path 369 if conf_file is None: 373 config.read(conf_file) 379 def options(name, conf_file=None): argument [all …]
|
/dports/net/nsscache/nsscache-version-0.44/nss_cache/ |
H A D | config_test.py | 74 conf_file.close() 87 conf_file.close() 100 conf_file.close() 151 conf_file.close() 167 conf_file.close() 186 conf_file.close() 241 conf_file.close() 262 conf_file.close() 282 conf_file.close() 303 conf_file.close() [all …]
|
/dports/net/torsocks/torsocks-2.3.0/tests/unit/ |
H A D | test_config-file.c | 80 config.conf_file.tor_port == 0 && in test_config_file_read_empty() 81 config.conf_file.tor_address == NULL && in test_config_file_read_empty() 83 config.conf_file.onion_mask == 0, in test_config_file_read_empty() 96 config.conf_file.tor_port == 0, in test_config_file_read_invalid_values() 102 config.conf_file.tor_port == 0, in test_config_file_read_invalid_values() 108 config.conf_file.tor_address == NULL, in test_config_file_read_invalid_values() 114 config.conf_file.tor_address == NULL, in test_config_file_read_invalid_values() 120 config.conf_file.onion_mask == 0, in test_config_file_read_invalid_values() 126 config.conf_file.onion_base == 0, in test_config_file_read_invalid_values() 132 config.conf_file.onion_base == 0, in test_config_file_read_invalid_values() [all …]
|
/dports/sysutils/ansible/ansible-4.7.0/ansible_collections/ovirt/ovirt/roles/disaster_recovery/files/ |
H A D | ovirt-dr | 33 while not os.path.isfile(conf_file): 34 conf_file = input( 48 validator.ValidateMappingFile().run(conf_file) 55 fail_over.FailOver().run(conf_file, 60 fail_back.FailBack().run(conf_file, 77 conf_file = DEF_CONF_FILE 97 conf_file = arg 107 def _get_log_conf(conf_file, log_file, log_level): 111 while not os.path.isfile(conf_file): 112 conf_file = input( [all …]
|
/dports/deskutils/cairo-dock/cairo-dock-core-3.4.1/tests/ |
H A D | TestRootDock.py | 15 conf_file = self.d.Add({'type':'Dock'}) 16 if conf_file == None or conf_file == "" or not os.path.exists(conf_file): 19 props = self.d.GetProperties('config-file='+conf_file) 35 if conf_file == None or conf_file == "" or not os.path.exists(conf_file): 47 self.d.Remove('config-file='+conf_file) 70 conf_file = self.d.Add({'type':'Dock'}) 71 if conf_file == None or conf_file == "" or not os.path.exists(conf_file): 74 props = self.d.GetProperties('config-file='+conf_file) 96 if not os.path.exists(conf_file): # check that its config file has been kept for next time
|
H A D | TestDesklet.py | 21 conf_file = props[0]['config-file'] 24 set_param (conf_file, "Desklet", "initially detached", "true") 25 self.d.Reload('type=Module-Instance & config-file='+conf_file) 38 set_param (conf_file, "Desklet", "x position", str(x)) 39 self.d.Reload('type=Module-Instance & config-file='+conf_file) 63 set_param (conf_file, "Desklet", "size", str(w)+';'+str(w)) 64 self.d.Reload('type=Module-Instance & config-file='+conf_file) 88 set_param(conf_file, 'Desklet', 'rotation', i) 89 self.d.Reload('type=Module-Instance & config-file='+conf_file) 92 set_param (conf_file, "Desklet", "initially detached", "false") [all …]
|
H A D | TestCustomLauncher.py | 18 …conf_file = self.d.Add({'type':'Launcher', 'name':'xxx', 'command':'echo -n 321 > '+self.test_file… 19 if conf_file == None or conf_file == "" or not os.path.exists(conf_file): 24 set_param (conf_file, "Desktop Entry", "Name", "Test launcher") 25 set_param (conf_file, "Desktop Entry", "Exec", "echo -n 123 > \/tmp\/cairo-dock-test") 26 self.d.Reload('config-file='+conf_file) 41 self.d.Remove('config-file='+conf_file); 42 if os.path.exists(conf_file):
|
H A D | TestStackIcon.py | 16 …conf_file = self.d.Add({'type':'Stack-icon', 'name':self.name1}) # by default, the rendering is a… 17 if conf_file == None or conf_file == "" or not os.path.exists(conf_file): 27 set_param (conf_file, "Desktop Entry", "Name", self.name2) 28 self.d.Reload('config-file='+conf_file) 42 set_param (conf_file, "Desktop Entry", "Name", used_name) 43 self.d.Reload('config-file='+conf_file) 44 props = self.d.GetProperties('config-file='+conf_file) 61 self.d.Remove('config-file='+conf_file)
|
H A D | TestSeparatorIcon.py | 12 conf_file = self.d.Add({'type':'Separator', 'order':'3'}) 13 if conf_file == None or conf_file == "" or not os.path.exists(conf_file): 17 self.d.Remove('config-file='+conf_file) 18 if len (self.d.GetProperties('config-file='+conf_file)) != 0: # check that it has been deleted 21 if os.path.exists(conf_file): # check that it has been removed from the theme
|
/dports/security/sudo/sudo-1.9.8p2/lib/util/ |
H A D | sudo_conf.c | 177 ret = var->parser(entry, conf_file, lineno); in parse_variable() 179 "%s: %s:%u: Set %s %s", __func__, conf_file, in parse_variable() 185 __func__, conf_file, lineno, entry); in parse_variable() 228 __func__, conf_file, lineno, cur->pname, in parse_path() 234 __func__, conf_file, lineno, entry); in parse_path() 238 entry, conf_file, lineno); in parse_path() 441 conf_file, lineno); in set_var_group_source() 457 conf_file, lineno); in set_var_max_groups() 673 if (conf_file == NULL) { in sudo_conf_read_v1() 674 conf_file = _PATH_SUDO_CONF; in sudo_conf_read_v1() [all …]
|
/dports/net/freeswitch/freeswitch-1.10.3.-release/scripts/lua/portal/ |
H A D | create_gateway.lua | 11 conf_file = io.open(file_name, "w+") 13 conf_file:write('<include>\n') 14 conf_file:write(' <gateway name="' .. name .. '">\n') 15 conf_file:write(' <param name="realm" value="' .. realm .. '"/>\n') 16 conf_file:write(' <param name="username" value="' .. username .. '"/>\n') 17 conf_file:write(' <param name="password" value="' .. password .. '"/>\n') 18 conf_file:write(' <param name="register" value="' .. register .. '"/>\n') 19 conf_file:write(' </gateway>\n') 20 conf_file:write('<include>\n')
|
/dports/sysutils/py-salt/salt-3004.1/salt/states/ |
H A D | supervisord.py | 51 name, restart=False, update=False, user=None, conf_file=None, bin_env=None, **kwargs 91 user=user, conf_file=conf_file, bin_env=bin_env 160 user=user, conf_file=conf_file, bin_env=bin_env 170 __salt__["supervisord.reread"](user=user, conf_file=conf_file, bin_env=bin_env) 175 name, user=user, conf_file=conf_file, bin_env=bin_env 212 name, user=user, conf_file=conf_file, bin_env=bin_env 236 name, user=user, conf_file=conf_file, bin_env=bin_env 247 def dead(name, user=None, conf_file=None, bin_env=None, **kwargs): 277 user=user, conf_file=conf_file, bin_env=bin_env 314 name, user=user, conf_file=conf_file, bin_env=bin_env [all …]
|
H A D | logrotate.py | 43 def set_(name, key, value, setting=None, conf_file=_DEFAULT_CONF): argument 76 current_value = __salt__["logrotate.get"](key=key, conf_file=conf_file) 79 key=key, value=value, conf_file=conf_file 96 key=key, value=value, conf_file=conf_file 121 key=key, value=value, setting=setting, conf_file=conf_file
|
/dports/math/polymake/polymake-4.5/perllib/Polymake/ |
H A D | Configure.pm | 152 open my $CF, $conf_file 153 or die "can't read $conf_file: $!\n"; 174 my ($prefix, $conf_file); 177 $conf_file="$Polymake::InstallArch/config.ninja"; 180 $conf_file=$ext->build_dir."/config.ninja"; 182 if (open my $CF, $conf_file) { 277 unlink $conf_file; 334 my $conf_file="$ext_build_root/config.ninja"; 335 open my $conf, ">", $conf_file 336 or die "can't create $conf_file: $!\n"; [all …]
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/third_party/wiredtiger/test/wtperf/ |
H A D | test_conf_dump.py | 89 cmd = WTPERF_BIN + " -O " + conf_file 110 with open(conf_file) as f: 163 def extract_config_from_file(conf_file, key): argument 165 with open(conf_file) as f: 192 conf_file, option_C, option_T, option_o) 303 conf_file = sys.argv[1] variable 305 conf_file = TMP_CONF 306 generate_conf_file(conf_file) 309 if not run_test(conf_file): 316 if not run_test(conf_file, option_C, option_T, option_o): [all …]
|
/dports/irc/bip/bip-0.9.0-rc4/src/ |
H A D | path_util.c | 20 char *conf_file; in default_path() local 22 conf_file = bip_malloc(strlen(biphome) + strlen(filename) + 2); in default_path() 23 strcpy(conf_file, biphome); in default_path() 24 conf_file[strlen(biphome)] = '/'; in default_path() 25 conf_file[strlen(biphome) + 1] = '\0'; in default_path() 26 strcat(conf_file, filename); in default_path() 27 mylog(LOG_INFO, "Default %s: %s", desc, conf_file); in default_path() 28 return conf_file; in default_path()
|
/dports/devel/p5-Module-Release/Module-Release-2.128/t/lib/ |
H A D | setup_common.pl | 20 my $conf_file; 23 $conf_file = Module::Release->_select_config_file_name; 24 my $rc = open my $fh, '>:encoding(UTF-8)', $conf_file; 27 ok( $rc, "Opened empty <$conf_file>" ); 28 diag( "Error creating <$conf_file>: $!" ) unless $rc; 31 ok( -e $conf_file, "<$conf_file> exists" ); 32 END { unlink $conf_file }
|
/dports/net/torsocks/torsocks-2.3.0/src/common/ |
H A D | config-file.c | 104 memcpy(&config->conf_file.onion_base, &net, in set_onion_info() 105 sizeof(config->conf_file.onion_base)); in set_onion_info() 106 config->conf_file.onion_mask = (uint8_t) bit_mask; in set_onion_info() 252 config->conf_file.tor_port = (in_port_t) _port; in conf_file_set_tor_port() 287 if (config->conf_file.tor_address != NULL) { in conf_file_set_tor_address() 288 free(config->conf_file.tor_address); in conf_file_set_tor_address() 289 config->conf_file.tor_address = NULL; in conf_file_set_tor_address() 292 config->conf_file.tor_address = strdup(addr); in conf_file_set_tor_address() 293 if (config->conf_file.tor_address == NULL) { in conf_file_set_tor_address() 513 config->conf_file.socks5_username, in conf_apply_socks_auth() [all …]
|
/dports/security/knocker/knocker-0.8.0/src/ |
H A D | knocker_conf.c | 331 char *conf_file = NULL; in knocker_conf_parse() local 338 strcat (conf_file, "/"); in knocker_conf_parse() 348 free (conf_file); in knocker_conf_parse() 403 if (conf_file != NULL) in knocker_conf_parse() 404 free (conf_file); in knocker_conf_parse() 421 char *conf_file = NULL; in knocker_conf_write_default() local 433 free (conf_file); in knocker_conf_write_default() 466 free (conf_file); in knocker_conf_write_default() 476 char *conf_file = NULL; in knocker_conf_write() local 490 free (conf_file); in knocker_conf_write() [all …]
|
/dports/japanese/tiarra/tiarra-20100212/main/ |
H A D | Configuration.pm | 29 conf_file => '', # confファイルへのパス 79 if (defined $this->{conf_file}) { 96 my ($class_or_this,$conf_file) = @_; 98 my $this_is_reload = !defined $conf_file; 100 if (defined $conf_file) { 101 if (ref($conf_file) && UNIVERSAL::isa($conf_file,'IO::Handle')) { 103 $this->{conf_file} = undef; 106 $this->{conf_file} = $conf_file; 109 if (defined $this->{conf_file}) { 110 $conf_file = $this->{conf_file}; [all …]
|
/dports/games/aisleriot/aisleriot-3.22.19/src/lib/ |
H A D | ar-gsettings.c | 121 char *conf_file = NULL; 165 return conf_file; 171 char *conf_file; 174 if (!conf_file) 177 gtk_accel_map_load (conf_file); 178 g_free (conf_file); 184 char *conf_file; 186 conf_file = ar_conf_get_accel_map_path (conf, TRUE); 187 if (!conf_file) 190 gtk_accel_map_save (conf_file); [all …]
|
/dports/textproc/translate-toolkit/translate-toolkit-3.5.1/translate/lang/ |
H A D | identify.py | 40 def __init__(self, model_dir=None, conf_file=None): argument 46 if conf_file is None: 47 conf_file = self.CONF_FILE 48 conf_file = path.abspath(path.join(model_dir, conf_file)) 49 if not path.isfile(conf_file): 50 raise ValueError("File does not exist: %s" % (conf_file)) 53 self._load_config(conf_file) 56 def _load_config(self, conf_file): argument 60 with open(conf_file) as fp:
|
/dports/biology/ncbi-toolkit/ncbi/connect/ |
H A D | ncbi_core_c.c | 68 const char* conf_file = (const char*) user_data; in s_REG_Get() local 70 Nlm_GetAppParam(conf_file, section, name, dflt, value, in s_REG_Get() 81 const char* conf_file = (const char*) user_data; in s_REG_Set() local 83 ? Nlm_SetAppParam(conf_file, section, name, value) in s_REG_Set() 84 : Nlm_TransientSetAppParam(conf_file, section, name, value); in s_REG_Set() 96 extern REG REG_c2c(const char* conf_file) in REG_c2c() argument 100 if (!conf_file) in REG_c2c() 101 conf_file = "ncbi"; in REG_c2c() 102 if (!(s = strdup(conf_file))) in REG_c2c() 248 extern void CONNECT_Init(const char* conf_file) in CONNECT_Init() argument [all …]
|