Home | History | Annotate | Download | only in src

Lines Matching defs:new

42 inline void* Zone::New(int size) {
73 return static_cast<T*>(New(length * sizeof(T)));
97 // TODO(isolates): for performance reasons, this should be replaced with a new
100 void* ZoneObject::operator new(size_t size) {
101 return ZONE->New(static_cast<int>(size));
104 void* ZoneObject::operator new(size_t size, Zone* zone) {
105 return zone->New(static_cast<int>(size));
109 inline void* ZoneListAllocationPolicy::New(int size) {
110 return ZONE->New(size);
115 void* ZoneList<T>::operator new(size_t size) {
116 return ZONE->New(static_cast<int>(size));
121 void* ZoneList<T>::operator new(size_t size, Zone* zone) {
122 return zone->New(static_cast<int>(size));