Home
last modified time | relevance | path

Searched refs:_ASSERT (Results 1 – 25 of 29) sorted by relevance

12

/external/swiftshader/third_party/PowerVR_SDK/Tools/
DPVRTTriStrip.cpp186 _ASSERT(false); in EdgeFromAdjTri()
204 _ASSERT(!pTri->bInStrip); in OrphanTri()
227 _ASSERT(!pTri->bInStrip); in TakeTri()
231 _ASSERT(pTri->sNew.pFwd->sNew.pRev == pTri); in TakeTri()
233 _ASSERT(pTri->sNew.pRev->sNew.pFwd == pTri); in TakeTri()
244 _ASSERT(pTri->sNew.pFwd->sNew.pRev == pTri); in TakeTri()
255 _ASSERT(pTri->sNew.pRev->sNew.pFwd == pTri); in TakeTri()
274 _ASSERT(!pRevNew->sNew.pFwd); in TakeTri()
397 _ASSERT(pTri); in StripGrow()
399 _ASSERT(nStripLen < m_nTriCnt); in StripGrow()
[all …]
DPVRTGeometry.cpp288 _ASSERT(m_pvMesh); in CObject()
291 _ASSERT(m_ppVtxByMesh); in CObject()
300 _ASSERT(m_pTri); in CObject()
303 _ASSERT(m_pEdg); in CObject()
306 _ASSERT(m_pVtx); in CObject()
358 _ASSERT(m_nTriNumFree == 0); in ~CObject()
441 _ASSERT(m_nEdgTot < m_nTriTot*3); in BuildEdgeList()
471 _ASSERT(pVtx->ppMeshPos < ppW); in CreateMeshList()
491 _ASSERT(pVtx->ppMeshPos < ppW); in CreateMeshList()
519 _ASSERT(sMesh.nVtxNum == 1); in CreateMeshList()
[all …]
DPVRTShadowVol.cpp309 _ASSERT(psMesh->pV); in PVRTShadowVolMeshCreateMesh()
310 _ASSERT(psMesh->pE); in PVRTShadowVolMeshCreateMesh()
311 _ASSERT(psMesh->pT); in PVRTShadowVolMeshCreateMesh()
320 _ASSERT(psMesh->nV <= nNumVertex); in PVRTShadowVolMeshCreateMesh()
321 _ASSERT(psMesh->nE < nNumFaces * 3); in PVRTShadowVolMeshCreateMesh()
322 _ASSERT(psMesh->nT == nNumFaces); in PVRTShadowVolMeshCreateMesh()
334 _ASSERT(psMesh->pV); in PVRTShadowVolMeshCreateMesh()
335 _ASSERT(psMesh->pE); in PVRTShadowVolMeshCreateMesh()
336 _ASSERT(psMesh->pT); in PVRTShadowVolMeshCreateMesh()
390 _ASSERT(pContext && pContext->pglExt); in PVRTShadowVolMeshInitMesh()
[all …]
DPVRTGlobal.h33 #ifndef _ASSERT
35 #define _ASSERT(X) { (X) ? 0 : DebugBreak(); } macro
37 #define _ASSERT(X) macro
43 #define _ASSERTE _ASSERT
67 #ifndef _ASSERT
68 #define _ASSERT(a) assert(a) macro
80 #ifndef _ASSERT
81 #define _ASSERT(a)((void)0) macro
129 #define _ASSERT(X) macro
DPVRTHash.h53 _ASSERT(c_pszString); in CPVRTHash()
68 _ASSERT(pData); in CPVRTHash()
69 _ASSERT(dataSize > 0); in CPVRTHash()
121 _ASSERT(c_pszString); in MakeHash()
144 _ASSERT(pData); in MakeHash()
145 _ASSERT(dataSize > 0); in MakeHash()
DPVRTVertex.cpp79 _ASSERT(false); in PVRTVertexRead()
235 _ASSERT(false); in PVRTVertexRead()
268 _ASSERT(false); in PVRTVertexWrite()
425 _ASSERT(false); in PVRTVertexWrite()
541 _ASSERT(PVRTMatrixVec3DotProductF(*pvBin, AlignedVector) > 0.0f); in PVRTVertexTangentBitangent()
554 _ASSERT(PVRTMatrixVec3DotProductF(*pvNor, *pvNor) > 0.9f); in PVRTVertexTangentBitangent()
555 _ASSERT(PVRTMatrixVec3DotProductF(*pvTan, *pvTan) > 0.9f); in PVRTVertexTangentBitangent()
556 _ASSERT(PVRTMatrixVec3DotProductF(*pvBin, *pvBin) > 0.9f); in PVRTVertexTangentBitangent()
640 _ASSERT(pui32IdxNew); in PVRTVertexGenerateTangentSpace()
642 _ASSERT(psVtxData); in PVRTVertexGenerateTangentSpace()
[all …]
DPVRTArray.h41 _ASSERT(uiSize != 0); in CPVRTArray()
67 _ASSERT(uiSize != 0); in CPVRTArray()
83 _ASSERT(uiSize != 0); in CPVRTArray()
313 _ASSERT(uiIndex < m_uiCapacity);
324 _ASSERT(uiIndex < m_uiCapacity);
420 _ASSERT(uiIndex < m_uiSize); in Remove()
494 _ASSERT(uiIndex < this->m_uiSize); in Remove()
DPVRTPrint3D.cpp178 _ASSERT(block.u32DataSize == uiDataSize); in ReadMetaBlock()
184 _ASSERT(block.u32DataSize == uiDataSize); in ReadMetaBlock()
190 _ASSERT(block.u32DataSize == uiDataSize); in ReadMetaBlock()
196 _ASSERT(block.u32DataSize == uiDataSize); in ReadMetaBlock()
202 _ASSERT(block.u32DataSize == uiDataSize); in ReadMetaBlock()
208 _ASSERT(!"Unhandled key!"); in ReadMetaBlock()
795 _ASSERT(pszUnicode); in MeasureText()
951 _ASSERT((nVertices % 4) == 0); in DrawLine()
952 _ASSERT((nVertices/4) < MAX_LETTERS); in DrawLine()
963 _ASSERT(pTmp); in DrawLine()
DPVRTSkipGraph.h68 _ASSERT(ui32Id >= 0 && ui32Id < (unsigned int)m_apDependencies.GetSize()); in GetDependency()
336 _ASSERT(ui32NodeID >= 0 && ui32NodeID < (unsigned int)m_aHashTable.GetSize()); in RetreiveSortedDependencyList()
397 _ASSERT(ui32NodeID >= 0 && ui32NodeID < (unsigned int)m_aHashTable.GetSize()); in GetNodeData()
DPVRTBoneBatch.cpp89 _ASSERT(m_nCapacity == src.m_nCapacity); in operator =()
271 _ASSERT(j != m_nCnt); in GetVertexBoneIndices()
325 _ASSERT(m_p); in Append()
563 _ASSERT(iBatch != lBatch.end()); in Create()
600 _ASSERT(vIdx.x == 0 || vIdx.x != vIdx.y); in Create()
DPVRTModelPOD.cpp208 _ASSERT(!ptr); in SafeAlloc()
212 _ASSERT(ptr); in SafeAlloc()
229 _ASSERT(ptr); in SafeRealloc()
466 _ASSERT(lpBuffer); in Read()
467 _ASSERT(m_pFile); in Read()
550 _ASSERT(lpBuffer); in Read()
649 _ASSERT((nName & ~PVRTMODELPOD_TAG_MASK) == nName); in WriteMarker()
676 _ASSERT(nLen); in WriteData()
785 default: { _ASSERT(false); } in WriteCPODData()
860 default: { _ASSERT(false); } in WriteInterleaved()
[all …]
DPVRTMisc.cpp231 _ASSERT(dwCount <= 5); in PVRTMiscCalculateInfinitePlane()
232 _ASSERT(dwCount != 1); in PVRTMiscCalculateInfinitePlane()
233 _ASSERT(dwCount != 2); in PVRTMiscCalculateInfinitePlane()
DPVRTVector.cpp343 _ASSERT(pSrc[0][1] != 0); in PVRTLinearEqSolve()
371 _ASSERT(pSrc[nCnt-1][nCnt] != f2vt(0.0f)); in PVRTLinearEqSolve()
394 _ASSERT(pSrc[nCnt-1][nCnt] != f2vt(0)); in PVRTLinearEqSolve()
DPVRTDecompress.cpp544 _ASSERT(YPos < YSize); in TwiddleUV()
545 _ASSERT(XPos < XSize); in TwiddleUV()
546 _ASSERT(isPowerOf2(YSize)); in TwiddleUV()
547 _ASSERT(isPowerOf2(XSize)); in TwiddleUV()
DPVRTMatrixF.cpp797 _ASSERT(pSrc[0][1] != 0); in PVRTMatrixLinearEqSolveF()
825 _ASSERT(pSrc[nCnt-1][nCnt] != 0); in PVRTMatrixLinearEqSolveF()
848 _ASSERT(pSrc[nCnt-1][nCnt] != 0); in PVRTMatrixLinearEqSolveF()
863 _ASSERT(abs(fCnt - pSrc[nCnt-1][0]) < 1e-3); in PVRTMatrixLinearEqSolveF()
DPVRTPFXParser.cpp795 _ASSERT(strchr(pszLine, '\r') == 0); in ParseFromMemory()
796 _ASSERT(strchr(pszLine, '\n') == 0); in ParseFromMemory()
2774 _ASSERT(uiIndex >= 0 && uiIndex < GetNumberRenderPasses()); in GetRenderPass()
2817 _ASSERT(uiIndex < GetNumberFragmentShaders()); in GetFragmentShader()
2839 _ASSERT(uiIndex < GetNumberVertexShaders()); in GetVertexShader()
2861 _ASSERT(uiIndex < GetNumberEffects()); in GetEffect()
2883 _ASSERT(uiIndex < GetNumberTextures()); in GetTexture()
DPVRTUnicode.cpp254 _ASSERT(!"Invalid tail byte!"); in PVRTUnicodeUTF8Length()
DPVRTString.cpp414 _ASSERT(_Pos1<=m_Size); // check comparison starts within lhs CPVRTString in compare()
459 _ASSERT(_Pos1<=m_Size); // check comparison starts within lhs CPVRTString in compare()
514 _ASSERT(_Pos1<=m_Size); // check comparison starts within lhs CPVRTString in compare()
559 _ASSERT(_Pos1<=m_Size); // check comparison starts within lhs CPVRTString in compare()
/external/mdnsresponder/mDNSWindows/SystemService/
DFirewall.cpp45 _ASSERT(fwProfile != NULL); in mDNSFirewallInitialize()
129 _ASSERT(fwProfile != NULL); in mDNSFirewallAppIsEnabled()
130 _ASSERT(fwProcessImageFileName != NULL); in mDNSFirewallAppIsEnabled()
131 _ASSERT(fwAppEnabled != NULL); in mDNSFirewallAppIsEnabled()
204 _ASSERT(fwProfile != NULL); in mDNSFirewallAddApp()
205 _ASSERT(fwProcessImageFileName != NULL); in mDNSFirewallAddApp()
206 _ASSERT(fwName != NULL); in mDNSFirewallAddApp()
307 _ASSERT(fwProfile != NULL); in mDNSFirewallIsFileAndPrintSharingEnabled()
309 _ASSERT(fwServiceEnabled != NULL); in mDNSFirewallIsFileAndPrintSharingEnabled()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES2/
DPVRTPrint3DAPI.cpp238 _ASSERT((m_nVtxCache % 4) == 0); in Flush()
239 _ASSERT(m_nVtxCache <= m_nVtxCacheMax); in Flush()
260 _ASSERT(Data.uProgramFont != UNDEFINED_HANDLE); in Flush()
293 _ASSERT(nTris <= (PVRTPRINT3D_MAX_RENDERABLE_LETTERS*2)); in Flush()
294 _ASSERT((nVtx % 4) == 0); in Flush()
384 _ASSERT(bRes); in APIInit()
402 _ASSERT(bRes); in APIInit()
421 _ASSERT(bRes && Data.mvpLocationLogo != -1 && Data.mvpLocationFont != -1); in APIInit()
608 _ASSERT(Data.uProgramLogo != UNDEFINED_HANDLE); in APIDrawLogo()
617 _ASSERT(tex != UNDEFINED_HANDLE); in APIDrawLogo()
DPVRTBackground.cpp138 _ASSERT(bResult); in Init()
175 _ASSERT(bResult); in Init()
DPVRTTextureAPI.cpp277 _ASSERT(pIn->u32Width); in PVRTTextureTile()
278 _ASSERT(pIn->u32Width == pIn->u32Height); in PVRTTextureTile()
279 _ASSERT(nRepeatCnt > 1); in PVRTTextureTile()
/external/swiftshader/third_party/PowerVR_SDK/Shell/
DPVRShellImpl.h23 #ifndef _ASSERT
24 #define _ASSERT(X) /**/ macro
/external/swiftshader/third_party/PowerVR_SDK/Shell/OS/Windows/
DPVRShellOS.cpp175 _ASSERT(out == len-1); in OsInitOS()
193 _ASSERT(bRet); in OsInitOS()
/external/swiftshader/third_party/PowerVR_SDK/Tools/OGLES3/
DPVRTTextureAPI.cpp680 _ASSERT(pIn->u32Width); in PVRTTextureTile()
681 _ASSERT(pIn->u32Width == pIn->u32Height); in PVRTTextureTile()
682 _ASSERT(nRepeatCnt > 1); in PVRTTextureTile()

12