Home
last modified time | relevance | path

Searched refs:filemode (Results 1 – 25 of 25) sorted by relevance

/external/python/cpython3/Lib/
Dtarfile.py260 def filemode(mode): function
265 return stat.filemode(mode)
1576 filemode, comptype = mode.split(":", 1)
1577 filemode = filemode or "r"
1586 return func(name, filemode, fileobj, **kwargs)
1589 filemode, comptype = mode.split("|", 1)
1590 filemode = filemode or "r"
1593 if filemode not in ("r", "w"):
1596 stream = _Stream(name, filemode, comptype, fileobj, bufsize)
1598 t = cls(name, filemode, stream, **kwargs)
[all …]
Dstat.py139 def filemode(mode): function
Dzipfile.py371 result.append(' filemode=%r' % stat.filemode(hi))
1079 filemode = modeDict[mode]
1082 self.fp = io.open(file, filemode)
1084 if filemode in modeDict:
1085 filemode = modeDict[filemode]
/external/python/cpython2/Lib/
Dtarfile.py311 def filemode(mode): function
1683 filemode, comptype = mode.split(":", 1)
1684 filemode = filemode or "r"
1693 return func(name, filemode, fileobj, **kwargs)
1696 filemode, comptype = mode.split("|", 1)
1697 filemode = filemode or "r"
1700 if filemode not in ("r", "w"):
1703 stream = _Stream(name, filemode, comptype, fileobj, bufsize)
1705 t = cls(name, filemode, stream, **kwargs)
1956 print filemode(tarinfo.mode),
/external/ply/ply/example/BASIC/
Dbasiclog.py14 filemode="w"
/external/curl/tests/
Druntests.pl3782 my $filemode=$replycheckpartattr{'mode'};
3783 if($filemode && ($filemode eq "text") && $has_textaware) {
3801 my $filemode=$replyattr{'mode'};
3802 if($filemode && ($filemode eq "text") && $has_textaware) {
4282 my $filemode=$hash{'mode'};
4283 if($filemode && ($filemode eq "text") && $has_textaware) {
4458 my $filemode=$hash{'mode'};
4459 if($filemode && ($filemode eq "text") && $has_textaware) {
/external/parameter-framework/upstream/tools/clientSimulator/
DpfClientSimulator.py161 filemode='w')
/external/python/cpython3/Lib/test/
Dtest_stat.py91 modestr = self.statmod.filemode(st_mode)
Dtest_logging.py3737 logging.basicConfig(filename='test.log', filemode='wb')
3795 logging.basicConfig(filename=None, filemode='a')
/external/python/cpython2/Python/
Dimport.c1320 char *filemode; in find_module() local
1575 filemode = fdp->mode; in find_module()
1576 if (filemode[0] == 'U') in find_module()
1577 filemode = "r" PY_STDIOTEXTMODE; in find_module()
1578 fp = fopen(buf, filemode); in find_module()
/external/python/cpython3/Doc/library/
Dstat.rst132 .. function:: filemode(mode)
Dtarfile.rst46 *mode* has to be a string of the form ``'filemode[:compression]'``, it defaults
106 ``'filemode|[compression]'``. :func:`tarfile.open` will return a :class:`TarFile`
Dlogging.rst1110 | ``filemode`` | Specifies the mode to open the file, if |
1111 | | filename is specified (if filemode is |
/external/python/cpython2/Doc/tools/
Dsusp-ignored.csv119 library/tarfile,,:compression,filemode[:compression]
/external/python/cpython2/Doc/library/
Dtarfile.rst47 *mode* has to be a string of the form ``'filemode[:compression]'``, it defaults
86 ``'filemode|[compression]'``. :func:`tarfile.open` will return a :class:`TarFile`
Dlogging.rst956 | ``filemode`` | Specifies the mode to open the file, if |
957 | | filename is specified (if filemode is |
/external/python/cpython2/Modules/
D_bsddb.c5712 int err, filemode; in DBEnv_set_lg_filemode() local
5714 if (!PyArg_ParseTuple(args, "i:set_lg_filemode", &filemode)) in DBEnv_set_lg_filemode()
5719 err = self->db_env->set_lg_filemode(self->db_env, filemode); in DBEnv_set_lg_filemode()
5728 int err, filemode; in DBEnv_get_lg_filemode() local
5733 err = self->db_env->get_lg_filemode(self->db_env, &filemode); in DBEnv_get_lg_filemode()
5736 return NUMBER_FromLong(filemode); in DBEnv_get_lg_filemode()
/external/python/cpython3/Doc/tools/
Dsusp-ignored.csv216 library/tarfile,,:compression,filemode[:compression]
/external/python/cpython3/Doc/howto/
Dlogging.rst175 not remembering the messages from earlier runs, you can specify the *filemode*
178 logging.basicConfig(filename='example.log', filemode='w', level=logging.DEBUG)
Dlogging-cookbook.rst218 filemode='w')
/external/python/cpython2/Doc/howto/
Dlogging.rst175 not remembering the messages from earlier runs, you can specify the *filemode*
178 logging.basicConfig(filename='example.log', filemode='w', level=logging.DEBUG)
Dlogging-cookbook.rst218 filemode='w')
/external/python/cpython3/Doc/whatsnew/
D3.3.rst1976 The undocumented tarfile.filemode function has been moved to
1977 :func:`stat.filemode`. It can be used to convert a file's mode to a string of
/external/python/cpython3/Misc/
DHISTORY7611 - Issue #14807: move undocumented tarfile.filemode() to stat.filemode() and add
7612 doc entry. Add tarfile.filemode alias with deprecation warning.
19664 - Bug #1017553: fix bug in tarfile.filemode()
/external/python/cpython2/Misc/
DHISTORY2280 - Bug #1017553: fix bug in tarfile.filemode()