Searched refs:SafeAlloc (Results 1 – 1 of 1) sorted by relevance
/external/swiftshader/third_party/PowerVR_SDK/Tools/ |
D | PVRTModelPOD.cpp | 206 bool SafeAlloc(T* &ptr, size_t cnt) in SafeAlloc() function 314 if(!SafeAlloc(lpBuffer, dwNumberOfBytesToRead)) in ReadAfterAlloc() 323 if(!SafeAlloc(lpBuffer, dwNumberOfBytesToRead/4)) in ReadAfterAlloc32() 344 if(!SafeAlloc(lpBuffer, dwNumberOfBytesToRead/2 )) in ReadAfterAlloc16() 1474 …case ePODFileMeshNumUVW: if(!src.Read32(s.nNumUVW)) return false; if(!SafeAlloc(s.psUVW, s.nNumU… in ReadMesh() 1660 …case ePODFileNumCamera: if(!src.Read32(s.nNumCamera)) return false; if(!SafeAlloc(s.pCamera, s… in ReadScene() 1661 …case ePODFileNumLight: if(!src.Read32(s.nNumLight)) return false; if(!SafeAlloc(s.pLight, s.nN… in ReadScene() 1662 …case ePODFileNumMesh: if(!src.Read32(s.nNumMesh)) return false; if(!SafeAlloc(s.pMesh, s.nNum… in ReadScene() 1663 …case ePODFileNumNode: if(!src.Read32(s.nNumNode)) return false; if(!SafeAlloc(s.pNode, s.nNum… in ReadScene() 1665 …case ePODFileNumTexture: if(!src.Read32(s.nNumTexture)) return false; if(!SafeAlloc(s.pTexture,… in ReadScene() [all …]
|