/dports/graphics/rawstudio/rawstudio-2.0/librawstudio/ |
H A D | rs-output.c | 113 if (confpath) in integer_changed() 128 if (confpath) in boolean_changed() 144 if (confpath) in string_changed() 159 if (confpath) in colorspace_changed() 183 gchar *confpath = NULL; in rs_output_set_from_conf() local 191 if (confpath && (str = rs_conf_get_string(confpath))) in rs_output_set_from_conf() 257 gchar *confpath = NULL; in rs_output_get_parameter_widget() local 285 if (confpath && (str = rs_conf_get_string(confpath))) in rs_output_get_parameter_widget() 306 if (confpath && rs_conf_get_boolean(confpath, &boolean)) in rs_output_get_parameter_widget() 326 if (confpath && rs_conf_get_integer(confpath, &integer)) in rs_output_get_parameter_widget() [all …]
|
/dports/x11-fonts/fontconfig/fontconfig-2.13.94/conf.d/ |
H A D | link_confs.py | 15 if os.path.isabs(args.confpath): 18 confpath = os.path.join(destdir, args.confpath[1:]) variable 20 confpath = args.confpath 22 confpath = os.path.join(os.environ['MESON_INSTALL_DESTDIR_PREFIX'], args.confpath) 24 if not os.path.exists(confpath): 25 os.makedirs(confpath) 29 dst = os.path.join(confpath, link)
|
/dports/net/cloud-init/cloud-init-21.4/tests/unittests/test_handler/ |
H A D | test_handler_ntp.py | 63 return (confpath, template_fn) 77 ntpconfig['confpath'] = confpath 140 util.load_file(confpath)) 161 util.load_file(confpath)) 182 util.load_file(confpath)) 201 util.load_file(confpath)) 258 confpath = ( 441 util.load_file(confpath)) 459 util.load_file(confpath)) 667 'confpath': confpath, [all …]
|
/dports/ftp/smbftpd/smbftpd-2.4/auth/ |
H A D | text.c | 13 static char *confpath; variable 28 confpath = strdup(path); in auth_text_config_parse() 29 if (!confpath) { in auth_text_config_parse() 59 if (0 != smbftpd_text_user_get(confpath, user, &usercache)) { in auth_text_check() 87 if (confpath) { in auth_text_config_free() 88 free(confpath); in auth_text_config_free() 89 confpath = NULL; in auth_text_config_free() 130 if (0 != smbftpd_text_user_get(confpath, user, &smbftpd_user)) { in auth_text_is_user_in_group() 170 if (0 != smbftpd_text_user_get(confpath, user, &smbftpd_user)) { in auth_text_get_home()
|
/dports/www/py-weboob/weboob-2.0/weboob/core/ |
H A D | backendscfg.py | 83 def __init__(self, confpath): argument 84 self.confpath = confpath 86 mode = os.stat(confpath).st_mode 88 if not os.path.isdir(os.path.dirname(confpath)): 89 os.makedirs(os.path.dirname(confpath)) 91 fptr = open(confpath, 'w') 98 fptr = open(confpath, 'w') 100 os.chmod(confpath, 0o600) 109 with codecs.open(self.confpath, 'r', encoding='utf-8') as fd: 122 f = open(self.confpath, 'wb') [all …]
|
/dports/irc/bip/bip-0.9.0-rc4/src/ |
H A D | bip_main.c | 147 char *confpath = NULL; in main() local 185 confpath = bip_strdup(optarg); in main() 229 if (!confpath) { in main() 230 confpath = bip_malloc(strlen(conf_biphome) + 1 + in main() 232 strcpy(confpath, conf_biphome); in main() 233 strcat(confpath, "/"); in main() 234 strcat(confpath, S_CONF); in main() 236 conf = fopen(confpath, "r"); in main() 238 fatal("config file not found (%s)", confpath); in main() 310 conf = fopen(confpath, "r"); in main() [all …]
|
/dports/lang/jpm/jpm-0.0.1/ |
H A D | project.janet | 20 (def confpath (string (dyn :modpath) "/jpm/default-config.janet")) 22 (install-file-rule bc confpath) 25 (assert (os/stat confpath :mode) 27 (def old (slurp confpath)) 29 (print "keeping old config at " confpath) 30 (spit confpath old))))
|
/dports/print/py-fontaine/pyfontaine-1.4.0/fontaine/charsets/fontconfig/conf.d/ |
H A D | link_confs.py | 14 confpath = os.path.join(os.environ['MESON_INSTALL_DESTDIR_PREFIX'], args.confpath) variable 16 if not os.path.exists(confpath): 17 os.makedirs(confpath) 21 dst = os.path.join(confpath, link)
|
/dports/sysutils/py-ranger/ranger-1.9.3/ranger/gui/ |
H A D | colorscheme.py | 108 if os.path.exists(signal.fm.confpath('colorschemes')): 109 initpy = signal.fm.confpath('colorschemes', '__init__.py') 114 exists(signal.fm.confpath('colorschemes', scheme_name)): 153 confpath = fm.confpath('colorschemes') 154 if os.path.isdir(confpath): 155 for item in os.listdir(confpath):
|
/dports/devel/lab/lab-0.17.2/ |
H A D | main.go | 29 confpath := os.Getenv("XDG_CONFIG_HOME") 30 if confpath == "" { 31 confpath = path.Join(home, ".config") 33 if _, err := os.Stat(confpath); os.IsNotExist(err) { 34 os.Mkdir(confpath, 0700) 40 viper.AddConfigPath(confpath) 68 if err := config.New(path.Join(confpath, "lab.hcl"), os.Stdin); err != nil {
|
/dports/misc/pubs/pubs-0.8.3/pubs/config/ |
H A D | conf.py | 41 confpath = DFT_CONFIG_PATH 43 confpath = os.path.abspath(os.path.expanduser(os.environ['PUBSCONF'])) 45 if not os.path.isfile(confpath): 48 ui.error('configuration file not found at `{}`'.format(confpath)) 50 return confpath
|
/dports/www/mod_webauth/webauth-4.7.0/tests/tap/ |
H A D | remctl.c | 66 char *tmpdir, *pidfile, *confpath; in remctld_start_internal() local 83 confpath = test_file_path(config); in remctld_start_internal() 84 if (confpath == NULL) in remctld_start_internal() 102 argv[i++] = confpath; in remctld_start_internal() 114 test_file_path_free(confpath); in remctld_start_internal()
|
/dports/www/luakit-devel/luakit-2.3-20-g4b10e55/ |
H A D | luah.c | 170 luaH_loadrc(const gchar *confpath, gboolean run) in luaH_loadrc() argument 172 info("Loading rc: %s", confpath); in luaH_loadrc() 176 if (luaL_loadfile(L, confpath)) { in luaH_loadrc() 191 luaH_parserc(const gchar *confpath, gboolean run) in luaH_parserc() argument 198 if (confpath) { in luaH_parserc() 199 ret = luaH_loadrc(confpath, run); in luaH_parserc() 242 globalconf.confpath = g_strdup(path); in luaH_parserc()
|
/dports/www/luakit/luakit-2.3/ |
H A D | luah.c | 170 luaH_loadrc(const gchar *confpath, gboolean run) in luaH_loadrc() argument 172 info("Loading rc: %s", confpath); in luaH_loadrc() 176 if (luaL_loadfile(L, confpath)) { in luaH_loadrc() 191 luaH_parserc(const gchar *confpath, gboolean run) in luaH_parserc() argument 198 if (confpath) { in luaH_parserc() 199 ret = luaH_loadrc(confpath, run); in luaH_parserc() 242 globalconf.confpath = g_strdup(path); in luaH_parserc()
|
/dports/misc/cheat/cheat-4.2.2/cmd/cheat/ |
H A D | main.go | 59 confpath, err := config.Path(confpaths) 77 confpath = confpaths[0] 80 if err := installer.Run(configs(), confpath); err != nil { 86 fmt.Printf("Created config file: %s\n", confpath) 92 conf, err := config.New(opts, confpath, true)
|
/dports/emulators/nestopia/nestopia-1.51.1/source/fltkui/ |
H A D | config.cpp | 37 char confpath[256]; in config_file_read() local 38 snprintf(confpath, sizeof(confpath), "%snestopia.conf", nstdir); in config_file_read() 40 if (ini_parse(confpath, config_match, &conf) < 0) { in config_file_read() 41 fprintf(stderr, "Failed to read config file %s: Using defaults.\n", confpath); in config_file_read() 49 char confpath[256]; in config_file_write() local 50 snprintf(confpath, sizeof(confpath), "%snestopia.conf", nstdir); in config_file_write() 52 FILE *fp = fopen(confpath, "w"); in config_file_write() 142 fprintf(stderr, "Failed to write config file %s.\n", confpath); in config_file_write()
|
/dports/textproc/turboxsl/turboxsl-b03c2c9/src/zlog/src/ |
H A D | zlog.c | 67 static int zlog_init_inner(const char *confpath) in zlog_init_inner() argument 91 zlog_env_conf = zlog_conf_new(confpath); in zlog_init_inner() 93 zc_error("zlog_conf_new[%s] fail", confpath); in zlog_init_inner() 116 int zlog_init(const char *confpath) in zlog_init() argument 134 if (zlog_init_inner(confpath)) { in zlog_init() 177 if (zlog_init_inner(confpath)) { in dzlog_init() 211 int zlog_reload(const char *confpath) in zlog_reload() argument 232 if (confpath == NULL) confpath = zlog_env_conf->file; in zlog_reload() 235 if (confpath == (char*)-1) { in zlog_reload() 238 confpath = zlog_env_conf->file; in zlog_reload() [all …]
|
/dports/databases/beansdb/beansdb-0.7.1.4/third-party/zlog-1.2/ |
H A D | zlog.c | 67 static int zlog_init_inner(const char *confpath) in zlog_init_inner() argument 91 zlog_env_conf = zlog_conf_new(confpath); in zlog_init_inner() 93 zc_error("zlog_conf_new[%s] fail", confpath); in zlog_init_inner() 116 int zlog_init(const char *confpath) in zlog_init() argument 134 if (zlog_init_inner(confpath)) { in zlog_init() 177 if (zlog_init_inner(confpath)) { in dzlog_init() 211 int zlog_reload(const char *confpath) in zlog_reload() argument 232 if (confpath == NULL) confpath = zlog_env_conf->file; in zlog_reload() 235 if (confpath == (char*)-1) { in zlog_reload() 238 confpath = zlog_env_conf->file; in zlog_reload() [all …]
|
/dports/misc/cheat/cheat-4.2.2/internal/config/ |
H A D | init.go | 11 func Init(confpath string, configs string) error { 14 if err := os.MkdirAll(filepath.Dir(confpath), 0755); err != nil { 19 if err := ioutil.WriteFile(confpath, []byte(configs), 0644); err != nil {
|
/dports/net-mgmt/routers2-extensions/routers2-v2.23/extras/ |
H A D | rrd-archive-clean.pl | 55 my( $confpath, $cfgfiles ); 165 $confpath = $config{'routers.cgi-confpath'}; 166 $confpath = $config{'archive-confpath'} 171 if(! -d $confpath ) { 172 print "Error: MRTG directory $confpath does not exist.\n"; 185 push @cfgfiles, glob( $confpath.$pathsep.$pattern );
|
H A D | rrd-archive.pl | 59 my( $confpath, $cfgfiles ); 259 $confpath = $config{'routers.cgi-confpath'}; 260 $confpath = $config{'archive-confpath'} 265 if(! -d $confpath ) { 266 print "Error: MRTG directory $confpath does not exist.\n"; 291 push @cfgfiles, glob( $confpath.$pathsep.$pattern );
|
/dports/net-mgmt/routers2-extras/routers2-v2.23/extras/ |
H A D | rrd-archive-clean.pl | 55 my( $confpath, $cfgfiles ); 165 $confpath = $config{'routers.cgi-confpath'}; 166 $confpath = $config{'archive-confpath'} 171 if(! -d $confpath ) { 172 print "Error: MRTG directory $confpath does not exist.\n"; 185 push @cfgfiles, glob( $confpath.$pathsep.$pattern );
|
/dports/net-mgmt/routers2/routers2-v2.23/extras/ |
H A D | rrd-archive-clean.pl | 55 my( $confpath, $cfgfiles ); 165 $confpath = $config{'routers.cgi-confpath'}; 166 $confpath = $config{'archive-confpath'} 171 if(! -d $confpath ) { 172 print "Error: MRTG directory $confpath does not exist.\n"; 185 push @cfgfiles, glob( $confpath.$pathsep.$pattern );
|
H A D | rrd-archive.pl | 59 my( $confpath, $cfgfiles ); 259 $confpath = $config{'routers.cgi-confpath'}; 260 $confpath = $config{'archive-confpath'} 265 if(! -d $confpath ) { 266 print "Error: MRTG directory $confpath does not exist.\n"; 291 push @cfgfiles, glob( $confpath.$pathsep.$pattern );
|
/dports/x11/polybar/polybar-3.5.7/src/utils/ |
H A D | file.cpp | 300 string confpath; in get_config_path() local 302 confpath = env_util::get("XDG_CONFIG_HOME") + "/polybar/config"; in get_config_path() 303 if (exists(confpath)) { in get_config_path() 304 return confpath; in get_config_path() 308 confpath = env_util::get("HOME") + "/.config/polybar/config"; in get_config_path() 309 if (exists(confpath)) { in get_config_path() 310 return confpath; in get_config_path()
|