Home
last modified time | relevance | path

Searched refs:dirp (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/native/
DUNIXProcess_md.c471 struct dirent64 *dirp = (struct dirent64 *)p; in closeDescriptors() local
472 p += dirp->d_reclen; in closeDescriptors()
473 available_bytes -= dirp->d_reclen; in closeDescriptors()
475 int fd = atoi(dirp->d_name); in closeDescriptors()
496 struct dirent64 *dirp; in closeDescriptors() local
515 while ((dirp = readdir64(dp)) != NULL) { in closeDescriptors()
517 if (isAsciiDigit(dirp->d_name[0]) && in closeDescriptors()
518 (fd = strtol(dirp->d_name, NULL, 10)) >= from_fd + 2) in closeDescriptors()
DUnixNativeDispatcher.c711 DIR* dirp = jlong_to_ptr(dir); in Java_sun_nio_fs_UnixNativeDispatcher_closedir() local
713 if (closedir(dirp) == -1 && errno != EINTR) { in Java_sun_nio_fs_UnixNativeDispatcher_closedir()
759 DIR* dirp = jlong_to_ptr(value); in Java_sun_nio_fs_UnixNativeDispatcher_readdir() local
763 ptr = readdir64(dirp); in Java_sun_nio_fs_UnixNativeDispatcher_readdir()