| /RvlSDK-2.1/build/demos/cxdemo/src/ |
| D | cx_uncompress.c | 162 void* buf; in LoadTexData() local 166 buf = MEMAllocFromAllocator( &DemoAllocator1, OSRoundUp32B( fileInfo.length ) ); in LoadTexData() 167 DVDRead( &fileInfo, buf, (s32)OSRoundUp32B( fileInfo.length ), 0 ); in LoadTexData() 170 return buf; in LoadTexData() 186 void* buf; in LoadTexDataRL() local 191 buf = LoadTexData( path ); in LoadTexDataRL() 194 uncompSize = CXGetUncompressedSize( buf ); in LoadTexDataRL() 198 CXUncompressRL( buf, uncompData ); in LoadTexDataRL() 202 MEMFreeToAllocator( &DemoAllocator1, buf ); in LoadTexDataRL() 220 void* buf; in LoadTexDataLZ() local [all …]
|
| D | cx_uncompress_stream.c | 158 void* buf; in LoadTexData() local 162 buf = MEMAllocFromAllocator( &DemoAllocator1, OSRoundUp32B( fileInfo.length ) ); in LoadTexData() 163 DVDRead( &fileInfo, buf, (s32)OSRoundUp32B( fileInfo.length ), 0 ); in LoadTexData() 166 return buf; in LoadTexData()
|
| /RvlSDK-2.1/build/demos/wpaddemo/src/ |
| D | simple.c | 282 char buf[] = "___________"; in renderStatus() local 292 if( stat->button & WPAD_BUTTON_RIGHT ) buf[0] = '>'; in renderStatus() 293 if( stat->button & WPAD_BUTTON_DOWN ) buf[1] = 'v'; in renderStatus() 294 if( stat->button & WPAD_BUTTON_UP ) buf[2] = '^'; in renderStatus() 295 if( stat->button & WPAD_BUTTON_LEFT ) buf[3] = '<'; in renderStatus() 296 if( stat->button & WPAD_BUTTON_START ) buf[4] = 'S'; in renderStatus() 297 if( stat->button & WPAD_BUTTON_SELECT ) buf[5] = 'T'; in renderStatus() 298 if( stat->button & WPAD_BUTTON_A ) buf[7] = 'A'; in renderStatus() 299 if( stat->button & WPAD_BUTTON_B ) buf[6] = 'B'; in renderStatus() 300 if( stat->button & WPAD_BUTTON_SMALL_A) buf[8] = 'a'; in renderStatus() [all …]
|
| D | sampling.c | 201 char buf[] = "___________"; in renderStatus() local 211 if( stat->button & WPAD_BUTTON_RIGHT ) buf[0] = '>'; in renderStatus() 212 if( stat->button & WPAD_BUTTON_DOWN ) buf[1] = 'v'; in renderStatus() 213 if( stat->button & WPAD_BUTTON_UP ) buf[2] = '^'; in renderStatus() 214 if( stat->button & WPAD_BUTTON_LEFT ) buf[3] = '<'; in renderStatus() 215 if( stat->button & WPAD_BUTTON_START ) buf[4] = 'S'; in renderStatus() 216 if( stat->button & WPAD_BUTTON_SELECT ) buf[5] = 'T'; in renderStatus() 217 if( stat->button & WPAD_BUTTON_A ) buf[7] = 'A'; in renderStatus() 218 if( stat->button & WPAD_BUTTON_B ) buf[6] = 'B'; in renderStatus() 219 if( stat->button & WPAD_BUTTON_SMALL_A) buf[8] = 'a'; in renderStatus() [all …]
|
| D | distance.c | 210 char buf[256]; in renderDistance() local 217 sprintf(buf, "Distance: %.02f m", dist); in renderDistance() 221 sprintf(buf, "Distance: Unknown"); in renderDistance() 223 DEMOPrintf(100, 120, 0, buf); in renderDistance()
|
| /RvlSDK-2.1/build/demos/arcdemo/src/ |
| D | arctest2.c | 63 char* buf; in chdirOpenAllocRead() local 119 buf = (char*)OSAlloc(OSRoundUp32B(length)); in chdirOpenAllocRead() 124 DVDRead(&finfo, (void*)buf, (s32)OSRoundUp32B(length), in chdirOpenAllocRead() 134 DVDRead(&finfo, (void*)buf, (s32)OSRoundUp32B(length), 0)) in chdirOpenAllocRead() 142 ptr = buf; in chdirOpenAllocRead() 151 OSFree(buf); in chdirOpenAllocRead() 157 OSFree(buf); in chdirOpenAllocRead() 168 void* buf; in Read() local 188 buf = OSAlloc(length); in Read() 190 if ( length != DVDRead(&finfo, buf, (s32)length, 0) ) in Read() [all …]
|
| D | arctest1.c | 62 char* buf; in chdirOpenAllocRead() local 112 buf = (char*)ARCGetStartAddrInMem(&afinfo); in chdirOpenAllocRead() 117 buf = (char*)OSAlloc(OSRoundUp32B(length)); in chdirOpenAllocRead() 119 if (OSRoundUp32B(length) != DVDRead(&finfo, (void*)buf, (s32)OSRoundUp32B(length), 0)) in chdirOpenAllocRead() 127 ptr = buf; in chdirOpenAllocRead() 140 OSFree(buf); in chdirOpenAllocRead() 152 void* buf; in Read() local 164 buf = OSAlloc(OSRoundUp32B(length)); in Read() 166 if ( length != DVDRead(&finfo, buf, (s32)length, 0) ) in Read() 173 return buf; in Read()
|
| D | arctest3.c | 132 void* buf; in Read() local 144 buf = OSAlloc(OSRoundUp32B(length)); in Read() 146 if ( length != DVDRead(&finfo, buf, (s32)length, 0) ) in Read() 153 return buf; in Read()
|
| /RvlSDK-2.1/build/demos/nanddemo/src/ |
| D | directory.c | 70 char *buf = 0; in printDir() local 73 buf = (char*)alloc32(num*(NAND_MAX_NAME+1)); in printDir() 74 if(!buf) in printDir() 80 NANDReadDir(path, buf, &num); // Get directory list. in printDir() 88 while(buf[idx] != '\0') in printDir() 90 name[n] = buf[idx]; in printDir() 127 free32(buf); in printDir()
|
| D | basic.c | 73 char *buf=0; in main() local 78 buf = (char*)alloc32(SIZE); in main() 141 ret = NANDRead(&info, buf, SIZE); in main() 151 OSReport("Read data: %s\n", buf); in main() 169 free32(buf); in main()
|
| D | gamesave.c | 520 char buf[SCREEN_LINE_SIZE]; in DrawStatic() local 526 vsnprintf(buf, SCREEN_LINE_SIZE, msg, marker); // should check later for truncation in DrawStatic() 527 len = strlen(buf)+1; // including '\0' in DrawStatic() 530 OSReport(buf); in DrawStatic() 545 strncpy((void*) ScreenStatic, (void*)buf, len); in DrawStatic() 553 char buf[SCREEN_LINE_SIZE]; in DrawDynamic() local 554 char *bufPtr = buf; in DrawDynamic() 560 vsnprintf(buf, SCREEN_LINE_SIZE, msg, marker); // should check later for truncation in DrawDynamic() 561 len = strlen(buf)+1; // including '\0' in DrawDynamic() 564 OSReport(buf); in DrawDynamic() [all …]
|
| /RvlSDK-2.1/build/libraries/gd/src/ |
| D | GDFile.c | 306 u8 *buf; in GDReadDLFile() local 327 if( NULL == (buf = OSAlloc(OSRoundUp32B(length))) ) in GDReadDLFile() 334 err = myFread_u8s( fp, buf, length ); in GDReadDLFile() 338 OSFree(buf); in GDReadDLFile() 344 hdr = (GDLFileHeader *) buf; in GDReadDLFile() 350 OSFree(buf); in GDReadDLFile() 416 u8 *buf; in GDReadDLFile() local 430 if( NULL == (buf = OSAlloc(OSRoundUp32B(length))) ) in GDReadDLFile() 438 DVDRead(&finfo, buf, (s32)OSRoundUp32B(length), 0)) in GDReadDLFile() 442 OSFree(buf); in GDReadDLFile() [all …]
|
| /RvlSDK-2.1/build/demos/gxdemo/src/G2D/ |
| D | G2D-testEditor.c | 64 u8 *buf = aEditStamp; in MapEditor() local 177 buf = aEditStamp; in MapEditor() 183 *buf++ = map[nZ + ((nX + nStampLeft) & (nMapWidth-1))]; in MapEditor() 222 buf = aEditStamp; in MapEditor() 231 map[nZ + ((nX + nStaticX) & (nMapWidth-1))] = *buf++; in MapEditor() 374 u8 *buf; in RenderEditorMode() local 377 buf = aEditBack; in RenderEditorMode() 383 *buf++ = map[nZ + ((nX + nStaticX) & (nMapWidth-1))]; in RenderEditorMode() 388 buf = aEditStamp; in RenderEditorMode() 394 map[nZ + ((nX + nStaticX) & (nMapWidth-1))] = *buf++; in RenderEditorMode() [all …]
|
| /RvlSDK-2.1/include/revolution/ |
| D | nand.h | 279 s32 NANDRead (NANDFileInfo *info, void *buf, u32 length); 280 s32 NANDReadAsync (NANDFileInfo *info, void *buf, u32 length, NANDCallback cb, NANDCom… 281 s32 NANDWrite (NANDFileInfo *info, const void *buf, u32 length); 282 s32 NANDWriteAsync (NANDFileInfo *info, const void *buf, u32 length, NANDCallback cb, NANDCom… 289 s32 NANDSafeOpen (const char *path, NANDFileInfo *info, u8 accType, void *buf, u32 length); 290 s32 NANDSafeOpenAsync (const char *path, NANDFileInfo *info, u8 accType, void *buf, u32 length, …
|
| D | wpad.h | 536 void WPADSetAutoSamplingBuf ( s32 chan, void *buf, u32 length); 562 s32 WPADSendStreamData ( s32 chan, void *buf, u16 len );
|
| /RvlSDK-2.1/build/demos/videmo/src/ |
| D | viewer.c | 176 u8* buf; in readConvertBmp() local 189 if( NULL == (buf = OSAlloc(OSRoundUp32B(length))) ) in readConvertBmp() 196 DVDRead(&finfo, buf, (s32)OSRoundUp32B(length), 0)) in readConvertBmp() 202 if (FALSE == openBmp(&bInfo, buf)) in readConvertBmp() 217 if (FALSE == bmpToYCbCr(&bInfo, buf, dest)) in readConvertBmp() 227 OSFree(buf); in readConvertBmp()
|
| /RvlSDK-2.1/build/libraries/demo/src/ |
| D | DEMOPuts.c | 394 char buf[256]; in DEMOPrintf() local 398 vsprintf( buf, fmt, vlist ); in DEMOPrintf() 402 DEMOPuts( x, y, z, buf ); in DEMOPrintf() 716 char buf[256]; in DEMORFPrintf() local 720 vsprintf(buf, fmt, vlist); in DEMORFPrintf() 724 return DEMORFPuts(x, y, z, buf); in DEMORFPrintf()
|
| /RvlSDK-2.1/build/demos/gxdemo/ |
| D | makefile | 129 Management/mgt-single-buf.c \ 130 Management/mgt-triple-buf.c \ 181 mgt-single-buf mgt-triple-buf mgt-fifo-brkpt mgt-fifo-dual 471 $(FULLBIN_ROOT)/mgt-single-buf$(BINSUFFIX): Management/mgt-single-buf.o \ 474 $(FULLBIN_ROOT)/mgt-triple-buf$(BINSUFFIX): Management/mgt-triple-buf.o \
|