Searched refs:GetLastError (Results 1 - 25 of 52) sorted by relevance

123

/openjdk7/jdk/src/windows/native/sun/nio/fs/
H A DWindowsNativeDispatcher.c250 throwWindowsException(env, GetLastError());
263 throwWindowsException(env, GetLastError());
278 throwWindowsException(env, GetLastError());
287 throwWindowsException(env, GetLastError());
312 throwWindowsException(env, GetLastError());
321 throwWindowsException(env, GetLastError());
349 throwWindowsException(env, GetLastError());
362 throwWindowsException(env, GetLastError());
377 if (GetLastError() != ERROR_NO_MORE_FILES)
378 throwWindowsException(env, GetLastError());
[all...]
/openjdk7/jdk/src/windows/native/sun/security/mscapi/
H A Dsecurity.cpp168 ThrowException(env, PROVIDER_EXCEPTION, GetLastError());
189 ThrowException(env, PROVIDER_EXCEPTION, GetLastError());
204 ThrowException(env, PROVIDER_EXCEPTION, GetLastError());
221 ThrowException(env, PROVIDER_EXCEPTION, GetLastError());
282 ThrowException(env, KEYSTORE_EXCEPTION, GetLastError());
514 ThrowException(env, SIGNATURE_EXCEPTION, GetLastError());
522 ThrowException(env, SIGNATURE_EXCEPTION, GetLastError());
534 ThrowException(env, SIGNATURE_EXCEPTION, GetLastError());
544 ThrowException(env, SIGNATURE_EXCEPTION, GetLastError());
562 ThrowException(env, SIGNATURE_EXCEPTION, GetLastError());
[all...]
/openjdk7/hotspot/src/os/windows/vm/
H A DperfMemory_windows.cpp214 DWORD lasterror = GetLastError();
520 DWORD lastError = GetLastError();
522 warning("OpenProcess failed: %d\n", GetLastError());
531 warning("GetExitCodeProcess failed: %d\n", GetLastError());
583 root_path, path, GetLastError());
710 warning("CreateFileMapping failed, lasterror = %d\n", GetLastError());
715 if (GetLastError() == ERROR_ALREADY_EXISTS) {
723 warning("file mapping already exists, lasterror = %d\n", GetLastError());
789 warning("OpenProcessToken failure: lasterror = %d \n", GetLastError());
798 DWORD lasterror = GetLastError();
[all...]
/openjdk7/jdk/src/windows/native/java/nio/
H A DMappedByteBuffer.c69 if ((result != 0) || (GetLastError() != ERROR_LOCK_VIOLATION))
92 if (result == 0 && GetLastError() == ERROR_ACCESS_DENIED) {
/openjdk7/jdk/src/windows/native/sun/nio/ch/
H A DFileDispatcherImpl.c60 int error = GetLastError();
108 int error = GetLastError();
141 if (GetLastError() != ERROR_SUCCESS) {
151 if (GetLastError() != ERROR_SUCCESS) {
164 int error = GetLastError();
177 if (GetLastError() != ERROR_SUCCESS) {
280 if (GetLastError() != ERROR_SUCCESS) {
290 if (GetLastError() != ERROR_SUCCESS) {
309 if (GetLastError() != ERROR_SUCCESS) {
328 int error = GetLastError();
[all...]
H A DWindowsAsynchronousFileChannelImpl.c55 int error = GetLastError();
85 int error = GetLastError();
114 int error = GetLastError();
H A DFileChannelImpl.c105 mapError = GetLastError();
155 if (GetLastError() != ERROR_SUCCESS) {
H A DIOUtil.c175 int error = GetLastError();
H A DIocp.c112 DWORD ioResult = (res == 0) ? GetLastError() : 0;
H A DWindowsAsynchronousSocketChannelImpl.c112 int error = GetLastError();
/openjdk7/jdk/src/windows/native/com/sun/security/auth/module/
H A Dnt.c283 printf(" [getToken] OpenThreadToken error [%d]: ", GetLastError());
284 DisplayErrorText(GetLastError());
293 GetLastError());
294 DisplayErrorText(GetLastError());
335 GetLastError());
336 DisplayErrorText(GetLastError());
368 GetLastError());
369 DisplayErrorText(GetLastError());
410 GetLastError());
411 DisplayErrorText(GetLastError());
[all...]
/openjdk7/jdk/src/windows/native/sun/tools/attach/
H A DWindowsVirtualMachine.c193 if (hProcess == NULL && GetLastError() == ERROR_ACCESS_DENIED) {
199 if (GetLastError() == ERROR_INVALID_PARAMETER) {
205 (int)pid, (int)GetLastError());
303 TRUE : (GetLastError() == ERROR_PIPE_CONNECTED);
335 if (GetLastError() == ERROR_BROKEN_PIPE) {
469 if (GetLastError() == ERROR_NOT_ENOUGH_MEMORY) {
504 if (GetLastError() != ERROR_NO_TOKEN) {
527 error = GetLastError();
552 if (GetLastError() == ERROR_SUCCESS) {
555 error = GetLastError();
[all...]
/openjdk7/jdk/src/windows/back/
H A Dlinker_md.c79 if ((errval = GetLastError()) != 0) {
134 long errcode = GetLastError();
/openjdk7/jdk/src/windows/native/sun/security/pkcs11/wrapper/
H A Dp11_md.c103 GetLastError(),
131 GetLastError(),
/openjdk7/jdk/src/share/javavm/export/
H A DjdwpTransport.h185 /* 11: GetLastError */
186 jdwpTransportError (JNICALL *GetLastError)(jdwpTransportEnv* env, member in struct:jdwpTransportNativeInterface_
242 jdwpTransportError GetLastError(char** error) { function in struct:_jdwpTransportEnv
243 return functions->GetLastError(this, error);
/openjdk7/jdk/src/windows/native/java/io/
H A Ddirent_md.c99 if (GetLastError() != ERROR_FILE_NOT_FOUND) {
119 if (GetLastError() == ERROR_INVALID_HANDLE) {
H A Dio_util_md.c272 int error = GetLastError();
360 if (GetLastError() != ERROR_BROKEN_PIPE) {
443 * GetLastError returns ERROR_INVALID_HANDLE.
457 if (GetLastError() != ERROR_ACCESS_DENIED) { /* from winerror.h */
473 if (ret == 0xFFFFFFFF && GetLastError() != NO_ERROR) {
496 int error = GetLastError();
H A DWinNTFileSystem_md.c167 error = GetLastError();
194 error = GetLastError();
230 } else if (GetLastError() == ERROR_SHARING_VIOLATION &&
519 if (GetLastError() == ERROR_SHARING_VIOLATION) {
559 DWORD error = GetLastError();
662 if (GetLastError() != ERROR_FILE_NOT_FOUND) {
701 if (GetLastError() != ERROR_NO_MORE_FILES)
/openjdk7/jdk/src/windows/native/sun/security/pkcs11/
H A Dj2secmod_md.c74 GetLastError(),
/openjdk7/jdk/src/windows/transport/shmem/
H A Dshmem_md.c73 } else if (GetLastError() == ERROR_ALREADY_EXISTS) {
158 } else if (GetLastError() == ERROR_ALREADY_EXISTS) {
228 } else if (GetLastError() == ERROR_ALREADY_EXISTS) {
339 long errval = GetLastError();
/openjdk7/jdk/src/windows/demo/jvmti/hprof/
H A Dhprof_md.c287 errval = GetLastError();
334 errval = GetLastError();
430 errcode = GetLastError();
/openjdk7/jdk/src/windows/native/sun/windows/
H A Dawt_DataTransferer.cpp675 hr = HRESULT_FROM_WIN32(::GetLastError());
689 hr = HRESULT_FROM_WIN32(::GetLastError());
700 hr = HRESULT_FROM_WIN32(::GetLastError());
704 hr = HRESULT_FROM_WIN32(::GetLastError());
709 hr = HRESULT_FROM_WIN32(::GetLastError());
739 hr = HRESULT_FROM_WIN32(::GetLastError());
747 hr = HRESULT_FROM_WIN32(::GetLastError());
762 hr = HRESULT_FROM_WIN32(::GetLastError());
766 hr = HRESULT_FROM_WIN32(::GetLastError());
771 hr = HRESULT_FROM_WIN32(::GetLastError());
[all...]
H A Dawt_List.h150 DASSERT(ret != 0 || ::GetLastError() == 0);
161 DASSERT(ret != 0 || ::GetLastError() == 0);
H A Dawt_Debug.cpp155 "GetLastError() is %x : %s\r\n"
159 DWORD lastError = GetLastError();
174 msgBuffer = "<Could not get GetLastError() message text>";
/openjdk7/jdk/test/sun/management/windows/
H A Drevokeall.c52 errval = GetLastError();
270 if (GetLastError() != ERROR_INSUFFICIENT_BUFFER) {

Completed in 141 milliseconds

123