Lines Matching defs:new
130 void* operator new(size_t size, int capacity);
131 void* operator new(size_t size) = delete;
185 void* StringTable::Data::operator new(size_t size, int capacity) {
224 return std::unique_ptr<Data>(new (capacity) Data(capacity));
229 std::unique_ptr<Data> new_data(new (capacity) Data(capacity));
400 // Otherwise allocate a new internalized string.
485 // - Resizes of the string table first copies the old contents to the new
486 // table, and only then sets the new string table pointer to the new
507 // the string table lock. This applies to both allocation of new strings, and
519 // because the new table won't delete it's corresponding entry until the
530 // No entry found, so adding new string.
615 // `new_data` is the new owner of `data`.
617 // Release-store the new data pointer as `data_`, so that it can be
648 buffer.reset(new Char[length]);