Home
last modified time | relevance | path

Searched refs:section_name (Results 1 – 2 of 2) sorted by relevance

/development/vndk/tools/header-checker/src/utils/
Dconfig_file.h90 bool HasSection(const std::string &section_name) const { in HasSection() argument
91 return map_.find(section_name) != map_.end(); in HasSection()
94 const ConfigSection &GetSection(const std::string &section_name) const { in GetSection() argument
95 auto &&it = map_.find(section_name); in GetSection()
100 const ConfigSection &operator[](const std::string &section_name) const {
101 return GetSection(section_name);
104 bool HasProperty(const std::string &section_name, in HasProperty() argument
106 auto &&it = map_.find(section_name); in HasProperty()
113 std::string GetProperty(const std::string &section_name, in GetProperty() argument
115 auto &&it = map_.find(section_name); in GetProperty()
Dconfig_file.cpp63 std::string_view section_name = line.substr(1, pos - 1); in ParseLine() local
64 section_ = &cfg_.map_[std::string(section_name)]; in ParseLine()