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

/openjdk7/hotspot/src/os/windows/vm/
H A DperfMemory_windows.cpp779 PTOKEN_USER token_buf = NULL; local
809 token_buf = (PTOKEN_USER) NEW_C_HEAP_ARRAY(char, rsize, mtInternal);
812 if (!GetTokenInformation(hAccessToken, TokenUser, token_buf, rsize, &rsize)) {
817 FREE_C_HEAP_ARRAY(char, token_buf, mtInternal);
822 DWORD nbytes = GetLengthSid(token_buf->User.Sid);
825 if (!CopySid(nbytes, pSID, token_buf->User.Sid)) {
830 FREE_C_HEAP_ARRAY(char, token_buf, mtInternal);
838 FREE_C_HEAP_ARRAY(char, token_buf, mtInternal);

Completed in 33 milliseconds