/external/ltp/testcases/commands/ln/ |
D | ln_tests.sh | 24 local dname="$1" 28 ROD ls "$dname" > dname.out 30 if diff lname.out dname.out; then 36 cat dname.out
|
/external/strace/tests/ |
D | readdir.c | 64 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()
|
D | getdents.c | 98 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()
|
D | getdents64.c | 104 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/ |
D | readdir.c | 64 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()
|
D | getdents.c | 98 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()
|
D | getdents64.c | 104 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-mx32/ |
D | readdir.c | 64 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()
|
D | getdents.c | 98 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()
|
D | getdents64.c | 104 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/ |
D | test_utils.py | 24 def mkdir(self, dname, mode=0o755): argument 26 dname = os.path.join(self._cwd, dname) 27 os.mkdir(dname) 28 os.chmod(dname, mode)
|
/external/musl/src/network/ |
D | res_mkquery.c | 5 int __res_mkquery(int op, const char *dname, int class, int type, in __res_mkquery() argument 12 size_t l = strnlen(dname, 255); in __res_mkquery() 15 if (l && dname[l-1]=='.') l--; in __res_mkquery() 25 memcpy((char *)q+13, dname, l); in __res_mkquery()
|
/external/libpcap/ |
D | pcap-dlpi.c | 345 char dname[100]; in open_dlpi_device() local 360 pcap_strlcpy(dname, name, sizeof(dname)); in open_dlpi_device() 362 pcap_strlcpy(dname, cp + 1, sizeof(dname)); in open_dlpi_device() 368 cp = split_dname(dname, &unit, errbuf); in open_dlpi_device() 399 status = get_dlpi_ppa(fd, dname, unit, ppa, errbuf); in open_dlpi_device() 412 pcap_strlcpy(dname, name, sizeof(dname)); in open_dlpi_device() 414 snprintf(dname, sizeof(dname), "%s/%s", PCAP_DEV_PREFIX, in open_dlpi_device() 421 cp = split_dname(dname, ppa, errbuf); in open_dlpi_device() 429 pcap_strlcpy(dname2, dname, sizeof(dname)); in open_dlpi_device() 433 if ((fd = open(dname, O_RDWR)) < 0) { in open_dlpi_device() [all …]
|
/external/erofs-utils/dump/ |
D | main.c | 97 u32 maxsize, const char *dname); 252 u32 maxsize, const char *dname) in erofs_checkdirent() argument 264 dname_len = (de + 1 >= last_de) ? strnlen(dname, maxsize - nameoff) : in erofs_checkdirent() 283 const char *dname) in erofs_read_dirent() argument 305 stats.file_type_stat[erofs_getfile_extension(dname)]++; in erofs_read_dirent() 348 const char *dname; in erofs_read_dir() local 357 dname = (char *)buf + nameoff; in erofs_read_dir() 358 ret = erofs_checkdirent(de, end, maxsize, dname); in erofs_read_dir() 361 ret = erofs_read_dirent(de, nid, parent_nid, dname); in erofs_read_dir() 404 const char *dname; in erofs_get_pathname() local [all …]
|
/external/erofs-utils/fuse/ |
D | main.c | 27 char dname[EROFS_NAME_LEN + 1]; in erofsfuse_fill_dentries() local 29 strncpy(dname, ctx->dname, ctx->de_namelen); in erofsfuse_fill_dentries() 30 dname[ctx->de_namelen] = '\0'; in erofsfuse_fill_dentries() 31 fusectx->filler(fusectx->buf, dname, NULL, 0); in erofsfuse_fill_dentries()
|
/external/bcc/libbpf-tools/ |
D | filetop.bpf.c | 25 struct qstr dname; in get_file_path() local 27 dname = BPF_CORE_READ(file, f_path.dentry, d_name); in get_file_path() 28 bpf_probe_read_kernel(buf, size, dname.name); in get_file_path()
|
/external/perfetto/tools/trace_to_text/ |
D | trace_to_hprof.cc | 209 std::string dname; in IngestClasses() local 213 dname = raw_dname.substr(17, raw_dname.size() - 18); in IngestClasses() 215 dname = raw_dname; in IngestClasses() 217 uint64_t name_id = IngestString(dname); in IngestClasses()
|
/external/libcxx/test/support/ |
D | filesystem_dynamic_test_helper.py | 63 def create_dir(dname): argument 64 os.mkdir(sanitize(dname))
|
/external/bcc/src/cc/ |
D | libbpf.c | 1720 char *dname, *dir; in bcc_make_parent_dir() local 1722 dname = strdup(path); in bcc_make_parent_dir() 1723 if (dname == NULL) in bcc_make_parent_dir() 1726 dir = dirname(dname); in bcc_make_parent_dir() 1730 free(dname); in bcc_make_parent_dir() 1739 char *dname, *dir; in bcc_check_bpffs_path() local 1745 dname = strdup(path); in bcc_check_bpffs_path() 1746 if (dname == NULL) in bcc_check_bpffs_path() 1749 dir = dirname(dname); in bcc_check_bpffs_path() 1755 free(dname); in bcc_check_bpffs_path()
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | parse_single_example_op_test.py | 708 dname = "d" 733 dname: np.empty(shape=(0,), dtype=bytes) 742 dname: 749 dname: np.empty(shape=(0,), dtype=bytes) 755 dname: np.empty(shape=(0,), dtype=bytes) 773 dname: 795 dname: 879 dname:
|
/external/python/google-api-python-client/ |
D | describe.py | 352 dname = name.rsplit("_")[0] 377 dname = name.rsplit("_")[0] 383 discovery["resources"].get(dname, {}),
|
/external/erofs-utils/include/erofs/ |
D | dir.h | 47 const char *dname; /* please see the comment above */ member
|
/external/kmod/libkmod/ |
D | libkmod-module.c | 1929 char dname[PATH_MAX]; in kmod_module_get_holders() local 1937 snprintf(dname, sizeof(dname), "/sys/module/%s/holders", mod->name); in kmod_module_get_holders() 1939 d = opendir(dname); in kmod_module_get_holders() 1942 dname, strerror(errno)); in kmod_module_get_holders() 2009 char dname[PATH_MAX]; in kmod_module_get_sections() local 2018 snprintf(dname, sizeof(dname), "/sys/module/%s/sections", mod->name); in kmod_module_get_sections() 2020 d = opendir(dname); in kmod_module_get_sections() 2023 dname, strerror(errno)); in kmod_module_get_sections() 2045 dname, dent->d_name); in kmod_module_get_sections() 2053 dname, dent->d_name); in kmod_module_get_sections()
|
/external/e2fsprogs/e2fsck/ |
D | journal.c | 608 char *dname; member 621 darg->dname = (char *) fcd->fc_dname; in tl_to_darg() 624 darg->dname = malloc(darg->dname_len + 1); in tl_to_darg() 625 memcpy(darg->dname, fcd->fc_dname, darg->dname_len); in tl_to_darg() 626 darg->dname[darg->dname_len] = 0; in tl_to_darg() 631 darg->dname, darg->ino, darg->parent_ino); in tl_to_darg() 643 darg.dname, darg.ino, 0)); in ext4_fc_handle_unlink() 645 free(darg.dname); in ext4_fc_handle_unlink() 688 ext2fs_unlink(fs, darg.parent_ino, darg.dname, darg.ino, in ext4_fc_handle_link_and_create() 692 ext2fs_link(fs, darg.parent_ino, darg.dname, darg.ino, in ext4_fc_handle_link_and_create() [all …]
|
/external/icu/icu4c/source/common/ |
D | servls.cpp | 34 ICULocaleService::ICULocaleService(const UnicodeString& dname) in ICULocaleService() argument 35 : ICUService(dname) in ICULocaleService()
|