Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
Data Structures | Macros | Functions
rw_new.h File Reference
#include <new>
#include <rw_testdefs.h>
Include dependency graph for rw_new.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  rwt_free_store
 
struct  MyNewInit
 

Macros

#define _RWSTD_BAD_ALLOC   _STD::bad_alloc
 

Functions

_TEST_EXPORT rwt_free_store * rwt_get_free_store (rwt_free_store *)
 
_TEST_EXPORT rwt_free_store * rwt_checkpoint (const rwt_free_store *, const rwt_free_store *)
 
_TEST_EXPORT _RWSTD_SIZE_T rwt_check_leaks (_RWSTD_SIZE_T *, const rwt_free_store *)
 
_TEST_EXPORT void * operator_new (_RWSTD_SIZE_T, bool)
 
_TEST_EXPORT void operator_delete (void *, bool)
 
void * operator new (_RWSTD_SIZE_T n) _THROWS((_RWSTD_BAD_ALLOC))
 
void operator delete (void *ptr) _THROWS(())
 
void * operator new[] (_RWSTD_SIZE_T n) _THROWS((_RWSTD_BAD_ALLOC))
 
void operator delete[] (void *ptr) _THROWS(())
 

Macro Definition Documentation

◆ _RWSTD_BAD_ALLOC

#define _RWSTD_BAD_ALLOC   _STD::bad_alloc

Definition at line 141 of file rw_new.h.

Function Documentation

◆ operator delete()

void operator delete ( void *  ptr)

Definition at line 172 of file rw_new.h.

◆ operator delete[]()

void operator delete[] ( void *  ptr)

Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the License); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Copyright 1999-2007 Rogue Wave Software, Inc.

Definition at line 193 of file rw_new.h.

◆ operator new()

void * operator new ( _RWSTD_SIZE_T  n)

Definition at line 167 of file rw_new.h.

◆ operator new[]()

void * operator new[] ( _RWSTD_SIZE_T  n)

Definition at line 182 of file rw_new.h.

◆ operator_delete()

_TEST_EXPORT void operator_delete ( void *  ptr,
bool  array 
)

Definition at line 492 of file new.cpp.

◆ operator_new()

_TEST_EXPORT void * operator_new ( _RWSTD_SIZE_T  ,
bool   
)

◆ rwt_check_leaks()

_TEST_EXPORT _RWSTD_SIZE_T rwt_check_leaks ( _RWSTD_SIZE_T *  bytes,
const rwt_free_store *  st 
)

Definition at line 684 of file new.cpp.

◆ rwt_checkpoint()

_TEST_EXPORT rwt_free_store * rwt_checkpoint ( const rwt_free_store *  st0,
const rwt_free_store *  st1 
)

Definition at line 620 of file new.cpp.

◆ rwt_get_free_store()

_TEST_EXPORT rwt_free_store * rwt_get_free_store ( rwt_free_store *  st)

Definition at line 597 of file new.cpp.