#include "squid.h"
#include "tests/STUB.h"
#include "mem/Allocator.h"
#include "mem/AllocatorProxy.h"
#include "mem/forward.h"
#include "mem/Pool.h"
#include "mem/Stats.h"
Go to the source code of this file.
Macros | |
#define | STUB_API "mem/libmem.la" |
Functions | |
void * | memAllocString (size_t net_size, size_t *gross_size) |
void * | memAllocRigid (size_t net_size) |
void * | memAllocBuf (size_t net_size, size_t *gross_size) |
void * | memReallocBuf (void *oldbuf, size_t net_size, size_t *gross_size) |
void | memFree (void *p, int) |
Free a element allocated by memAllocate() More... | |
void | memFreeString (size_t, void *buf) |
void | memFreeRigid (void *buf, size_t) |
void | memFreeBuf (size_t, void *buf) |
static void | cxx_xfree (void *ptr) |
FREE * | memFreeBufFunc (size_t) |
int | memInUse (mem_type) STUB_RETVAL(0) void memDataInit(mem_type |
int const char bool STUB_NOP void | memCheckInit (void) STUB_NOP static MemPools tmpMemPools |
Variables | |
int const char | size_t |
int const char | int |
Macro Definition Documentation
◆ STUB_API
#define STUB_API "mem/libmem.la" |
Definition at line 11 of file stub_libmem.cc.
Function Documentation
◆ cxx_xfree()
|
static |
◆ memAllocBuf()
Definition at line 50 of file stub_libmem.cc.
References xcalloc().
Referenced by Ftp::CtrlChannel::CtrlChannel(), memAllocString(), Helper::Client::openSessions(), statefulhelper::openSessions(), and Rock::IoState::writeToDisk().
◆ memAllocRigid()
void * memAllocRigid | ( | size_t | net_size | ) |
Definition at line 44 of file stub_libmem.cc.
References xmalloc.
Referenced by PoolingAllocator< Value >::allocate().
◆ memAllocString()
Definition at line 42 of file stub_libmem.cc.
References memAllocBuf().
Referenced by String::allocBuffer(), and MemBlob::memAlloc().
◆ memCheckInit()
Definition at line 471 of file old_api.cc.
◆ memFree()
void memFree | ( | void * | p, |
int | type | ||
) |
Definition at line 69 of file stub_libmem.cc.
References xfree.
Referenced by Ftp::Gateway::~Gateway(), diskCombineWrites(), diskHandleRead(), diskHandleWrite(), netdbBinaryExchange(), Ftp::Gateway::parseListing(), and storeKeyFree().
◆ memFreeBuf()
void memFreeBuf | ( | size_t | size, |
void * | buf | ||
) |
Definition at line 72 of file stub_libmem.cc.
References xfree.
Referenced by Ftp::CtrlChannel::~CtrlChannel(), ESIVariableQuery::~ESIVariableQuery(), Helper::SessionBase::~SessionBase(), and MemBuf::clean().
◆ memFreeBufFunc()
Definition at line 74 of file stub_libmem.cc.
References cxx_xfree(), and myFree().
Referenced by MemBuf::freeFunc(), and Rock::IoState::writeToDisk().
◆ memFreeRigid()
void memFreeRigid | ( | void * | buf, |
size_t | net_size | ||
) |
Definition at line 71 of file stub_libmem.cc.
References xfree.
Referenced by PoolingAllocator< Value >::deallocate().
◆ memFreeString()
void memFreeString | ( | size_t | size, |
void * | buf | ||
) |
Definition at line 70 of file stub_libmem.cc.
References xfree.
Referenced by MemBlob::~MemBlob(), and String::clean().
◆ memInUse()
Definition at line 71 of file old_api.cc.
References Mem::Allocator::getInUseCount(), and GetPool().
◆ memReallocBuf()
Definition at line 60 of file stub_libmem.cc.
References xrealloc().
Referenced by ESIVariableQuery::ESIVariableQuery(), MemBuf::grow(), and Ftp::Client::handleControlReply().
Variable Documentation
◆ int
int const char int |
Definition at line 76 of file stub_libmem.cc.
◆ size_t
int const char size_t |
Definition at line 76 of file stub_libmem.cc.