/vbox/src/VBox/GuestHost/OpenGL/include/ |
H A D | cr_bufpool.h | 20 DECLEXPORT(void) crBufferPoolFree( CRBufferPool *pool ); variable 21 DECLEXPORT(void) crBufferPoolCallbackFree(CRBufferPool *pool, CRBufferPoolDeleteCallback pfnDelete); 23 DECLEXPORT(void) crBufferPoolPush( CRBufferPool *pool, void *buf, unsigned int bytes ); 24 DECLEXPORT(void *) crBufferPoolPop( CRBufferPool *pool, unsigned int bytes ); 26 DECLEXPORT(int) crBufferPoolGetNumBuffers( CRBufferPool *pool ); variable 27 DECLEXPORT(int) crBufferPoolGetMaxBuffers( CRBufferPool *pool ); variable
|
H A D | cr_hash.h | 30 DECLEXPORT(void) crFreeHashIdPool( CRHashIdPool *pool ); variable 31 DECLEXPORT(GLboolean) crHashIdPoolIsIdFree( const CRHashIdPool *pool, GLuint id ); 32 DECLEXPORT(GLuint) crHashIdPoolAllocBlock( CRHashIdPool *pool, GLuint count ); 33 DECLEXPORT(void) crHashIdPoolFreeBlock( CRHashIdPool *pool, GLuint first, GLuint count ); 35 DECLEXPORT(GLboolean) crHashIdPoolAllocId( CRHashIdPool *pool, GLuint id ); 36 DECLEXPORT(void) crHashIdWalkKeys( CRHashIdPool *pool, CRHashIdWalkKeys walkFunc , void *data); 42 /* to ensure hash table pool id consistency, there is no crHashTableFreeKeys/UnregisterKey,
|
/vbox/src/libs/xpcom18a4/nsprpub/lib/ds/ |
H A D | plarenas.h | 58 ** Allocate an arena pool as specified by the parameters. 73 ** Destroy an arena pool previously allocated by PL_AllocArenaPool(). 79 PR_EXTERN(PRStatus) PL_DestroyArenaPool(PLArenaPool *pool, PRBool checkEmpty); 84 ** Initialize an arena pool with the given name for debugging and metering, 88 PLArenaPool *pool, const char *name, PRUint32 size, PRUint32 align); 96 ** Free the arenas in pool. The user may continue to allocate from pool 98 ** again unless PL_FinishArenaPool(pool) has been called. 100 PR_EXTERN(void) PL_FreeArenaPool(PLArenaPool *pool); variable 103 ** Free the arenas in pool an 105 PR_EXTERN(void) PL_FinishArenaPool(PLArenaPool *pool); variable 110 PR_EXTERN(void) PL_CompactArenaPool(PLArenaPool *pool); variable [all...] |
H A D | plarena.c | 58 #define COUNT(pool,what) (pool)->stats.what++ 60 #define COUNT(pool,what) /* nothing */ 108 PLArenaPool *pool, const char *name, PRUint32 size, PRUint32 align) 116 pool->mask = PR_BITMASK(PR_CeilingLog2(align)); 117 pool->first.next = NULL; 118 pool->first.base = pool->first.avail = pool->first.limit = 119 (PRUword)PL_ARENA_ALIGN(pool, 107 PL_InitArenaPool( PLArenaPool *pool, const char *name, PRUint32 size, PRUint32 align) argument 157 PL_ArenaAllocate(PLArenaPool *pool, PRUint32 nb) argument 237 PL_ArenaGrow( PLArenaPool *pool, void *p, PRUint32 size, PRUint32 incr) argument 252 FreeArenaList(PLArenaPool *pool, PLArena *head, PRBool reallyFree) argument 292 PL_ArenaRelease(PLArenaPool *pool, char *mark) argument 305 PL_FreeArenaPool(PLArenaPool *pool) argument 311 PL_FinishArenaPool(PLArenaPool *pool) argument 363 PL_ArenaCountAllocation(PLArenaPool *pool, PRUint32 nb) argument 372 PL_ArenaCountInplaceGrowth( PLArenaPool *pool, PRUint32 size, PRUint32 incr) argument 378 PL_ArenaCountGrowth( PLArenaPool *pool, PRUint32 size, PRUint32 incr) argument 390 PL_ArenaCountRelease(PLArenaPool *pool, char *mark) argument 395 PL_ArenaCountRetract(PLArenaPool *pool, char *mark) argument [all...] |
H A D | plhash.c | 66 DefaultAllocTable(void *pool, PRSize size) argument 69 #pragma unused (pool) 76 DefaultFreeTable(void *pool, void *item) argument 79 #pragma unused (pool) 86 DefaultAllocEntry(void *pool, const void *key) argument 89 #pragma unused (pool,key) 96 DefaultFreeEntry(void *pool, PLHashEntry *he, PRUintn flag) argument 99 #pragma unused (pool)
|
/vbox/src/VBox/GuestHost/OpenGL/util/ |
H A D | bufpool.c | 13 * New (version 1.4) buffer pool implementation. 15 * Now, each buffer in the pool can be a different size. 20 * really wasn't good for anything since we always grew the buffer pool 25 * more than about 10-15 buffers in the pool, that's OK. A binary tree 28 * MCH: BufferPoolPop will now return the smallest buffer in the pool that 56 crBufferPoolGetNumBuffers( CRBufferPool *pool ) 58 if ( pool ) 59 return pool->numBuffers; 64 crBufferPoolGetMaxBuffers( CRBufferPool *pool ) 66 if ( pool ) 74 CRBufferPool *pool = crCalloc(sizeof(CRBufferPool)); local 96 crBufferPoolCallbackFree(CRBufferPool *pool, CRBufferPoolDeleteCallback pfnDelete) argument 110 crBufferPoolPush( CRBufferPool *pool, void *buf, unsigned int bytes ) argument 133 crBufferPoolPop( CRBufferPool *pool, unsigned int bytes ) argument [all...] |
H A D | idpool.c | 30 CRIdPool *pool = (CRIdPool *) crCalloc(sizeof(CRIdPool)); local 31 pool->freeList = (FreeElem *) crCalloc(sizeof(FreeElem)); 32 pool->freeList->min = 1; 33 pool->freeList->max = CR_MAXUINT; 34 pool->freeList->next = NULL; 35 pool->freeList->prev = NULL; 36 return pool; 39 void crFreeIdPool( CRIdPool *pool ) 42 for (i = pool->freeList; i; i = next) 47 crFree(pool); 54 crIdPoolAllocBlock( CRIdPool *pool, GLuint count ) argument 114 crIdPoolFreeBlock( CRIdPool *pool, GLuint first, GLuint count ) argument 220 crIdPoolAllocId( CRIdPool *pool, GLuint id ) argument 265 crIdPoolIsIdFree( const CRIdPool *pool, GLuint id ) argument 285 crIdPoolIsIdUsed( const CRIdPool *pool, GLuint id ) argument [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/wined3d/ |
H A D | resource.c | 41 WINED3DPOOL pool, IUnknown *parent, const struct wined3d_parent_ops *parent_ops 54 resource->pool = pool; 66 if (pool == WINED3DPOOL_SYSTEMMEM && pvClientMem) 75 if (pool == WINED3DPOOL_DEFAULT && shared_handle) 101 if (pool == WINED3DPOOL_DEFAULT) 127 if (This->resource.pool == WINED3DPOOL_DEFAULT) { 128 TRACE("Decrementing device memory pool by %u\n", This->resource.size); 39 resource_init(IWineD3DResource *iface, WINED3DRESOURCETYPE resource_type, IWineD3DDeviceImpl *device, UINT size, DWORD usage, const struct wined3d_format_desc *format_desc, WINED3DPOOL pool, IUnknown *parent, const struct wined3d_parent_ops *parent_ops , HANDLE *shared_handle , void *pvClientMem ) argument
|
H A D | volume.c | 220 pDesc->Pool = This->resource.pool; 410 UINT height, UINT depth, DWORD usage, WINED3DFORMAT format, WINED3DPOOL pool, 431 width * height * depth * format_desc->byte_count, usage, format_desc, pool, parent, parent_ops 409 volume_init(IWineD3DVolumeImpl *volume, IWineD3DDeviceImpl *device, UINT width, UINT height, UINT depth, DWORD usage, WINED3DFORMAT format, WINED3DPOOL pool, IUnknown *parent, const struct wined3d_parent_ops *parent_ops , HANDLE *shared_handle , void *pvClientMem ) argument
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d8/ |
H A D | surface.c | 243 desc->Pool = wined3d_desc.pool; 346 D3DFORMAT format, DWORD flags, DWORD usage, D3DPOOL pool, D3DMULTISAMPLE_TYPE multisample_type, 363 usage & WINED3DUSAGE_MASK, (enum wined3d_pool)pool, multisample_type, multisample_quality, 345 surface_init(struct d3d8_surface *surface, struct d3d8_device *device, UINT width, UINT height, D3DFORMAT format, DWORD flags, DWORD usage, D3DPOOL pool, D3DMULTISAMPLE_TYPE multisample_type, DWORD multisample_quality) argument
|
H A D | volume.c | 224 desc->Pool = wined3d_desc.pool; 296 UINT depth, DWORD usage, enum wined3d_format_id format, enum wined3d_pool pool) 304 format, pool, volume, &d3d8_volume_wined3d_parent_ops, &volume->wined3d_volume); 295 volume_init(struct d3d8_volume *volume, struct d3d8_device *device, UINT width, UINT height, UINT depth, DWORD usage, enum wined3d_format_id format, enum wined3d_pool pool) argument
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/d3d9/ |
H A D | surface.c | 282 desc->Pool = wined3d_desc.pool; 406 D3DFORMAT format, DWORD flags, DWORD usage, D3DPOOL pool, D3DMULTISAMPLE_TYPE multisample_type, 444 usage & WINED3DUSAGE_MASK, (enum wined3d_pool)pool, multisample_type, multisample_quality, 405 surface_init(struct d3d9_surface *surface, struct d3d9_device *device, UINT width, UINT height, D3DFORMAT format, DWORD flags, DWORD usage, D3DPOOL pool, D3DMULTISAMPLE_TYPE multisample_type, DWORD multisample_quality , HANDLE *shared_handle , void *pvClientMem ) argument
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine_new/wined3d/ |
H A D | resource.c | 54 static DWORD resource_access_from_pool(enum wined3d_pool pool) argument 56 switch (pool) 71 FIXME("Unhandled pool %#x.\n", pool); 92 DWORD usage, enum wined3d_pool pool, UINT width, UINT height, UINT depth, UINT size, 110 resource->pool = pool; 111 resource->access_flags = resource_access_from_pool(pool); 130 if (pool == WINED3D_POOL_SYSTEM_MEM && pvClientMem) 139 if (pool 89 resource_init(struct wined3d_resource *resource, struct wined3d_device *device, enum wined3d_resource_type type, const struct wined3d_format *format, enum wined3d_multisample_type multisample_type, UINT multisample_quality, DWORD usage, enum wined3d_pool pool, UINT width, UINT height, UINT depth, UINT size, void *parent, const struct wined3d_parent_ops *parent_ops, const struct wined3d_resource_ops *resource_ops , HANDLE *shared_handle , void *pvClientMem ) argument [all...] |
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d8/ |
H A D | cubetexture.c | 255 pDesc->Pool = wined3ddesc.pool; 361 UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) 370 wined3dformat_from_d3dformat(format), pool, &texture->wineD3DCubeTexture, 360 cubetexture_init(IDirect3DCubeTexture8Impl *texture, IDirect3DDevice8Impl *device, UINT edge_length, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) argument
|
H A D | indexbuffer.c | 271 UINT size, DWORD usage, D3DFORMAT format, D3DPOOL pool) 281 usage & WINED3DUSAGE_MASK, (WINED3DPOOL)pool, &buffer->wineD3DIndexBuffer, 270 indexbuffer_init(IDirect3DIndexBuffer8Impl *buffer, IDirect3DDevice8Impl *device, UINT size, DWORD usage, D3DFORMAT format, D3DPOOL pool) argument
|
H A D | surface.c | 215 pDesc->Pool = wined3ddesc.pool; 302 DWORD usage, D3DPOOL pool, D3DMULTISAMPLE_TYPE multisample_type, DWORD multisample_quality) 318 lockable, discard, level, &surface->wineD3DSurface, usage & WINED3DUSAGE_MASK, (WINED3DPOOL)pool, 300 surface_init(IDirect3DSurface8Impl *surface, IDirect3DDevice8Impl *device, UINT width, UINT height, D3DFORMAT format, BOOL lockable, BOOL discard, UINT level, DWORD usage, D3DPOOL pool, D3DMULTISAMPLE_TYPE multisample_type, DWORD multisample_quality) argument
|
H A D | texture.c | 253 pDesc->Pool = wined3ddesc.pool; 359 UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) 368 usage & WINED3DUSAGE_MASK, wined3dformat_from_d3dformat(format), pool, 358 texture_init(IDirect3DTexture8Impl *texture, IDirect3DDevice8Impl *device, UINT width, UINT height, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) argument
|
H A D | vertexbuffer.c | 274 UINT size, DWORD usage, DWORD fvf, D3DPOOL pool) 284 usage & WINED3DUSAGE_MASK, (WINED3DPOOL)pool, &buffer->wineD3DVertexBuffer, 273 vertexbuffer_init(IDirect3DVertexBuffer8Impl *buffer, IDirect3DDevice8Impl *device, UINT size, DWORD usage, DWORD fvf, D3DPOOL pool) argument
|
H A D | volume.c | 268 UINT depth, DWORD usage, WINED3DFORMAT format, WINED3DPOOL pool) 276 format, pool, &volume->wineD3DVolume, (IUnknown *)volume, &d3d8_volume_wined3d_parent_ops); 267 volume_init(IDirect3DVolume8Impl *volume, IDirect3DDevice8Impl *device, UINT width, UINT height, UINT depth, DWORD usage, WINED3DFORMAT format, WINED3DPOOL pool) argument
|
H A D | volumetexture.c | 359 UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) 368 usage & WINED3DUSAGE_MASK, wined3dformat_from_d3dformat(format), pool, 358 volumetexture_init(IDirect3DVolumeTexture8Impl *texture, IDirect3DDevice8Impl *device, UINT width, UINT height, UINT depth, UINT levels, DWORD usage, D3DFORMAT format, D3DPOOL pool) argument
|
/vbox/src/VBox/Additions/WINNT/Graphics/Wine/d3d9/ |
H A D | indexbuffer.c | 273 UINT size, DWORD usage, D3DFORMAT format, D3DPOOL pool) 283 usage & WINED3DUSAGE_MASK, (WINED3DPOOL)pool, &buffer->wineD3DIndexBuffer, 272 indexbuffer_init(IDirect3DIndexBuffer9Impl *buffer, IDirect3DDevice9Impl *device, UINT size, DWORD usage, D3DFORMAT format, D3DPOOL pool) argument
|
H A D | surface.c | 271 pDesc->Pool = wined3ddesc.pool; 383 DWORD usage, D3DPOOL pool, D3DMULTISAMPLE_TYPE multisample_type, DWORD multisample_quality 421 lockable, discard, level, &surface->wineD3DSurface, usage & WINED3DUSAGE_MASK, (WINED3DPOOL)pool, 429 lockable, discard, level, &surface->wineD3DSurface, usage & WINED3DUSAGE_MASK, (WINED3DPOOL)pool, 381 surface_init(IDirect3DSurface9Impl *surface, IDirect3DDevice9Impl *device, UINT width, UINT height, D3DFORMAT format, BOOL lockable, BOOL discard, UINT level, DWORD usage, D3DPOOL pool, D3DMULTISAMPLE_TYPE multisample_type, DWORD multisample_quality , HANDLE *shared_handle , void *pvClientMem ) argument
|
H A D | vertexbuffer.c | 275 UINT size, UINT usage, DWORD fvf, D3DPOOL pool) 285 usage & WINED3DUSAGE_MASK, (WINED3DPOOL)pool, &buffer->wineD3DVertexBuffer, 274 vertexbuffer_init(IDirect3DVertexBuffer9Impl *buffer, IDirect3DDevice9Impl *device, UINT size, UINT usage, DWORD fvf, D3DPOOL pool) argument
|
/vbox/src/libs/xpcom18a4/ipc/ipcd/extensions/lock/src/module/ |
H A D | ipcLockModule.cpp | 88 ipcLockModule_AllocTable(void *pool, PRSize size) argument 94 ipcLockModule_FreeTable(void *pool, void *item) argument 100 ipcLockModule_AllocEntry(void *pool, const void *key) argument 106 ipcLockModule_FreeEntry(void *pool, PLHashEntry *he, PRUintn flag) argument
|
/vbox/src/libs/xpcom18a4/xpcom/typelib/xpt/public/ |
H A D | xpt_xdr.h | 125 XPTDatapool *pool; member in struct:XPTState 138 XPTPool pool; member in struct:XPTCursor 147 XPT_MakeCursor(XPTState *state, XPTPool pool, PRUint32 len, XPTCursor *cursor); 161 XPT_GetXDRDataLength(XPTState *state, XPTPool pool, PRUint32 *len); 164 XPT_GetXDRData(XPTState *state, XPTPool pool, char **data, PRUint32 *len); 215 #define XPT_PREAMBLE_(cursor, addrp, pool, size, new_curs, already) \ 218 !CheckForRepeat(cursor, (void **)addrp, pool, \ 226 #define XPT_PREAMBLE_NO_ALLOC(cursor, addrp, pool, size, new_curs, already) \ 228 XPT_PREAMBLE_(cursor, addrp, pool, size, new_curs, already) \
|