Lines Matching refs:allocation

35 template <AllocationType allocation>
39 HeapObject result = AllocateRawWithImmortalMap(HeapNumber::kSize, allocation,
58 AllocationType allocation) {
62 return handle(NewStructInternal(roots, map, size, allocation), isolate());
77 int flags, AllocationType allocation) {
81 AllocateRawWithImmortalMap(size, allocation, map));
100 AllocationType allocation) {
108 read_only_roots().undefined_value_handle(), allocation);
113 Handle<Map> map, int length, AllocationType allocation) {
118 map, length, read_only_roots().undefined_value_handle(), allocation);
123 int length, AllocationType allocation) {
128 read_only_roots().the_hole_value_handle(), allocation);
134 AllocationType allocation) {
135 HeapObject result = AllocateRawFixedArray(length, allocation);
148 int length, AllocationType allocation) {
154 HeapObject result = AllocateRawFixedArray(length, allocation);
166 int length, AllocationType allocation) {
175 AllocateRawWithImmortalMap(size, allocation, map, kDoubleAligned);
184 Map map, int length, AllocationType allocation) {
190 AllocateRawArray(WeakFixedArray::SizeFor(length), allocation);
203 int length, AllocationType allocation) {
207 length, allocation);
212 AllocationType allocation) {
220 size, allocation, read_only_roots().byte_array_map());
310 AllocationType allocation) {
313 NewFixedArray(size + ArrayList::kFirstIndex, allocation);
533 int slot_count, int create_closure_slot_count, AllocationType allocation) {
537 size, allocation, read_only_roots().feedback_metadata_map()));
650 int length, Map map, AllocationType allocation) {
654 allocation, map) == allocation);
663 SeqStringT::cast(AllocateRawWithImmortalMap(size, allocation, map));
673 int length, AllocationType allocation) {
677 RefineAllocationTypeForInPlaceInternalizableString(allocation, map));
682 int length, AllocationType allocation) {
686 RefineAllocationTypeForInPlaceInternalizableString(allocation, map));
707 Handle<String> left, Handle<String> right, AllocationType allocation) {
747 NewRawOneByteString(length, allocation).ToHandleChecked();
767 NewRawTwoByteString(length, allocation).ToHandleChecked();
779 return NewConsString(left, right, length, is_one_byte, allocation);
786 AllocationType allocation) {
794 read_only_roots().cons_one_byte_string_map(), allocation)
796 allocation));
809 int length, AllocationType allocation) {
815 BigInt::SizeFor(length), allocation, read_only_roots().bigint_map());
864 int number_of_descriptors, int slack, AllocationType allocation) {
870 size, allocation, read_only_roots().descriptor_array_map());
936 AllocationType allocation) {
937 HeapObject result = AllocateRaw(size, allocation);
940 isolate()->heap()->AsHeap()->MaxRegularHeapObjectSize(allocation)) &&
949 AllocationType allocation) {
954 return AllocateRawArray(FixedArray::SizeFor(length), allocation);
959 int capacity, AllocationType allocation) {
964 return AllocateRawArray(WeakArrayList::SizeForCapacity(capacity), allocation);
969 AllocationType allocation) {
970 return AllocateRawWithImmortalMap(map.instance_size(), allocation, map);
975 int size, AllocationType allocation, Map map,
981 HeapObject result = AllocateRaw(size, allocation, alignment);
988 HeapObject FactoryBase<Impl>::AllocateRaw(int size, AllocationType allocation,
990 return impl()->AllocateRaw(size, allocation, alignment);
996 int capacity, AllocationType allocation) {
1013 impl()->NewByteArray(meta_table_length, allocation);
1018 AllocateRawWithImmortalMap(size, allocation, map));
1026 int at_least_space_for, AllocationType allocation) {
1028 SwissNameDictionary::CapacityFor(at_least_space_for), allocation);
1093 AllocationType allocation, Map string_map) {
1099 if (FLAG_single_generation && allocation == AllocationType::kYoung) {
1100 allocation = AllocationType::kOld;
1102 if (allocation != AllocationType::kOld) return allocation;