Searched refs:pwbuf (Results 1 - 4 of 4) sorted by relevance

/openjdk7/jdk/src/solaris/native/sun/nio/fs/
H A DUnixNativeDispatcher.c891 char* pwbuf; local
897 pwbuf = (char*)malloc(buflen);
898 if (pwbuf == NULL) {
907 RESTARTABLE_RETURN_PTR(getpwuid_r((uid_t)uid, &pwent, pwbuf, (size_t)buflen), p);
909 RESTARTABLE(getpwuid_r((uid_t)uid, &pwent, pwbuf, (size_t)buflen, &p), res);
924 free(pwbuf);
994 char* pwbuf; local
1000 pwbuf = (char*)malloc(buflen);
1001 if (pwbuf == NULL) {
1011 RESTARTABLE_RETURN_PTR(getpwnam_r(name, &pwent, pwbuf, (size_
[all...]
/openjdk7/hotspot/src/os/solaris/vm/
H A DperfMemory_solaris.cpp245 // determine the max pwbuf size from sysconf, and hardcode
252 char* pwbuf = NEW_C_HEAP_ARRAY(char, bufsize, mtInternal); local
256 int result = getpwuid_r(uid, &pwent, pwbuf, (size_t)bufsize, &p);
258 struct passwd* p = getpwuid_r(uid, &pwent, pwbuf, (int)bufsize);
273 FREE_C_HEAP_ARRAY(char, pwbuf, mtInternal);
280 FREE_C_HEAP_ARRAY(char, pwbuf, mtInternal);
/openjdk7/hotspot/src/os/bsd/vm/
H A DperfMemory_bsd.cpp243 // determine the max pwbuf size from sysconf, and hardcode
250 char* pwbuf = NEW_C_HEAP_ARRAY(char, bufsize, mtInternal); local
254 int result = getpwuid_r(uid, &pwent, pwbuf, (size_t)bufsize, &p);
282 FREE_C_HEAP_ARRAY(char, pwbuf, mtInternal);
289 FREE_C_HEAP_ARRAY(char, pwbuf, mtInternal);
/openjdk7/hotspot/src/os/linux/vm/
H A DperfMemory_linux.cpp243 // determine the max pwbuf size from sysconf, and hardcode
250 char* pwbuf = NEW_C_HEAP_ARRAY(char, bufsize, mtInternal); local
254 int result = getpwuid_r(uid, &pwent, pwbuf, (size_t)bufsize, &p);
282 FREE_C_HEAP_ARRAY(char, pwbuf, mtInternal);
289 FREE_C_HEAP_ARRAY(char, pwbuf, mtInternal);

Completed in 32 milliseconds