stub_libmem.cc File Reference
#include "squid.h"
#include "tests/STUB.h"
#include "mem/AllocatorProxy.h"
#include "mem/forward.h"
#include "mem/Pool.h"
Include dependency graph for stub_libmem.cc:

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)
 
FREEmemFreeBufFunc (size_t)
 
int memInUse (mem_type) STUB_RETVAL(0) void memDataInit(mem_type
 

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 void cxx_xfree ( void *  ptr)
static

Definition at line 72 of file stub_libmem.cc.

References xfree.

Referenced by memFreeBufFunc().

◆ memAllocBuf()

void* memAllocBuf ( size_t  net_size,
size_t gross_size 
)

◆ memAllocRigid()

void* memAllocRigid ( size_t  net_size)

Definition at line 43 of file stub_libmem.cc.

References xmalloc.

Referenced by PoolingAllocator< Value >::allocate().

◆ memAllocString()

void* memAllocString ( size_t  net_size,
size_t gross_size 
)

Definition at line 41 of file stub_libmem.cc.

References memAllocBuf().

Referenced by String::allocBuffer(), and MemBlob::memAlloc().

◆ memFree()

◆ memFreeBuf()

void memFreeBuf ( size_t  ,
void *  buf 
)

◆ memFreeBufFunc()

FREE* memFreeBufFunc ( size_t  )

Definition at line 73 of file stub_libmem.cc.

References cxx_xfree().

Referenced by MemBuf::freeFunc(), and Rock::IoState::writeToDisk().

◆ memFreeRigid()

void memFreeRigid ( void *  buf,
size_t   
)

Definition at line 70 of file stub_libmem.cc.

References buf, and xfree.

Referenced by PoolingAllocator< Value >::deallocate().

◆ memFreeString()

void memFreeString ( size_t  ,
void *  buf 
)

Definition at line 69 of file stub_libmem.cc.

References buf, and xfree.

Referenced by String::clean(), and MemBlob::~MemBlob().

◆ memInUse()

int memInUse ( mem_type  )

Definition at line 527 of file old_api.cc.

References GetPool(), MemAllocator::inUseCount(), and type.

◆ memReallocBuf()

void* memReallocBuf ( void *  oldbuf,
size_t  net_size,
size_t gross_size 
)

Variable Documentation

◆ int

int const char int

Definition at line 75 of file stub_libmem.cc.

Referenced by _tmpnam(), Mgr::Inquirer::applyQueryParams(), asn_build_int(), asn_build_unsigned_int(), asn_parse_header(), asn_parse_int(), asn_parse_length(), asn_parse_objid(), asn_parse_string(), asn_parse_unsigned_int(), berEncodeLoginData(), carpInit(), Adaptation::Icap::ServiceRep::checkOptions(), crypt_main(), StatHist::deltaPctile(), Comm::DoSelect(), fqdnStats(), fsBlockSize(), fsStats(), fwdStats(), GetInteger(), StoreMetaUnpacker::getLength(), Ip::Address::getReverseString4(), gperf_case_memcmp(), PeerSelector::handleHtcpParentMiss(), hash_create(), htcpHandleMsg(), httpHdrScStatDumper(), httpHdrScTargetStatDumper(), IcmpPacketType(), icpHandleUdp(), icpUdpSend(), idnsStats(), SharedMemory::init(), DelayBucket::init(), Ping::Init(), Math::intPercent(), main(), main_loop(), Fs::Ufs::UFSSwapDir::maintain(), neighborAlive(), netdbBinaryExchange(), netdbExchangeHandleReply(), netdbHostData(), operator++(), operator-(), helper::packStatsInto(), Http::Message::parse(), parseManyConfigFiles(), peerCountMcastPeersAbort(), peerSourceHashInit(), peerUserHashInit(), Mem::PoolReport(), Ssl::ClientBio::read(), regexec(), request(), rfc1035BuildAQuery(), rfc1035BuildPTRQuery(), rfc1035MessageUnpack(), rfc3596BuildHostQuery(), rfc3596BuildPTRQuery4(), RFCNB_CvtPad_Name(), RFCNB_NBName_To_AName(), DiskdIOStrategy::SEND(), snmp_var_DecodeVarBind(), snmp_var_new_integer(), squid_rn_insert(), squid_rn_refines(), squidaio_queue_request(), statAvgTick(), storeDigestRebuildStep(), storeEntryFlags(), storeSwapMetaPack(), StringToInt(), wccp2AssignBuckets(), wccp2HandleUdp(), xatoi(), xatoui(), and fqdncache_entry::~fqdncache_entry().

◆ size_t

int const char size_t

Definition at line 75 of file stub_libmem.cc.

 

Introduction

Documentation

Support

Miscellaneous

Web Site Translations

Mirrors