chromium/third_party/unrar/src/arcread.cpp

#include "rar.hpp"

size_t Archive::ReadHeader()
{}


size_t Archive::SearchBlock(HEADER_TYPE HeaderType)
{}


size_t Archive::SearchSubBlock(const wchar *Type)
{}


size_t Archive::SearchRR()
{}


void Archive::UnexpEndArcMsg()
{}


void Archive::BrokenHeaderMsg()
{}


void Archive::UnkEncVerMsg(const std::wstring &Name,const std::wstring &Info)
{}


// Return f in case of signed integer overflow or negative parameters
// or v1+v2 otherwise. We use it for file offsets, which are signed
// for compatibility with off_t in POSIX file functions and third party code.
// Signed integer overflow is the undefined behavior according to
// C++ standard and it causes fuzzers to complain.
inline int64 SafeAdd(int64 v1,int64 v2,int64 f)
{}


size_t Archive::ReadHeader15()
{}


size_t Archive::ReadHeader50()
{}


#if !defined(RAR_NOCRYPT)
void Archive::RequestArcPassword(RarCheckPassword *CheckPwd)
{}
#endif


void Archive::ProcessExtra50(RawRead *Raw,size_t ExtraSize,const BaseBlock *bb)
{}


#ifndef SFX_MODULE
size_t Archive::ReadHeader14()
{}
#endif


#ifndef SFX_MODULE
void Archive::ConvertNameCase(std::wstring &Name)
{}
#endif


bool Archive::IsArcDir()
{}


void Archive::ConvertAttributes()
{}


void Archive::ConvertFileHeader(FileHeader *hd)
{}


int64 Archive::GetStartPos()
{}


bool Archive::ReadSubData(std::vector<byte> *UnpData,File *DestFile,bool TestMode)
{}