Home
last modified time | relevance | path

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

/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/strace/tests/
Dreaddir.c66 char *dname; in main() local
76 assert(asprintf(&dname, "%s.test.tmp.dir", av[0]) > 0); in main()
77 assert(!mkdir(dname, 0700)); in main()
78 assert(!chdir(dname)); in main()
96 assert(!rmdir(dname)); in main()
Dgetdents.c102 char *dname; in main() local
106 assert(asprintf(&dname, "%s.test.tmp.dir", av[0]) > 0); in main()
107 assert(!mkdir(dname, 0700)); in main()
108 assert(!chdir(dname)); in main()
132 assert(!rmdir(dname)); in main()
Dgetdents64.c106 char *dname; in main() local
110 assert(asprintf(&dname, "%s.test.tmp.dir", av[0]) > 0); in main()
111 assert(!mkdir(dname, 0700)); in main()
112 assert(!chdir(dname)); in main()
136 assert(!rmdir(dname)); in main()
/external/lldb/examples/test/
D.lldb-loggings6 dname = os.path.join(os.environ["LLDB_TEST"],
8 if not os.path.isdir(dname):
9 os.mkdir(dname)
10 …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"],
93 if not os.path.isdir(dname):
94 os.mkdir(dname)
95 …dest = os.path.join(dname, "lldb_log-%s-%s-%s.txt" % (self.getArchitecture(), self.getCompiler(), …
/external/libpcap/
Dpcap-dlpi.c355 char dname[100]; local
366 strlcpy(dname, p->opt.source, sizeof(dname));
368 strlcpy(dname, cp + 1, sizeof(dname));
374 cp = split_dname(dname, &ppa, p->errbuf);
422 ppa = get_dlpi_ppa(p->fd, dname, ppa, p->errbuf);
435 strlcpy(dname, p->opt.source, sizeof(dname));
437 snprintf(dname, sizeof(dname), "%s/%s", PCAP_DEV_PREFIX,
444 cp = split_dname(dname, &ppa, p->errbuf);
454 strlcpy(dname2, dname, sizeof(dname));
458 if ((p->fd = open(dname, O_RDWR)) < 0) {
[all …]
/external/lldb/source/Host/linux/
DHost.cpp234 IsDirNumeric(const char *dname) in IsDirNumeric() argument
236 for (; *dname; dname++) in IsDirNumeric()
238 if (!isdigit (*dname)) in IsDirNumeric()
/external/icu/icu4c/source/common/
Dservls.cpp33 ICULocaleService::ICULocaleService(const UnicodeString& dname) in ICULocaleService() argument
34 : ICUService(dname) in ICULocaleService()
Dserv.cpp769 UnicodeString dname; in getDisplayNames() local
770 f->getDisplayName(*id, locale, dname); in getDisplayNames()
771 if (dname.isBogus()) { in getDisplayNames()
774 dnCache->cache.put(dname, (void*)id, status); // share pointer with visibleIDMap in getDisplayNames()
/external/dhcpcd-6.8.2/
Ddhcpcd-definitions.conf29 define 12 dname host_name
34 define 15 array dname domain_name
82 define 66 dname tftp_server_name
/external/selinux/policycoreutils/sandbox/
Dsandbox87 dname = os.path.dirname(file)
89 if dname == srcdir:
92 newdir = re.sub(srcdir, dest, dname)
/external/valgrind/include/
Dpub_tool_debuginfo.h100 /*OUT*/const HChar** dname,
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/util/
DICUServiceThreadTest.java296 String dname = (String)e.getKey(); in iterate() local
307 " dname: " + dname + in iterate()
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/util/
DICUServiceThreadTest.java292 String dname = (String)e.getKey(); in iterate() local
303 " dname: " + dname + in iterate()
/external/lldb/test/
Dlldbtest.py1213 dname = os.path.join(os.environ["LLDB_TEST"],
1215 if not os.path.isdir(dname):
1216 os.mkdir(dname)
1217 …fname = os.path.join(dname, "%s-%s-%s-%s.log" % (prefix, self.getArchitecture(), "_".join(self.get…
/external/blktrace/
Dblkparse.c2412 char *p, *dname; in setup_file() local
2419 dname = dirname(p); in setup_file()
2420 if (strcmp(dname, ".")) { in setup_file()
2421 input_dir = dname; in setup_file()
/external/mdnsresponder/mDNSPosix/
DmDNSPosix.c471 mDNSexport void mDNSPlatformDynDNSHostNameStatusChanged(const domainname *const dname, const mStatu… in mDNSPlatformDynDNSHostNameStatusChanged() argument
473 (void) dname; in mDNSPlatformDynDNSHostNameStatusChanged()
/external/mdnsresponder/mDNSShared/
Ddnsextd.c516 const domainname * dname in ZoneHandlesName() argument
520 mDNSu16 j = DomainNameLength( dname ); in ZoneHandlesName()
522 … || ( j == ( MAX_DOMAIN_NAME + 1 ) ) || ( i > j ) || ( memcmp( zname->c, dname->c + ( j - i ), i … in ZoneHandlesName()
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/
DGrammar.java871 String dname = (String) delegateNames.get(i); in addArtificialMatchTokensRule() local
872 matchTokenRuleST.add("rules", dname+".Tokens"); in addArtificialMatchTokensRule()
/external/valgrind/coregrind/m_debuginfo/
Ddebuginfo.c1980 /*OUT*/const HChar** dname, in VG_()
1985 data_addr, dname, in VG_()
/external/mdnsresponder/mDNSCore/
DmDNSEmbeddedAPI.h2645 extern void mDNSPlatformDynDNSHostNameStatusChanged(const domainname *const dname, const mSta…