Lines Matching refs:header
35 const CtrTexturePackageHeader* header = in GetTextureNum() local
37 return header->numTexture; in GetTextureNum()
52 const CtrTexturePackageHeader &header = in GetTextureIndex() local
55 ((const char*)pTexPackage + (header.texHashOffset)); in GetTextureIndex()
60 texHash, header.numTexture, sizeof(CtrTextureHash), crc32key, &data); in GetTextureIndex()
76 const CtrTexturePackageHeader *header = in GetTexture() local
78 NN_TASSERT_((0 <= texIndex) && (texIndex < header->numTexture)); in GetTexture()
79 if((texIndex < 0) || (header->numTexture <= texIndex)) in GetTexture()
102 return (void*)(((const char*)pTexPackage) + (header->texDataOffset + texInfo->texDataOffset)); in GetTexture()
116 const CtrTexturePackageHeader *header = in GetTextureInfo() local
118 NN_TASSERT_((0 <= texIndex) && (texIndex < header->numTexture)); in GetTextureInfo()
119 if((texIndex < 0) || (header->numTexture <= texIndex)) in GetTextureInfo()
153 const CtrTexturePackageHeader *header = in CheckTexturePackageHeader() local
155 NN_TASSERT_(header); in CheckTexturePackageHeader()
158 if(::std::strncmp(header->magic, "CTPK", 4) != 0) in CheckTexturePackageHeader()
164 if(header->version != CTR_TEXTURE_PACKAGE_VERSION) in CheckTexturePackageHeader()