Home
last modified time | relevance | path

Searched refs:DEMOAssert (Results 1 – 11 of 11) sorted by relevance

/CafeSDK-2.12.13-1/system/src/lib/demo/
DdemoFS.c262 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 …]
DdemoSystem.c141 DEMOAssert(!gDemoInitFlag); in DEMOSetDefaultAllocator()
154 DEMOAssert(gDemoInitFlag); in DEMOAlloc()
163 DEMOAssert(gDemoInitFlag); in DEMOAllocEx()
172 DEMOAssert(gDemoInitFlag); in DEMOFree()
DdemoCapture.c188 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 …]
DdemoFont.c200 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()
DdemoGfx.c107 DEMOAssert(gDEMOMem1Heap != MEM_HEAP_INVALID_HANDLE); in DEMOGfxAllocMEM1()
113 DEMOAssert(ptr&&"Failed MEM1 alloc"); in DEMOGfxAllocMEM1()
126 DEMOAssert(gDEMOBucketHeap != MEM_HEAP_INVALID_HANDLE); in DEMOGfxAllocBucket()
131 DEMOAssert(ptr); in DEMOGfxAllocBucket()
154 DEMOAssert(ptr&&"Failed MEM2 alloc"); in DEMOGfxAllocMEM2()
808 DEMOAssert(gDEMOMem1Heap != MEM_HEAP_INVALID_HANDLE); in DEMOGfxMem1HeapInit()
813 DEMOAssert(gDEMOMem1Heap != MEM_HEAP_INVALID_HANDLE); in DEMOGfxMem1HeapDestroy()
841 DEMOAssert(gDEMOBucketHeap != MEM_HEAP_INVALID_HANDLE); in DEMOGfxBucketHeapInit()
846 DEMOAssert(gDEMOBucketHeap != MEM_HEAP_INVALID_HANDLE); in DEMOGfxBucketHeapDestroy()
DdemoTest.c368 DEMOAssert(pTimestamp); in DEMOTestCheckPerfBegin()
/CafeSDK-2.12.13-1/system/include/cafe/demo/
DdemoCommon.h39 #define DEMOAssert(expr) ASSERT(expr) macro
DdemoSystem.h22 #define DEMOAssert(expr) ASSERT(expr) macro
/CafeSDK-2.12.13-1/system/src/lib/demo/headers/cafe/demo/
DdemoCommon.h39 #define DEMOAssert(expr) ASSERT(expr) macro
DdemoSystem.h22 #define DEMOAssert(expr) ASSERT(expr) macro
/CafeSDK-2.12.13-1/system/src/tool/gfx/projects/SLConverter/DeferredTest/
DdeferredRendering.cpp272 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()