| /RvlSDK-3.1.4/build/libraries/os/src/ |
| D | OSAlloc.c | 129 long size; // size of object plus HEADERSIZE member 140 long size; // if -1 then heap is free. Note OSAllocFixed() member 252 if ((char*) cell + cell->size == (char*) next) in DLInsert() 255 cell->size += next->size; in DLInsert() 264 if ((char*) prev + prev->size == (char*) cell) in DLInsert() 267 prev->size += cell->size; in DLInsert() 298 if (RangeOverlap(cell, (char*) cell + cell->size, start, end)) in DLOverlap() 316 long size = 0; in DLSize() local 320 size += cell->size; in DLSize() 322 return size; in DLSize() [all …]
|
| /RvlSDK-3.1.4/include/revolution/cx/ |
| D | CXCompression.h | 64 u32 CXCompressLZImpl(const u8 *srcp, u32 size, u8 *dstp, void *work, BOOL exFormat); 66 inline u32 CXCompressLZEx(const u8 *srcp, u32 size, u8 *dstp, void* work) in CXCompressLZEx() argument 68 return CXCompressLZImpl( srcp, size, dstp, work, TRUE ); in CXCompressLZEx() 70 inline u32 CXCompressLZ(const u8 *srcp, u32 size, u8 *dstp, void *work) in CXCompressLZ() argument 72 return CXCompressLZImpl( srcp, size, dstp, work, FALSE ); in CXCompressLZ() 89 u32 CXCompressRL( const u8 *srcp, u32 size, u8 *dstp ); 110 u32 CXCompressHuffman( const u8 *srcp, u32 size, u8 *dstp, u8 huffBitSize, void *work );
|
| /RvlSDK-3.1.4/build/demos/memdemo/src/ |
| D | exp-1.c | 45 u32 size; // Data size storage region member 103 pGrpParam->size += MEMGetSizeForMBlockExpHeap(memBlock); in FreeGroupVisitorFunc() 171 u32 size = 0; in SampleExpHeap() local 176 (u32)&size ); // Region for getting the memory size in SampleExpHeap() 177 OSReport("size of allocated from rear = %ld\n", size ); in SampleExpHeap() 184 grpParam.size = 0; in SampleExpHeap() 192 OSReport("[free exp heap] group 1 size %ld\n", grpParam.size ); in SampleExpHeap() 238 u32 size; // Data size storage region member 266 u32 size = MEMGetSizeForMBlockExpHeap ( memBlock ); in ReportVisitorFunc() local 268 pParam->size += MEMGetSizeForMBlockExpHeap( memBlock ); in ReportVisitorFunc() [all …]
|
| D | allocator.c | 42 AllocateTest( MEMAllocator* allocator, u32 size ) in AllocateTest() argument 49 addr = MEMAllocFromAllocator( allocator, size ); in AllocateTest() 53 OSReport("Success: allocate %ld byte\n", size); in AllocateTest() 61 OSReport("Error: can't allocate %ld bytes\n", size ); in AllocateTest()
|
| /RvlSDK-3.1.4/build/libraries/tc/src/ |
| D | TCMem.cpp | 73 u32 size; member 180 TotalFreed += (*thisNode)->size; in TCFreeMemNode() 182 (*thisNode)->size = 0; in TCFreeMemNode() 234 void* TCMalloc ( u32 size ) in TCMalloc() argument 241 if( size == 15 ) in TCMalloc() 246 if( (newM->mem = (void*)malloc(size)) == NULL ) in TCMalloc() 248 TCErrorMsg("TCMalloc: couldn't allocate block of size %d\n", size ); in TCMalloc() 252 newM->size = size; in TCMalloc() 254 TotalAlloc += ( size + sizeof(TCMemNode) ); in TCMalloc() 260 void* TCCalloc ( u32 num, u32 size ) in TCCalloc() argument [all …]
|
| /RvlSDK-3.1.4/build/libraries/mem/src/ |
| D | mem_allocator.c | 43 u32 size in AllocatorAllocForExpHeap_() argument 48 return MEMAllocFromExpHeapEx( heap, size, alignment ); in AllocatorAllocForExpHeap_() 88 u32 size in AllocatorAllocForFrmHeap_() argument 93 return MEMAllocFromFrmHeapEx( heap, size, alignment ); in AllocatorAllocForFrmHeap_() 137 u32 size in AllocatorAllocForUnitHeap_() argument 146 if ( size > MEMGetMemBlockSizeForUnitHeap(heap) ) in AllocatorAllocForUnitHeap_() 191 u32 size in AllocatorAllocForOSHeap_() argument 195 return OSAllocFromHeap( heap, size ); in AllocatorAllocForOSHeap_() 241 u32 size in MEMAllocFromAllocator() argument 245 return (*pAllocator->pFunc->pfAlloc)(pAllocator, size); in MEMAllocFromAllocator()
|
| D | mem_frameHeap.c | 140 u32 size, in AllocFromHead_() argument 145 void* endAddress = AddU32ToPtr(newBlock, size); in AllocFromHead_() 179 u32 size, in AllocFromTail_() argument 183 void* newBlock = RoundDownPtr(SubU32ToPtr(pFrmHeapHd->tailAllocator, size), alignment); in AllocFromTail_() 273 u32 size, in PrintSize_() argument 277 OSReport("%9d (%6.2f%%)", size, 100.0 * size / wholeSize); in PrintSize_() 402 u32 size, in MEMCreateFrmHeapEx() argument 410 endAddress = RoundDownPtr(AddU32ToPtr(startAddress, size), MIN_ALIGNMENT); in MEMCreateFrmHeapEx() 464 u32 size, in MEMAllocFromFrmHeapEx() argument 480 if ( size == 0 ) in MEMAllocFromFrmHeapEx() [all …]
|
| /RvlSDK-3.1.4/build/libraries/mem/include/ |
| D | heapCommoni.h | 243 u32 size in FillAllocMemory() argument 249 (void)memset( address, 0, size ); in FillAllocMemory() 256 (void)memset( address, (int)MEMGetFillValForHeap(MEM_HEAP_FILL_ALLOC), size ); in FillAllocMemory() 266 #define FillFreeMemory( pHeapHd, address, size ) ((void) 0) argument 267 #define FillNoUseMemory( pHeapHd, address, size ) ((void) 0) argument 286 u32 size in FillFreeMemory() argument 291 (void)memset( address, (int)MEMGetFillValForHeap(MEM_HEAP_FILL_FREE), size ); in FillFreeMemory() 310 u32 size in FillNoUseMemory() argument 315 (void)memset( address, (int)MEMGetFillValForHeap(MEM_HEAP_FILL_NOUSE), size ); in FillNoUseMemory()
|
| /RvlSDK-3.1.4/X86/bin/ |
| D | setsmem2size.bat | 12 echo Sets console simulated MEM2 size. Either 64MB or 128MB is set as the console simulated memory… 44 …echo Sets console simulated MEM2 size. Either 64MB or 128MB is set as the console simulated memor… 50 echo Successfully done. Set 64MB as the console simulated mem size. 56 echo Successfully done. Set 128MB as the console simulated mem size. 62 echo Successfully done. Physical memory size is considered as the console simulated mem size. 69 echo Failed to set the console simulated mem size.
|
| /RvlSDK-3.1.4/include/revolution/mem/ |
| D | frameHeap.h | 84 u32 size, 91 u32 size, 128 u32 size in MEMCreateFrmHeap() argument 131 return MEMCreateFrmHeapEx( startAddress, size, 0 ); in MEMCreateFrmHeap() 151 u32 size in MEMAllocFromFrmHeap() argument 154 return MEMAllocFromFrmHeapEx( heap, size, MEM_HEAP_DEFAULT_ALIGNMENT ); in MEMAllocFromFrmHeap()
|
| D | expHeap.h | 142 u32 size, 149 u32 size, 155 u32 size ); 205 u32 size in MEMCreateExpHeap() argument 208 return MEMCreateExpHeapEx( startAddress, size, 0 ); in MEMCreateExpHeap() 228 u32 size in MEMAllocFromExpHeap() argument 231 return MEMAllocFromExpHeapEx( heap, size, MEM_HEAP_DEFAULT_ALIGNMENT ); in MEMAllocFromExpHeap()
|
| /RvlSDK-3.1.4/build/demos/gddemo/src/ |
| D | gd-light-host.c | 85 u32 size; in main() local 88 size = MODELDL_SIZE_MAX + MODELDL_NUM_PATCHES * sizeof(u32) + 32; in main() 89 buffer = malloc(size); in main() 95 size = CreateModelDL(DisplayListBuffer, PatchListBuffer); in main() 98 dlists[0].byteLength = size; in main()
|
| D | gd-indtex-create.c | 81 u32 size; in CreateEffectDL0() local 124 size = GDGetCurrOffset(); in CreateEffectDL0() 129 return size; in CreateEffectDL0() 154 u32 size; in CreateEffectDL1() local 191 size = GDGetCurrOffset(); in CreateEffectDL1() 196 return size; in CreateEffectDL1() 239 u32 size; in CreateEffectDL2() local 299 size = GDGetCurrOffset(); in CreateEffectDL2() 304 return size; in CreateEffectDL2() 337 u32 size; in CreateEffectDL3() local [all …]
|
| /RvlSDK-3.1.4/build/tools/darch/src/ |
| D | utils.c | 40 void CopyUtility(int srcfid, int srcoff, int dstfid, int dstoff, int size) in CopyUtility() argument 68 while (copiedSize < size) in CopyUtility() 70 copySize = MIN(size - copiedSize, ALLOC_MEMSIZE); in CopyUtility() 109 BOOL DiffUtility(int fidA, int Aoff, int fidB, int Boff, int size) in DiffUtility() argument 139 while (diffedSize < size) in DiffUtility() 141 diffSize = MIN(size - diffedSize, ALLOC_MEMSIZE/2); in DiffUtility()
|
| /RvlSDK-3.1.4/build/libraries/cx/src/ |
| D | CXCompression.c | 97 u32 CXCompressLZImpl(const u8 *srcp, u32 size, u8 *dstp, void *work, BOOL exFormat) in CXCompressLZImpl() argument 111 ASSERT( size > 4 ); in CXCompressLZImpl() 113 if ( size < (1 << 24) ) in CXCompressLZImpl() 115 …*(u32 *)dstp = CXiConvertEndian_( size << 8 | CX_COMPRESSION_LZ | (exFormat? 1 : 0) ); // Data he… in CXCompressLZImpl() 124 *(u32 *)dstp = CXiConvertEndian_( size ); // Size extended header in CXCompressLZImpl() 128 dstMax = size; in CXCompressLZImpl() 131 while ( size > 0 ) in CXCompressLZImpl() 141 if (size <= 0) in CXCompressLZImpl() 147 if ( (lastLength = SearchLZ( &info, srcp, size, &lastOffset, MAX_LENGTH)) != 0 ) in CXCompressLZImpl() 189 size -= lastLength; in CXCompressLZImpl() [all …]
|
| /RvlSDK-3.1.4/build/tools/soundfile/src/ |
| D | Wavfile.c | 87 u32 d, riffchunksize, size; in wavReadHeader() local 117 fread(&size, 1, sizeof(u32), infile); in wavReadHeader() 124 wc->fmt.chunkSize = size; in wavReadHeader() 128 remaining = size - (sizeof(FMTCHUNK) - 8); in wavReadHeader() 133 riffchunksize -= (2 * sizeof(int)) + size; in wavReadHeader() 138 wc->data.chunkSize = size; in wavReadHeader() 147 fseek(infile, size, SEEK_CUR); in wavReadHeader() 149 riffchunksize = riffchunksize - size - 8; in wavReadHeader()
|
| /RvlSDK-3.1.4/include/revolution/ |
| D | hio2.h | 151 HIO2API BOOL HIO2Read ( HIO2Handle h, u32 addr, void* buffer, s32 size ); 152 HIO2API BOOL HIO2Write ( HIO2Handle h, u32 addr, const void* buffer, s32 size ); 153 HIO2API BOOL HIO2ReadAsync ( HIO2Handle h, u32 addr, void* buffer, s32 size, HIO2DmaCallback call… 154 HIO2API BOOL HIO2WriteAsync ( HIO2Handle h, u32 addr, const void* buffer, s32 size, 172 typedef BOOL (*HIO2ReadType) ( HIO2Handle h, u32 addr, void* buffer, s32 size ); 173 typedef BOOL (*HIO2WriteType) ( HIO2Handle h, u32 addr, const void* buffer, s32 size ); 174 typedef BOOL (*HIO2ReadAsyncType) ( HIO2Handle h, u32 addr, void* buffer, s32 size, HIO2DmaCallbac… 175 typedef BOOL (*HIO2WriteAsyncType) ( HIO2Handle h, u32 addr, const void* buffer, s32 size, HIO2Dma…
|
| /RvlSDK-3.1.4/include/revolution/os/ |
| D | OSAlloc.h | 75 u32 size); 97 u32 size); 128 #define OSAlloc(size) OSAllocFromHeap(__OSCurrHeap, (size)) argument
|
| /RvlSDK-3.1.4/build/demos/hio2demo/vc++/HioIf/src/ |
| D | Hio2DllIf.cpp | 123 BOOL CHio2DllIf::Read( HIO2Handle h, u32 addr, void* buffer, s32 size ) in Read() argument 126 return m_fncRead(h, addr, buffer, size); in Read() 130 BOOL CHio2DllIf::Write( HIO2Handle h, u32 addr, const void* buffer, s32 size ) in Write() argument 133 return m_fncWrite(h, addr, buffer, size); in Write() 138 s32 size, HIO2DmaCallback callback ) in ReadAsync() argument 141 return m_fncReadAsync(h, addr, buffer, size, callback); in ReadAsync() 146 s32 size, HIO2DmaCallback callback ) in WriteAsync() argument 149 return m_fncWriteAsync(h, addr, buffer, size, callback); in WriteAsync()
|
| /RvlSDK-3.1.4/build/demos/thpdemo/src/THPPlayer/ |
| D | THPRead.c | 171 s32 size; in Reader() local 178 size = ActivePlayer.initReadSize; in Reader() 184 result = DVDRead(&ActivePlayer.fileInfo, readBuffer->ptr, size, offset); in Reader() 187 if (result != size) in Reader() 206 offset += size; in Reader() 207 size = NEXT_READ_SIZE(readBuffer); in Reader()
|
| D | THPVideoDecode.c | 257 s32 tmp, size, readFrame, frameNumber; in VideoDecoderForOnMemory() local 260 size = ActivePlayer.initReadSize; in VideoDecoderForOnMemory() 285 size = *(s32 *)(readBuffer.ptr); in VideoDecoderForOnMemory() 298 readBuffer.ptr += size; in VideoDecoderForOnMemory() 299 size = tmp; in VideoDecoderForOnMemory() 319 size = *(s32 *)(readBuffer.ptr); in VideoDecoderForOnMemory() 332 readBuffer.ptr += size; in VideoDecoderForOnMemory() 333 size = tmp; in VideoDecoderForOnMemory()
|
| /RvlSDK-3.1.4/man/en_US/CSS/ |
| D | revolution.css | 4 font-size : 10pt; 9 font-size : 36px; 21 font-size : 20px; 51 font-size : 10pt; 76 font-size : 10pt; 92 font-size : 10pt;
|
| /RvlSDK-3.1.4/build/demos/thpdemo/src/THPPlayerStrmAX/ |
| D | THPRead.c | 167 s32 size; in Reader() local 174 size = ActivePlayer.initReadSize; in Reader() 180 result = DVDRead(&ActivePlayer.fileInfo, readBuffer->ptr, size, offset); in Reader() 183 if (result != size) in Reader() 202 offset += size; in Reader() 203 size = NEXT_READ_SIZE(readBuffer); in Reader()
|
| D | THPVideoDecode.c | 253 s32 tmp, size, readFrame, frameNumber; in VideoDecoderForOnMemory() local 256 size = ActivePlayer.initReadSize; in VideoDecoderForOnMemory() 281 size = *(s32 *)(readBuffer.ptr); in VideoDecoderForOnMemory() 294 readBuffer.ptr += size; in VideoDecoderForOnMemory() 295 size = tmp; in VideoDecoderForOnMemory() 315 size = *(s32 *)(readBuffer.ptr); in VideoDecoderForOnMemory() 328 readBuffer.ptr += size; in VideoDecoderForOnMemory() 329 size = tmp; in VideoDecoderForOnMemory()
|
| /RvlSDK-3.1.4/build/demos/hio2demo/HioIf/src/ |
| D | Hio2If.c | 331 HIO2IF_RESULT HIO2IFRead( HIO2IF_ID id, u32 addr, void* buffer, s32 size, in HIO2IFRead() argument 352 if ( !HIO2Read(hio2Status[id].hHIO, addr, buffer, size) ) in HIO2IFRead() 356 DCInvalidateRange(buffer, (u32)size); in HIO2IFRead() 368 hio2Status[id].dwReadAsyncSize = (u32)size; in HIO2IFRead() 370 if ( !HIO2ReadAsync(hio2Status[id].hHIO, addr, buffer, size, in HIO2IFRead() 380 HIO2IF_RESULT HIO2IFReadFree( HIO2IF_ID id, u32 addr, void* buffer, s32 size, in HIO2IFReadFree() argument 395 if ( !HIO2Read(hio2Status[id].hHIO, addr, buffer, size) ) in HIO2IFReadFree() 399 DCInvalidateRange(buffer, (u32)size); in HIO2IFReadFree() 410 hio2Status[id].dwReadAsyncSize = (u32)size; in HIO2IFReadFree() 412 if ( !HIO2ReadAsync(hio2Status[id].hHIO, addr, buffer, size, in HIO2IFReadFree() [all …]
|