/external/python/cpython3/Lib/ |
D | tarfile.py | 260 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 …]
|
D | stat.py | 139 def filemode(mode): function
|
D | zipfile.py | 371 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/ |
D | tarfile.py | 311 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/ |
D | basiclog.py | 14 filemode="w"
|
/external/curl/tests/ |
D | runtests.pl | 3782 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/ |
D | pfClientSimulator.py | 161 filemode='w')
|
/external/python/cpython3/Lib/test/ |
D | test_stat.py | 91 modestr = self.statmod.filemode(st_mode)
|
D | test_logging.py | 3737 logging.basicConfig(filename='test.log', filemode='wb') 3795 logging.basicConfig(filename=None, filemode='a')
|
/external/python/cpython2/Python/ |
D | import.c | 1320 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/ |
D | stat.rst | 132 .. function:: filemode(mode)
|
D | tarfile.rst | 46 *mode* has to be a string of the form ``'filemode[:compression]'``, it defaults 106 ``'filemode|[compression]'``. :func:`tarfile.open` will return a :class:`TarFile`
|
D | logging.rst | 1110 | ``filemode`` | Specifies the mode to open the file, if | 1111 | | filename is specified (if filemode is |
|
/external/python/cpython2/Doc/tools/ |
D | susp-ignored.csv | 119 library/tarfile,,:compression,filemode[:compression]
|
/external/python/cpython2/Doc/library/ |
D | tarfile.rst | 47 *mode* has to be a string of the form ``'filemode[:compression]'``, it defaults 86 ``'filemode|[compression]'``. :func:`tarfile.open` will return a :class:`TarFile`
|
D | logging.rst | 956 | ``filemode`` | Specifies the mode to open the file, if | 957 | | filename is specified (if filemode is |
|
/external/python/cpython2/Modules/ |
D | _bsddb.c | 5712 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/ |
D | susp-ignored.csv | 216 library/tarfile,,:compression,filemode[:compression]
|
/external/python/cpython3/Doc/howto/ |
D | logging.rst | 175 not remembering the messages from earlier runs, you can specify the *filemode* 178 logging.basicConfig(filename='example.log', filemode='w', level=logging.DEBUG)
|
D | logging-cookbook.rst | 218 filemode='w')
|
/external/python/cpython2/Doc/howto/ |
D | logging.rst | 175 not remembering the messages from earlier runs, you can specify the *filemode* 178 logging.basicConfig(filename='example.log', filemode='w', level=logging.DEBUG)
|
D | logging-cookbook.rst | 218 filemode='w')
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.3.rst | 1976 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/ |
D | HISTORY | 7611 - 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/ |
D | HISTORY | 2280 - Bug #1017553: fix bug in tarfile.filemode()
|