Home
last modified time | relevance | path

Searched refs:dp (Results 1 – 5 of 5) sorted by relevance

/bionic/libc/kernel/uapi/linux/
Dppp-comp.h28 #define CCP_CODE(dp) ((dp)[0]) argument
29 #define CCP_ID(dp) ((dp)[1]) argument
30 #define CCP_LENGTH(dp) (((dp)[2] << 8) + (dp)[3]) argument
32 #define CCP_OPT_CODE(dp) ((dp)[0]) argument
33 #define CCP_OPT_LENGTH(dp) ((dp)[1]) argument
Dcoda.h90 #define DIRSIZ(dp) ((sizeof(struct venus_dirent) - (CODA_MAXNAMLEN + 1)) + (((dp)->d_namlen + 1 + 3… argument
/bionic/libc/upstream-netbsd/lib/libc/regex/
Dengine.c187 const char *dp; in matcher() local
214 for (dp = start; dp < stop; dp++) in matcher()
215 if (*dp == g->must[0] && (size_t)(stop - dp) >= g->mlen && in matcher()
216 memcmp(dp, g->must, g->mlen) == 0) in matcher()
218 if (dp == stop) /* we didn't find g->must */ in matcher()
272 dp = dissect(m, m->coldp, endp, gf, gl); in matcher()
282 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0); in matcher()
284 if (dp != NULL) in matcher()
291 if (dp != NULL || endp <= m->coldp) in matcher()
305 dp = backref(m, m->coldp, endp, gf, gl, (sopno)0); in matcher()
[all …]
/bionic/libc/bionic/
Dfts.c553 struct dirent *dp; in fts_build() local
656 for (head = tail = NULL, nitems = 0; dirp && (dp = readdir(dirp));) { in fts_build()
657 if (!ISSET(FTS_SEEDOT) && ISDOT(dp->d_name)) in fts_build()
660 if (!(p = fts_alloc(sp, dp->d_name, strlen(dp->d_name)))) in fts_build()
662 if (strlen(dp->d_name) >= maxlen) { /* include space for NUL */ in fts_build()
664 if (fts_palloc(sp, strlen(dp->d_name) +len + 1)) { in fts_build()
690 p->fts_pathlen = len + strlen(dp->d_name); in fts_build()
716 dp->d_type != DT_DIR && dp->d_type != DT_UNKNOWN) in fts_build()
/bionic/libc/upstream-freebsd/lib/libc/gen/
Dglob.c720 struct dirent *dp; in glob3() local
759 while ((dp = (*readdirfunc)(dirp)) != NULL) { in glob3()
774 if (dp->d_name[0] == '.' && UNPROT(*pattern) != DOT) { in glob3()
780 sc = dp->d_name; in glob3()
825 if (dp == NULL && errno != 0 && in glob3()