Home
last modified time | relevance | path

Searched refs:APE_TAG_FOOTER_BYTES (Results 1 – 2 of 2) sorted by relevance

/haiku/src/add-ons/media/plugins/ape_reader/MAClib/
H A DAPETag.h118 #define APE_TAG_FOOTER_BYTES 32 macro
139 m_nSize = nFieldBytes + APE_TAG_FOOTER_BYTES;
143 int GetTotalTagBytes() { return m_nSize + (GetHasHeader() ? APE_TAG_FOOTER_BYTES : 0); } in GetTotalTagBytes()
144 int GetFieldBytes() { return m_nSize - APE_TAG_FOOTER_BYTES; } in GetFieldBytes()
145 int GetFieldsOffset() { return GetHasHeader() ? APE_TAG_FOOTER_BYTES : 0; } in GetFieldsOffset()
H A DAPETag.cpp169 memcpy(&spRawTag[nLocation], &APETagFooter, APE_TAG_FOOTER_BYTES); in Save()
170 nLocation += APE_TAG_FOOTER_BYTES; in Save()
252 m_spIO->Seek(-int(APE_TAG_FOOTER_BYTES), FILE_END); in Analyze()
253 nRetVal = m_spIO->Read((unsigned char *) &APETagFooter, APE_TAG_FOOTER_BYTES, &nBytesRead); in Analyze()
254 if ((nBytesRead == APE_TAG_FOOTER_BYTES) && (nRetVal == 0)) in Analyze()
670 if (m_spIO->GetSize() > APE_TAG_FOOTER_BYTES && bFailedToRemove == FALSE) in Remove()
673 m_spIO->Seek(-int(APE_TAG_FOOTER_BYTES), FILE_END); in Remove()
674 nRetVal = m_spIO->Read(&APETagFooter, APE_TAG_FOOTER_BYTES, &nBytesRead); in Remove()
675 if ((nRetVal == 0) && (nBytesRead == APE_TAG_FOOTER_BYTES)) in Remove()