#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 * | 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 | memFreeBuf (size_t, void *buf) |
| static void | cxx_xfree (void *ptr) |
| FREE * | memFreeBufFunc (size_t) |
| int | memInUse (mem_type) STUB_RETVAL(0) static MemPools tmpMemPools |
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 43 of file stub_libmem.cc.
References xmalloc.
Referenced by PoolingAllocator< Value >::allocate(), String::allocBuffer(), Ftp::CtrlChannel::CtrlChannel(), MemBlob::memAlloc(), Helper::Client::openSessions(), statefulhelper::openSessions(), and Rock::IoState::writeToDisk().
◆ memFree()
| void memFree | ( | void * | p, |
| int | |||
| ) |
Definition at line 63 of file stub_libmem.cc.
References xfree.
Referenced by netdbBinaryExchange(), Ftp::Gateway::parseListing(), storeKeyFree(), and Ftp::Gateway::~Gateway().
◆ memFreeBuf()
| void memFreeBuf | ( | size_t | , |
| void * | buf | ||
| ) |
Definition at line 64 of file stub_libmem.cc.
References xfree.
Referenced by MemBuf::clean(), String::clean(), PoolingAllocator< Value >::deallocate(), Ftp::CtrlChannel::~CtrlChannel(), MemBlob::~MemBlob(), and Helper::SessionBase::~SessionBase().
◆ memFreeBufFunc()
Definition at line 66 of file stub_libmem.cc.
References cxx_xfree().
Referenced by MemBuf::freeFunc(), and Rock::IoState::writeToDisk().
◆ memInUse()
Definition at line 344 of file old_api.cc.
References Mem::Allocator::getInUseCount(), and GetPool().
◆ memReallocBuf()
Definition at line 54 of file stub_libmem.cc.
References xrealloc().
Referenced by MemBuf::grow(), and Ftp::Client::handleControlReply().
Introduction
- About Squid
- Why Squid?
- Squid Developers
- How to Donate
- How to Help Out
- Getting Squid
- Squid Source Packages
- Squid Deployment Case-Studies
- Squid Software Foundation
Documentation
- Quick Setup
- Configuration:
- FAQ and Wiki
- Guide Books:
- Non-English
- More...
Support
- Security Advisories
- Bugzilla Database
- Mailing lists
- Contacting us
- Commercial services
- Project Sponsors
- Squid-based products
