Searched refs:_STLP_CHECK_NULL_ALLOC (Results 1 - 2 of 2) sorted by relevance

/external/stlport/stlport/stl/
H A D_new.h123 # define _STLP_CHECK_NULL_ALLOC(__x) void* __y = __x; if (__y == 0) { _STLP_THROW_BAD_ALLOC; } return __y macro
125 # define _STLP_CHECK_NULL_ALLOC(__x) return __x
131 inline void* _STLP_CALL __stl_new(size_t __n) { _STLP_CHECK_NULL_ALLOC(::operator new(__n, __FILE__, __LINE__)); }
134 inline void* _STLP_CALL __stl_new(size_t __n) { _STLP_CHECK_NULL_ALLOC(::operator new(__n)); }
/external/stlport/src/
H A Dallocators.cpp61 void *__chunk = _STLP_CHECK_NULL_ALLOC(::operator new(__bytes, __FILE__, __LINE__));
69 // do not use _STLP_CHECK_NULL_ALLOC, this macro is dedicated to new operator.

Completed in 82 milliseconds