Searched refs:LastError (Results 1 – 6 of 6) sorted by relevance
101 DWORD LastError = GetLastError(); in FileSize() local102 if (LastError != ERROR_FILE_NOT_FOUND) in FileSize()104 Path.c_str(), LastError); in FileSize()152 DWORD LastError = GetLastError(); in ListFilesInDirRecursive() local153 if (LastError != ERROR_NO_MORE_FILES) in ListFilesInDirRecursive()181 DWORD LastError = GetLastError(); in IterateDirRecursive() local182 if (LastError != ERROR_FILE_NOT_FOUND) { in IterateDirRecursive()185 LastError); in IterateDirRecursive()204 DWORD LastError = GetLastError(); in IterateDirRecursive() local205 if (LastError != ERROR_NO_MORE_FILES) in IterateDirRecursive()[all …]
131 DWORD LastError = GetLastError(); in SetSignalHandler() local133 LastError); in SetSignalHandler()
170 std::optional<Error> LastError; member in __anon3756765d0111::TypeStreamMerger227 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()
92 instrprof_error LastError = instrprof_error::success; variable166 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()
246 DWORD LastError = ::GetLastError();248 return mapWindowsError(LastError);627 DWORD LastError = ::GetLastError();628 if (LastError != ERROR_FILE_NOT_FOUND && LastError != ERROR_PATH_NOT_FOUND)629 return mapWindowsError(LastError);757 DWORD LastError = ::GetLastError();758 if (LastError == ERROR_FILE_NOT_FOUND || LastError == ERROR_PATH_NOT_FOUND)764 return mapWindowsError(LastError);1087 DWORD LastError = ::GetLastError();1091 return mapWindowsError(LastError);[all …]
115 DWORD LastError = GetLastError();119 NULL, LastError, 0, (LPSTR)&buffer, 1, NULL);124 *ErrMsg += " (0x" + llvm::utohexstr(LastError) + ")";