Lines Matching refs:header
40 const CtrTexturePackageHeader &header = in GetTextureIndex() local
43 ((const char*)pTexPackage + (header.texHashOffset)); in GetTextureIndex()
48 texHash, header.numTexture, sizeof(CtrTextureHash), crc32key, &data); in GetTextureIndex()
64 const CtrTexturePackageHeader *header = in GetTexture() local
66 NN_TASSERT_((0 <= texIndex) && (texIndex < header->numTexture)); in GetTexture()
67 if((texIndex < 0) || (header->numTexture <= texIndex)) in GetTexture()
90 return (void*)(((const char*)pTexPackage) + (header->texDataOffset + texInfo->texDataOffset)); in GetTexture()
104 const CtrTexturePackageHeader *header = in GetTextureInfo() local
106 NN_TASSERT_((0 <= texIndex) && (texIndex < header->numTexture)); in GetTextureInfo()
107 if((texIndex < 0) || (header->numTexture <= texIndex)) in GetTextureInfo()
141 const CtrTexturePackageHeader *header = in CheckTexturePackageHeader() local
143 NN_TASSERT_(header); in CheckTexturePackageHeader()
146 if(::std::strncmp(header->magic, "CTPK", 4) != 0) in CheckTexturePackageHeader()
152 if(header->version != CTR_TEXTURE_PACKAGE_VERSION) in CheckTexturePackageHeader()