/openjdk7/jdk/src/windows/native/java/io/ |
H A D | dirent_md.c | 44 DIR *dirp = (DIR *)malloc(sizeof(DIR)); local 48 if (dirp == 0) { 66 dirp->path = (char *)malloc(strlen(dirname) + 5); 67 if (dirp->path == 0) { 68 free(dirp); 72 strcpy(dirp->path, dirname); 74 fattr = GetFileAttributes(dirp->path); 76 free(dirp->path); 77 free(dirp); 81 free(dirp 110 readdir(DIR *dirp) argument 131 closedir(DIR *dirp) argument 146 rewinddir(DIR *dirp) argument [all...] |
/openjdk7/jdk/test/java/nio/channels/spi/SelectorProvider/inheritedChannel/ |
H A D | Launcher.c | 73 struct dirent* dirp; local 142 while ((dirp = readdir(dp)) != NULL) { 143 if (isdigit(dirp->d_name[0])) { 144 int fd = strtol(dirp->d_name, NULL, 10);
|
/openjdk7/hotspot/src/os/solaris/vm/ |
H A D | os_solaris.inline.hpp | 94 inline struct dirent* os::readdir(DIR* dirp, dirent* dbuf) { argument 95 assert(dirp != NULL, "just checking"); 100 if((status = ::readdir_r(dirp, dbuf, &p)) != 0) { 106 return ::readdir_r(dirp, dbuf); 110 inline int os::closedir(DIR *dirp) { argument 111 assert(dirp != NULL, "argument is NULL"); 112 return ::closedir(dirp);
|
H A D | perfMemory_solaris.cpp | 537 DIR* dirp = os::opendir(dirname); local 539 if (dirp == NULL) { 560 while ((entry = os::readdir(dirp, (struct dirent *)dbuf)) != NULL) { 596 os::closedir(dirp);
|
/openjdk7/hotspot/src/share/tools/launcher/ |
H A D | wildcard.c | 199 struct dirent* dirp = readdir(it->dir); local 200 return dirp ? dirp->d_name : NULL;
|
/openjdk7/jdk/src/share/bin/ |
H A D | wildcard.c | 199 struct dirent* dirp = readdir(it->dir); local 200 return dirp ? dirp->d_name : NULL;
|
/openjdk7/jdk/src/solaris/native/com/sun/management/ |
H A D | UnixOperatingSystem_md.c | 73 static struct dirent* read_dir(DIR* dirp, struct dirent* entry) { argument 75 struct dirent* dbuf = readdir(dirp); 79 if (readdir_r(dirp, entry, &p) == 0) { 415 DIR *dirp; 420 dirp = opendir("/proc/self/fd"); 421 if (dirp == NULL) { 428 while ((dentp = read_dir(dirp, &dbuf)) != NULL) { 434 closedir(dirp);
|
/openjdk7/hotspot/src/os/bsd/vm/ |
H A D | perfMemory_bsd.cpp | 500 DIR* dirp = os::opendir(dirname); local 502 if (dirp == NULL) { 523 while ((entry = os::readdir(dirp, (struct dirent *)dbuf)) != NULL) { 559 os::closedir(dirp);
|
H A D | os_bsd.inline.hpp | 140 inline struct dirent* os::readdir(DIR* dirp, dirent *dbuf) argument 144 assert(dirp != NULL, "just checking"); 150 if((status = ::readdir_r(dirp, dbuf, &p)) != 0) { 157 inline int os::closedir(DIR *dirp) { argument 158 assert(dirp != NULL, "argument is NULL"); 159 return ::closedir(dirp);
|
/openjdk7/hotspot/src/os/linux/vm/ |
H A D | perfMemory_linux.cpp | 500 DIR* dirp = os::opendir(dirname); local 502 if (dirp == NULL) { 523 while ((entry = os::readdir(dirp, (struct dirent *)dbuf)) != NULL) { 559 os::closedir(dirp);
|
H A D | os_linux.inline.hpp | 144 inline struct dirent* os::readdir(DIR* dirp, dirent *dbuf) argument 148 assert(dirp != NULL, "just checking"); 154 if((status = ::readdir_r(dirp, dbuf, &p)) != 0) { 161 inline int os::closedir(DIR *dirp) { argument 162 assert(dirp != NULL, "argument is NULL"); 163 return ::closedir(dirp);
|
/openjdk7/jdk/src/solaris/native/java/util/ |
H A D | TimeZone_md.c | 106 DIR *dirp = NULL; local 115 dirp = opendir(dir); 116 if (dirp == NULL) { 122 (void) closedir(dirp); 128 while (readdir_r(dirp, entry, &dp) == 0 && dp != NULL) { 130 while ((dp = readdir_r(dirp, entry)) != NULL) { 200 if (dirp != NULL) { 201 (void) closedir(dirp);
|
/openjdk7/jdk/src/solaris/bin/ |
H A D | java_md_common.c | 214 DIR *dirp; local 222 if ((dirp = opendir(dirname)) == NULL) 226 if ((dp = readdir(dirp)) != NULL) { 248 (void) closedir(dirp);
|
/openjdk7/hotspot/src/os/windows/vm/ |
H A D | perfMemory_windows.cpp | 621 DIR* dirp = os::opendir(dirname); local 623 if (dirp == NULL) { 644 while ((entry = os::readdir(dirp, (struct dirent *)dbuf)) != NULL) { 684 os::closedir(dirp);
|
H A D | os_windows.cpp | 1028 DIR *dirp = (DIR *)malloc(sizeof(DIR), mtInternal); local 1032 if (dirp == 0) { 1050 dirp->path = (char *)malloc(strlen(dirname) + 5, mtInternal); 1051 if (dirp->path == 0) { 1052 free(dirp, mtInternal); 1056 strcpy(dirp->path, dirname); 1058 fattr = GetFileAttributes(dirp->path); 1060 free(dirp->path, mtInternal); 1061 free(dirp, mtInternal); 1065 free(dirp 1096 readdir(DIR *dirp, dirent *dbuf) argument 1118 closedir(DIR *dirp) argument [all...] |
/openjdk7/jdk/src/solaris/native/java/lang/ |
H A D | UNIXProcess_md.c | 409 struct dirent64 *dirp; local 428 while ((dirp = readdir64(dp)) != NULL) { 430 if (isAsciiDigit(dirp->d_name[0]) && 431 (fd = strtol(dirp->d_name, NULL, 10)) >= from_fd + 2)
|
/openjdk7/jdk/src/solaris/native/sun/nio/fs/ |
H A D | UnixNativeDispatcher.c | 614 DIR* dirp = jlong_to_ptr(dir); local 616 RESTARTABLE(closedir(dirp), err); 631 DIR* dirp = jlong_to_ptr(value); local 635 res = readdir64_r(dirp, ptr, &result);
|
/openjdk7/hotspot/src/os/posix/launcher/ |
H A D | java_md.c | 1588 DIR *dirp; local 1596 if ((dirp = opendir(dirname)) == NULL) 1600 if ((dp = readdir(dirp)) != NULL) { 1622 (void) closedir(dirp);
|