Home
last modified time | relevance | path

Searched refs:dname (Results 1 – 25 of 46) sorted by relevance

12

/external/ltp/testcases/commands/ln/
Dln_tests.sh41 local dname="$1"
45 ROD ls "$dname" > dname.out
47 if diff lname.out dname.out; then
53 cat dname.out
/external/syslinux/core/fs/xfs/
Dxfs.c182 static inline struct inode *xfs_fmt_local_find_entry(const char *dname, in xfs_fmt_local_find_entry() argument
186 return xfs_dir2_local_find_entry(dname, parent, core); in xfs_fmt_local_find_entry()
189 static inline struct inode *xfs_fmt_extents_find_entry(const char *dname, in xfs_fmt_extents_find_entry() argument
195 return xfs_dir2_block_find_entry(dname, parent, core); in xfs_fmt_extents_find_entry()
198 return xfs_dir2_leaf_find_entry(dname, parent, core); in xfs_fmt_extents_find_entry()
201 return xfs_dir2_node_find_entry(dname, parent, core); in xfs_fmt_extents_find_entry()
205 static inline struct inode *xfs_fmt_btree_find_entry(const char *dname, in xfs_fmt_btree_find_entry() argument
209 return xfs_dir2_node_find_entry(dname, parent, core); in xfs_fmt_btree_find_entry()
212 static struct inode *xfs_iget(const char *dname, struct inode *parent) in xfs_iget() argument
218 xfs_debug("dname %s parent %p parent ino %lu", dname, parent, parent->ino); in xfs_iget()
[all …]
Dxfs_dir2.c171 struct inode *xfs_dir2_local_find_entry(const char *dname, struct inode *parent, in xfs_dir2_local_find_entry() argument
182 xfs_debug("dname %s parent %p core %p", dname, parent, core); in xfs_dir2_local_find_entry()
191 if (!xfs_dir2_entry_name_cmp(start_name, end_name, dname)) { in xfs_dir2_local_find_entry()
192 xfs_debug("Found entry %s", dname); in xfs_dir2_local_find_entry()
247 struct inode *xfs_dir2_block_find_entry(const char *dname, struct inode *parent, in xfs_dir2_block_find_entry() argument
263 xfs_debug("dname %s parent %p core %p", dname, parent, core); in xfs_dir2_block_find_entry()
296 if (!xfs_dir2_entry_name_cmp(start_name, end_name, dname)) { in xfs_dir2_block_find_entry()
297 xfs_debug("Found entry %s", dname); in xfs_dir2_block_find_entry()
348 struct inode *xfs_dir2_leaf_find_entry(const char *dname, struct inode *parent, in xfs_dir2_leaf_find_entry() argument
370 xfs_debug("dname %s parent %p core %p", dname, parent, core); in xfs_dir2_leaf_find_entry()
[all …]
Dxfs_dir2.h35 struct inode *xfs_dir2_local_find_entry(const char *dname, struct inode *parent,
37 struct inode *xfs_dir2_block_find_entry(const char *dname, struct inode *parent,
39 struct inode *xfs_dir2_leaf_find_entry(const char *dname, struct inode *parent,
41 struct inode *xfs_dir2_node_find_entry(const char *dname, struct inode *parent,
/external/strace/tests-mx32/
Dreaddir.c64 static const char dname[] = "readdir.test.tmp.dir"; in main() local
73 assert(!mkdir(dname, 0700)); in main()
74 assert(!chdir(dname)); in main()
92 assert(!rmdir(dname)); in main()
Dgetdents.c98 static const char dname[] = "getdents.test.tmp.dir"; in main() local
100 assert(!mkdir(dname, 0700)); in main()
101 assert(!chdir(dname)); in main()
133 assert(!rmdir(dname)); in main()
Dgetdents64.c104 static const char dname[] = "getdents64.test.tmp.dir"; in main() local
106 assert(!mkdir(dname, 0700)); in main()
107 assert(!chdir(dname)); in main()
139 assert(!rmdir(dname)); in main()
/external/strace/tests-m32/
Dreaddir.c64 static const char dname[] = "readdir.test.tmp.dir"; in main() local
73 assert(!mkdir(dname, 0700)); in main()
74 assert(!chdir(dname)); in main()
92 assert(!rmdir(dname)); in main()
Dgetdents.c98 static const char dname[] = "getdents.test.tmp.dir"; in main() local
100 assert(!mkdir(dname, 0700)); in main()
101 assert(!chdir(dname)); in main()
133 assert(!rmdir(dname)); in main()
Dgetdents64.c104 static const char dname[] = "getdents64.test.tmp.dir"; in main() local
106 assert(!mkdir(dname, 0700)); in main()
107 assert(!chdir(dname)); in main()
139 assert(!rmdir(dname)); in main()
/external/strace/tests/
Dreaddir.c64 static const char dname[] = "readdir.test.tmp.dir"; in main() local
73 assert(!mkdir(dname, 0700)); in main()
74 assert(!chdir(dname)); in main()
92 assert(!rmdir(dname)); in main()
Dgetdents.c98 static const char dname[] = "getdents.test.tmp.dir"; in main() local
100 assert(!mkdir(dname, 0700)); in main()
101 assert(!chdir(dname)); in main()
133 assert(!rmdir(dname)); in main()
Dgetdents64.c104 static const char dname[] = "getdents64.test.tmp.dir"; in main() local
106 assert(!mkdir(dname, 0700)); in main()
107 assert(!chdir(dname)); in main()
139 assert(!rmdir(dname)); in main()
/external/skia/infra/bots/
Dtest_utils.py24 def mkdir(self, dname, mode=0755): argument
26 dname = os.path.join(self._cwd, dname)
27 os.mkdir(dname)
28 os.chmod(dname, mode)
/external/skqp/infra/bots/
Dtest_utils.py24 def mkdir(self, dname, mode=0755): argument
26 dname = os.path.join(self._cwd, dname)
27 os.mkdir(dname)
28 os.chmod(dname, mode)
/external/libpcap/
Dpcap-dlpi.c340 char dname[100]; in open_dlpi_device() local
353 strlcpy(dname, name, sizeof(dname)); in open_dlpi_device()
355 strlcpy(dname, cp + 1, sizeof(dname)); in open_dlpi_device()
361 cp = split_dname(dname, ppa, errbuf); in open_dlpi_device()
392 *ppa = get_dlpi_ppa(fd, dname, *ppa, errbuf); in open_dlpi_device()
405 strlcpy(dname, name, sizeof(dname)); in open_dlpi_device()
407 pcap_snprintf(dname, sizeof(dname), "%s/%s", PCAP_DEV_PREFIX, in open_dlpi_device()
414 cp = split_dname(dname, ppa, errbuf); in open_dlpi_device()
422 strlcpy(dname2, dname, sizeof(dname)); in open_dlpi_device()
426 if ((fd = open(dname, O_RDWR)) < 0) { in open_dlpi_device()
[all …]
/external/syslinux/core/fs/iso9660/
Diso9660.c98 iso_find_entry(const char *dname, struct inode *inode) in iso_find_entry() argument
109 dprintf("iso_find_entry: \"%s\"\n", dname); in iso_find_entry()
139 if (strcmp(rr_name, dname) == 0) { in iso_find_entry()
152 if (iso_compare_name(de_name, de_name_len, dname)) { in iso_find_entry()
194 static struct inode *iso_iget(const char *dname, struct inode *parent) in iso_iget() argument
198 dprintf("iso_iget %p %s\n", parent, dname); in iso_iget()
200 de = iso_find_entry(dname, parent); in iso_iget()
/external/ltp/testcases/kernel/syscalls/chdir/
Dchdir04.c71 char *dname; member
120 TEST(chdir(TC[i].dname)); in main()
156 TC[2].dname = bad_addr; in setup()
/external/syslinux/core/fs/ext2/
Dext2.c92 ext2_find_entry(struct fs_info *fs, struct inode *inode, const char *dname) in ext2_find_entry() argument
98 size_t dname_len = strlen(dname); in ext2_find_entry()
111 if (ext2_match_entry(dname, dname_len, de)) in ext2_find_entry()
182 static struct inode *ext2_iget(const char *dname, struct inode *parent) in ext2_iget() argument
187 de = ext2_find_entry(fs, parent, dname); in ext2_iget()
/external/syslinux/core/fs/ufs/
Dufs.c114 ufs_find_entry(struct fs_info *fs, struct inode *inode, const char *dname) in ufs_find_entry() argument
121 ufs_debug("ufs_find_entry: dname: %s ", dname); in ufs_find_entry()
137 if (dir->inode_value && !strcmp(dname, (const char *)dir->name)) { in ufs_find_entry()
269 ufs_iget(const char *dname, struct inode *parent) in ufs_iget() argument
274 dir = ufs_find_entry(fs, parent, dname); in ufs_iget()
/external/libcxx/test/support/
Dfilesystem_dynamic_test_helper.py61 def create_dir(dname): argument
62 os.mkdir(sanitize(dname))
/external/syslinux/core/fs/fat/
Dfat.c438 static struct inode *vfat_find_entry(const char *dname, struct inode *dir) in vfat_find_entry() argument
457 slots = (strlen(dname) + 12) / 13; in vfat_find_entry()
466 mangle_dos_name(mangled_name, dname); in vfat_find_entry()
508 if (!vfat_match_longname(dname, long_name, long_len)) in vfat_find_entry()
584 static struct inode *vfat_iget(const char *dname, struct inode *parent) in vfat_iget() argument
586 return vfat_find_entry(dname, parent); in vfat_iget()
/external/tensorflow/tensorflow/python/kernel_tests/
Dparse_single_example_op_test.py665 dname = "d"
689 dname: np.empty(shape=(0,), dtype=bytes)
698 dname:
705 dname: np.empty(shape=(0,), dtype=bytes)
711 dname: np.empty(shape=(0,), dtype=bytes)
728 dname:
750 dname:
834 dname:
/external/syslinux/core/fs/ntfs/
Dntfs.c295 static bool ntfs_filename_cmp(const char *dname, struct ntfs_idx_entry *ie) in ntfs_filename_cmp() argument
306 if (strlen(dname) != entry_fn_len) in ntfs_filename_cmp()
312 if (entry_fn[i] != dname[i]) in ntfs_filename_cmp()
316 if (tolower(entry_fn[i]) != tolower(dname[i])) in ntfs_filename_cmp()
723 static struct inode *ntfs_index_lookup(const char *dname, struct inode *dir) in ntfs_index_lookup() argument
779 if (ntfs_filename_cmp(dname, ie)) in ntfs_index_lookup()
856 if (ntfs_filename_cmp(dname, ie)) in ntfs_index_lookup()
1221 static inline struct inode *ntfs_iget(const char *dname, struct inode *parent) in ntfs_iget() argument
1223 return ntfs_index_lookup(dname, parent); in ntfs_iget()
/external/kmod/libkmod/
Dlibkmod-module.c1918 char dname[PATH_MAX]; in kmod_module_get_holders() local
1926 snprintf(dname, sizeof(dname), "/sys/module/%s/holders", mod->name); in kmod_module_get_holders()
1928 d = opendir(dname); in kmod_module_get_holders()
1931 dname, strerror(errno)); in kmod_module_get_holders()
1998 char dname[PATH_MAX]; in kmod_module_get_sections() local
2007 snprintf(dname, sizeof(dname), "/sys/module/%s/sections", mod->name); in kmod_module_get_sections()
2009 d = opendir(dname); in kmod_module_get_sections()
2012 dname, strerror(errno)); in kmod_module_get_sections()
2034 dname, dent->d_name); in kmod_module_get_sections()
2042 dname, dent->d_name); in kmod_module_get_sections()

12