| /RvlSDK-3.1.4/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-3.1.4/build/demos/cxdemo/src/ |
| D | cx_uncompress.c | 221 void* buf; in LoadTexData() local 225 buf = DEMOAlloc( OSRoundUp32B( fileInfo.length ) ); in LoadTexData() 226 DVDRead( &fileInfo, buf, (s32)OSRoundUp32B( fileInfo.length ), 0 ); in LoadTexData() 229 return buf; in LoadTexData() 245 void* buf; in LoadTexDataRL() local 250 buf = LoadTexData( path ); in LoadTexDataRL() 253 uncompSize = CXGetUncompressedSize( buf ); in LoadTexDataRL() 257 CXUncompressRL( buf, uncompData ); in LoadTexDataRL() 261 DEMOFree( buf ); in LoadTexDataRL() 279 void* buf; in LoadTexDataLZ() local [all …]
|
| D | cx_uncompress_stream.c | 216 void* buf; in LoadTexData() local 220 buf = DEMOAlloc( OSRoundUp32B( fileInfo.length ) ); in LoadTexData() 221 DVDRead( &fileInfo, buf, (s32)OSRoundUp32B( fileInfo.length ), 0 ); in LoadTexData() 224 return buf; in LoadTexData()
|
| /RvlSDK-3.1.4/build/demos/mididemo/src/ |
| D | main.c | 74 char buf[16] = ""; in main() local 75 sprintf(buf, "%02x", s_midiSequence[i]); in main() 76 DEMOPrintf((s16)(i%16*18+14), (s16)(i/16*13+26), 0, buf); in main() 92 u8 buf[4]={0x00, 0x00, 0x00, 0x00}; in midiThread() local 107 ret = MIDIRead(CHAN, buf, &stat); in midiThread() 123 push(buf[i]); in midiThread() 124 s_midiSequence[(s_index++)%LOG_SIZE] = buf[i]; in midiThread()
|
| /RvlSDK-3.1.4/build/demos/nanddemo/src/ |
| D | directory.c | 73 char *buf = 0; in printDir() local 76 buf = (char*)alloc32((num*(NAND_MAX_NAME+1)+31)/32*32); in printDir() 77 if(!buf) in printDir() 83 NANDReadDir(path, buf, &num); // Get directory list. in printDir() 91 while(buf[idx] != '\0') in printDir() 93 name[n] = buf[idx]; in printDir() 130 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 | 529 char buf[SCREEN_LINE_SIZE]; in DrawStatic() local 535 vsnprintf(buf, SCREEN_LINE_SIZE, msg, marker); // should check later for truncation in DrawStatic() 536 len = strlen(buf)+1; // including '\0' in DrawStatic() 539 OSReport(buf); in DrawStatic() 554 strncpy((void*) ScreenStatic, (void*)buf, len); in DrawStatic() 562 char buf[SCREEN_LINE_SIZE]; in DrawDynamic() local 563 char *bufPtr = buf; in DrawDynamic() 569 vsnprintf(buf, SCREEN_LINE_SIZE, msg, marker); // should check later for truncation in DrawDynamic() 570 len = strlen(buf)+1; // including '\0' in DrawDynamic() 573 OSReport(buf); in DrawDynamic() [all …]
|
| D | banner.c | 209 u8 buf[SAVEFILE_SIZE] ATTRIBUTE_ALIGN(32); in createSaveFile() local 210 memset(buf, 0, SAVEFILE_SIZE); in createSaveFile() 228 ret = NANDWrite(&info, buf, SAVEFILE_SIZE); in createSaveFile()
|
| /RvlSDK-3.1.4/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-3.1.4/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-3.1.4/build/demos/wpaddemo/src/ |
| D | dummy_checker.c | 466 char buf[] = "___________"; in renderStatus() local 516 if( wpad_ptr->button & WPAD_BUTTON_LEFT ) buf[ 0] = '<'; in renderStatus() 517 if( wpad_ptr->button & WPAD_BUTTON_UP ) buf[ 1] = '^'; in renderStatus() 518 if( wpad_ptr->button & WPAD_BUTTON_DOWN ) buf[ 2] = 'v'; in renderStatus() 519 if( wpad_ptr->button & WPAD_BUTTON_RIGHT ) buf[ 3] = '>'; in renderStatus() 520 if( wpad_ptr->button & WPAD_BUTTON_A ) buf[ 4] = 'A'; in renderStatus() 521 if( wpad_ptr->button & WPAD_BUTTON_B ) buf[ 5] = 'B'; in renderStatus() 522 if( wpad_ptr->button & WPAD_BUTTON_1 ) buf[ 6] = '1'; in renderStatus() 523 if( wpad_ptr->button & WPAD_BUTTON_2 ) buf[ 7] = '2'; in renderStatus() 524 if( wpad_ptr->button & WPAD_BUTTON_MINUS ) buf[ 8] = '-'; in renderStatus() [all …]
|
| /RvlSDK-3.1.4/include/revolution/ |
| D | nand.h | 332 s32 NANDRead (NANDFileInfo *info, void *buf, u32 length); 333 s32 NANDReadAsync (NANDFileInfo *info, void *buf, u32 length, NANDCallback cb, NANDCom… 334 s32 NANDWrite (NANDFileInfo *info, const void *buf, u32 length); 335 s32 NANDWriteAsync (NANDFileInfo *info, const void *buf, u32 length, NANDCallback cb, NANDCom… 342 s32 NANDSafeOpen (const char *path, NANDFileInfo *info, u8 accType, void *buf, u32 length); 343 s32 NANDSafeOpenAsync (const char *path, NANDFileInfo *info, u8 accType, void *buf, u32 length, … 347 s32 NANDSimpleSafeOpen (const char *path, NANDFileInfo *info, const u8 accType, void *buf, … 348 s32 NANDSimpleSafeOpenAsync (const char *path, NANDFileInfo *info, const u8 accType, void *buf, …
|
| D | wpad.h | 631 void WPADSetAutoSamplingBuf ( s32 chan, void *buf, u32 length); 663 s32 WPADSendStreamData ( s32 chan, void *buf, u16 len );
|
| /RvlSDK-3.1.4/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-3.1.4/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-3.1.4/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 \
|
| /RvlSDK-3.1.4/build/demos/kpaddemo/src/ |
| D | sample.c | 671 MyDpdCallbackStatus buf[MY_DPD_START_COUNTS_MAX]; in draw_dpd_callback_status() local 681 buf[i] = MyDpdCallbackStatusBuf[i]; in draw_dpd_callback_status() 688 buf[i].count) { in draw_dpd_callback_status() 689 sprintf(str, "DPDCB %d", buf[i].reason); in draw_dpd_callback_status() 690 draw_kfont_letter( (f32)(buf[i].reason == KPAD_STATE_CTRL_DPD_START in draw_dpd_callback_status() 693 buf[i].count * 0.05f + 0.5f, white_clr, str ); in draw_dpd_callback_status()
|
| /RvlSDK-3.1.4/build/libraries/kpad/src/ |
| D | KPAD.c | 92 static void *get_ring_buffer_by_kpad1_style( s32 chan, void *buf, u32 size ) ; 131 static void *get_ring_buffer_by_kpad1_style( s32 chan, void *buf, u32 dev ) in get_ring_buffer_by_kpad1_style() argument 157 return buf ; in get_ring_buffer_by_kpad1_style() 197 memcpy((u8 *)buf + idx2 * size, in get_ring_buffer_by_kpad1_style() 206 return buf ; in get_ring_buffer_by_kpad1_style()
|