Searched refs:LastError (Results 1 – 7 of 7) 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()154 Printf("FindNextFileA failed (Error code: %lu).\n", LastError); in ListFilesInDirRecursive()182 DWORD LastError = GetLastError(); in IterateDirRecursive() local183 if (LastError != ERROR_FILE_NOT_FOUND) { in IterateDirRecursive()186 LastError); in IterateDirRecursive()205 DWORD LastError = GetLastError(); in IterateDirRecursive() local[all …]
131 DWORD LastError = GetLastError(); in SetSignalHandler() local133 LastError); in SetSignalHandler()
169 Optional<Error> LastError; member in __anoneb227c7f0111::TypeStreamMerger226 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()
73 instrprof_error LastError = instrprof_error::success; variable118 LastError = Err; in error()131 bool isEOF() { return LastError == instrprof_error::eof; } in isEOF()134 bool hasError() { return LastError != instrprof_error::success && !isEOF(); } in hasError()139 return make_error<InstrProfError>(LastError); in getError()
235 DWORD LastError = ::GetLastError();236 if (LastError != ERROR_ALREADY_EXISTS || !IgnoreExisting)237 return mapWindowsError(LastError);611 DWORD LastError = ::GetLastError();612 if (LastError != ERROR_FILE_NOT_FOUND &&613 LastError != ERROR_PATH_NOT_FOUND)614 return mapWindowsError(LastError);727 DWORD LastError = ::GetLastError();728 if (LastError == ERROR_FILE_NOT_FOUND ||729 LastError == ERROR_PATH_NOT_FOUND)[all …]
113 DWORD LastError = GetLastError();117 NULL, LastError, 0, (LPSTR)&buffer, 1, NULL);122 *ErrMsg += " (0x" + llvm::utohexstr(LastError) + ")";
31973 LastError.