Home
last modified time | relevance | path

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

/external/ply/ply/example/BASIC/
Dbasiclog.py14 filemode="w"
/external/curl/tests/
Druntests.pl3345 my $filemode=$replycheckattr{'mode'};
3346 if($filemode && ($filemode eq "text") && $has_textaware) {
3362 my $filemode=$replycheckpartattr{'mode'};
3363 if($filemode && ($filemode eq "text") && $has_textaware) {
3381 my $filemode=$replyattr{'mode'};
3382 if($filemode && ($filemode eq "text") && $has_textaware) {
3867 my $filemode=$hash{'mode'};
3868 if($filemode && ($filemode eq "text") && $has_textaware) {
4032 my $filemode=$hash{'mode'};
4033 if($filemode && ($filemode eq "text") && $has_textaware) {
/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/parameter-framework/upstream/tools/clientSimulator/
DpfClientSimulator.py161 filemode='w')
/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/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/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/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/cpython2/Misc/
DHISTORY2280 - Bug #1017553: fix bug in tarfile.filemode()