HomeSort by relevance Sort by last modified time
    Searched defs:PreallocatedStorage (Results 1 - 2 of 2) sorted by null

  /external/v8/src/
allocation.cc 104 PreallocatedStorage PreallocatedStorage::in_use_list_(0);
105 PreallocatedStorage PreallocatedStorage::free_list_(0);
106 bool PreallocatedStorage::preallocated_ = false;
109 void PreallocatedStorage::Init(size_t size) {
112 PreallocatedStorage* free_chunk =
113 reinterpret_cast<PreallocatedStorage*>(new char[size]);
116 free_chunk->size_ = size - sizeof(PreallocatedStorage);
121 void* PreallocatedStorage::New(size_t size)
    [all...]
allocation.h 142 class PreallocatedStorage : public AllStatic {
144 explicit PreallocatedStorage(size_t size);
154 PreallocatedStorage* previous_;
155 PreallocatedStorage* next_;
158 static PreallocatedStorage in_use_list_;
159 static PreallocatedStorage free_list_;
161 void LinkTo(PreallocatedStorage* other);
163 DISALLOW_IMPLICIT_CONSTRUCTORS(PreallocatedStorage);

Completed in 57 milliseconds