Home
last modified time | relevance | path

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

12

/external/openssh/openbsd-compat/
Ddirname.c31 static char dname[MAXPATHLEN]; in dirname() local
37 dname[0] = '.'; in dirname()
38 dname[1] = '\0'; in dirname()
39 return (dname); in dirname()
53 dname[0] = *endp == '/' ? '/' : '.'; in dirname()
54 dname[1] = '\0'; in dirname()
55 return (dname); in dirname()
64 if (len >= sizeof(dname)) { in dirname()
68 memcpy(dname, path, len); in dirname()
69 dname[len] = '\0'; in dirname()
[all …]
/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/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/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-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/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/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/libpcap/
Dpcap-dlpi.c351 char dname[100]; in open_dlpi_device() local
366 strlcpy(dname, name, sizeof(dname)); in open_dlpi_device()
368 strlcpy(dname, cp + 1, sizeof(dname)); in open_dlpi_device()
374 cp = split_dname(dname, &unit, errbuf); in open_dlpi_device()
405 status = get_dlpi_ppa(fd, dname, unit, ppa, errbuf); in open_dlpi_device()
418 strlcpy(dname, name, sizeof(dname)); in open_dlpi_device()
420 pcap_snprintf(dname, sizeof(dname), "%s/%s", PCAP_DEV_PREFIX, in open_dlpi_device()
427 cp = split_dname(dname, ppa, errbuf); in open_dlpi_device()
435 strlcpy(dname2, dname, sizeof(dname)); in open_dlpi_device()
439 if ((fd = open(dname, O_RDWR)) < 0) { in open_dlpi_device()
[all …]
/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/u-boot/tools/env/
Dfw_env.c1228 static int flash_open_tempfile(const char **dname, const char **target_temp) in flash_open_tempfile() argument
1237 *dname = dirname(dup_name); in flash_open_tempfile()
1238 if (!*dname) in flash_open_tempfile()
1241 rc = asprintf(&temp_name, "%s/XXXXXX", *dname); in flash_open_tempfile()
1269 const char *dname, *target_temp = NULL; in flash_io_write() local
1290 fd_target = flash_open_tempfile(&dname, &target_temp); in flash_io_write()
1323 dir_fd = open(dname, O_DIRECTORY | O_RDONLY); in flash_io_write()
1327 dname, strerror(errno)); in flash_io_write()
1340 dname, strerror(errno)); in flash_io_write()
1345 dname, strerror(errno)); in flash_io_write()
/external/libcxx/test/support/
Dfilesystem_dynamic_test_helper.py63 def create_dir(dname): argument
64 os.mkdir(sanitize(dname))
/external/python/google-api-python-client/
Ddescribe.py319 dname = name.rsplit('_')[0]
339 dname = name.rsplit('_')[0]
342 discovery['resources'].get(dname, {}))
/external/tensorflow/tensorflow/python/kernel_tests/
Dparse_single_example_op_test.py671 dname = "d"
695 dname: np.empty(shape=(0,), dtype=bytes)
704 dname:
711 dname: np.empty(shape=(0,), dtype=bytes)
717 dname: np.empty(shape=(0,), dtype=bytes)
734 dname:
756 dname:
840 dname:
/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()
/external/tensorflow/tensorflow/python/data/experimental/kernel_tests/
Dparse_example_dataset_test.py735 dname = "d"
775 dname:
790 dname:
822 dname:
875 dname:
/external/icu/icu4c/source/common/
Dservls.cpp35 ICULocaleService::ICULocaleService(const UnicodeString& dname) in ICULocaleService() argument
36 : ICUService(dname) in ICULocaleService()
Dserv.cpp770 UnicodeString dname; in getDisplayNames() local
771 f->getDisplayName(*id, locale, dname); in getDisplayNames()
772 if (dname.isBogus()) { in getDisplayNames()
775 dnCache->cache.put(dname, (void*)id, status); // share pointer with visibleIDMap in getDisplayNames()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestMetazoneTransitions.java268 final String dname = "D" + threeDigits.format(++count); in run() local
269 daylightNames.put(transitions, dname); in run()
271 toDaylight.put(zone, dname); in run()
/external/kmod/tools/
Ddepmod.c1392 static FILE *dfdopen(const char *dname, const char *filename, int flags, in dfdopen() argument
1398 dfd = open(dname, O_RDONLY); in dfdopen()
1400 WRN("could not open directory %s: %m\n", dname); in dfdopen()
1406 WRN("could not open %s at %s: %m\n", filename, dname); in dfdopen()
2422 const char *dname = depmod->cfg->dirname; in depmod_output() local
2431 dfd = open(dname, O_RDONLY); in depmod_output()
2434 CRIT("could not open directory %s: %m\n", dname); in depmod_output()
2454 dname, tmp, flags, mode); in depmod_output()
2459 ERR("fdopen(%d=%s/%s): %m\n", fd, dname, tmp); in depmod_output()
2473 ERR("unlinkat(%s, %s): %m\n", dname, tmp); in depmod_output()
[all …]

12