Home
last modified time | relevance | path

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

123456

/RvlSDK-3.2.2/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.2.2/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 …]
/RvlSDK-3.2.2/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 …]
/RvlSDK-3.2.2/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.2.2/build/demos/darchdemo/src/
Ddarchdemo.c125 static BOOL CompTest(u32 size, void* dstBuffer) in CompTest() argument
150 if(size != cmpSize) in CompTest()
159 while(i <= size) in CompTest()
189 u32 size; in main() local
199 size = DARCHGetArcSize(fileInfo, fileInfoNum); in main()
200 OSReport(" dstBuffer Size : %d Bytes\n", size); in main()
203 dstBuffer = OSAllocFromMEM2ArenaLo(size,32); in main()
204 OSReport(" dstBuffer Address : 0x%08X - 0x%08X\n", dstBuffer, (void*)((u32)dstBuffer + size)); in main()
207 if(!DARCHCreate(dstBuffer, size, fileInfo, fileInfoNum)) in main()
221 if(CompTest(size, dstBuffer)) in main()
/RvlSDK-3.2.2/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.2.2/build/libraries/mem/include/
DheapCommoni.h257 u32 size in FillAllocMemory() argument
263 (void)memset( address, 0, size ); in FillAllocMemory()
270 (void)memset( address, (int)MEMGetFillValForHeap(MEM_HEAP_FILL_ALLOC), size ); in FillAllocMemory()
280 #define FillFreeMemory( pHeapHd, address, size ) ((void) 0) argument
281 #define FillNoUseMemory( pHeapHd, address, size ) ((void) 0) argument
300 u32 size in FillFreeMemory() argument
305 (void)memset( address, (int)MEMGetFillValForHeap(MEM_HEAP_FILL_FREE), size ); in FillFreeMemory()
324 u32 size in FillNoUseMemory() argument
329 (void)memset( address, (int)MEMGetFillValForHeap(MEM_HEAP_FILL_NOUSE), size ); in FillNoUseMemory()
/RvlSDK-3.2.2/X86/bin/
Dsetsmem2size.bat12 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.2.2/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.h143 u32 size,
150 u32 size,
156 u32 size );
207 u32 size in MEMCreateExpHeap() argument
210 return MEMCreateExpHeapEx( startAddress, size, 0 ); in MEMCreateExpHeap()
230 u32 size in MEMAllocFromExpHeap() argument
233 return MEMAllocFromExpHeapEx( heap, size, MEM_HEAP_DEFAULT_ALIGNMENT ); in MEMAllocFromExpHeap()
/RvlSDK-3.2.2/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.2.2/man/en_US/CSS/
Drevolution.css4 font-size : 10pt;
9 font-size : 36px;
21 font-size : 20px;
38 font-size : 18px;
69 font-size : 10pt;
94 font-size : 10pt;
110 font-size : 10pt;
119 font-size : 10pt;
139 font-size : 10pt;
168 font-size : 10pt;
[all …]
/RvlSDK-3.2.2/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.2.2/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.2.2/build/libraries/cx/src/
DCXCompression.c99 u32 CXCompressLZImpl(const u8 *srcp, u32 size, u8 *dstp, void *work, BOOL exFormat) in CXCompressLZImpl() argument
113 ASSERT( size > 4 ); in CXCompressLZImpl()
115 if ( size < (1 << 24) ) in CXCompressLZImpl()
117 …*(u32 *)dstp = CXiConvertEndian_( size << 8 | CX_COMPRESSION_LZ | (exFormat? 1 : 0) ); // Data he… in CXCompressLZImpl()
126 *(u32 *)dstp = CXiConvertEndian_( size ); // Size extended header in CXCompressLZImpl()
130 dstMax = size; in CXCompressLZImpl()
133 while ( size > 0 ) in CXCompressLZImpl()
143 if (size <= 0) in CXCompressLZImpl()
149 if ( (lastLength = SearchLZ( &info, srcp, size, &lastOffset, MAX_LENGTH)) != 0 ) in CXCompressLZImpl()
191 size -= lastLength; in CXCompressLZImpl()
[all …]
/RvlSDK-3.2.2/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…
Dhid.h218 u32 size,
226 u32 size,
237 u32 size,
248 u32 size,
258 u32 size,
268 u32 size,
306 u32 size,
314 u32 size,
/RvlSDK-3.2.2/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.2.2/include/revolution/os/
DOSAlloc.h75 u32 size);
97 u32 size);
128 #define OSAlloc(size) OSAllocFromHeap(__OSCurrHeap, (size)) argument
/RvlSDK-3.2.2/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()
/RvlSDK-3.2.2/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.2.2/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