/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 | 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-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/ |
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/llvm-project/lldb/examples/test/ |
D | .lldb-loggings | 6 dname = os.path.join(os.environ["LLDB_TEST"]) 7 if not os.path.isdir(dname): 8 os.mkdir(dname) 9 …dest = os.path.join(dname, "lldb_log-%s-%s-%s.txt" % (self.getArchitecture(), self.getCompiler(), …
|
D | usage-lldb-loggings | 91 dname = os.path.join(os.environ["LLDB_TEST"]) 92 if not os.path.isdir(dname): 93 os.mkdir(dname) 94 …dest = os.path.join(dname, "lldb_log-%s-%s-%s.txt" % (self.getArchitecture(), self.getCompiler(), …
|
/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/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/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/ltp/testcases/kernel/syscalls/chdir/ |
D | chdir04.c | 71 char *dname; member 118 TEST(chdir(TC[i].dname)); in main() 154 TC[2].dname = bad_addr; in setup()
|
/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/llvm-project/lldb/source/Host/linux/ |
D | Host.cpp | 115 static bool IsDirNumeric(const char *dname) { in IsDirNumeric() argument 116 for (; *dname; dname++) { in IsDirNumeric() 117 if (!isdigit(*dname)) in IsDirNumeric()
|
/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 | 338 dname = name.rsplit("_")[0] 361 dname = name.rsplit("_")[0] 367 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 | 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/icu/icu4c/source/common/ |
D | servls.cpp | 34 ICULocaleService::ICULocaleService(const UnicodeString& dname) in ICULocaleService() argument 35 : ICUService(dname) in ICULocaleService()
|
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/ |
D | TestMetazoneTransitions.java | 275 final String dname = "D" + threeDigits.format(++count); in run() local 276 daylightNames.put(transitions, dname); in run() 278 toDaylight.put(zone, dname); in run()
|