Searched refs:refcount_is_one (Results 1 - 8 of 8) sorted by relevance

/macosx-10.10/libauto-186/
H A DAdmin.h225 void *find_allocation(Thread &thread, usword_t &size, const usword_t layout, const bool refcount_is_one, bool &is_local);
269 void *thread_cache_allocate(Thread &thread, usword_t &size, const usword_t layout, const bool refcount_is_one, bool &is_local);
276 unsigned batch_allocate(Thread &thread, size_t &size, const usword_t layout, const bool refcount_is_one, const bool clear, void **results, unsigned num_requested);
330 void mark_allocated(void *address, const usword_t n, const usword_t layout, const bool refcount_is_one, const bool is_local);
H A DLarge.cpp61 Large *Large::allocate(Zone *zone, const usword_t size, usword_t layout, bool refcount_is_one) { argument
96 return new (space) Large(zone, vm_size, allocation_size, layout, refcount_is_one ? 1 : 0, initial_age, wb);
H A DSubzonePartition.h51 Admin &admin(const size_t size, const usword_t layout, bool refcount_is_one) { argument
52 usword_t partion = ((layout & AUTO_UNSCANNED) ? kPartitionUnscanned : 0) | (refcount_is_one ? kPartitionRetained : 0);
H A DAdmin.cpp386 void Admin::mark_allocated(void *address, const usword_t n, const usword_t layout, const bool refcount_is_one, const bool is_local) { argument
397 subzone->allocate(subzone->quantum_index(address), n, layout, refcount_is_one, is_local);
646 unsigned Admin::batch_allocate(Thread &thread, size_t &size, const usword_t layout, const bool refcount_is_one, const bool clear, void **results, unsigned num_requested) { argument
681 mark_allocated(results[i], n, layout, refcount_is_one, false);
689 void *Admin::thread_cache_allocate(Thread &thread, usword_t &size, const usword_t layout, const bool refcount_is_one, bool &is_local) { argument
718 if (refcount_is_one || !Environment::thread_collections) {
720 mark_allocated(address, n, layout, refcount_is_one, false);
739 void *Admin::find_allocation(Thread &thread, usword_t &size, const usword_t layout, const bool refcount_is_one, bool &is_local) { argument
752 if (refcount_is_one || !Environment::thread_collections) {
754 mark_allocated(address, n, layout, refcount_is_one, fals
[all...]
H A DZone.cpp410 void *Zone::allocate_large(Thread &thread, usword_t &size, const usword_t layout, bool clear, bool refcount_is_one) { argument
411 Large *large = Large::allocate(this, size, layout, refcount_is_one);
564 void *Zone::block_allocate(Thread &thread, const size_t size, const usword_t layout, bool clear, bool refcount_is_one) { argument
573 Admin &admin = _partition.admin(allocated_size, layout, refcount_is_one);
586 block = admin.thread_cache_allocate(thread, allocated_size, layout, refcount_is_one, is_local);
590 block = admin.find_allocation(thread, allocated_size, layout, refcount_is_one, is_local);
605 block = allocate_large(thread, allocated_size, layout, clear, refcount_is_one);
621 if (refcount_is_one)
632 unsigned Zone::batch_allocate(Thread &thread, size_t size, const usword_t layout, bool clear, bool refcount_is_one, void **results, unsigned num_requested) { argument
640 Admin &admin = _partition.admin(allocated_size, layout, refcount_is_one);
[all...]
H A DLarge.h145 static Large *allocate(Zone *zone, const usword_t size, usword_t layout, bool refcount_is_one);
H A DSubzone.h694 inline void allocate(usword_t q, const usword_t n, const usword_t layout, const bool refcount_is_one, const bool is_local) { argument
701 | (refcount_is_one ? refcount_bit : 0);
H A DZone.h200 void *allocate_large(Thread &thread, usword_t &size, const usword_t layout, bool clear, bool refcount_is_one);
543 void *block_allocate(Thread &thread, const size_t size, const usword_t layout, const bool clear, bool refcount_is_one);
552 unsigned batch_allocate(Thread &thread, size_t size, const usword_t layout, const bool clear, const bool refcount_is_one, void **results, unsigned num_requested);

Completed in 237 milliseconds