Home
last modified time | relevance | path

Searched refs:DirEntry (Results 1 – 18 of 18) sorted by relevance

/third_party/libphonenumber/tools/cpp/src/cpp-build/
Dgenerate_geocoding_data.cc85 class DirEntry { class
87 DirEntry(const char* n, DirEntryKinds k) in DirEntry() function in i18n::phonenumbers::DirEntry
102 bool ListDirectory(const string& path, vector<DirEntry>* entries) { in ListDirectory()
136 entries->push_back(DirEntry(entry->d_name, kind)); in ListDirectory()
573 vector<DirEntry> entries; in WriteSource()
578 for (vector<DirEntry>::const_iterator it = entries.begin(); in WriteSource()
585 vector<DirEntry> files; in WriteSource()
590 for (vector<DirEntry>::const_iterator it_files = files.begin(); in WriteSource()
/third_party/glib/gio/
Dglocalfileenumerator.c49 } DirEntry; typedef
70 DirEntry *entries;
271 const DirEntry *a, *b; in sort_by_inode()
316 local->entries = g_new (DirEntry, CHUNK_SIZE + 1); in next_file_helper()
348 qsort (local->entries, i, sizeof (DirEntry), sort_by_inode); in next_file_helper()
/third_party/python/Lib/
Dshutil.py202 if isinstance(src, os.DirEntry) and hasattr(os.path, 'samestat'):
219 return fn.stat() if isinstance(fn, os.DirEntry) else os.stat(fn)
222 return fn.is_symlink() if isinstance(fn, os.DirEntry) else os.path.islink(fn)
246 fn = fn.path if isinstance(fn, os.DirEntry) else fn
369 if isinstance(src, os.DirEntry):
/third_party/python/Lib/test/
Dtest_genericalias.py34 from os import DirEntry
74 DirEntry,
Dtest_os.py4073 self.assertRaises(TypeError, os.DirEntry)
4078 self.assertIsInstance(entry, os.DirEntry)
4131 self.assertIsInstance(entry, os.DirEntry)
Dtest_shutil.py622 self.assertIsInstance(src_dir_entry, os.DirEntry)
/third_party/python/Misc/NEWS.d/
D3.6.0a3.rst124 Expose the DirEntry type as os.DirEntry. Code patch by Jelle Zijlstra.
D3.6.0a2.rst218 Add os.PathLike support to DirEntry (part of :pep:`519`). Initial patch by
D3.8.0a3.rst466 shutil.copytree(copy_function=...) erroneously pass DirEntry instead of a
D3.7.0a1.rst3219 os.stat() and os.DirEntry.inode() now convert inode (st_ino) using unsigned
D3.8.0a1.rst8002 is_file and similar methods. DirEntry.is_dir can also throw this exception
/third_party/python/Modules/
Dposixmodule.c13426 } DirEntry; typedef
13429 DirEntry_dealloc(DirEntry *entry) in DirEntry_dealloc()
13443 DirEntry_test_mode(PyTypeObject *defining_class, DirEntry *self,
13455 os_DirEntry_is_symlink_impl(DirEntry *self, PyTypeObject *defining_class) in os_DirEntry_is_symlink_impl()
13473 DirEntry_fetch_stat(PyObject *module, DirEntry *self, int follow_symlinks) in DirEntry_fetch_stat()
13530 DirEntry_get_lstat(PyTypeObject *defining_class, DirEntry *self) in DirEntry_get_lstat()
13555 os_DirEntry_stat_impl(DirEntry *self, PyTypeObject *defining_class, in os_DirEntry_stat_impl()
13583 DirEntry_test_mode(PyTypeObject *defining_class, DirEntry *self, in DirEntry_test_mode()
13672 os_DirEntry_is_dir_impl(DirEntry *self, PyTypeObject *defining_class, in os_DirEntry_is_dir_impl()
13690 os_DirEntry_is_file_impl(DirEntry *self, PyTypeObject *defining_class, in os_DirEntry_is_file_impl()
[all …]
/third_party/python/Modules/clinic/
Dposixmodule.c.h8251 os_DirEntry_is_symlink_impl(DirEntry *self, PyTypeObject *defining_class);
8254 os_DirEntry_is_symlink(DirEntry *self, PyTypeObject *defining_class, PyObject *const *args, Py_ssiz… in os_DirEntry_is_symlink()
8285 os_DirEntry_stat_impl(DirEntry *self, PyTypeObject *defining_class,
8289 os_DirEntry_stat(DirEntry *self, PyTypeObject *defining_class, PyObject *const *args, Py_ssize_t na… in os_DirEntry_stat()
8316 os_DirEntry_is_dir_impl(DirEntry *self, PyTypeObject *defining_class,
8320 os_DirEntry_is_dir(DirEntry *self, PyTypeObject *defining_class, PyObject *const *args, Py_ssize_t … in os_DirEntry_is_dir()
8352 os_DirEntry_is_file_impl(DirEntry *self, PyTypeObject *defining_class,
8356 os_DirEntry_is_file(DirEntry *self, PyTypeObject *defining_class, PyObject *const *args, Py_ssize_t… in os_DirEntry_is_file()
8388 os_DirEntry_inode_impl(DirEntry *self);
8391 os_DirEntry_inode(DirEntry *self, PyObject *Py_UNUSED(ignored)) in os_DirEntry_inode()
[all …]
/third_party/python/Doc/library/
Dos.rst2378 Return an iterator of :class:`os.DirEntry` objects corresponding to the
2387 attribute information, because :class:`os.DirEntry` objects expose this
2389 All :class:`os.DirEntry` methods may perform a system call, but
2390 :func:`~os.DirEntry.is_dir` and :func:`~os.DirEntry.is_file` usually only
2391 require a system call for symbolic links; :func:`os.DirEntry.stat`
2397 the type of the :attr:`~os.DirEntry.name` and :attr:`~os.DirEntry.path`
2398 attributes of each :class:`os.DirEntry` will be ``bytes``; in all other
2456 .. class:: DirEntry
2463 is made, the ``os.DirEntry`` object will cache the result.
2465 ``os.DirEntry`` instances are not intended to be stored in long-lived data
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DVirtualFileSystem.cpp1712 for (const std::unique_ptr<RedirectingFileSystem::Entry> &DirEntry : in lookupPath() local
1715 lookupPath(Start, End, DirEntry.get()); in lookupPath()
/third_party/python/Doc/whatsnew/
D3.5.rst463 ``'.'``. The :meth:`entry.is_file() <os.DirEntry.is_file>` call will generally
1483 :class:`~os.DirEntry` objects has been added. If possible, :func:`~os.scandir`
D3.6.rst429 classes in the standard library. The :class:`os.DirEntry` class
/third_party/node/tools/
Dlint-md.mjs7565 class DirEntry { class
7717 /** @type {Map<String, DirEntry>} */
8226 * @returns {DirEntry} the directory's tracking object
8231 if (!this._watched.has(dir)) this._watched.set(dir, new DirEntry(dir, this._boundRemove));