Lines Matching refs:header
35 const CtrTexturePackageHeader* header = in GetTextureNum() local
37 return header->numTexture; in GetTextureNum()
53 const CtrTexturePackageHeader &header = in GetTextureIndex() local
56 ((const char*)pTexPackage + (header.texHashOffset)); in GetTextureIndex()
61 texHash, header.numTexture, sizeof(CtrTextureHash), crc32key, &data); in GetTextureIndex()
79 const CtrTexturePackageHeader *header = in GetTexture() local
81 NN_TASSERT_((0 <= texIndex) && (texIndex < header->numTexture)); in GetTexture()
82 if((texIndex < 0) || (header->numTexture <= texIndex)) in GetTexture()
105 return (void*)(((const char*)pTexPackage) + (header->texDataOffset + texInfo->texDataOffset)); in GetTexture()
120 const CtrTexturePackageHeader *header = in GetTextureInfo() local
122 NN_TASSERT_((0 <= texIndex) && (texIndex < header->numTexture)); in GetTextureInfo()
123 if((texIndex < 0) || (header->numTexture <= texIndex)) in GetTextureInfo()
157 const CtrTexturePackageHeader *header = in CheckTexturePackageHeader() local
159 NN_NULL_TASSERT_(header); in CheckTexturePackageHeader()
162 if(::std::strncmp(header->magic, "CTPK", 4) != 0) in CheckTexturePackageHeader()
168 if(header->version != CTR_TEXTURE_PACKAGE_VERSION) in CheckTexturePackageHeader()