Home
last modified time | relevance | path

Searched refs:OSAlloc (Results 1 – 25 of 42) sorted by relevance

12

/RvlSDK-3.2.2/build/demos/gddemo/src/
Dgd-matrix-create.c43 #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()
Dgd-texture-create.c51 #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()
Dgd-light-gc.c148 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()
Dgd-init-create.c42 #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()
Dgd-tev-gc.c515 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()
Dgd-matrix-host.c46 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31))) macro
Dgd-init-host.c47 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31))) macro
Dgd-texture-host.c47 #define OSAlloc(x) ((void*)OSRoundUp32B(malloc((x)+31))) macro
/RvlSDK-3.2.2/build/demos/osdemo/src/
Dallocdemo3-multipleheaps.c75 fromHeap1 = OSAlloc(OBJ1SIZE); in main()
81 fromHeap2 = OSAlloc(OBJ2SIZE); in main()
Dallocdemo2-oneheap.c72 intArray = (u32*)OSAlloc(sizeof(u32) * INT_ARRAY_ENTRIES); in main()
Dfontdemo1.c184 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/
Dmain.c129 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()
Dkfont.c65 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/
Dkfont.c65 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()
Dmain.c143 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()
Dswing.c129 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/
Ddvddemo3.c156 buffer1 = (u8*)OSAlloc(OSRoundUp32B(fileSize1)); in main()
157 buffer2 = (u8*)OSAlloc(OSRoundUp32B(fileSize2)); in main()
Ddvddemo1.c108 buffer = (u8*)OSAlloc(OSRoundUp32B(fileSize)); in main()
Ddvddemo2.c140 buffer = (u8*)OSAlloc(OSRoundUp32B(fileSize)); in main()
/RvlSDK-3.2.2/build/demos/arcdemo/src/
Darctest1.c117 buf = (char*)OSAlloc(OSRoundUp32B(length)); in chdirOpenAllocRead()
164 buf = OSAlloc(OSRoundUp32B(length)); in Read()
Darctest3.c98 if (NULL == ( curr->next = (dirs*)OSAlloc(sizeof(dirs)) ) ) in printOneLevel()
144 buf = OSAlloc(OSRoundUp32B(length)); in Read()
Darctest2.c119 buf = (char*)OSAlloc(OSRoundUp32B(length)); in chdirOpenAllocRead()
188 buf = OSAlloc(length); in Read()
/RvlSDK-3.2.2/include/revolution/os/
DOSAlloc.h128 #define OSAlloc(size) OSAllocFromHeap(__OSCurrHeap, (size)) macro
/RvlSDK-3.2.2/build/libraries/gd/src/
DGDFile.c58 #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/
Dfntdemo1.c323 *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()

12