/external/openssh/openbsd-compat/ |
dirname.c | 31 static char dname[MAXPATHLEN]; local 37 dname[0] = '.'; 38 dname[1] = '\0'; 39 return (dname); 53 dname[0] = *endp == '/' ? '/' : '.'; 54 dname[1] = '\0'; 55 return (dname); 64 if (len >= sizeof(dname)) { 68 memcpy(dname, path, len); 69 dname[len] = '\0' [all...] |
/external/strace/tests/ |
readdir.c | 64 static const char dname[] = "readdir.test.tmp.dir"; local 73 assert(!mkdir(dname, 0700)); 74 assert(!chdir(dname)); 92 assert(!rmdir(dname));
|
getdents.c | 98 static const char dname[] = "getdents.test.tmp.dir"; local 100 assert(!mkdir(dname, 0700)); 101 assert(!chdir(dname)); 133 assert(!rmdir(dname));
|
getdents64.c | 104 static const char dname[] = "getdents64.test.tmp.dir"; local 106 assert(!mkdir(dname, 0700)); 107 assert(!chdir(dname)); 139 assert(!rmdir(dname));
|
/external/strace/tests-m32/ |
readdir.c | 64 static const char dname[] = "readdir.test.tmp.dir"; local 73 assert(!mkdir(dname, 0700)); 74 assert(!chdir(dname)); 92 assert(!rmdir(dname));
|
getdents.c | 98 static const char dname[] = "getdents.test.tmp.dir"; local 100 assert(!mkdir(dname, 0700)); 101 assert(!chdir(dname)); 133 assert(!rmdir(dname));
|
getdents64.c | 104 static const char dname[] = "getdents64.test.tmp.dir"; local 106 assert(!mkdir(dname, 0700)); 107 assert(!chdir(dname)); 139 assert(!rmdir(dname));
|
/external/strace/tests-mx32/ |
readdir.c | 64 static const char dname[] = "readdir.test.tmp.dir"; local 73 assert(!mkdir(dname, 0700)); 74 assert(!chdir(dname)); 92 assert(!rmdir(dname));
|
getdents.c | 98 static const char dname[] = "getdents.test.tmp.dir"; local 100 assert(!mkdir(dname, 0700)); 101 assert(!chdir(dname)); 133 assert(!rmdir(dname));
|
getdents64.c | 104 static const char dname[] = "getdents64.test.tmp.dir"; local 106 assert(!mkdir(dname, 0700)); 107 assert(!chdir(dname)); 139 assert(!rmdir(dname));
|
/external/ltp/testcases/commands/ln/ |
ln_tests.sh | 42 local dname="$1" 46 ROD ls "$dname" > dname.out 48 if diff lname.out dname.out; then 54 cat dname.out
|
/device/linaro/bootloader/edk2/StdLib/BsdSocketLib/ |
res_update.c | 126 char *dname, *svdname, *cp1, *target;
local 141 dname = rrecp->r_dname;
142 n = (int)strlen(dname);
143 if (dname[n-1] == '.')
144 dname[n-1] = '\0';
150 while (!done && dname) {
155 if (strcasecmp(dname,
162 if (strcasecmp(dname, tmprrecp->r_dname) == 0
189 dname) == 0 &&
199 n = res_mkquery(QUERY, dname, qclass, qtype, NULL, [all...] |
res_mkquery.c | 105 const char *dname, /* domain name */
127 op, dname, class, type);
154 if ((n = dn_comp(dname, cp, buflen, dnptrs, lastdnptr)) < 0)
|
/external/syslinux/core/fs/xfs/ |
xfs_dir2.h | 35 struct inode *xfs_dir2_local_find_entry(const char *dname, struct inode *parent, 37 struct inode *xfs_dir2_block_find_entry(const char *dname, struct inode *parent, 39 struct inode *xfs_dir2_leaf_find_entry(const char *dname, struct inode *parent, 41 struct inode *xfs_dir2_node_find_entry(const char *dname, struct inode *parent,
|
xfs.c | 182 static inline struct inode *xfs_fmt_local_find_entry(const char *dname, 186 return xfs_dir2_local_find_entry(dname, parent, core); 189 static inline struct inode *xfs_fmt_extents_find_entry(const char *dname, 195 return xfs_dir2_block_find_entry(dname, parent, core); 198 return xfs_dir2_leaf_find_entry(dname, parent, core); 201 return xfs_dir2_node_find_entry(dname, parent, core); 205 static inline struct inode *xfs_fmt_btree_find_entry(const char *dname, 209 return xfs_dir2_node_find_entry(dname, parent, core); 212 static struct inode *xfs_iget(const char *dname, struct inode *parent) 218 xfs_debug("dname %s parent %p parent ino %lu", dname, parent, parent->ino) [all...] |
xfs_dir2.c | 171 struct inode *xfs_dir2_local_find_entry(const char *dname, struct inode *parent, 182 xfs_debug("dname %s parent %p core %p", dname, parent, core); 191 if (!xfs_dir2_entry_name_cmp(start_name, end_name, dname)) { 192 xfs_debug("Found entry %s", dname); 247 struct inode *xfs_dir2_block_find_entry(const char *dname, struct inode *parent, 263 xfs_debug("dname %s parent %p core %p", dname, parent, core); 296 if (!xfs_dir2_entry_name_cmp(start_name, end_name, dname)) { 297 xfs_debug("Found entry %s", dname); [all...] |
/external/ltp/testcases/kernel/syscalls/chdir/ |
chdir04.c | 71 char *dname; member in struct:test_case_t 120 TEST(chdir(TC[i].dname)); 156 TC[2].dname = bad_addr;
|
/external/skia/infra/bots/ |
test_utils.py | 24 def mkdir(self, dname, mode=0755): 26 dname = os.path.join(self._cwd, dname) 27 os.mkdir(dname) 28 os.chmod(dname, mode)
|
/prebuilts/go/darwin-x86/src/net/http/ |
filetransport_test.go | 26 dname, err := ioutil.TempDir("", "") 28 fname := filepath.Join(dname, "foo.txt") 31 defer os.Remove(dname) 35 tr.RegisterProtocol("file", NewFileTransport(Dir(dname)))
|
/prebuilts/go/linux-x86/src/net/http/ |
filetransport_test.go | 26 dname, err := ioutil.TempDir("", "") 28 fname := filepath.Join(dname, "foo.txt") 31 defer os.Remove(dname) 35 tr.RegisterProtocol("file", NewFileTransport(Dir(dname)))
|
/hardware/qcom/audio/legacy/libalsa-intf/ |
alsa_pcm.c | 754 char dname[19]; local 780 strlcpy(dname, "/dev/snd/pcmC", sizeof(dname)); 782 strlcat(dname, tmp, (2+strlen(dname))) ; 784 strlcat(dname, "D", (sizeof("D")+strlen(dname))); 789 strlcat(dname, tmp, (3+strlen(dname))); 791 strlcat(dname, tmp, (2+strlen(dname))) [all...] |
/external/syslinux/core/fs/iso9660/ |
iso9660.c | 98 iso_find_entry(const char *dname, struct inode *inode) 109 dprintf("iso_find_entry: \"%s\"\n", dname); 139 if (strcmp(rr_name, dname) == 0) { 152 if (iso_compare_name(de_name, de_name_len, dname)) { 194 static struct inode *iso_iget(const char *dname, struct inode *parent) 198 dprintf("iso_iget %p %s\n", parent, dname); 200 de = iso_find_entry(dname, parent);
|
/external/libpcap/ |
pcap-dlpi.c | 340 char dname[100]; local 353 strlcpy(dname, name, sizeof(dname)); 355 strlcpy(dname, cp + 1, sizeof(dname)); 359 * chop off the unit number, so "dname" is just a device type name. 361 cp = split_dname(dname, ppa, errbuf); 392 *ppa = get_dlpi_ppa(fd, dname, *ppa, errbuf); 405 strlcpy(dname, name, sizeof(dname)); 1561 char dname[100]; local [all...] |
/bionic/libc/dns/resolv/ |
res_mkquery.c | 118 const char *dname, /* domain name */ 136 _res_opcodes[op], dname, p_class(class), p_type(type)); 163 if ((n = dn_comp(dname, cp, ep - cp - QFIXEDSZ, dnptrs,
|
/external/libcxx/test/support/ |
filesystem_dynamic_test_helper.py | 61 def create_dir(dname): 62 os.mkdir(sanitize(dname))
|