Lines Matching refs:__result
133 void *__result = malloc(__n); in allocate() local
134 if ( 0 == __result ) { in allocate()
148 __result = malloc(__n); in allocate()
149 if ( __result ) in allocate()
150 return __result; in allocate()
153 return __result; in allocate()
366 char* __result; in _S_chunk_alloc() local
372 __result = _S_start_free; in _S_chunk_alloc()
374 return __result; in _S_chunk_alloc()
380 __result = _S_start_free; in _S_chunk_alloc()
382 return __result; in _S_chunk_alloc()
441 _Obj* __result; in _S_refill() local
446 __result = __REINTERPRET_CAST(_Obj*, __chunk); in _S_refill()
454 return __result; in _S_refill()
515 _Obj* __result = __REINTERPRET_CAST(_Obj*, __chunk); in _S_refill() local
516 _Obj* __cur_item = __result; in _S_refill()
522 return __result; in _S_refill()
541 char* __result = 0; in _S_chunk_alloc()
553 __result = __buf_start; in _S_chunk_alloc()
561 __result = __buf_start; in _S_chunk_alloc()
568 if ((__result != 0) && (__bytes_left >= (__add_atomic_t)sizeof(_FreeBlockHeader))) { in _S_chunk_alloc()
583 if (__result != 0) in _S_chunk_alloc()
584 return __result; in _S_chunk_alloc()
593 __result = __stlp_new_chunk(__bytes_to_get); in _S_chunk_alloc()
625 __result = __stlp_new_chunk(__bytes_to_get); in _S_chunk_alloc()
632 …_STLP_VERBOSE_ASSERT(((__REINTERPRET_CAST(size_t, __result) & __STATIC_CAST(size_t, _ALIGN - 1)) =… in _S_chunk_alloc()
638 _S_chunks.push(__REINTERPRET_CAST(_Obj*, __result)); in _S_chunk_alloc()
639 __result += _ALIGN; in _S_chunk_alloc()
645 _FreeBlockHeader* __freeblock = __REINTERPRET_CAST(_FreeBlockHeader*, __result + __total_bytes); in _S_chunk_alloc()
646 __freeblock->_M_end = __result + __bytes_to_get; in _S_chunk_alloc()
649 return __result; in _S_chunk_alloc()
858 __obj * __result; in _M_refill() local
869 __result = (__obj *)__chunk; in _M_refill()
881 return __result; in _M_refill()
894 _Pthread_alloc_per_thread_state *__result = _S_free_per_thread_states; in _S_new_per_thread_state() local
896 return __result; in _S_new_per_thread_state()
905 __state_type* __result; in _S_get_per_thread_state() local
907 if (_S_key_initialized && (__result = (__state_type*) pthread_getspecific(_S_key))) in _S_get_per_thread_state()
908 return __result; in _S_get_per_thread_state()
919 __result = _S_new_per_thread_state(); in _S_get_per_thread_state()
920 __ret_code = pthread_setspecific(_S_key, __result); in _S_get_per_thread_state()
929 return __result; in _S_get_per_thread_state()
938 char * __result; in _S_chunk_alloc() local
947 __result = _S_start_free; in _S_chunk_alloc()
949 return __result; in _S_chunk_alloc()
953 __result = _S_start_free; in _S_chunk_alloc()
955 return __result; in _S_chunk_alloc()
993 __obj * __result; in allocate() local
1004 __result = *__my_free_list; in allocate()
1005 if (__result == 0) { in allocate()
1009 *__my_free_list = __result->__free_list_link; in allocate()
1010 return __result; in allocate()
1037 __obj * __result; in allocate() local
1049 __result = *__my_free_list; in allocate()
1050 if (__result == 0) { in allocate()
1054 *__my_free_list = __result->__free_list_link; in allocate()
1055 return __result; in allocate()
1079 void * __result; in reallocate() local
1087 __result = allocate(__new_sz); in reallocate()
1089 memcpy(__result, __p, __copy_sz); in reallocate()
1091 return __result; in reallocate()