Searched refs:dd_buf (Results 1 - 9 of 9) sorted by relevance

/openbsd-current/lib/libc/gen/
H A Dtelldir.h44 char *dd_buf; /* data buffer */ member in struct:_dirdesc
47 off_t dd_bufpos; /* cookie of the first entry in dd_buf */
H A Dreaddir.c48 dirp->dd_size = getdents(dirp->dd_fd, dirp->dd_buf,
55 dp = (struct dirent *)(dirp->dd_buf + dirp->dd_loc);
H A Dclosedir.c49 free(dirp->dd_buf);
H A Dseekdir.c49 dp = (struct dirent *)(dirp->dd_buf + dirp->dd_loc);
H A Dopendir.c109 dirp->dd_buf = malloc(dirp->dd_len);
110 if (dirp->dd_buf == NULL) {
/openbsd-current/libexec/ld.so/
H A Ddir.c43 char *dd_buf; /* data buffer */ member in struct:_dl_dirdesc
69 dirp->dd_buf = _dl_malloc(dirp->dd_len);
70 if (dirp->dd_buf == NULL) {
89 _dl_free(dirp->dd_buf);
109 dirp->dd_buf, dirp->dd_len);
113 dp = (struct dirent *)(dirp->dd_buf + dirp->dd_loc);
/openbsd-current/gnu/usr.bin/cvs/vms/
H A Dndir.h49 char dd_buf[DIRBLKSIZ]; /* directory block */ member in struct:__anon5851
H A Dndir.c257 strcpy(dirp->dd_buf, "CVS");
260 for(p = cp, q = dirp->dd_buf; *p;)
273 strcpy (dirp->dd_buf, cp);
276 dirp->dd_size = strlen (dirp->dd_buf);
284 dir_static.d_namlen = strlen (dirp->dd_buf);
288 strcpy (dir_static.d_name, dirp->dd_buf);
/openbsd-current/sbin/restore/
H A Ddirs.c95 char dd_buf[DIRBLKSIZ]; member in struct:rstdirdesc
465 dirp->dd_size = read(dirp->dd_fd, dirp->dd_buf, DIRBLKSIZ);
478 dirp->dd_size = read(dirp->dd_fd, dirp->dd_buf,
489 dp = (struct direct *)(dirp->dd_buf + dirp->dd_loc);

Completed in 140 milliseconds