Home | History | Annotate | Download | only in src

Lines Matching defs:__nobjs

271   static char* _S_chunk_alloc(size_t __p_size, int& __nobjs);
365 char* __node_alloc_impl::_S_chunk_alloc(size_t _p_size, int& __nobjs) {
367 size_t __total_bytes = _p_size * __nobjs;
378 __nobjs = (int)(__bytes_left / _p_size);
379 __total_bytes = _p_size * __nobjs;
411 return _S_chunk_alloc(_p_size, __nobjs);
428 return _S_chunk_alloc(_p_size, __nobjs);
435 int __nobjs = 20;
436 char* __chunk = _S_chunk_alloc(__n, __nobjs);
438 if (1 == __nobjs) return __REINTERPRET_CAST(_Obj*, __chunk);
448 for (--__nobjs; --__nobjs; ) {
508 int __nobjs = 20;
509 char* __chunk = _S_chunk_alloc(__n, __nobjs);
511 if (__nobjs <= 1)
518 for (--__nobjs; __nobjs != 0; --__nobjs) {
534 char* __node_alloc_impl::_S_chunk_alloc(size_t _p_size, int& __nobjs) {
542 __add_atomic_t __total_bytes = __STATIC_CAST(__add_atomic_t, _p_size) * __nobjs;
554 __nobjs = (int)(__bytes_left/_p_size);
555 __total_bytes = __STATIC_CAST(__add_atomic_t, _p_size) * __nobjs;
604 __nobjs = (int)(__i/_p_size);
605 __total_bytes = __nobjs * __STATIC_CAST(__add_atomic_t, _p_size);
618 return _S_chunk_alloc(_p_size, __nobjs);
793 static char *_S_chunk_alloc(size_t __size, size_t &__nobjs, __state_type*);
855 size_t __nobjs = 128;
856 char * __chunk = _Pthread_alloc_impl::_S_chunk_alloc(__n, __nobjs, this);
862 if (1 == __nobjs) {
874 if (__nobjs - 1 == __i) {
935 char *_Pthread_alloc_impl::_S_chunk_alloc(size_t __p_size, size_t &__nobjs, _Pthread_alloc_per_thread_state *__a) {
944 __total_bytes = __p_size * __nobjs;
951 __nobjs = __bytes_left/__p_size;
952 __total_bytes = __p_size * __nobjs;
985 return _S_chunk_alloc(__p_size, __nobjs, __a);