Home
last modified time | relevance | path

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

12

/third_party/ffmpeg/doc/examples/
Davio_list_dir.c62 char filemode[4], uid_and_gid[20]; in list_op() local
77 if (entry->filemode == -1) { in list_op()
78 snprintf(filemode, 4, "???"); in list_op()
80 snprintf(filemode, 4, "%3"PRIo64, entry->filemode); in list_op()
92 filemode, in list_op()
/third_party/mesa3d/src/util/
Dos_file.c30 os_file_create_unique(const char *filename, int filemode) in os_file_create_unique() argument
32 int fd = open(filename, O_CREAT | O_EXCL | O_WRONLY, filemode); in os_file_create_unique()
Dos_file.h25 os_file_create_unique(const char *filename, int filemode);
/third_party/iowow/src/fs/
Diwfile.c214 if (!opts->filemode) { in iwfs_file_open()
215 opts->filemode = IWFS_DEFAULT_FILEMODE; in iwfs_file_open()
255 impl->fh = open(opts->path, mode, opts->filemode); in iwfs_file_open()
Diwfile.h115 int filemode; member
/third_party/python/Lib/
Dstat.py156 def filemode(mode): function
Dtarfile.py1623 filemode, comptype = mode.split(":", 1)
1624 filemode = filemode or "r"
1633 return func(name, filemode, fileobj, **kwargs)
1636 filemode, comptype = mode.split("|", 1)
1637 filemode = filemode or "r"
1640 if filemode not in ("r", "w"):
1643 stream = _Stream(name, filemode, comptype, fileobj, bufsize)
1645 t = cls(name, filemode, stream, **kwargs)
1924 _safe_print(stat.filemode(tarinfo.mode))
Dzipfile.py396 result.append(' filemode=%r' % stat.filemode(hi))
1237 filemode = modeDict[mode]
1240 self.fp = io.open(file, filemode)
1242 if filemode in modeDict:
1243 filemode = modeDict[filemode]
/third_party/curl/tests/
Druntests.pl3826 my $filemode=$replycheckpartattr{'mode'};
3827 if($filemode && ($filemode eq "text") && $has_textaware) {
3845 my $filemode=$replyattr{'mode'};
3846 if($filemode && ($filemode eq "text") && $has_textaware) {
4274 my $filemode=$hash{'mode'};
4275 if($filemode && ($filemode eq "text") && $has_textaware) {
4322 my $filemode=$hash{'mode'};
4323 if($filemode && ($filemode eq "text") && $has_textaware) {
4511 my $filemode=$hash{'mode'};
4512 if($filemode && ($filemode eq "text") && $has_textaware) {
/third_party/ffmpeg/libavformat/
Davio.h100 int64_t filemode; /**< Unix file mode, -1 if unknown. */ member
Durl.c336 entry->filemode = -1; in ff_alloc_dir_entry()
Dfile.c330 (*next)->filemode = st.st_mode & 0777; in file_read_dir()
Dlibsmbclient.c268 entry->filemode = st.st_mode & 0777; in libsmbc_read_dir()
Dlibssh.c363 entry->filemode = attr->permissions & 0777; in libssh_read_dir()
Dftp.c989 next->filemode = strtoumax(value, NULL, 8); in ftp_parse_entry_mlsd()
/third_party/python/Lib/test/
Dtest_stat.py96 modestr = self.statmod.filemode(st_mode)
Dtest_logging.py4589 logging.basicConfig(filename='test.log', filemode='wb')
4647 logging.basicConfig(filename=None, filemode='a')
/third_party/python/Misc/NEWS.d/
D3.10.2.rst266 :class:`logging.FileHandler` is used in :mod:`atexit` with *filemode* set to
D3.8.0a1.rst885 Added the "socket" option in the `stat.filemode()` Python implementation to
4191 Remove ``tarfile.filemode`` which is deprecated since Python 3.3.
/third_party/python/Doc/library/
Dstat.rst132 .. function:: filemode(mode)
Dtarfile.rst46 *mode* has to be a string of the form ``'filemode[:compression]'``, it defaults
109 ``'filemode|[compression]'``. :func:`tarfile.open` will return a :class:`TarFile`
Dlogging.rst1194 | *filemode* | If *filename* is specified, open the file |
/third_party/python/Doc/tools/
Dsusp-ignored.csv230 library/tarfile,,:compression,filemode[:compression]
/third_party/python/Doc/howto/
Dlogging.rst188 not remembering the messages from earlier runs, you can specify the *filemode*
191 logging.basicConfig(filename='example.log', filemode='w', level=logging.DEBUG)
/third_party/python/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

12