Lines Matching refs:allocate
67 static void* _STLP_CALL allocate(size_t __n)
92 static void* _STLP_CALL allocate(size_t __n) { return __stl_new(__n); }
133 static void* _STLP_CALL allocate(size_t);
157 static void* _STLP_CALL allocate(size_t& __n)
301 _Tp* allocate(size_type __n, const void* = 0) {
307 _Tp* __ret = __REINTERPRET_CAST(_Tp*, __sgi_alloc::allocate(__buf_size));
348 _Tp* __ret = __REINTERPRET_CAST(_Tp*, __sgi_alloc::allocate(__buf_size));
525 _Tp* allocate(size_type __n, size_type& __allocated_n) {
531 return allocate(__n, __allocated_n, _STLportAlloc());
534 // Unified interface to perform allocate()/deallocate() with limited
537 // else it is rebound already, and allocate() member is accessible
538 _Tp* allocate(size_type __n)
539 { return __stl_alloc_rebind(__STATIC_CAST(_Base&, *this), __STATIC_CAST(_Tp*, 0)).allocate(__n, 0); }
543 _Tp* allocate(size_type __n, size_type& __allocated_n, const __true_type& /*STLport allocator*/)
546 //Expose Standard allocate overload (using expression do not work for some compilers (Borland))
547 _Tp* allocate(size_type __n)
548 { return _Base::allocate(__n); }
550 _Tp* allocate(size_type __n, size_type& __allocated_n, const __true_type& /*STLport allocator*/)
554 _Tp* allocate(size_type __n, size_type& __allocated_n, const __false_type& /*STLport allocator*/)
555 { __allocated_n = __n; return allocate(__n); }