diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-01-01 08:00:34 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 1997-01-01 08:00:34 +0000 |
commit | d9661aebab28abc0ec4fb1e716170d347d56c168 (patch) | |
tree | ecb671ab4b8e299bf5cbb8b2dfeed8a49b65fc06 /ace/Malloc_T.i | |
parent | ea0d28240863caf437a18071bfd03e7b146c5ade (diff) | |
download | ATCD-unlabeled-4.3.2.tar.gz |
This commit was manufactured by cvs2svn to create branchunlabeled-4.3.2
'unlabeled-4.3.2'.
Diffstat (limited to 'ace/Malloc_T.i')
-rw-r--r-- | ace/Malloc_T.i | 150 |
1 files changed, 0 insertions, 150 deletions
diff --git a/ace/Malloc_T.i b/ace/Malloc_T.i deleted file mode 100644 index 56f815d8bf2..00000000000 --- a/ace/Malloc_T.i +++ /dev/null @@ -1,150 +0,0 @@ -/* -*- C++ -*- */ -// $Id$ - -// Malloc_T.i - -template <class MALLOC> ACE_INLINE void * -ACE_Allocator_Adapter<MALLOC>::malloc (size_t nbytes) -{ - ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::malloc"); - return this->allocator_.malloc (nbytes); -} - -template <class MALLOC> ACE_INLINE void * -ACE_Allocator_Adapter<MALLOC>::calloc (size_t nbytes, - char initial_value) -{ - ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::malloc"); - return this->allocator_.calloc (nbytes, initial_value); -} - -template <class MALLOC> ACE_INLINE MALLOC & -ACE_Allocator_Adapter<MALLOC>::alloc (void) -{ - ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::allocator"); - return this->allocator_; -} - -template <class MALLOC> ACE_INLINE void -ACE_Allocator_Adapter<MALLOC>::free (void *ptr) -{ - ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::free"); - this->allocator_.free (ptr); -} - -template <class MALLOC> ACE_INLINE int -ACE_Allocator_Adapter<MALLOC>::remove (void) -{ - ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::remove"); - return this->allocator_.remove (); -} - -template <class MALLOC> ACE_INLINE int -ACE_Allocator_Adapter<MALLOC>::trybind (const char *name, - void *&pointer) -{ - ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::trybind"); - return this->allocator_.trybind (name, pointer); -} - -template <class MALLOC> ACE_INLINE int -ACE_Allocator_Adapter<MALLOC>::bind (const char *name, - void *pointer, - int duplicates) -{ - ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::bind"); - return this->allocator_.bind (name, pointer, duplicates); -} - -template <class MALLOC> ACE_INLINE int -ACE_Allocator_Adapter<MALLOC>::find (const char *name, - void *&pointer) -{ - ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::find"); - return this->allocator_.find (name, pointer); -} - -template <class MALLOC> ACE_INLINE int -ACE_Allocator_Adapter<MALLOC>::find (const char *name) -{ - ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::find"); - return this->allocator_.find (name); -} - -template <class MALLOC> ACE_INLINE int -ACE_Allocator_Adapter<MALLOC>::unbind (const char *name, void *&pointer) -{ - ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::unbind"); - return this->allocator_.unbind (name, pointer); -} - -template <class MALLOC> ACE_INLINE int -ACE_Allocator_Adapter<MALLOC>::unbind (const char *name) -{ - ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::unbind"); - return this->allocator_.unbind (name); -} - -template <class MALLOC> ACE_INLINE int -ACE_Allocator_Adapter<MALLOC>::sync (ssize_t len, int flags) -{ - ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::sync"); - return this->allocator_.sync (len, flags); -} - -template <class MALLOC> ACE_INLINE int -ACE_Allocator_Adapter<MALLOC>::sync (void *addr, size_t len, int flags) -{ - ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::sync"); - return this->allocator_.sync (addr, len, flags); -} - -template <class MALLOC> ACE_INLINE int -ACE_Allocator_Adapter<MALLOC>::protect (ssize_t len, int flags) -{ - ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::protect"); - return this->allocator_.protect (len, flags); -} - -template <class MALLOC> ACE_INLINE int -ACE_Allocator_Adapter<MALLOC>::protect (void *addr, size_t len, int flags) -{ - ACE_TRACE ("ACE_Allocator_Adapter<MALLOC>::protect"); - return this->allocator_.protect (addr, len, flags); -} - -template <ACE_MEM_POOL_1, class LOCK> ACE_MEM_POOL & -ACE_Malloc<ACE_MEM_POOL_2, LOCK>::memory_pool (void) -{ - ACE_TRACE ("ACE_Malloc<MEMORY_POOL, LOCK>::memory_pool"); - return this->memory_pool_; -} - -template <ACE_MEM_POOL_1, class LOCK> int -ACE_Malloc<ACE_MEM_POOL_2, LOCK>::sync (ssize_t len, int flags) -{ - ACE_TRACE ("ACE_Malloc<MEMORY_POOL, LOCK>::sync"); - return this->memory_pool_.sync (len, flags); -} - -template <ACE_MEM_POOL_1, class LOCK> int -ACE_Malloc<ACE_MEM_POOL_2, LOCK>::sync (void *addr, size_t len, int flags) -{ - ACE_TRACE ("ACE_Malloc<MEMORY_POOL, LOCK>::sync"); - return this->memory_pool_.sync (addr, len, flags); -} - -template <ACE_MEM_POOL_1, class LOCK> int -ACE_Malloc<ACE_MEM_POOL_2, LOCK>::protect (ssize_t len, int flags) -{ - ACE_TRACE ("ACE_Malloc<MEMORY_POOL, LOCK>::protect"); - return this->memory_pool_.protect (len, flags); -} - -template <ACE_MEM_POOL_1, class LOCK> int -ACE_Malloc<ACE_MEM_POOL_2, LOCK>::protect (void *addr, size_t len, int flags) -{ - ACE_TRACE ("ACE_Malloc<MEMORY_POOL, LOCK>::protect"); - return this->memory_pool_.protect (addr, len, flags); -} - |