Home
last modified time | relevance | path

Searched refs:dname (Results 1 – 25 of 49) 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.sh24 local dname="$1"
28 ROD ls "$dname" > dname.out
30 if diff lname.out dname.out; then
36 cat dname.out
/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/
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/llvm-project/lldb/examples/test/
D.lldb-loggings6 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(), …
Dusage-lldb-loggings91 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/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=0o755): argument
26 dname = os.path.join(self._cwd, dname)
27 os.mkdir(dname)
28 os.chmod(dname, mode)
/external/libpcap/
Dpcap-dlpi.c345 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/
Dchdir04.c71 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/
Dtrace_to_hprof.cc209 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/
DHost.cpp115 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/
Dfilesystem_dynamic_test_helper.py63 def create_dir(dname): argument
64 os.mkdir(sanitize(dname))
/external/python/google-api-python-client/
Ddescribe.py338 dname = name.rsplit("_")[0]
361 dname = name.rsplit("_")[0]
367 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.c1929 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/
Dservls.cpp34 ICULocaleService::ICULocaleService(const UnicodeString& dname) in ICULocaleService() argument
35 : ICUService(dname) in ICULocaleService()
/external/cldr/tools/cldr-unittest/src/org/unicode/cldr/unittest/
DTestMetazoneTransitions.java275 final String dname = "D" + threeDigits.format(++count); in run() local
276 daylightNames.put(transitions, dname); in run()
278 toDaylight.put(zone, dname); in run()

12