/dports/emulators/mgba/mgba-0.9.2/src/util/ |
H A D | configuration.c | 87 struct Table* currentSection = &configuration->root; in ConfigurationSetValue() local 90 if (!currentSection) { in ConfigurationSetValue() 92 currentSection = malloc(sizeof(*currentSection)); in ConfigurationSetValue() 93 HashTableInit(currentSection, 0, _sectionDeinit); in ConfigurationSetValue() 103 HashTableRemove(currentSection, key); in ConfigurationSetValue() 129 if (!currentSection) { in ConfigurationClearValue() 133 HashTableRemove(currentSection, key); in ConfigurationClearValue() 144 if (!currentSection) { in ConfigurationGetValue() 148 return HashTableLookup(currentSection, key); in ConfigurationGetValue() 206 if (currentSection) { in ConfigurationWriteSection() [all …]
|
/dports/games/libretro-mgba/mgba-6186d45/src/util/ |
H A D | configuration.c | 87 struct Table* currentSection = &configuration->root; in ConfigurationSetValue() local 90 if (!currentSection) { in ConfigurationSetValue() 92 currentSection = malloc(sizeof(*currentSection)); in ConfigurationSetValue() 93 HashTableInit(currentSection, 0, _sectionDeinit); in ConfigurationSetValue() 103 HashTableRemove(currentSection, key); in ConfigurationSetValue() 129 if (!currentSection) { in ConfigurationClearValue() 133 HashTableRemove(currentSection, key); in ConfigurationClearValue() 144 if (!currentSection) { in ConfigurationGetValue() 148 return HashTableLookup(currentSection, key); in ConfigurationGetValue() 201 if (currentSection) { in ConfigurationWriteSection() [all …]
|
/dports/x11/sddm/sddm-0.19.0/src/common/ |
H A D | ConfigReader.cpp | 206 currentSection = QStringLiteral("X11"); in loadInternal() 273 if (currentSection && !sectionOrder.contains(currentSection)) { in save() 274 sectionOrder.append(currentSection); in save() 277 sectionData[currentSection].append(junk); in save() 278 sectionData[currentSection].append(data); in save() 299 if (currentSection && currentSection->entry(name)) { in save() 309 remainingEntries.remove(currentSection, currentSection->entry(name)); in save() 312 if (currentSection) in save() 329 currentSection = nullptr; in save() 344 currentSection = it.key(); in save() [all …]
|
/dports/news/husky-areafix/husky-areafix-1.9.20191207/htpl/src/ |
H A D | parse.c | 41 tpl->currentSection = NULL; in newTemplate() 354 tpl->currentSection = s; in parseSection() 401 tpl->currentSection->name, tpl->currentSection->file); in parseDirective() 409 tpl->currentSection->name, tpl->currentSection->file); in parseDirective() 421 if (tpl->currentSection) in parseDirective() 436 s = tpl->currentSection; in parseDirective() 451 …} else if ((tpl->currentSection->iflevel==-1) || tpl->currentSection->ifstack[tpl->currentSection-… in parseDirective() 458 s = tpl->currentSection; in parseDirective() 473 …} else if ((tpl->currentSection->iflevel==-1) || tpl->currentSection->ifstack[tpl->currentSection-… in parseDirective() 477 s = tpl->currentSection; in parseDirective() [all …]
|
/dports/news/husky/husky-1.9.20191207/htpl/src/ |
H A D | parse.c | 41 tpl->currentSection = NULL; in newTemplate() 354 tpl->currentSection = s; in parseSection() 401 tpl->currentSection->name, tpl->currentSection->file); in parseDirective() 409 tpl->currentSection->name, tpl->currentSection->file); in parseDirective() 421 if (tpl->currentSection) in parseDirective() 436 s = tpl->currentSection; in parseDirective() 451 …} else if ((tpl->currentSection->iflevel==-1) || tpl->currentSection->ifstack[tpl->currentSection-… in parseDirective() 458 s = tpl->currentSection; in parseDirective() 473 …} else if ((tpl->currentSection->iflevel==-1) || tpl->currentSection->ifstack[tpl->currentSection-… in parseDirective() 477 s = tpl->currentSection; in parseDirective() [all …]
|
/dports/news/husky-fidoconf/husky-fidoconf-1.9.20191207/htpl/src/ |
H A D | parse.c | 41 tpl->currentSection = NULL; in newTemplate() 354 tpl->currentSection = s; in parseSection() 401 tpl->currentSection->name, tpl->currentSection->file); in parseDirective() 409 tpl->currentSection->name, tpl->currentSection->file); in parseDirective() 421 if (tpl->currentSection) in parseDirective() 436 s = tpl->currentSection; in parseDirective() 451 …} else if ((tpl->currentSection->iflevel==-1) || tpl->currentSection->ifstack[tpl->currentSection-… in parseDirective() 458 s = tpl->currentSection; in parseDirective() 473 …} else if ((tpl->currentSection->iflevel==-1) || tpl->currentSection->ifstack[tpl->currentSection-… in parseDirective() 477 s = tpl->currentSection; in parseDirective() [all …]
|
/dports/news/husky-huskylib/husky-huskylib-1.9.20191207/htpl/src/ |
H A D | parse.c | 41 tpl->currentSection = NULL; in newTemplate() 354 tpl->currentSection = s; in parseSection() 401 tpl->currentSection->name, tpl->currentSection->file); in parseDirective() 409 tpl->currentSection->name, tpl->currentSection->file); in parseDirective() 421 if (tpl->currentSection) in parseDirective() 436 s = tpl->currentSection; in parseDirective() 451 …} else if ((tpl->currentSection->iflevel==-1) || tpl->currentSection->ifstack[tpl->currentSection-… in parseDirective() 458 s = tpl->currentSection; in parseDirective() 473 …} else if ((tpl->currentSection->iflevel==-1) || tpl->currentSection->ifstack[tpl->currentSection-… in parseDirective() 477 s = tpl->currentSection; in parseDirective() [all …]
|
/dports/news/husky-hpt/husky-hpt-1.9.20191207/htpl/src/ |
H A D | parse.c | 41 tpl->currentSection = NULL; in newTemplate() 354 tpl->currentSection = s; in parseSection() 401 tpl->currentSection->name, tpl->currentSection->file); in parseDirective() 409 tpl->currentSection->name, tpl->currentSection->file); in parseDirective() 421 if (tpl->currentSection) in parseDirective() 436 s = tpl->currentSection; in parseDirective() 451 …} else if ((tpl->currentSection->iflevel==-1) || tpl->currentSection->ifstack[tpl->currentSection-… in parseDirective() 458 s = tpl->currentSection; in parseDirective() 473 …} else if ((tpl->currentSection->iflevel==-1) || tpl->currentSection->ifstack[tpl->currentSection-… in parseDirective() 477 s = tpl->currentSection; in parseDirective() [all …]
|
/dports/news/husky-sqpack/husky-sqpack-1.9.20191207/htpl/src/ |
H A D | parse.c | 41 tpl->currentSection = NULL; in newTemplate() 354 tpl->currentSection = s; in parseSection() 401 tpl->currentSection->name, tpl->currentSection->file); in parseDirective() 409 tpl->currentSection->name, tpl->currentSection->file); in parseDirective() 421 if (tpl->currentSection) in parseDirective() 436 s = tpl->currentSection; in parseDirective() 451 …} else if ((tpl->currentSection->iflevel==-1) || tpl->currentSection->ifstack[tpl->currentSection-… in parseDirective() 458 s = tpl->currentSection; in parseDirective() 473 …} else if ((tpl->currentSection->iflevel==-1) || tpl->currentSection->ifstack[tpl->currentSection-… in parseDirective() 477 s = tpl->currentSection; in parseDirective() [all …]
|
/dports/news/husky-smapi/husky-smapi-1.9.20191207,1/htpl/src/ |
H A D | parse.c | 41 tpl->currentSection = NULL; in newTemplate() 354 tpl->currentSection = s; in parseSection() 401 tpl->currentSection->name, tpl->currentSection->file); in parseDirective() 409 tpl->currentSection->name, tpl->currentSection->file); in parseDirective() 421 if (tpl->currentSection) in parseDirective() 436 s = tpl->currentSection; in parseDirective() 451 …} else if ((tpl->currentSection->iflevel==-1) || tpl->currentSection->ifstack[tpl->currentSection-… in parseDirective() 458 s = tpl->currentSection; in parseDirective() 473 …} else if ((tpl->currentSection->iflevel==-1) || tpl->currentSection->ifstack[tpl->currentSection-… in parseDirective() 477 s = tpl->currentSection; in parseDirective() [all …]
|
/dports/news/husky-htick/husky-htick-1.9.20191207/htpl/src/ |
H A D | parse.c | 41 tpl->currentSection = NULL; in newTemplate() 354 tpl->currentSection = s; in parseSection() 401 tpl->currentSection->name, tpl->currentSection->file); in parseDirective() 409 tpl->currentSection->name, tpl->currentSection->file); in parseDirective() 421 if (tpl->currentSection) in parseDirective() 436 s = tpl->currentSection; in parseDirective() 451 …} else if ((tpl->currentSection->iflevel==-1) || tpl->currentSection->ifstack[tpl->currentSection-… in parseDirective() 458 s = tpl->currentSection; in parseDirective() 473 …} else if ((tpl->currentSection->iflevel==-1) || tpl->currentSection->ifstack[tpl->currentSection-… in parseDirective() 477 s = tpl->currentSection; in parseDirective() [all …]
|
/dports/www/gitlab-workhorse/gitlab-foss-0a901d60f8ae4a60c04ae82e6e9c3a03e9321417/workhorse/vendor/gitlab.com/gitlab-org/gitaly/v14/internal/git/conflict/ |
H A D | parser.go | 185 if currentSection != sectionNone { 188 currentSection = sectionNew 190 if currentSection != sectionNew { 193 currentSection = sectionOld 195 if currentSection != sectionOld { 198 currentSection = sectionNone 207 section: currentSection, 216 section: currentSection, 220 if currentSection != sectionNew { 223 if currentSection != sectionOld { [all …]
|
/dports/devel/gitlab-shell/gitlab-shell-65b8ec55bebd0aea64ac52b9878bafcc2ad992d3/vendor/gitlab.com/gitlab-org/gitaly/v14/internal/git/conflict/ |
H A D | parser.go | 185 if currentSection != sectionNone { 188 currentSection = sectionNew 190 if currentSection != sectionNew { 193 currentSection = sectionOld 195 if currentSection != sectionOld { 198 currentSection = sectionNone 207 section: currentSection, 216 section: currentSection, 220 if currentSection != sectionNew { 223 if currentSection != sectionOld { [all …]
|
/dports/textproc/gitlab-elasticsearch-indexer/gitlab-elasticsearch-indexer-ef1440548effec15831eda2d246dacc43233cefb/vendor/gitlab.com/gitlab-org/gitaly/v14/internal/git/conflict/ |
H A D | parser.go | 185 if currentSection != sectionNone { 188 currentSection = sectionNew 190 if currentSection != sectionNew { 193 currentSection = sectionOld 195 if currentSection != sectionOld { 198 currentSection = sectionNone 207 section: currentSection, 216 section: currentSection, 220 if currentSection != sectionNew { 223 if currentSection != sectionOld { [all …]
|
/dports/games/hedgewars-server/hedgewars-src-1.0.0/project_files/frontlib/util/ |
H A D | inihelper.c | 36 char *currentSection; member 113 free(ini->currentSection); in flib_ini_destroy() 121 free(ini->currentSection); in flib_ini_enter_section() 122 ini->currentSection = NULL; in flib_ini_enter_section() 129 ini->currentSection = flib_strdupnull(section); in flib_ini_enter_section() 130 if(ini->currentSection) { in flib_ini_enter_section() 133 strToLower(ini->currentSection); in flib_ini_enter_section() 262 char *dictKey = createDictKey(ini->currentSection, key); in flib_ini_set_str() 303 if(!log_badargs_if2(ini==NULL, ini->currentSection==NULL)) { in flib_ini_get_keycount() 304 return iniparser_getsecnkeys(ini->inidict, ini->currentSection); in flib_ini_get_keycount() [all …]
|
/dports/games/hedgewars/hedgewars-src-1.0.0/project_files/frontlib/util/ |
H A D | inihelper.c | 36 char *currentSection; member 113 free(ini->currentSection); in flib_ini_destroy() 121 free(ini->currentSection); in flib_ini_enter_section() 122 ini->currentSection = NULL; in flib_ini_enter_section() 129 ini->currentSection = flib_strdupnull(section); in flib_ini_enter_section() 130 if(ini->currentSection) { in flib_ini_enter_section() 133 strToLower(ini->currentSection); in flib_ini_enter_section() 262 char *dictKey = createDictKey(ini->currentSection, key); in flib_ini_set_str() 303 if(!log_badargs_if2(ini==NULL, ini->currentSection==NULL)) { in flib_ini_get_keycount() 304 return iniparser_getsecnkeys(ini->inidict, ini->currentSection); in flib_ini_get_keycount() [all …]
|
/dports/devel/pear-Config/Config-1.10.12/Config/Container/ |
H A D | Apache.php | 81 $currentSection =& $sections[count($sections)-1]; 82 $currentSection->createComment($match[1]); 85 $currentSection =& $sections[count($sections)-1]; 86 $currentSection->createBlank(); 89 $currentSection =& $sections[count($sections)-1]; 90 $currentSection->createDirective($match[1], $match[2]); 95 $currentSection =& $sections[count($sections)-1]; 97 $sections[] =& $currentSection->createSection($match[1], $attributes); 100 $currentSection =& $sections[count($sections)-1]; 101 if ($currentSection->name != $match[1]) {
|
/dports/devel/msp430-debug-stack/msp430-debug-stack-3.15.0.1/DLL430_v3/src/TI/DLL430/ |
H A D | Record.cpp | 55 , currentSection(0) in Record() 64 return currentWord < sectionEnd(currentSection); in sectionHasNextWord() 71 return currentSection < sectionCount; in hasNextSection() 81 currentWord = sectionEnd(currentSection++); in nextSection() 121 return (currentSection < sectionCount) ? address[currentSection] : 0; in getSectionStartAdr() 135 return (currentSection < sectionCount) ? length[currentSection] : 0; in getSectionLength()
|
/dports/astro/stellarium/stellarium-0.21.3/src/core/ |
H A D | StelIniParser.cpp | 43 QString currentSection = ""; in readStelIniFile() local 61 currentSection = sectionMatch.captured(1); in readStelIniFile() 75 if (currentSection != "") in readStelIniFile() 76 k = currentSection + "/" + k; in readStelIniFile() 118 QString currentSection(""); in writeStelIniFile() local 127 if (section != currentSection) in writeStelIniFile() 129 currentSection = section; in writeStelIniFile() 131 outputLine = stelEndl + "[" + currentSection + "]" + stelEndl; in writeStelIniFile()
|
/dports/textproc/fop/fop-2.6/fop-core/src/main/java/org/apache/fop/render/rtf/rtflib/rtfdoc/ |
H A D | RtfDocumentArea.java | 40 private RtfSection currentSection; field in RtfDocumentArea 53 if (currentSection != null) { in newSection() 54 currentSection.close(); in newSection() 56 currentSection = new RtfSection(this, writer); in newSection() 57 return currentSection; in newSection()
|
/dports/sysutils/coreos-ct/container-linux-config-transpiler-0.9.0/internal/util/tools/ |
H A D | docs.go | 81 var currentSection []string 86 if len(currentSection) > 0 { 87 yamlSections = append(yamlSections, currentSection) 89 currentSection = nil 92 currentSection = append(currentSection, line)
|
/dports/devel/cli11/CLI11-2.1.2/include/CLI/ |
H A D | Config.hpp | 126 auto parents = detail::generate_parents(currentSection, estring, parentSeparator); in checkParentSegments() 174 std::string currentSection = "default"; in from_config() local 195 if(currentSection != "default") { in from_config() 201 currentSection = line.substr(1, len - 2); in from_config() 203 … if(currentSection.size() > 1 && currentSection.front() == '[' && currentSection.back() == ']') { in from_config() 204 currentSection = currentSection.substr(1, currentSection.size() - 2); in from_config() 206 if(detail::to_lower(currentSection) == "default") { in from_config() 207 currentSection = "default"; in from_config() 212 if(currentSection == previousSection) { in from_config() 216 previousSection = currentSection; in from_config() [all …]
|
/dports/cad/kicad-devel/kicad-a17a58203b33e08b966075833b177dad5740c236/common/ |
H A D | hotkey_store.cpp | 125 HOTKEY_SECTION* currentSection = nullptr; in Init() local 135 if( !currentSection || entryApp != currentApp ) in Init() 139 currentSection = &m_hk_sections.back(); in Init() 140 currentSection->m_SectionName = GetSectionName( entryAction ); in Init() 145 currentSection->m_HotKeys.emplace_back( HOTKEY( command ) ); in Init() 149 currentSection->m_HotKeys.emplace_back( HOTKEY( entry.second ) ); in Init() 155 currentSection = &m_hk_sections.back(); in Init() 156 currentSection->m_SectionName = _( "Gestures" ); in Init() 159 currentSection->m_HotKeys.emplace_back( HOTKEY( gesture ) ); in Init()
|
/dports/games/amoebax/amoebax-0.2.1/src/ |
H A D | UnixOptions.cxx | 104 const Section ¤tSection = sectionIterator->second; in getStringValue() local 105 … std::map<std::string, std::string>::const_iterator optionIterator = currentSection.find (name); in getStringValue() 106 if ( currentSection.end () != optionIterator ) in getStringValue() 189 Section *currentSection = 0; in readOptions() local 198 currentSection = &(m_Sections[section]); in readOptions() 200 else if ( 0 != currentSection ) in readOptions() 206 (*currentSection)[name] = value; in readOptions() 284 const Section ¤tSection = sectionIterator->second; in writeOptions() local 285 … for ( std::map<std::string, std::string>::const_iterator currentOption = currentSection.begin () ; in writeOptions() 286 currentOption != currentSection.end () ; ++currentOption ) in writeOptions()
|
/dports/games/openra/OpenRA-release-20200503/OpenRA.Mods.Common/FileFormats/ |
H A D | IniFile.cs | 39 IniSection currentSection = null; in Load() 50 case '[': currentSection = ProcessSection(line); break; in Load() 51 default: ProcessEntry(line, currentSection); break; in Load() 71 static bool ProcessEntry(string line, IniSection currentSection) in ProcessEntry() argument 90 if (currentSection == null) in ProcessEntry() 93 if (!currentSection.Contains(key)) in ProcessEntry() 94 currentSection.Add(key, value); in ProcessEntry()
|