Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/
Dtarfile.py259 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 …]
Dstat.py139 def filemode(mode): function
Dzipfile.py391 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/
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.pl3708 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/
DpfClientSimulator.py161 filemode='w')
/external/python/cpython3/Lib/test/
Dtest_stat.py91 modestr = self.statmod.filemode(st_mode)
Dtest_logging.py3985 logging.basicConfig(filename='test.log', filemode='wb')
4043 logging.basicConfig(filename=None, filemode='a')
/external/python/cpython2/Python/
Dimport.c1342 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/
Dloginrec.c1477 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/
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.rst1136 | *filemode* | If *filename* is specified, open the file |
/external/python/cpython2/Doc/tools/
Dsusp-ignored.csv121 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* | If *filename* is specified, open the file |
/external/python/cpython2/Modules/
D_bsddb.c5736 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/
Dsusp-ignored.csv223 library/tarfile,,:compression,filemode[:compression]
/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/howto/
Dlogging.rst179 not remembering the messages from earlier runs, you can specify the *filemode*
182 logging.basicConfig(filename='example.log', filemode='w', level=logging.DEBUG)
Dlogging-cookbook.rst222 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()

12