Searched refs:DEMOAssert (Results 1 – 10 of 10) sorted by relevance
262 DEMOAssert(fileRet == DEMO_FS_RESULT_OK && "couldn't open file"); in DEMOFSSimpleRead()265 DEMOAssert(fileRet == DEMO_FS_RESULT_OK && "couldn't get file length"); in DEMOFSSimpleRead()269 DEMOAssert(fileBuf && "couldn't alloc memory"); in DEMOFSSimpleRead()271 DEMOAssert(fileRet == DEMO_FS_RESULT_OK && "couldn't read file"); in DEMOFSSimpleRead()276 DEMOAssert(!"couldn't close file"); in DEMOFSSimpleRead()292 DEMOAssert(fileRet == DEMO_FS_RESULT_OK && "couldn't open file"); in DEMOFSSimpleReadAlign()295 DEMOAssert(fileRet == DEMO_FS_RESULT_OK && "couldn't get file length"); in DEMOFSSimpleReadAlign()299 DEMOAssert(fileBuf && "couldn't alloc memory"); in DEMOFSSimpleReadAlign()301 DEMOAssert(fileRet == DEMO_FS_RESULT_OK && "couldn't read file"); in DEMOFSSimpleReadAlign()306 DEMOAssert(!"couldn't close file"); in DEMOFSSimpleReadAlign()[all …]
188 DEMOAssert( GX2_SURFACE_FORMAT_TCS_R8_G8_B8_A8_SRGB == format || in _DEMOEncodeTGA()192 DEMOAssert(pbuffer); in _DEMOEncodeTGA()220 DEMOAssert(runlength && "DEMOAlloc failed"); in _DEMOEncodeTGA()252 DEMOAssert(!"Internal error: zero run length"); in _DEMOEncodeTGA()277 DEMOAssert("Only RGBA8/SRGB8 formats supported at the moment."); in DEMOCaptureInit()297 DEMOAssert(DEMOCaptureData.colorBuffer.surface.imagePtr); in DEMOCaptureInit()308 DEMOAssert( DEMOCaptureData.TGAData ); in DEMOCaptureInit()315 DEMOAssert(DEMOCaptureDLMem); in DEMOCaptureInit()342 DEMOAssert((DEMOCaptureDLMem != NULL) && "DEMOCaptureInit must be called first"); in DEMOCaptureCopyHelper()361 DEMOAssert(DEMOCaptureData.TGAData != NULL && "DEMOCaptureInit must be called first"); in DEMOCaptureCopy()[all …]
200 DEMOAssert(!"String is too long\n"); in DEMOFontPrintf()225 DEMOAssert(pStr && in DEMOFontPuts()227 DEMOAssert(pFont->pCharDataBuffer && in DEMOFontPuts()292 DEMOAssert(!((px)&~0xfff)&&!((py)&~0x1f)&&!((tx)&~0xff)&&!((ty)&~0x7f)) in DEMOFontPuts()326 DEMOAssert(s_FontP.pCharDataBuffer && in DEMOFontSetSpacing()342 DEMOAssert(s_FontP.pCharDataBuffer && in DEMOFontSetGridSize()352 DEMOAssert(s_FontP.pCharDataBuffer && in DEMOFontSetColor()365 DEMOAssert(s_FontP.pCharDataBuffer && in DEMOFontSetZValue()424 DEMOAssert(pFontHeader != NULL && pCharData != NULL && in GetFontCharData()452 DEMOAssert(pFont->numCharData <= MAX_NUM_CHARS && in GetFontCharData()
100 DEMOAssert(gDEMOMem1Heap != MEM_HEAP_INVALID_HANDLE); in DEMOGfxAllocMEM1()106 DEMOAssert(ptr&&"Failed MEM1 alloc"); in DEMOGfxAllocMEM1()119 DEMOAssert(gDEMOBucketHeap != MEM_HEAP_INVALID_HANDLE); in DEMOGfxAllocBucket()124 DEMOAssert(ptr); in DEMOGfxAllocBucket()147 DEMOAssert(ptr&&"Failed MEM2 alloc"); in DEMOGfxAllocMEM2()773 DEMOAssert(gDEMOMem1Heap != MEM_HEAP_INVALID_HANDLE); in DEMOGfxMem1HeapInit()778 DEMOAssert(gDEMOMem1Heap != MEM_HEAP_INVALID_HANDLE); in DEMOGfxMem1HeapDestroy()799 DEMOAssert(gDEMOBucketHeap != MEM_HEAP_INVALID_HANDLE); in DEMOGfxBucketHeapInit()804 DEMOAssert(gDEMOBucketHeap != MEM_HEAP_INVALID_HANDLE); in DEMOGfxBucketHeapDestroy()
365 DEMOAssert(pTimestamp); in DEMOTestCheckPerfBegin()
39 #define DEMOAssert(expr) ASSERT(expr) macro
22 #define DEMOAssert(expr) ASSERT(expr) macro
272 DEMOAssert(fileRet == DEMO_FS_RESULT_OK && "couldn't open file"); in LoadModelBuffer()275 DEMOAssert(fileRet == DEMO_FS_RESULT_OK && "couldn't get file length"); in LoadModelBuffer()287 DEMOAssert(fileRet == DEMO_FS_RESULT_OK && "couldn't read file"); in LoadModelBuffer()294 DEMOAssert(!"couldn't close file"); in LoadModelBuffer()