/external/openssh/openbsd-compat/ |
D | dirname.c | 31 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/ |
D | ln_tests.sh | 41 local dname="$1" 45 ROD ls "$dname" > dname.out 47 if diff lname.out dname.out; then 53 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/skqp/infra/bots/ |
D | test_utils.py | 24 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/ |
D | test_utils.py | 24 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/ |
D | pcap-dlpi.c | 351 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/ |
D | chdir04.c | 71 char *dname; member 120 TEST(chdir(TC[i].dname)); in main() 156 TC[2].dname = bad_addr; in setup()
|
/external/u-boot/tools/env/ |
D | fw_env.c | 1228 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/ |
D | filesystem_dynamic_test_helper.py | 63 def create_dir(dname): argument 64 os.mkdir(sanitize(dname))
|
/external/python/google-api-python-client/ |
D | describe.py | 319 dname = name.rsplit('_')[0] 339 dname = name.rsplit('_')[0] 342 discovery['resources'].get(dname, {}))
|
/external/tensorflow/tensorflow/python/kernel_tests/ |
D | parse_single_example_op_test.py | 671 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/ |
D | libkmod-module.c | 1918 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/ |
D | parse_example_dataset_test.py | 735 dname = "d" 775 dname: 790 dname: 822 dname: 875 dname:
|
/external/icu/icu4c/source/common/ |
D | servls.cpp | 35 ICULocaleService::ICULocaleService(const UnicodeString& dname) in ICULocaleService() argument 36 : ICUService(dname) in ICULocaleService()
|
D | serv.cpp | 770 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/ |
D | TestMetazoneTransitions.java | 268 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/ |
D | depmod.c | 1392 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 …]
|