Home
last modified time | relevance | path

Searched refs:dir_entries (Results 1 – 6 of 6) sorted by relevance

/external/tensorflow/tensorflow/c/experimental/filesystem/plugins/posix/
Dposix_filesystem.cc383 struct dirent** dir_entries = nullptr; in GetChildren() local
386 scandir(path, &dir_entries, RemoveSpecialDirectoryEntries, nullptr); in GetChildren()
393 (*entries)[i] = strdup(dir_entries[i]->d_name); in GetChildren()
394 plugin_memory_free(dir_entries[i]); in GetChildren()
396 plugin_memory_free(dir_entries); in GetChildren()
/external/python/pyfakefs/pyfakefs/tests/
Dfake_os_test.py4872 self.dir_entries = list(self.do_scandir())
4873 self.dir_entries.sort(key=lambda entry: entry.name)
4893 self.assertEqual(len(sorted_names), len(self.dir_entries))
4895 [entry.name for entry in self.dir_entries])
4899 [entry.path for entry in self.dir_entries])
4902 self.assertFalse(self.dir_entries[0].is_file())
4903 self.assertTrue(self.dir_entries[1].is_file())
4905 self.assertFalse(self.dir_entries[2].is_file())
4907 self.dir_entries[2].is_file(follow_symlinks=False))
4908 self.assertTrue(self.dir_entries[3].is_file())
[all …]
Dfake_pathlib_test.py945 dir_entries = [entry for entry in
947 self.assertEqual(1, len(dir_entries))
/external/openssh/
Dsftp-client.c1501 SFTP_DIRENT **dir_entries; in download_dir_internal() local
1534 if (do_readdir(conn, src, &dir_entries) == -1) { in download_dir_internal()
1539 for (i = 0; dir_entries[i] != NULL && !interrupted; i++) { in download_dir_internal()
1543 filename = dir_entries[i]->filename; in download_dir_internal()
1547 if (S_ISDIR(dir_entries[i]->a.perm)) { in download_dir_internal()
1552 depth + 1, &(dir_entries[i]->a), preserve_flag, in download_dir_internal()
1555 } else if (S_ISREG(dir_entries[i]->a.perm) ) { in download_dir_internal()
1557 &(dir_entries[i]->a), preserve_flag, in download_dir_internal()
1584 free_sftp_dirents(dir_entries); in download_dir_internal()
/external/kernel-headers/original/uapi/linux/
Dmsdos_fs.h116 __u8 dir_entries[2]; /* root directory entries */ member
/external/e2fsprogs/lib/blkid/
Dprobe.c523 __u16 sector_size, dir_entries, reserved; in probe_fat() local
535 dir_entries = tmp[0] + (tmp[1] << 8); in probe_fat()
547 dir_size = ((dir_entries * sizeof(struct vfat_dir_entry)) + in probe_fat()