Searched refs:HeaderErr (Results 1 - 4 of 4) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/amule/libcryptoxx-5.6.0/
H A Dgzip.cpp52 if (m_inQueue.Get(buf, 2)!=2) throw HeaderErr();
53 if (buf[0] != MAGIC1 || buf[1] != MAGIC2) throw HeaderErr();
54 if (!m_inQueue.Skip(1)) throw HeaderErr(); // skip extra flags
55 if (!m_inQueue.Get(flags)) throw HeaderErr();
56 if (flags & (ENCRYPTED | CONTINUED)) throw HeaderErr();
57 if (m_inQueue.Skip(6)!=6) throw HeaderErr(); // Skip file time, extra flags and OS type
62 if (m_inQueue.GetWord16(length, LITTLE_ENDIAN_ORDER) != 2) throw HeaderErr();
63 if (m_inQueue.Skip(length)!=length) throw HeaderErr();
68 if(!m_inQueue.Get(b)) throw HeaderErr();
73 if(!m_inQueue.Get(b)) throw HeaderErr();
[all...]
H A Dgzip.h36 class HeaderErr : public Err {public: HeaderErr() : Err(INVALID_DATA_FORMAT, "Gunzip: header decoding error") {}}; function in class:Gunzip::HeaderErr
H A Dzlib.cpp61 throw HeaderErr();
64 throw HeaderErr(); // if you hit this exception, you're probably trying to decompress invalid data
H A Dzlib.h34 class HeaderErr : public Err {public: HeaderErr() : Err(INVALID_DATA_FORMAT, "ZlibDecompressor: header decoding error") {}}; function in class:ZlibDecompressor::HeaderErr

Completed in 177 milliseconds