| /RvlSDK-3.2.2/build/demos/gddemo/src/ |
| D | gd-matrix-create.c | 43 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31))) macro 95 DrawList = OSAlloc( ALT_DRAW_SIZE ); in CreateDLs() 117 DrawList = OSAlloc( ALT_DRAW_SIZE ); in CreateDLs() 139 DrawList = OSAlloc( ALT_DRAW_SIZE ); in CreateDLs() 161 DrawList = OSAlloc( ALT_DRAW_SIZE ); in CreateDLs() 183 DrawList = OSAlloc( ALT_DRAW_SIZE ); in CreateDLs() 205 DrawList = OSAlloc( ALT_DRAW_SIZE ); in CreateDLs()
|
| D | gd-texture-create.c | 51 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31))) macro 150 InitStateList = OSAlloc( INIT_STATE_SIZE ); in CreateDLs() 153 setArrayOffsets = OSAlloc( 3 * sizeof(u32) ); in CreateDLs() 156 tlutAddrOffsets = OSAlloc( 1 * sizeof(u32) ); in CreateDLs() 247 DrawList = OSAlloc( DRAW_SIZE ); in CreateDLs() 250 texAddrOffsets = OSAlloc( 6 * sizeof(u32) ); in CreateDLs()
|
| D | gd-light-gc.c | 148 VtxPosArray = (s16*)OSAlloc(size * sizeof(s16)); in CreateModelVtxArray() 149 VtxNrmArray = (s16*)OSAlloc(size * sizeof(s16)); in CreateModelVtxArray() 222 ModelDL = OSAlloc(MODELDL_SIZE_MAX); in PrepareDL() 224 ModelDLPatchList = (u32*)OSAlloc(MODELDL_NUM_PATCHES * sizeof(u32)); in PrepareDL()
|
| D | gd-init-create.c | 42 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31))) macro 107 InitStateList = OSAlloc( INIT_STATE_SIZE ); in CreateDLs() 110 setArrayOffsets = OSAlloc( 2 * sizeof(u32) ); in CreateDLs() 432 DrawList = OSAlloc( DRAW_SIZE ); in CreateDLs()
|
| D | gd-tev-gc.c | 515 ShaderDLs[i].dlPtr = OSAlloc(SDL_SIZE_MAX); in PrepareDL() 516 ShaderDLs[i].plPtr = OSAlloc(PL_SIZE_MAX); in PrepareDL() 523 ModelObj.dl.dlPtr = OSAlloc(MDL_SIZE_MAX); in PrepareDL() 618 mo->posArray = (s16*)OSAlloc(size_p * sizeof(s16)); in CreateModelVtxArray() 619 mo->nrmArray = (s16*)OSAlloc(size_n * sizeof(s16)); in CreateModelVtxArray() 620 mo->tcdArray = (s16*)OSAlloc(size_t * sizeof(s16)); in CreateModelVtxArray()
|
| D | gd-matrix-host.c | 46 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31))) macro
|
| D | gd-init-host.c | 47 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31))) macro
|
| D | gd-texture-host.c | 47 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31))) macro
|
| /RvlSDK-3.2.2/build/demos/osdemo/src/ |
| D | allocdemo3-multipleheaps.c | 75 fromHeap1 = OSAlloc(OBJ1SIZE); in main() 81 fromHeap2 = OSAlloc(OBJ2SIZE); in main()
|
| D | allocdemo2-oneheap.c | 72 intArray = (u32*)OSAlloc(sizeof(u32) * INT_ARRAY_ENTRIES); in main()
|
| D | fontdemo1.c | 184 FontData = OSAlloc(OS_FONT_SIZE_SJIS); in main() 188 FontData = OSAlloc(OS_FONT_SIZE_ANSI); in main()
|
| /RvlSDK-3.2.2/build/demos/kpadOlddemo/src/ |
| D | main.c | 129 xfb_p[0] = OSAlloc( xfb_size ) ; in init_display() 130 xfb_p[1] = OSAlloc( xfb_size ) ; in init_display() 155 gx_fifo_p = OSAlloc( GX_FIFO_SIZE ) ; in init_gx()
|
| D | kfont.c | 65 kfont_tex = OSAlloc( KFONT_TEX_SIZE ) ; in init_kfont_texture() 75 font = (OSFontHeader*)OSAlloc( OS_FONT_DATA_SIZE_SJIS ) ; in init_kfont_texture() 76 tmp = OSAlloc( OS_FONT_ROM_SIZE_SJIS ) ; in init_kfont_texture() 82 font = (OSFontHeader*)OSAlloc( OS_FONT_DATA_SIZE_ANSI ) ; in init_kfont_texture() 83 tmp = OSAlloc( OS_FONT_ROM_SIZE_ANSI ) ; in init_kfont_texture()
|
| /RvlSDK-3.2.2/build/demos/kpaddemo/src/ |
| D | kfont.c | 65 kfont_tex = OSAlloc( KFONT_TEX_SIZE ) ; in init_kfont_texture() 75 font = (OSFontHeader*)OSAlloc( OS_FONT_DATA_SIZE_SJIS ) ; in init_kfont_texture() 76 tmp = OSAlloc( OS_FONT_ROM_SIZE_SJIS ) ; in init_kfont_texture() 82 font = (OSFontHeader*)OSAlloc( OS_FONT_DATA_SIZE_ANSI ) ; in init_kfont_texture() 83 tmp = OSAlloc( OS_FONT_ROM_SIZE_ANSI ) ; in init_kfont_texture()
|
| D | main.c | 143 xfb_p[ 0 ] = OSAlloc( xfb_size ) ; in init_display() 144 xfb_p[ 1 ] = OSAlloc( xfb_size ) ; in init_display() 169 gx_fifo_p = OSAlloc( GX_FIFO_SIZE ) ; in init_gx()
|
| D | swing.c | 129 xfb_p[0] = OSAlloc( xfb_size ) ; in init_display() 130 xfb_p[1] = OSAlloc( xfb_size ) ; in init_display() 155 gx_fifo_p = OSAlloc( GX_FIFO_SIZE ) ; in init_gx()
|
| /RvlSDK-3.2.2/build/demos/dvddemo/src/ |
| D | dvddemo3.c | 156 buffer1 = (u8*)OSAlloc(OSRoundUp32B(fileSize1)); in main() 157 buffer2 = (u8*)OSAlloc(OSRoundUp32B(fileSize2)); in main()
|
| D | dvddemo1.c | 108 buffer = (u8*)OSAlloc(OSRoundUp32B(fileSize)); in main()
|
| D | dvddemo2.c | 140 buffer = (u8*)OSAlloc(OSRoundUp32B(fileSize)); in main()
|
| /RvlSDK-3.2.2/build/demos/arcdemo/src/ |
| D | arctest1.c | 117 buf = (char*)OSAlloc(OSRoundUp32B(length)); in chdirOpenAllocRead() 164 buf = OSAlloc(OSRoundUp32B(length)); in Read()
|
| D | arctest3.c | 98 if (NULL == ( curr->next = (dirs*)OSAlloc(sizeof(dirs)) ) ) in printOneLevel() 144 buf = OSAlloc(OSRoundUp32B(length)); in Read()
|
| D | arctest2.c | 119 buf = (char*)OSAlloc(OSRoundUp32B(length)); in chdirOpenAllocRead() 188 buf = OSAlloc(length); in Read()
|
| /RvlSDK-3.2.2/include/revolution/os/ |
| D | OSAlloc.h | 128 #define OSAlloc(size) OSAllocFromHeap(__OSCurrHeap, (size)) macro
|
| /RvlSDK-3.2.2/build/libraries/gd/src/ |
| D | GDFile.c | 58 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31))) macro 339 if( NULL == (buf = OSAlloc(OSRoundUp32B(length))) ) in GDReadDLFile() 442 if( NULL == (buf = OSAlloc(OSRoundUp32B(length))) ) in GDReadDLFile()
|
| /RvlSDK-3.2.2/build/demos/fntdemo/src/ |
| D | fntdemo1.c | 323 *ppBuffer = OSAlloc(readBufferSize); in ReadFileAll() 368 *ppFont = (FNTHeader*)OSAlloc(dataSize); in InitFont() 442 readBuffer = OSAlloc(readBufferSize); in InitFontStreaming() 463 *ppFont = (FNTHeader*)OSAlloc(dataSize); in InitFontStreaming()
|