Home
last modified time | relevance | path

Searched refs:LastError (Results 1 – 25 of 32) sorted by relevance

12

/external/rust/crates/libfuzzer-sys/libfuzzer/
DFuzzerIOWindows.cpp101 DWORD LastError = GetLastError(); in FileSize() local
102 if (LastError != ERROR_FILE_NOT_FOUND) in FileSize()
104 Path.c_str(), LastError); in FileSize()
152 DWORD LastError = GetLastError(); in ListFilesInDirRecursive() local
153 if (LastError != ERROR_NO_MORE_FILES) in ListFilesInDirRecursive()
154 Printf("FindNextFileA failed (Error code: %lu).\n", LastError); in ListFilesInDirRecursive()
182 DWORD LastError = GetLastError(); in IterateDirRecursive() local
183 if (LastError != ERROR_FILE_NOT_FOUND) { in IterateDirRecursive()
186 LastError); in IterateDirRecursive()
205 DWORD LastError = GetLastError(); in IterateDirRecursive() local
[all …]
DFuzzerUtilWindows.cpp131 DWORD LastError = GetLastError(); in SetSignalHandler() local
133 LastError); in SetSignalHandler()
/external/llvm-project/compiler-rt/lib/fuzzer/
DFuzzerIOWindows.cpp101 DWORD LastError = GetLastError(); in FileSize() local
102 if (LastError != ERROR_FILE_NOT_FOUND) in FileSize()
104 Path.c_str(), LastError); in FileSize()
152 DWORD LastError = GetLastError(); in ListFilesInDirRecursive() local
153 if (LastError != ERROR_NO_MORE_FILES) in ListFilesInDirRecursive()
154 Printf("FindNextFileA failed (Error code: %lu).\n", LastError); in ListFilesInDirRecursive()
182 DWORD LastError = GetLastError(); in IterateDirRecursive() local
183 if (LastError != ERROR_FILE_NOT_FOUND) { in IterateDirRecursive()
186 LastError); in IterateDirRecursive()
205 DWORD LastError = GetLastError(); in IterateDirRecursive() local
[all …]
DFuzzerUtilWindows.cpp131 DWORD LastError = GetLastError(); in SetSignalHandler() local
133 LastError); in SetSignalHandler()
/external/swiftshader/third_party/subzero/src/
DIceCompileServer.h54 virtual ErrorCode &getErrorCode() { return LastError; } in getErrorCode()
55 void transferErrorCode(ErrorCodes Code) { LastError.assign(Code); } in transferErrorCode()
66 ErrorCode LastError; variable
DIceBrowserCompileServer.cpp278 LastError.assign(EC_Translation); in getErrorCode()
280 return LastError; in getErrorCode()
DIceBrowserCompileServer.h71 LastError.assign(Ctx->getErrorStatus()->value()); in waitForCompileThread()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/DebugInfo/CodeView/
DTypeStreamMerger.cpp169 Optional<Error> LastError; member in __anoncd3ab5720111::TypeStreamMerger
226 if (LastError) in remapIndexFallback()
227 LastError = joinErrors(std::move(*LastError), errorCorruptRecord()); in remapIndexFallback()
229 LastError = errorCorruptRecord(); in remapIndexFallback()
321 while (!LastError && NumBadIndices > 0) { in doit()
332 if (!LastError && NumBadIndices == BadIndicesRemaining) { in doit()
338 if (LastError) in doit()
339 return std::move(*LastError); in doit()
/external/llvm-project/llvm/lib/DebugInfo/CodeView/
DTypeStreamMerger.cpp169 Optional<Error> LastError; member in __anon70fef67e0111::TypeStreamMerger
226 if (LastError) in remapIndexFallback()
227 LastError = joinErrors(std::move(*LastError), errorCorruptRecord()); in remapIndexFallback()
229 LastError = errorCorruptRecord(); in remapIndexFallback()
321 while (!LastError && NumBadIndices > 0) { in doit()
332 if (!LastError && NumBadIndices == BadIndicesRemaining) { in doit()
338 if (LastError) in doit()
339 return std::move(*LastError); in doit()
/external/swiftshader/third_party/llvm-subzero/lib/Support/Windows/
DPath.inc211 DWORD LastError = ::GetLastError();
212 if (LastError != ERROR_ALREADY_EXISTS || !IgnoreExisting)
213 return mapWindowsError(LastError);
348 DWORD LastError = ::GetLastError();
349 if (LastError != ERROR_FILE_NOT_FOUND &&
350 LastError != ERROR_PATH_NOT_FOUND)
351 return mapWindowsError(LastError);
457 DWORD LastError = ::GetLastError();
458 if (LastError == ERROR_FILE_NOT_FOUND ||
459 LastError == ERROR_PATH_NOT_FOUND)
[all …]
DWindowsSupport.h76 DWORD LastError = GetLastError(); in MakeErrMsg() local
80 NULL, LastError, 0, (LPSTR)&buffer, 1, NULL); in MakeErrMsg()
85 *ErrMsg += " (0x" + llvm::utohexstr(LastError) + ")"; in MakeErrMsg()
/external/llvm/lib/Support/Windows/
DPath.inc217 DWORD LastError = ::GetLastError();
218 if (LastError != ERROR_ALREADY_EXISTS || !IgnoreExisting)
219 return mapWindowsError(LastError);
350 DWORD LastError = ::GetLastError();
351 if (LastError != ERROR_FILE_NOT_FOUND &&
352 LastError != ERROR_PATH_NOT_FOUND)
353 return mapWindowsError(LastError);
459 DWORD LastError = ::GetLastError();
460 if (LastError == ERROR_FILE_NOT_FOUND ||
461 LastError == ERROR_PATH_NOT_FOUND)
[all …]
DWindowsSupport.h75 DWORD LastError = GetLastError(); in MakeErrMsg() local
79 NULL, LastError, 0, (LPSTR)&buffer, 1, NULL); in MakeErrMsg()
84 *ErrMsg += " (0x" + llvm::utohexstr(LastError) + ")"; in MakeErrMsg()
/external/llvm/include/llvm/ProfileData/
DInstrProfReader.h53 instrprof_error LastError; variable
56 InstrProfReader() : LastError(instrprof_error::success), Symtab() {} in InstrProfReader()
84 LastError = Err; in error()
96 bool isEOF() { return LastError == instrprof_error::eof; } in isEOF()
98 bool hasError() { return LastError != instrprof_error::success && !isEOF(); } in hasError()
102 return make_error<InstrProfError>(LastError); in getError()
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/ProfileData/
DInstrProfReader.h62 instrprof_error LastError = instrprof_error::success; variable
102 LastError = Err; in error()
115 bool isEOF() { return LastError == instrprof_error::eof; } in isEOF()
118 bool hasError() { return LastError != instrprof_error::success && !isEOF(); } in hasError()
123 return make_error<InstrProfError>(LastError); in getError()
/external/llvm-project/llvm/include/llvm/ProfileData/
DInstrProfReader.h62 instrprof_error LastError = instrprof_error::success; variable
104 LastError = Err; in error()
117 bool isEOF() { return LastError == instrprof_error::eof; } in isEOF()
120 bool hasError() { return LastError != instrprof_error::success && !isEOF(); } in hasError()
125 return make_error<InstrProfError>(LastError); in getError()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/Windows/
DPath.inc234 DWORD LastError = ::GetLastError();
235 if (LastError != ERROR_ALREADY_EXISTS || !IgnoreExisting)
236 return mapWindowsError(LastError);
582 DWORD LastError = ::GetLastError();
583 if (LastError != ERROR_FILE_NOT_FOUND &&
584 LastError != ERROR_PATH_NOT_FOUND)
585 return mapWindowsError(LastError);
695 DWORD LastError = ::GetLastError();
696 if (LastError == ERROR_FILE_NOT_FOUND ||
697 LastError == ERROR_PATH_NOT_FOUND)
[all …]
DProgram.inc111 DWORD LastError = GetLastError();
115 NULL, LastError, 0, (LPSTR)&buffer, 1, NULL);
120 *ErrMsg += " (0x" + llvm::utohexstr(LastError) + ")";
/external/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp426 DWORD LastError = ::GetLastError(); in main() local
427 ec = windows_error(LastError); in main()
429 if (LastError == ERROR_SEM_TIMEOUT || LastError == WSAETIMEDOUT) { in main()
/external/llvm-project/llvm/utils/KillTheDoctor/
DKillTheDoctor.cpp425 DWORD LastError = ::GetLastError(); in main() local
426 ec = windows_error(LastError); in main()
428 if (LastError == ERROR_SEM_TIMEOUT || LastError == WSAETIMEDOUT) { in main()
/external/llvm-project/llvm/lib/Support/Windows/
DPath.inc235 DWORD LastError = ::GetLastError();
236 if (LastError != ERROR_ALREADY_EXISTS || !IgnoreExisting)
237 return mapWindowsError(LastError);
602 DWORD LastError = ::GetLastError();
603 if (LastError != ERROR_FILE_NOT_FOUND &&
604 LastError != ERROR_PATH_NOT_FOUND)
605 return mapWindowsError(LastError);
715 DWORD LastError = ::GetLastError();
716 if (LastError == ERROR_FILE_NOT_FOUND ||
717 LastError == ERROR_PATH_NOT_FOUND)
[all …]
DProgram.inc112 DWORD LastError = GetLastError();
116 NULL, LastError, 0, (LPSTR)&buffer, 1, NULL);
121 *ErrMsg += " (0x" + llvm::utohexstr(LastError) + ")";
/external/mesa3d/src/egl/main/
Deglcurrent.c106 t->LastError = EGL_SUCCESS; in _eglInitThreadInfo()
223 t->LastError = errCode; in _eglInternalError()
Deglcurrent.h54 EGLint LastError; member
/external/llvm-project/llvm/tools/llvm-exegesis/lib/
DBenchmarkResult.cpp36 : State(&State), ErrorStream(LastError), in YamlContext()
175 std::string LastError; member

12