/external/python/cpython3/Lib/ |
D | tarfile.py | 259 def filemode(mode): function 264 return stat.filemode(mode) 1581 filemode, comptype = mode.split(":", 1) 1582 filemode = filemode or "r" 1591 return func(name, filemode, fileobj, **kwargs) 1594 filemode, comptype = mode.split("|", 1) 1595 filemode = filemode or "r" 1598 if filemode not in ("r", "w"): 1601 stream = _Stream(name, filemode, comptype, fileobj, bufsize) 1603 t = cls(name, filemode, stream, **kwargs) [all …]
|
D | stat.py | 139 def filemode(mode): function
|
D | zipfile.py | 391 result.append(' filemode=%r' % stat.filemode(hi)) 1201 filemode = modeDict[mode] 1204 self.fp = io.open(file, filemode) 1206 if filemode in modeDict: 1207 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 | 3708 my $filemode=$replycheckpartattr{'mode'}; 3709 if($filemode && ($filemode eq "text") && $has_textaware) { 3727 my $filemode=$replyattr{'mode'}; 3728 if($filemode && ($filemode eq "text") && $has_textaware) { 4208 my $filemode=$hash{'mode'}; 4209 if($filemode && ($filemode eq "text") && $has_textaware) { 4259 my $filemode=$hash{'mode'}; 4260 if($filemode && ($filemode eq "text") && $has_textaware) { 4436 my $filemode=$hash{'mode'}; 4437 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 | 3985 logging.basicConfig(filename='test.log', filemode='wb') 4043 logging.basicConfig(filename=None, filemode='a')
|
/external/python/cpython2/Python/ |
D | import.c | 1342 char *filemode; in find_module() local 1597 filemode = fdp->mode; in find_module() 1598 if (filemode[0] == 'U') in find_module() 1599 filemode = "r" PY_STDIOTEXTMODE; in find_module() 1600 fp = fopen(buf, filemode); in find_module()
|
/external/openssh/ |
D | loginrec.c | 1477 lastlog_openseek(struct logininfo *li, int *fd, int filemode) in lastlog_openseek() argument 1499 *fd = open(lastlog_file, filemode, 0600); in lastlog_openseek()
|
/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 | 1136 | *filemode* | If *filename* is specified, open the file |
|
/external/python/cpython2/Doc/tools/ |
D | susp-ignored.csv | 121 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* | If *filename* is specified, open the file |
|
/external/python/cpython2/Modules/ |
D | _bsddb.c | 5736 int err, filemode; in DBEnv_set_lg_filemode() local 5738 if (!PyArg_ParseTuple(args, "i:set_lg_filemode", &filemode)) in DBEnv_set_lg_filemode() 5743 err = self->db_env->set_lg_filemode(self->db_env, filemode); in DBEnv_set_lg_filemode() 5752 int err, filemode; in DBEnv_get_lg_filemode() local 5757 err = self->db_env->get_lg_filemode(self->db_env, &filemode); in DBEnv_get_lg_filemode() 5760 return NUMBER_FromLong(filemode); in DBEnv_get_lg_filemode()
|
/external/python/cpython3/Doc/tools/ |
D | susp-ignored.csv | 223 library/tarfile,,:compression,filemode[:compression]
|
/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/howto/ |
D | logging.rst | 179 not remembering the messages from earlier runs, you can specify the *filemode* 182 logging.basicConfig(filename='example.log', filemode='w', level=logging.DEBUG)
|
D | logging-cookbook.rst | 222 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()
|