Home
last modified time | relevance | path

Searched refs:readfp (Results 1 – 24 of 24) sorted by relevance

/external/python/cpython3/Lib/
Dmimetypes.py206 self.readfp(fp, strict)
208 def readfp(self, fp, strict=True): member in MimeTypes
380 db.readfp(f, True)
Dconfigparser.py756 def readfp(self, fp, filename=None): member in RawConfigParser
/external/python/cpython2/Lib/
Dmimetypes.py203 self.readfp(fp, strict)
205 def readfp(self, fp, strict=True): member in MimeTypes
374 db.readfp(f, True)
DConfigParser.py310 def readfp(self, fp, filename=None): member in RawConfigParser
/external/autotest/client/bin/
Dtest_config.py38 self.parser.readfp(self.cfg)
57 self.parser.readfp(self.cfg)
/external/autotest/server/cros/
Dap_config_unittest.py42 parser.readfp(io.BytesIO(conf))
/external/u-boot/tools/buildman/
Dbsettings.py31 settings.readfp(io.StringIO(data))
/external/yapf/yapf/yapflib/
Dpy3compat.py118 self.readfp(fp, filename=source)
/external/autotest/client/common_lib/cros/
Davahi_utils.py44 conf.readfp(io.BytesIO(existing_config))
/external/python/cpython2/Doc/library/
Dmimetypes.rst182 :meth:`readfp` methods. The mapping dictionaries may also be cleared before
240 Load MIME information from a file named *filename*. This uses :meth:`readfp` to
247 .. method:: MimeTypes.readfp(fp, strict=True)
Dconfigparser.rst284 load the required file or files using :meth:`readfp` before calling :meth:`read`
290 config.readfp(open('defaults.cfg'))
297 .. method:: RawConfigParser.readfp(fp[, filename])
546 >>> config.readfp(io.BytesIO(sample_config))
/external/python/cpython2/Lib/test/
Dtest_mimetypes.py39 self.db.readfp(sio)
Dtest_cfgparser.py46 cf.readfp(sio)
183 self.assertRaises(exc, self.cf.readfp, sio)
444 cf_from_file.readfp(f)
/external/python/cpython3/Doc/library/
Dmimetypes.rst191 :meth:`readfp` methods. The mapping dictionaries may also be cleared before
249 Load MIME information from a file named *filename*. This uses :meth:`readfp` to
256 .. method:: MimeTypes.readfp(fp, strict=True)
Dconfigparser.rst1027 Replaces :meth:`readfp`.
1166 .. method:: readfp(fp, filename=None)
1172 :meth:`readfp` now iterates on *fp* instead of calling ``fp.readline()``.
1174 For existing code calling :meth:`readfp` with arguments which don't
1184 Instead of ``parser.readfp(fp)`` use
/external/autotest/frontend/afe/
Dmoblab_rpc_interface_unittest.py303 shadow_config.readfp(StringIO.StringIO(shadow_config_str))
348 shadow_config.readfp(StringIO.StringIO(shadow_config_str))
/external/python/cpython3/Lib/test/
Dtest_mimetypes.py40 self.db.readfp(sio)
Dtest_configparser.py1640 parser.readfp(sio, filename='StringIO')
/external/clang/utils/check_cfc/
Dcheck_cfc.py322 config.readfp(io.BytesIO(default_config))
/external/python/cpython3/Lib/importlib/
Dmetadata.py102 config.readfp(io.StringIO(text))
/external/python/cpython2/Lib/logging/
Dconfig.py73 cp.readfp(fname)
/external/python/setuptools/setuptools/command/
Deasy_install.py1523 cfg.readfp(six.StringIO(config))
/external/python/cpython3/Doc/whatsnew/
D2.7.rst1147 >>> config.readfp(StringIO.StringIO(sample_config))
/external/python/cpython2/Doc/whatsnew/
D2.7.rst1132 >>> config.readfp(StringIO.StringIO(sample_config))