/dports/devel/codeblocks/codeblocks-20.03/src/plugins/contrib/DoxyBlocks/ |
H A D | Config.cpp | 144 cfgFile->Write(sSectionProject + sOutputLanguage, m_sOutputLanguage); in WritePrefsTemplate() 146 cfgFile->Write(sSectionBuild + sExtractAll, static_cast<int>(m_bExtractAll)); in WritePrefsTemplate() 150 cfgFile->Write(sSectionWarnings + sWarnings, static_cast<int>(m_bWarnings)); in WritePrefsTemplate() 160 cfgFile->Write(sSectionOutput + sBinaryTOC, static_cast<int>(m_bBinaryTOC)); in WritePrefsTemplate() 171 cfgFile->Write(sSectionDot + sHaveDot, static_cast<int>(m_bHaveDot)); in WritePrefsTemplate() 175 bool bOK = cfgFile->Flush(); in WritePrefsTemplate() 177 wxDELETE(cfgFile); in WritePrefsTemplate() 178 wxASSERT(!cfgFile); in WritePrefsTemplate() 270 m_bHaveDot = cfgFile->Read(sSectionDot + sHaveDot, GetDefaultHaveDot()); in ReadPrefsTemplate() 274 wxDELETE(cfgFile); in ReadPrefsTemplate() [all …]
|
/dports/editors/picpas/PicPas-7940bc3/Source/ |
H A D | FormConfig.pas | 204 cfgFile.VerifyFile; 299 MsgErr(cfgFile.MsjErr); 303 MsgErr(cfgFile.MsjErr); 313 cfgFile.WindowToProperties; 314 if cfgFile.MsjErr<>'' then begin 315 MsgErr(cfgFile.MsjErr); 335 CopyFile(cfgFile.ReadFileName, filTem); 404 fraCfgSynEdit.Iniciar('Edit', cfgFile); 430 MsgErr(cfgFile.MsjErr); 437 MsgErr(cfgFile.MsjErr); [all …]
|
H A D | FrameCfgSynEdit.pas | 69 procedure Iniciar(section: string; cfgFile: TMiConfigXML); //Inicia el frame 89 procedure TfraCfgSynEdit.Iniciar(section: string; cfgFile: TMiConfigXML); 95 s:=cfgFile.Asoc_TCol(section+ '/cTxtNor', @cTxtNor, cbutTextCol, clBlack); 97 s:=cfgFile.Asoc_TCol(section+ '/cFonEdi', @cFonEdi, cbutBackCol, clWhite); 99 s:=cfgFile.Asoc_TCol(section+ '/cLinAct', @cLinAct, cbutLinAct, clYellow); 102 s:=cfgFile.Asoc_Bol(section+ '/Autoindent', @Autoindent, chkAutoindent, true); 113 s:=cfgFile.Asoc_Bol(section+ '/ResPalFWord',@ResPalFWord, chkFullWord, false); 115 s:=cfgFile.Asoc_Bol(section+ '/VerPanVer', @VerPanVer, chkVerPanVer, true); 116 s:=cfgFile.Asoc_Bol(section+ '/VerNumLin', @VerNumLin, chkVerNumLin, false); 117 s:=cfgFile.Asoc_Bol(section+ '/VerMarPle', @VerMarPle, chkVerMarPle, true); [all …]
|
/dports/editors/picpas/PicPas-7940bc3/miconfig/Sample2_SeveralTypes/ |
H A D | FormConfig.pas | 61 cfgFile.VerifyFile; 67 cfgFile.Asoc_Str('MyText', @MyString, Edit1, ''); 68 cfgFile.Asoc_Int('MyInt', @MyInt, Edit2, 5, 1,7); 75 if not cfgFile.FileToProperties then begin 76 MsgErr(cfgFile.MsjErr); 82 cfgFile.PropertiesToWindow; 87 cfgFile.WindowToProperties; 88 if cfgFile.MsjErr<>'' then begin 89 MsgErr(cfgFile.MsjErr); 97 if not cfgFile.PropertiesToFile then begin [all …]
|
/dports/multimedia/ccextractor/ccextractor-0.85/src/gpacmp4/gpac/ |
H A D | config_file.h | 90 void gf_cfg_del(GF_Config *cfgFile); 97 void gf_cfg_remove(GF_Config *cfgFile); 104 GF_Err gf_cfg_save(GF_Config *cfgFile); 114 const char *gf_cfg_get_key(GF_Config *cfgFile, const char *secName, const char *keyName); 124 const char *gf_cfg_get_ikey(GF_Config *cfgFile, const char *secName, const char *keyName); 135 …GF_Err gf_cfg_set_key(GF_Config *cfgFile, const char *secName, const char *keyName, const char *ke… 143 u32 gf_cfg_get_section_count(GF_Config *cfgFile); 152 const char *gf_cfg_get_section_name(GF_Config *cfgFile, u32 secIndex); 161 u32 gf_cfg_get_key_count(GF_Config *cfgFile, const char *secName); 171 const char *gf_cfg_get_key_name(GF_Config *cfgFile, const char *secName, u32 keyIndex); [all …]
|
/dports/deskutils/owncloudclient/ownCloud-2.8.2.4246/src/gui/ |
H A D | networksettings.cpp | 102 OCC::ConfigFile cfgFile; in loadProxySettings() local 103 int type = cfgFile.proxyType(); in loadProxySettings() 121 int port = cfgFile.proxyPort(); in loadProxySettings() 132 ConfigFile cfgFile; in loadBWLimitSettings() local 157 ConfigFile cfgFile; in saveProxySettings() local 191 ConfigFile cfgFile; in saveBWLimitSettings() local 193 cfgFile.setUseDownloadLimit(1); in saveBWLimitSettings() 195 cfgFile.setUseDownloadLimit(0); in saveBWLimitSettings() 202 cfgFile.setUseUploadLimit(1); in saveBWLimitSettings() 204 cfgFile.setUseUploadLimit(0); in saveBWLimitSettings() [all …]
|
H A D | generalsettings.cpp | 134 ConfigFile cfgFile; in loadMiscSettings() local 135 _ui->monoIconsCheckBox->setChecked(cfgFile.monoIcons()); in loadMiscSettings() 138 _ui->crashreporterCheckBox->setChecked(cfgFile.crashReporter()); in loadMiscSettings() 139 auto newFolderLimit = cfgFile.newBigFolderSizeLimit(); in loadMiscSettings() 143 _ui->monoIconsCheckBox->setChecked(cfgFile.monoIcons()); in loadMiscSettings() 232 ConfigFile cfgFile; in saveMiscSettings() local 234 cfgFile.setMonoIcons(isChecked); in saveMiscSettings() 251 ConfigFile cfgFile; in slotToggleOptionalDesktopNotifications() local 252 cfgFile.setOptionalDesktopNotifications(enable); in slotToggleOptionalDesktopNotifications() 258 ConfigFile cfgFile; in slotShowInExplorerNavigationPane() local [all …]
|
/dports/deskutils/nextcloudclient/desktop-3.4.1/src/gui/ |
H A D | networksettings.cpp | 109 OCC::ConfigFile cfgFile; in loadProxySettings() local 110 int type = cfgFile.proxyType(); in loadProxySettings() 128 int port = cfgFile.proxyPort(); in loadProxySettings() 139 ConfigFile cfgFile; in loadBWLimitSettings() local 164 ConfigFile cfgFile; in saveProxySettings() local 199 ConfigFile cfgFile; in saveBWLimitSettings() local 201 cfgFile.setUseDownloadLimit(1); in saveBWLimitSettings() 203 cfgFile.setUseDownloadLimit(0); in saveBWLimitSettings() 210 cfgFile.setUseUploadLimit(1); in saveBWLimitSettings() 212 cfgFile.setUseUploadLimit(0); in saveBWLimitSettings() [all …]
|
H A D | generalsettings.cpp | 249 ConfigFile cfgFile; in loadMiscSettings() local 254 auto newFolderLimit = cfgFile.newBigFolderSizeLimit(); in loadMiscSettings() 369 ConfigFile cfgFile; in slotToggleAutoUpdateCheck() local 371 cfgFile.setAutoUpdateCheck(isChecked, QString()); in slotToggleAutoUpdateCheck() 379 ConfigFile cfgFile; in saveMiscSettings() local 381 cfgFile.setMonoIcons(isChecked); in saveMiscSettings() 398 ConfigFile cfgFile; in slotToggleOptionalServerNotifications() local 399 cfgFile.setOptionalServerNotifications(enable); in slotToggleOptionalServerNotifications() 404 ConfigFile cfgFile; in slotShowInExplorerNavigationPane() local 405 cfgFile.setShowInExplorerNavigationPane(checked); in slotShowInExplorerNavigationPane() [all …]
|
H A D | ignorelisteditor.cpp | 38 ConfigFile cfgFile; in IgnoreListEditor() local 42 … .arg(QDir::toNativeSeparators(cfgFile.excludeFile(ConfigFile::SystemScope))); in IgnoreListEditor() 45 const auto userConfig = cfgFile.excludeFile(ConfigFile::Scope::UserScope); in IgnoreListEditor() 89 ConfigFile cfgFile; in slotRestoreDefaults() local 91 ui->ignoreTableWidget->readIgnoreFile(cfgFile.excludeFile(ConfigFile::SystemScope), false); in slotRestoreDefaults()
|
/dports/multimedia/gpac-libgpac/gpac-1.0.0/include/gpac/ |
H A D | config_file.h | 92 void gf_cfg_del(GF_Config *cfgFile); 99 void gf_cfg_remove(GF_Config *cfgFile); 107 GF_Err gf_cfg_save(GF_Config *cfgFile); 117 const char *gf_cfg_get_key(GF_Config *cfgFile, const char *secName, const char *keyName); 130 GF_Err gf_cfg_set_key(GF_Config *cfgFile, const char *secName, const char *keyName, const char *key… 138 u32 gf_cfg_get_section_count(GF_Config *cfgFile); 147 const char *gf_cfg_get_section_name(GF_Config *cfgFile, u32 secIndex); 156 u32 gf_cfg_get_key_count(GF_Config *cfgFile, const char *secName); 166 const char *gf_cfg_get_key_name(GF_Config *cfgFile, const char *secName, u32 keyIndex); 175 void gf_cfg_del_section(GF_Config *cfgFile, const char *secName);
|
/dports/multimedia/gpac-mp4box/gpac-1.0.0/include/gpac/ |
H A D | config_file.h | 92 void gf_cfg_del(GF_Config *cfgFile); 99 void gf_cfg_remove(GF_Config *cfgFile); 107 GF_Err gf_cfg_save(GF_Config *cfgFile); 117 const char *gf_cfg_get_key(GF_Config *cfgFile, const char *secName, const char *keyName); 130 GF_Err gf_cfg_set_key(GF_Config *cfgFile, const char *secName, const char *keyName, const char *key… 138 u32 gf_cfg_get_section_count(GF_Config *cfgFile); 147 const char *gf_cfg_get_section_name(GF_Config *cfgFile, u32 secIndex); 156 u32 gf_cfg_get_key_count(GF_Config *cfgFile, const char *secName); 166 const char *gf_cfg_get_key_name(GF_Config *cfgFile, const char *secName, u32 keyIndex); 175 void gf_cfg_del_section(GF_Config *cfgFile, const char *secName);
|
/dports/devel/codeblocks/codeblocks-20.03/src/plugins/contrib/codesnippets/ |
H A D | snippetsconfig.cpp | 138 wxFileConfig cfgFile( in SettingsLoad() local 226 wxFileConfig cfgFile(wxEmptyString, // appname in SettingsSave() local 237 cfgFile.Write( wxT("ViewSearchBox"), SettingsSearchBox ) ; in SettingsSave() 269 cfgFile.Write(wxT("WindowPosition"), winPos) ; in SettingsSave() 272 cfgFile.Flush(); in SettingsSave() 289 cfgFile.Write( settingName, settingValue ) ; in SettingsSaveString() 290 cfgFile.Flush(); in SettingsSaveString() 308 cfgFile.Read( settingName, &result, wxEmptyString ) ; in SettingsReadString() 335 wxFileConfig cfgFile(wxEmptyString, // appname in SettingsSaveWinPosition() local 354 cfgFile.Write(wxT("WindowPosition"), winPos) ; in SettingsSaveWinPosition() [all …]
|
/dports/editors/picpas/PicPas-7940bc3/miconfig/Sample1_Simple/ |
H A D | FormConfig.pas | 32 cfgFile.VerifyFile; 38 cfgFile.Asoc_Str('MyText', @MyText, Edit1, ''); 39 if not cfgFile.FileToProperties then begin 40 MsgErr(cfgFile.MsjErr); 46 cfgFile.PropertiesToWindow; 51 cfgFile.WindowToProperties; 52 if cfgFile.MsjErr<>'' then begin 53 MsgErr(cfgFile.MsjErr); 61 if not cfgFile.PropertiesToFile then begin 62 MsgErr(cfgFile.MsjErr);
|
/dports/audio/cantata/cantata-2.4.2/mpd-interface/ |
H A D | mpduser.cpp | 144 if (cfgFile.open(QIODevice::ReadOnly|QIODevice::Text)) { in setMusicFolder() 145 while (!cfgFile.atEnd()) { in setMusicFolder() 153 cfgFile.close(); in setMusicFolder() 158 QTextStream out(&cfgFile); in setMusicFolder() 162 cfgFile.close(); in setMusicFolder() 198 QFile cfgFile(cfgFileName); in cleanup() local 203 if (cfgFile.open(QIODevice::ReadOnly|QIODevice::Text)) { in cleanup() 207 while (!cfgFile.atEnd()) { in cleanup() 266 QFile cfgFile(cfgName); in init() local 271 QTextStream out(&cfgFile); in init() [all …]
|
/dports/net/x2goclient/x2goclient-4.1.2.2/src/ |
H A D | x2gosettings.cpp | 28 cfgFile=new QTemporaryFile(); in X2goSettings() 29 cfgFile->open(); in X2goSettings() 30 QTextStream out(cfgFile); in X2goSettings() 32 cfgFile->close(); in X2goSettings() 33 set=new QSettings ( cfgFile->fileName(), in X2goSettings() 40 cfgFile=0l; in X2goSettings() 105 if (cfgFile) in ~X2goSettings() 106 delete cfgFile; in ~X2goSettings()
|
/dports/multimedia/navidrome/navidrome-0.40.0/conf/ |
H A D | configuration.go | 149 func InitConfig(cfgFile string) { 150 cfgFile = getConfigFile(cfgFile) 151 if cfgFile != "" { 153 viper.SetConfigFile(cfgFile) 167 if cfgFile != "" && err != nil { 173 func getConfigFile(cfgFile string) string { 174 if cfgFile != "" { 175 return cfgFile
|
/dports/games/gnujump/gnujump-1.0.8/src/ |
H A D | main.c | 44 char *cfgFile; in main() local 57 cfgFile = in main() 63 sprintf (cfgFile, "%s/" CONFDIR "/", homeDir); in main() 66 cfgFile = malloc (sizeof (char) * strlen (CFGFILE) + 1); in main() 68 cfgFile[0] = hscFile[0] = '\0'; in main() 70 strcat (cfgFile, CFGFILE); in main() 73 if (!loadConfigFile (cfgFile)) in main() 100 writeConfigFile (cfgFile); in main() 111 free (cfgFile); in main()
|
/dports/net-mgmt/thanos/thanos-0.11.0/pkg/reloader/ |
H A D | reloader.go | 84 cfgFile string member 108 cfgFile: cfgFile, 135 if r.cfgFile != "" { 136 watchables[filepath.Dir(r.cfgFile)] = struct{}{} 137 if err := watcher.Add(r.cfgFile); err != nil { 138 return errors.Wrapf(err, "add config file %s to watcher", r.cfgFile) 159 "cfg", r.cfgFile, 193 if r.cfgFile != "" { 195 if err := hashFile(h, r.cfgFile); err != nil { 200 b, err := ioutil.ReadFile(r.cfgFile) [all …]
|
/dports/devel/codeblocks/codeblocks-20.03/src/plugins/contrib/dragscroll/ |
H A D | dragscroll.cpp | 196 wxFileConfig cfgFile(wxEmptyString, // appname in OnAttach() local 206 cfgFile.Read(_T("MouseDragKey"), &MouseDragKey ) ; in OnAttach() 208 cfgFile.Read(_T("MouseToLineRatio"), &MouseToLineRatio ) ; in OnAttach() 209 cfgFile.Read(_T("MouseContextDelay"), &MouseContextDelay) ; in OnAttach() 210 cfgFile.Read(_T("MouseWheelZoom"), &MouseWheelZoom) ; in OnAttach() 434 wxFileConfig cfgFile(wxEmptyString, // appname in UpdateConfigFile() local 444 cfgFile.Write(_T("MouseDragKey"), MouseDragKey ) ; in UpdateConfigFile() 448 cfgFile.Write(_T("MouseWheelZoom"), MouseWheelZoom ) ; in UpdateConfigFile() 591 wxFileConfig cfgFile(wxEmptyString, // appname in OnDragScrollEvent_RereadConfig() local 601 cfgFile.Read(_T("MouseDragKey"), &MouseDragKey ) ; in OnDragScrollEvent_RereadConfig() [all …]
|
/dports/devel/commoncpp/commoncpp2-1.8.1/src/ |
H A D | keydata.cpp | 80 ifstream *Keydata::cfgFile = NULL; member in ost::Keydata 589 if(!cfgFile->is_open()) in loadFile() 600 cfgFile->seekg(0); in loadFile() 603 if(cfgFile->eof()) { in loadFile() 605 cfgFile->close(); in loadFile() 606 cfgFile->clear(); in loadFile() 627 if(cfgFile->eof()) { in loadFile() 629 cfgFile->close(); in loadFile() 630 cfgFile->clear(); in loadFile() 711 if(!Keydata::cfgFile) in end() [all …]
|
/dports/security/lego/lego-4.5.3/vendor/github.com/liquidweb/liquidweb-cli/cmd/ |
H A D | authInit.go | 250 cfgFile, cfgPathErr := getExpectedConfigPath() 255 if utils.FileExists(cfgFile) { 256 if err := os.Remove(cfgFile); err != nil { 259 f, err := os.Create(cfgFile) 266 if err := os.Chmod(cfgFile, 0600); err != nil { 317 cfgFile := fmt.Sprintf("%s/.liquidweb-cli.yaml", homedir) 319 return cfgFile, nil 323 cfgFile, err := getExpectedConfigPath() 328 f, err := os.Create(cfgFile) 336 if err := os.Chmod(cfgFile, 0600); err != nil {
|
/dports/sysutils/gomplate/gomplate-3.9.0/vendor/github.com/hashicorp/consul/agent/auto-config/ |
H A D | auto_config_test.go | 197 cfgFile := filepath.Join(configDir, "test.json") 198 require.NoError(t, ioutil.WriteFile(cfgFile, []byte(`{ 226 cfgFile := filepath.Join(configDir, "test.json") 227 require.NoError(t, ioutil.WriteFile(cfgFile, []byte(`{ 265 cfgFile := filepath.Join(configDir, "test.json") 266 require.NoError(t, ioutil.WriteFile(cfgFile, []byte(`{ 370 cfgFile := filepath.Join(configDir, "test.json") 371 require.NoError(t, ioutil.WriteFile(cfgFile, []byte(`{ 489 cfgFile := filepath.Join(configDir, "test.json") 586 cfgFile := filepath.Join(configDir, "test.json") [all …]
|
/dports/sysutils/syslog-ng/syslog-ng-3.35.1/modules/java-modules/elastic-v2/src/main/java/org/syslog_ng/elasticsearch_v2/client/esnative/ |
H A D | ESNodeClient.java | 56 private void loadConfigFile(String cfgFile, NodeBuilder nodeBuilder) { in loadConfigFile() argument 57 if (cfgFile == null || cfgFile.isEmpty()) { in loadConfigFile() 61 URI url = new File(cfgFile).toURI(); in loadConfigFile() 65 …logger.warn("Can't load settings from file, file = '" + cfgFile + "', reason = '" + e.getMessage()… in loadConfigFile()
|
/dports/games/blackshadeselite/blackshadeselite/Source/ |
H A D | Config.cpp | 52 char cfgFile[PATH_MAX]; in Config() local 53 strcpy(cfgFile, getenv("HOME")); in Config() 54 strcat(cfgFile, "/.blackshades.config"); in Config() 56 if(!ConfigExist(cfgFile)) { in Config() 57 WriteConfig(cfgFile); in Config() 60 ReadConfig(cfgFile); in Config()
|