HomeSort by relevance Sort by last modified time
    Searched refs:ConfigParser (Results 1 - 25 of 104) sorted by null

1 2 3 4 5

  /external/autotest/site_utils/rpm_control_system/
config.py 6 import ConfigParser
9 rpm_config = ConfigParser.SafeConfigParser()
test_client.py 4 import ConfigParser
9 CONFIG = ConfigParser.ConfigParser()
  /external/autotest/site_utils/suite_scheduler/
forgiving_config_parser.py 5 import ConfigParser
10 """A decorator to make ConfigParser get*() functions return None on fail."""
14 except ConfigParser.Error:
21 class ForgivingConfigParser(ConfigParser.SafeConfigParser):
27 Note that I can't use super() here, as ConfigParser.SafeConfigParser
35 ConfigParser.SafeConfigParser.__init__(self)
45 to_return = ConfigParser.SafeConfigParser.read(self, filenames)
54 return ConfigParser.SafeConfigParser.read(
62 return ConfigParser.SafeConfigParser.get(self, section, option)
67 return ConfigParser.SafeConfigParser.getint(self, section, option
    [all...]
  /external/webrtc/webrtc/base/
linux.h 25 // ConfigParser parses a FileStream of an ".ini."-type format into a map.
29 // ConfigParser parser;
30 // ConfigParser::MapVector key_val_pairs;
39 class ConfigParser {
44 ConfigParser();
45 virtual ~ConfigParser();
104 ConfigParser::MapVector sections_;
linux.cc 38 ConfigParser procfs;
150 ConfigParser::SimpleMap::iterator iter = sections_[section_num].find(key);
164 ConfigParser::SimpleMap::iterator iter = sections_[section_num].find(key);
171 ConfigParser::ConfigParser() {}
173 ConfigParser::~ConfigParser() {}
175 bool ConfigParser::Open(const std::string& filename) {
184 void ConfigParser::Attach(StreamInterface* stream) {
188 bool ConfigParser::Parse(MapVector* key_val_pairs)
    [all...]
linux_unittest.cc 70 TEST(ConfigParser, ParseConfig) {
71 ConfigParser parser;
78 ConfigParser::MapVector key_val_pairs;
  /frameworks/base/wifi/tests/src/android/net/wifi/hotspot2/
ConfigParserTest.java 36 * Unit tests for {@link android.net.wifi.hotspot2.ConfigParser}.
126 ConfigParser.parsePasspointConfig(
139 assertNull(ConfigParser.parsePasspointConfig(
151 assertNull(ConfigParser.parsePasspointConfig(
163 assertNull(ConfigParser.parsePasspointConfig(
175 assertNull(ConfigParser.parsePasspointConfig(
188 assertNull(ConfigParser.parsePasspointConfig(
200 assertNull(ConfigParser.parsePasspointConfig(
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/
test_cfgparser.py 1 import ConfigParser
117 self.assertRaises(ConfigParser.NoSectionError,
170 self.parse_error(ConfigParser.ParsingError,
172 self.parse_error(ConfigParser.ParsingError,
174 self.parse_error(ConfigParser.ParsingError,
176 self.parse_error(ConfigParser.ParsingError,
178 self.parse_error(ConfigParser.MissingSectionHeaderError,
188 "new ConfigParser should have no defined sections")
190 "new ConfigParser should have no acknowledged "
192 self.assertRaises(ConfigParser.NoSectionError,
    [all...]
  /tools/repohooks/rh/
config.py 20 import ConfigParser
43 class RawConfigParser(ConfigParser.RawConfigParser):
63 return ConfigParser.RawConfigParser.options(self, section)
64 except ConfigParser.NoSectionError:
73 return ConfigParser.RawConfigParser.get(self, section, option)
74 except (ConfigParser.NoSectionError, ConfigParser.NoOptionError):
83 return ConfigParser.RawConfigParser.items(self, section)
84 except ConfigParser.NoSectionError:
123 except ConfigParser.ParsingError as e
    [all...]
  /external/python/cpython2/Lib/test/
test_cfgparser.py 1 import ConfigParser
117 self.assertRaises(ConfigParser.NoSectionError,
170 self.parse_error(ConfigParser.ParsingError,
172 self.parse_error(ConfigParser.ParsingError,
174 self.parse_error(ConfigParser.ParsingError,
176 self.parse_error(ConfigParser.ParsingError,
178 self.parse_error(ConfigParser.MissingSectionHeaderError,
188 "new ConfigParser should have no defined sections")
190 "new ConfigParser should have no acknowledged "
192 self.assertRaises(ConfigParser.NoSectionError
    [all...]
  /prebuilts/gdb/darwin-x86/lib/python2.7/test/
test_cfgparser.py 1 import ConfigParser
117 self.assertRaises(ConfigParser.NoSectionError,
170 self.parse_error(ConfigParser.ParsingError,
172 self.parse_error(ConfigParser.ParsingError,
174 self.parse_error(ConfigParser.ParsingError,
176 self.parse_error(ConfigParser.ParsingError,
178 self.parse_error(ConfigParser.MissingSectionHeaderError,
188 "new ConfigParser should have no defined sections")
190 "new ConfigParser should have no acknowledged "
192 self.assertRaises(ConfigParser.NoSectionError
    [all...]
  /prebuilts/gdb/linux-x86/lib/python2.7/test/
test_cfgparser.py 1 import ConfigParser
117 self.assertRaises(ConfigParser.NoSectionError,
170 self.parse_error(ConfigParser.ParsingError,
172 self.parse_error(ConfigParser.ParsingError,
174 self.parse_error(ConfigParser.ParsingError,
176 self.parse_error(ConfigParser.ParsingError,
178 self.parse_error(ConfigParser.MissingSectionHeaderError,
188 "new ConfigParser should have no defined sections")
190 "new ConfigParser should have no acknowledged "
192 self.assertRaises(ConfigParser.NoSectionError
    [all...]
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/
test_cfgparser.py 1 import ConfigParser
117 self.assertRaises(ConfigParser.NoSectionError,
170 self.parse_error(ConfigParser.ParsingError,
172 self.parse_error(ConfigParser.ParsingError,
174 self.parse_error(ConfigParser.ParsingError,
176 self.parse_error(ConfigParser.ParsingError,
178 self.parse_error(ConfigParser.MissingSectionHeaderError,
188 "new ConfigParser should have no defined sections")
190 "new ConfigParser should have no acknowledged "
192 self.assertRaises(ConfigParser.NoSectionError
    [all...]
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/
test_cfgparser.py 1 import ConfigParser
117 self.assertRaises(ConfigParser.NoSectionError,
170 self.parse_error(ConfigParser.ParsingError,
172 self.parse_error(ConfigParser.ParsingError,
174 self.parse_error(ConfigParser.ParsingError,
176 self.parse_error(ConfigParser.ParsingError,
178 self.parse_error(ConfigParser.MissingSectionHeaderError,
188 "new ConfigParser should have no defined sections")
190 "new ConfigParser should have no acknowledged "
192 self.assertRaises(ConfigParser.NoSectionError
    [all...]
  /device/linaro/hikey/uefi-tools/
parse-platforms.py 3 import sys, os, argparse, ConfigParser
65 config = ConfigParser.ConfigParser()
  /external/autotest/client/cros/image_comparison/
image_comparison_factory.py 5 import ConfigParser
35 parser = ConfigParser.SafeConfigParser()
  /external/autotest/server/cros/network/
rf_switch_ap_box.py 5 import ConfigParser
57 ap_config_parser = ConfigParser.RawConfigParser()
  /bionic/linker/
linker_config.cpp 46 class ConfigParser {
55 explicit ConfigParser(std::string&& content)
127 DISALLOW_IMPLICIT_CONSTRUCTORS(ConfigParser);
172 ConfigParser cp(std::move(content));
182 if (result == ConfigParser::kError) {
190 if (result == ConfigParser::kSection || result == ConfigParser::kEndOfFile) {
194 if (result == ConfigParser::kProperty) {
231 if (result == ConfigParser::kSection && name == section_name) {
235 if (result == ConfigParser::kEndOfFile)
    [all...]
  /external/autotest/client/common_lib/
global_config.py 19 import ConfigParser
92 """ConfigParser instance.
161 @return: ConfigParser() object containing all the contents of section.
163 cfgparser = ConfigParser.ConfigParser()
189 except ConfigParser.Error:
295 self.config = ConfigParser.ConfigParser()
305 moblab_config = ConfigParser.ConfigParser()
    [all...]
  /device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/
config.py 7 from ConfigParser import ConfigParser
62 config = ConfigParser()
  /external/python/cpython2/Lib/distutils/
config.py 7 from ConfigParser import ConfigParser
57 config = ConfigParser()
  /prebuilts/gdb/darwin-x86/lib/python2.7/distutils/
config.py 7 from ConfigParser import ConfigParser
57 config = ConfigParser()
  /prebuilts/gdb/linux-x86/lib/python2.7/distutils/
config.py 7 from ConfigParser import ConfigParser
57 config = ConfigParser()
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/distutils/
config.py 7 from ConfigParser import ConfigParser
57 config = ConfigParser()
  /prebuilts/python/linux-x86/2.7.5/lib/python2.7/distutils/
config.py 7 from ConfigParser import ConfigParser
57 config = ConfigParser()

Completed in 4313 milliseconds

1 2 3 4 5