Lines Matching refs:new

752                     new (&le[i]) GenericValue(re[i], allocator, copyConstStrings);
981 new (this) GenericValue(rhs, allocator, copyConstStrings);
1169 GenericValue& SetNull() { this->~GenericValue(); new (this) GenericValue(); return *this; }
1179 … GenericValue& SetBool(bool b) { this->~GenericValue(); new (this) GenericValue(b); return *this; }
1188 …GenericValue& SetObject() { this->~GenericValue(); new (this) GenericValue(kObjectType); return *t…
1238 return *new (buffer) GenericValue();
1243 return *new (buffer) GenericValue();
1640 …GenericValue& SetArray() { this->~GenericValue(); new (this) GenericValue(kArrayType); return *thi…
1841 …GenericValue& SetInt(int i) { this->~GenericValue(); new (this) GenericValue(i); re…
1842 …GenericValue& SetUint(unsigned u) { this->~GenericValue(); new (this) GenericValue(u); re…
1843 …GenericValue& SetInt64(int64_t i64) { this->~GenericValue(); new (this) GenericValue(i64); re…
1844 …GenericValue& SetUint64(uint64_t u64) { this->~GenericValue(); new (this) GenericValue(u64); re…
1845 …GenericValue& SetDouble(double d) { this->~GenericValue(); new (this) GenericValue(d); re…
1846 …GenericValue& SetFloat(float f) { this->~GenericValue(); new (this) GenericValue(static_ca…
2195 *newMap = new (allocator.Malloc(sizeof(Map))) Map(MapLess(), allocator);
2206 new (&newIt[count]) MapIterator(DropMapIterator(oldIt[count]));
2315 new (&mit[o.size]) MapIterator(map->insert(MapPair(m->name.data_, o.size)));
2332 new (&mit[mpos]) MapIterator(DropMapIterator(mit[&*last - members]));
2366 new (&mit[mpos]) MapIterator(DropMapIterator(mit[next - beg]));
2391 new (&lm[i].name) GenericValue(rm[i].name, allocator, copyConstStrings);
2392 new (&lm[i].value) GenericValue(rm[i].value, allocator, copyConstStrings);
2394 new (&mit[i]) MapIterator(map->insert(MapPair(lm[i].name.data_, i)));
2425 new (&mit[i]) MapIterator(map->insert(MapPair(m[i].name.data_, i)));
2820 bool Null() { new (stack_.template Push<ValueType>()) ValueType(); return true; }
2821 bool Bool(bool b) { new (stack_.template Push<ValueType>()) ValueType(b); return true; }
2822 bool Int(int i) { new (stack_.template Push<ValueType>()) ValueType(i); return true; }
2823 bool Uint(unsigned i) { new (stack_.template Push<ValueType>()) ValueType(i); return true; }
2824 bool Int64(int64_t i) { new (stack_.template Push<ValueType>()) ValueType(i); return true; }
2825 bool Uint64(uint64_t i) { new (stack_.template Push<ValueType>()) ValueType(i); return true; }
2826 bool Double(double d) { new (stack_.template Push<ValueType>()) ValueType(d); return true; }
2830 new (stack_.template Push<ValueType>()) ValueType(str, length, GetAllocator());
2832 new (stack_.template Push<ValueType>()) ValueType(str, length);
2838 new (stack_.template Push<ValueType>()) ValueType(str, length, GetAllocator());
2840 new (stack_.template Push<ValueType>()) ValueType(str, length);
2844 …bool StartObject() { new (stack_.template Push<ValueType>()) ValueType(kObjectType); return true; }
2854 … bool StartArray() { new (stack_.template Push<ValueType>()) ValueType(kArrayType); return true; }