Home
last modified time | relevance | path

Searched refs:size (Results 1 – 25 of 146) sorted by relevance

123456

/RvlSDK-3.1/build/libraries/os/src/
DOSAlloc.c129 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/include/revolution/cx/
DCXCompression.h64 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/build/demos/memdemo/src/
Dexp-1.c45 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 …]
Dallocator.c42 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/build/libraries/tc/src/
DTCMem.cpp73 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 …]
DTCCreateS3.cpp117 u32 size; in TCConvertToS3() local
145 size = lyColor->width * lyColor->height * sizeof(S3_COLOR); in TCConvertToS3()
146 s3RGB.pSurface = (void*)TCCalloc( 1, size ); in TCConvertToS3()
202 size = S3TC_GetEncodeSize( s3RGB.lWidth, s3RGB.lHeight, encodeFlag ); in TCConvertToS3()
211 lyCmp->data = (u8*)TCCalloc( 1, size ); in TCConvertToS3()
/RvlSDK-3.1/build/libraries/mem/src/
Dmem_allocator.c43 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()
Dmem_frameHeap.c140 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/build/libraries/mem/include/
DheapCommoni.h243 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/include/revolution/mem/
DframeHeap.h84 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()
DexpHeap.h142 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/build/demos/gddemo/src/
Dgd-light-host.c85 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()
Dgd-indtex-create.c81 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/build/tools/darch/src/
Dutils.c40 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/build/libraries/cx/src/
DCXCompression.c97 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/build/tools/soundfile/src/
DWavfile.c87 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/include/revolution/
Dhio2.h151 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/include/revolution/os/
DOSAlloc.h75 u32 size);
97 u32 size);
128 #define OSAlloc(size) OSAllocFromHeap(__OSCurrHeap, (size)) argument
/RvlSDK-3.1/build/demos/hio2demo/vc++/HioIf/src/
DHio2DllIf.cpp123 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/build/demos/thpdemo/src/THPPlayerStrmAX/
DTHPRead.c167 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()
DTHPVideoDecode.c253 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/man/en_US/CSS/
Drevolution.css4 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/build/demos/thpdemo/src/THPPlayer/
DTHPRead.c171 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()
DTHPVideoDecode.c257 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/build/demos/hio2demo/HioIf/src/
DHio2If.c331 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 …]

123456