ReactOS
0.4.15-dev-5608-gafb953a
|
#include <bufpool.h>
Public Member Functions | |
Pool (int, int, const char *) | |
~Pool (void) | |
void * | new_buffer (void) |
void | free_buffer (void *) |
void | clear (void) |
Protected Types | |
enum | Magic { is_allocated = 0xf3a1, is_free = 0xf1a2 } |
Protected Attributes | |
Buffer * | freelist |
char * | blocklist [NBLOCKS] |
int | nextblock |
char * | curblock |
int | buffersize |
int | nextsize |
int | nextfree |
int | initsize |
const char * | name |
Magic | magic |
Private Member Functions | |
void | grow (void) |
|
protected |
Enumerator | |
---|---|
is_allocated | |
is_free |
Definition at line 70 of file bufpool.h.
Definition at line 49 of file bufpool.cc.
Pool::~Pool | ( | void | ) |
Definition at line 73 of file bufpool.cc.
Definition at line 100 of file bufpool.cc.
Referenced by Subdivider::clear(), and Maplist::freeMaps().
Definition at line 81 of file bufpool.h.
Definition at line 98 of file bufpool.h.
|
protected |
Definition at line 66 of file bufpool.h.
Referenced by new_buffer(), and Pool().
|
protected |
|
protected |
Definition at line 62 of file bufpool.h.
Referenced by clear(), free_buffer(), new_buffer(), and Pool().
|
protected |
|
protected |
Definition at line 72 of file bufpool.h.
Referenced by clear(), free_buffer(), grow(), new_buffer(), Pool(), and ~Pool().
|
protected |
|
protected |
|
protected |