Home
last modified time | relevance | path

Searched refs:malloc (Results 1 – 15 of 15) sorted by relevance

/CafeSDK-2.12.13/system/include/windows/
Dmem.h32 #define MEMAllocFromDefaultHeap(size) malloc(size)
33 #define MEMAllocFromDefaultHeapEx(size, alignment) malloc(size)
34 #define MEMAllocFromExpHeap(heap, size) malloc(size)
35 #define MEMAllocFromExpHeapEx(heap, size, alignment) malloc(size)
36 #define MEMAllocFromFrmHeap(heap, size) malloc(size)
37 #define MEMAllocFromFrmHeapEx(heap, size, alignment) malloc(size)
45 #define MEMAllocFromAllocator(pAllocator, size) malloc(size)
50 #define MEMCreateExpHeap(startAddress, size) malloc(size)
/CafeSDK-2.12.13/system/src/lib/def_malloc/
Dcos_def_malloc.c61 void *malloc (size_t size) in malloc() function
126 return malloc(newSize); in realloc()
129 newPtr = malloc(newSize); in realloc()
164 retAddr = malloc(totalSize); in calloc()
/CafeSDK-2.12.13/system/src/lib/szfile/
D7zAlloc.c30 return malloc(size); in SzAlloc()
58 return malloc(size); in SzAllocTemp()
/CafeSDK-2.12.13/system/src/lib/malloc/
Dexports.def8 malloc
Dmakefile21 RPLNAME := malloc
/CafeSDK-2.12.13/system/src/tool/gfx/projects/gfd/
DgfdFileShader.cpp320 GFDStringTable *pTable = (GFDStringTable *) malloc(sizeof(GFDStringTable)); in GFDCreateStringTable()
328 pTable->m_pDB = (char *) malloc(pTable->m_maxDB * sizeof(char)); in GFDCreateStringTable()
354 char *pDB = (char*) malloc(newMaxDB * sizeof(char)); // create new memory in GFDGrowStringTableDB()
401 GFDDataTable *pTable = (GFDDataTable *) malloc(sizeof(GFDDataTable)); in GFDCreateDataTable()
408 pTable->m_pDB = (char *) malloc(pTable->m_maxDB * sizeof(char)); in GFDCreateDataTable()
435 char *pDB = (char *) malloc(newMaxDB * sizeof(char)); // create new memory in GFDGrowDataTableDB()
682 …u32 *pAddr = (u32*) malloc( nElements * sizeof(u32)); // src offsets into data block that nee… in GFDCreateBlockRelocateHeaderVSH()
683 …u32 *pOffset = (u32*) malloc( nElements * sizeof(u32)); // dst offsets into data block for, con… in GFDCreateBlockRelocateHeaderVSH()
698 …GFDUniformBlock *pUB = (GFDUniformBlock *) malloc(sizeof(GFDUniformBlock)*vsCopy.numUniformBlocks); in GFDCreateBlockRelocateHeaderVSH()
712 GFDUniformVar *pUV = (GFDUniformVar *) malloc(sizeof(GFDUniformVar)*vsCopy.numUniforms); in GFDCreateBlockRelocateHeaderVSH()
[all …]
DgfdFileTexture.cpp434 imageData = (u32*)malloc(((gfdBlockHeader.dataSize + 3) / 4)*GFD_ELEMENT_SIZE_32); in GFDReadFileTexture()
454 mipData = (u32*)malloc(((gfdBlockHeader.dataSize + 3) / 4)*GFD_ELEMENT_SIZE_32); in GFDReadFileTexture()
/CafeSDK-2.12.13/system/src/tool/gfx/projects/TexConv2/texConvert/
DTexConvert.cpp743 pSrcTextures = (GX2Surface*)malloc(sizeof(*pSrcTextures) * config.inFileCount); in _tmain()
746 ppTexturesToConvert = (GX2Surface**)malloc(sizeof(*ppTexturesToConvert) * config.inFileCount); in _tmain()
751 pMipmapTextures = (GX2Surface*)malloc(sizeof(*pMipmapTextures) * config.inFileCount); in _tmain()
755 pConvertedTextures = (GX2Surface*)malloc(sizeof(*pConvertedTextures) * config.inFileCount); in _tmain()
758 pTiledTextures = (GX2Surface*)malloc(sizeof(*pTiledTextures) * config.inFileCount); in _tmain()
952 pGx2Textures = (GX2Texture*)malloc(sizeof(*pGx2Textures)); in _tmain()
1010 pGx2Textures = (GX2Texture*)malloc(sizeof(*pGx2Textures)); in _tmain()
1062 pGx2Textures = (GX2Texture*)malloc(sizeof(*pGx2Textures) * config.inFileCount); in _tmain()
/CafeSDK-2.12.13/system/src/tool/gfx/projects/TexConv2/ddsReader/
DDDS_Helpers.cpp371 pSurface->imagePtr = malloc(pSurface->imageSize + pSurface->mipSize); in GenericLoadFunction()
598 extra = malloc(dwTempSize); in PreLoopRGB888()
1275 s8* pTempData = (s8*) malloc(dwSize); in LoopR32()
1309 s8* pTempData = (s8*) malloc(dwSize); in LoopR8G8()
1342 u32* pTempData = (u32*) malloc(dwSize); in LoopR32G32()
1374 u32* pTempData = (u32*) malloc(dwSize); in LoopA2R10G10B10()
1406 WORD* pTempData = (WORD*) malloc(dwSize); in LoopR16G16()
1438 s8* pTempData = (s8*) malloc(dwSize); in LoopR16()
1471 s8* pTempData = (s8*) malloc(dwSize); in LoopR8()
DDDS.cpp234 pTempImg = malloc( pSurface->imageSize ); in DDSSaveFile()
235 pTempMip = malloc( pSurface->mipSize ); in DDSSaveFile()
240 pTempData = (u8*)malloc( pSurface->imageSize + pSurface->mipSize ); in DDSSaveFile()
365 pARGB8888Struct->pMemory = malloc(4 * pDDSD->dwWidth * pDDSD->dwHeight); in LoadDDS_RGB8888()
DDDS_10.cpp234 pARGB8888Struct->pMemory = malloc(4 * pDDSD->dwWidth * pDDSD->dwHeight); in LoadDDS10_R8G8B8A8()
/CafeSDK-2.12.13/system/src/lib/libsys/
Dind_trnc.c198 char *tmp_path = malloc (strlen(path) + 1); in truncate()
/CafeSDK-2.12.13/system/src/tool/cafex/winmakebsf/
Dmakebsf.c79 image = (u8 *)malloc(MAXSIZE); in MakeBsf()
/CafeSDK-2.12.13/system/src/tool/gfx/projects/TexConv2/tgaReader/
DtgaReader.cpp407 pSurface->imagePtr = malloc(pSurface->imageSize + pSurface->mipSize); in GenericLoadFunction()
573 u8 *tempMap = (u8*)malloc(tgad.hdr.paletteSize * 4); in TGALoadFile()
/CafeSDK-2.12.13/system/src/tool/gfx/projects/gshCompile/
DgshCompile.cpp390 *ppSource = (char *)malloc(totalLen+1); // add space for a trailing 0 in AppendShaderSource()