Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/compiler-rt/lib/fuzzer/
H A 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()
181 DWORD LastError = GetLastError(); in IterateDirRecursive() local
182 if (LastError != ERROR_FILE_NOT_FOUND) { in IterateDirRecursive()
185 LastError); in IterateDirRecursive()
204 DWORD LastError = GetLastError(); in IterateDirRecursive() local
[all …]
H A DFuzzerUtilWindows.cpp136 DWORD LastError = GetLastError(); in SetSignalHandler() local
138 LastError); in SetSignalHandler()
/freebsd/contrib/llvm-project/llvm/lib/DebugInfo/CodeView/
H A DTypeStreamMerger.cpp170 std::optional<Error> LastError; member in __anon294433670111::TypeStreamMerger
227 if (LastError) in remapIndexFallback()
228 LastError = joinErrors(std::move(*LastError), errorCorruptRecord()); in remapIndexFallback()
230 LastError = errorCorruptRecord(); in remapIndexFallback()
320 while (!LastError && NumBadIndices > 0) { in doit()
331 if (!LastError && NumBadIndices == BadIndicesRemaining) { in doit()
337 if (LastError) in doit()
338 return std::move(*LastError); in doit()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h92 instrprof_error LastError = instrprof_error::success; variable
166 LastError = Err;
175 LastError = IPE.get(); in error()
178 return make_error<InstrProfError>(LastError, LastErrorMsg); in error()
186 bool isEOF() { return LastError == instrprof_error::eof; } in isEOF()
189 bool hasError() { return LastError != instrprof_error::success && !isEOF(); } in hasError()
194 return make_error<InstrProfError>(LastError, LastErrorMsg); in getError()
/freebsd/contrib/llvm-project/llvm/lib/Support/Windows/
H A DPath.inc248 DWORD LastError = ::GetLastError();
249 if (LastError != ERROR_ALREADY_EXISTS || !IgnoreExisting)
250 return mapWindowsError(LastError);
633 DWORD LastError = ::GetLastError();
634 if (LastError != ERROR_FILE_NOT_FOUND && LastError != ERROR_PATH_NOT_FOUND)
635 return mapWindowsError(LastError);
1055 DWORD LastError = ::GetLastError();
1057 if (LastError == ERROR_NO_MORE_FILES)
1059 return mapWindowsError(LastError);
1093 DWORD LastError = ::GetLastError();
[all …]
H A DProgram.inc115 DWORD LastError = GetLastError();
119 NULL, LastError, 0, (LPSTR)&buffer, 1, NULL);
124 *ErrMsg += " (0x" + llvm::utohexstr(LastError) + ")";