20 #if defined (EH_NEW_HEADERS) 30 #if defined (EH_NEW_IOSTREAMS) 33 # include <iostream.h> 59 #ifndef EH_NO_EXCEPTIONS 60 throw EH_STD::bad_alloc();
65 #if defined (EH_HASHED_CONTAINERS_IMPLEMENTED) 66 # if defined (__SGI_STL) 67 # if defined (EH_NEW_HEADERS) 70 # include <hash_set.h> 72 # elif defined (__MSL__) 75 # error what do I include to get hash_set? 78 # if defined (EH_NEW_HEADERS) 85 #if !defined (EH_HASHED_CONTAINERS_IMPLEMENTED) 95 typedef EH_STD::hash_set<void*, ::hash_void, EH_STD::equal_to<void*> >
allocation_set;
106 #if !defined (NO_FAST_ALLOCATOR) 174 #if !defined (NO_FAST_ALLOCATOR) 206 #ifdef EH_DELETE_HAS_THROW_SPEC
207 throw(EH_STD::bad_alloc)
211 #ifdef EH_USE_NOTHROW 212 void*
_STLP_CALL operator new(
size_t size,
const EH_STD::nothrow_t&)
throw() {
227 # ifdef EH_USE_NOTHROW 228 void*
_STLP_CALL operator new[](
size_t size,
const EH_STD::nothrow_t&)
throw() {
239 {
operator delete(
ptr ); }
242 #if defined (EH_DELETE_HAS_THROW_SPEC) 260 # if ! defined (NO_FAST_ALLOCATOR) 267 #if defined (EH_DELETE_HAS_THROW_SPEC) 335 return failure_threshold;
static void ClearAllocationSet()
static void maybe_fail(long)
static bool using_alloc_set
static bool ReportLeaked()
static bool track_allocations
return static_cast< int >(global)
GLuint GLuint GLsizei count
TestController gTestController
static void PrintTestName(bool err=false)
#define USING_CSTD_NAME(name)
GLint GLint GLint GLint GLint x
static bool LeakDetectionEnabled()
size_t operator()(void *x) const
static bool TrackingEnabled()
basic_ostream< _CharT, _Traits > &_STLP_CALL endl(basic_ostream< _CharT, _Traits > &__os)
static allocation_set & alloc_set()
static void * Allocate(size_t s)
static long possible_failure_count
GLboolean GLboolean GLboolean b
_STLP_DECLSPEC _Stl_aligned_buffer< ostream > cerr
static const char * current_test
static void EndLeakDetection()
static long & Failure_threshold()
static bool leak_detection_enabled
WDF_CHILD_LIST_ITERATOR iterator
static FastAllocator gFastAllocator
static const char * current_container
static const char * current_test_category
void simulate_possible_failure()
static bool Free(void *p)
char dummy2[kMinBlockSize]
static void ReportSuccess(int)
char * AllocateBlock(size_t s)
EH_STD::hash_set< void *, ::hash_void, EH_STD::equal_to< void * > > allocation_set
static void * OperatorNew(size_t s)