Home
last modified time | relevance | path

Searched refs:object_size (Results 1 – 25 of 1473) sorted by relevance

12345678910>>...59

/dports/lang/v8/v8-9.6.180.12/src/heap/
H A Dlocal-allocator-inl.h16 int object_size, in Allocate() argument
21 return AllocateInNewSpace(object_size, origin, alignment); in Allocate()
27 ->AllocateRaw(object_size, alignment, origin); in Allocate()
34 int object_size) { in FreeLast() argument
37 FreeLastInNewSpace(object, object_size); in FreeLast()
40 FreeLastInOldSpace(object, object_size); in FreeLast()
50 if (!new_space_lab_.TryFreeLast(object, object_size)) { in FreeLastInNewSpace()
52 heap_->CreateFillerObjectAt(object.address(), object_size, in FreeLastInNewSpace()
68 int object_size, AllocationAlignment alignment) { in AllocateInLAB() argument
104 if (object_size > kMaxLabObjectSize) { in AllocateInNewSpace()
[all …]
H A Dlarge-spaces.cc118 if (object_size >= allocation_counter_.NextBytes()) { in AdvanceAndInvokeAllocationObservers()
128 return AllocateRaw(object_size, NOT_EXECUTABLE); in AllocateRaw()
136 if (!heap()->CanExpandOldGeneration(object_size) || in AllocateRaw()
163 LocalHeap* local_heap, int object_size) { in AllocateRawBackground() argument
190 object_size, this, executable); in AllocateLargePage()
196 AddPage(page, object_size); in AllocateLargePage()
264 AddPage(page, object_size); in PromoteNewLargeObject()
270 objects_size_ += object_size; in AddPage()
281 objects_size_ -= object_size; in RemovePage()
552 OldLargeObjectSpace::AddPage(page, object_size); in AddPage()
[all …]
H A Dconcurrent-allocator-inl.h21 AllocationResult ConcurrentAllocator::AllocateRaw(int object_size, in AllocateRaw() argument
30 if (object_size > kMaxLabObjectSize) { in AllocateRaw()
31 return AllocateOutsideLab(object_size, alignment, origin); in AllocateRaw()
34 return AllocateInLab(object_size, alignment, origin); in AllocateRaw()
38 int object_size, AllocationAlignment alignment, AllocationOrigin origin) { in AllocateInLab() argument
39 AllocationResult allocation = lab_.AllocateRawAligned(object_size, alignment); in AllocateInLab()
41 return AllocateInLabSlow(object_size, alignment, origin); in AllocateInLab()
H A Dscavenger-inl.h162 allocator_.FreeLast(NEW_SPACE, target, object_size); in SemiSpaceCopyObject()
172 copied_list_.Push(ObjectAndSize(target, object_size)); in SemiSpaceCopyObject()
174 copied_size_ += object_size; in SemiSpaceCopyObject()
183 int object_size, in PromoteObject() argument
199 allocator_.FreeLast(OLD_SPACE, target, object_size); in PromoteObject()
209 promotion_list_.PushRegularObject(target, object_size); in PromoteObject()
211 promoted_size_ += object_size; in PromoteObject()
236 promoted_size_ += object_size; in HandleLargeObject()
253 SLOW_DCHECK(object.SizeFromMap(map) == object_size); in EvacuateObjectDefault()
260 SLOW_DCHECK(static_cast<size_t>(object_size) <= in EvacuateObjectDefault()
[all …]
H A Dlarge-spaces.h45 Address GetAddressToShrink(Address object_address, size_t object_size);
94 virtual void AddPage(LargePage* page, size_t object_size);
95 virtual void RemovePage(LargePage* page, size_t object_size);
135 LargePage* AllocateLargePage(int object_size, Executability executable);
160 AllocateRaw(int object_size);
163 AllocateRawBackground(LocalHeap* local_heap, int object_size);
172 V8_WARN_UNUSED_RESULT AllocationResult AllocateRaw(int object_size,
181 AllocateRaw(int object_size);
201 AllocateRaw(int object_size);
208 void AddPage(LargePage* page, size_t object_size) override;
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/v8/src/heap/
H A Dlocal-allocator-inl.h16 int object_size, in Allocate() argument
21 return AllocateInNewSpace(object_size, origin, alignment); in Allocate()
27 ->AllocateRaw(object_size, alignment, origin); in Allocate()
34 int object_size) { in FreeLast() argument
37 FreeLastInNewSpace(object, object_size); in FreeLast()
40 FreeLastInOldSpace(object, object_size); in FreeLast()
49 if (!new_space_lab_.TryFreeLast(object, object_size)) { in FreeLastInNewSpace()
51 heap_->CreateFillerObjectAt(object.address(), object_size, in FreeLastInNewSpace()
59 heap_->CreateFillerObjectAt(object.address(), object_size, in FreeLastInOldSpace()
99 if (object_size > kMaxLabObjectSize) { in AllocateInNewSpace()
[all …]
H A Dscavenger-inl.h147 allocator_.FreeLast(NEW_SPACE, target, object_size); in SemiSpaceCopyObject()
157 copied_list_.Push(ObjectAndSize(target, object_size)); in SemiSpaceCopyObject()
159 copied_size_ += object_size; in SemiSpaceCopyObject()
168 int object_size, in PromoteObject() argument
183 allocator_.FreeLast(OLD_SPACE, target, object_size); in PromoteObject()
193 promotion_list_.PushRegularObject(target, object_size); in PromoteObject()
195 promoted_size_ += object_size; in PromoteObject()
220 promoted_size_ += object_size; in HandleLargeObject()
237 SLOW_DCHECK(object.SizeFromMap(map) == object_size); in EvacuateObjectDefault()
244 SLOW_DCHECK(static_cast<size_t>(object_size) <= in EvacuateObjectDefault()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/v8/src/heap/
H A Dlocal-allocator-inl.h16 int object_size, in Allocate() argument
21 return AllocateInNewSpace(object_size, origin, alignment); in Allocate()
27 ->AllocateRaw(object_size, alignment, origin); in Allocate()
34 int object_size) { in FreeLast() argument
37 FreeLastInNewSpace(object, object_size); in FreeLast()
40 FreeLastInOldSpace(object, object_size); in FreeLast()
50 if (!new_space_lab_.TryFreeLast(object, object_size)) { in FreeLastInNewSpace()
52 heap_->CreateFillerObjectAt(object.address(), object_size, in FreeLastInNewSpace()
67 int object_size, AllocationAlignment alignment) { in AllocateInLAB() argument
103 if (object_size > kMaxLabObjectSize) { in AllocateInNewSpace()
[all …]
H A Dlarge-spaces.cc117 if (object_size >= allocation_counter_.NextBytes()) { in AdvanceAndInvokeAllocationObservers()
127 return AllocateRaw(object_size, NOT_EXECUTABLE); in AllocateRaw()
134 if (!heap()->CanExpandOldGeneration(object_size) || in AllocateRaw()
160 LocalHeap* local_heap, int object_size) { in AllocateRawBackground() argument
186 object_size, this, executable); in AllocateLargePage()
192 AddPage(page, object_size); in AllocateLargePage()
260 AddPage(page, object_size); in PromoteNewLargeObject()
266 objects_size_ += object_size; in AddPage()
277 objects_size_ -= object_size; in RemovePage()
538 OldLargeObjectSpace::AddPage(page, object_size); in AddPage()
[all …]
H A Dconcurrent-allocator-inl.h20 AllocationResult ConcurrentAllocator::AllocateRaw(int object_size, in AllocateRaw() argument
29 if (object_size > kMaxLabObjectSize) { in AllocateRaw()
30 return AllocateOutsideLab(object_size, alignment, origin); in AllocateRaw()
33 return AllocateInLab(object_size, alignment, origin); in AllocateRaw()
37 int object_size, AllocationAlignment alignment, AllocationOrigin origin) { in AllocateInLab() argument
38 AllocationResult allocation = lab_.AllocateRawAligned(object_size, alignment); in AllocateInLab()
40 return AllocateInLabSlow(object_size, alignment, origin); in AllocateInLab()
H A Dscavenger-inl.h161 allocator_.FreeLast(NEW_SPACE, target, object_size); in SemiSpaceCopyObject()
171 copied_list_.Push(ObjectAndSize(target, object_size)); in SemiSpaceCopyObject()
173 copied_size_ += object_size; in SemiSpaceCopyObject()
182 int object_size, in PromoteObject() argument
197 allocator_.FreeLast(OLD_SPACE, target, object_size); in PromoteObject()
207 promotion_list_.PushRegularObject(target, object_size); in PromoteObject()
209 promoted_size_ += object_size; in PromoteObject()
234 promoted_size_ += object_size; in HandleLargeObject()
251 SLOW_DCHECK(object.SizeFromMap(map) == object_size); in EvacuateObjectDefault()
258 SLOW_DCHECK(static_cast<size_t>(object_size) <= in EvacuateObjectDefault()
[all …]
H A Dlarge-spaces.h44 Address GetAddressToShrink(Address object_address, size_t object_size);
93 virtual void AddPage(LargePage* page, size_t object_size);
94 virtual void RemovePage(LargePage* page, size_t object_size);
120 LargePage* AllocateLargePage(int object_size, Executability executable);
136 AllocateRaw(int object_size);
139 AllocateRawBackground(LocalHeap* local_heap, int object_size);
148 V8_WARN_UNUSED_RESULT AllocationResult AllocateRaw(int object_size,
157 AllocateRaw(int object_size);
186 AllocateRaw(int object_size);
193 void AddPage(LargePage* page, size_t object_size) override;
[all …]
/dports/www/node10/node-v10.24.1/deps/v8/src/heap/
H A Dlocal-allocator.h48 return AllocateInNewSpace(object_size, alignment); in Allocate()
54 ->AllocateRaw(object_size, alignment); in Allocate()
64 FreeLastInNewSpace(object, object_size); in FreeLast()
67 FreeLastInOldSpace(object, object_size); in FreeLast()
77 AllocationResult AllocateInNewSpace(int object_size, in AllocateInNewSpace() argument
79 if (object_size > kMaxLabObjectSize) { in AllocateInNewSpace()
82 return AllocateInLAB(object_size, alignment); in AllocateInNewSpace()
100 AllocationResult AllocateInLAB(int object_size, in AllocateInLAB() argument
118 void FreeLastInNewSpace(HeapObject* object, int object_size) { in FreeLastInNewSpace() argument
119 if (!new_space_lab_.TryFreeLast(object, object_size)) { in FreeLastInNewSpace()
[all …]
H A Dscavenger-inl.h77 allocator_.Allocate(NEW_SPACE, object_size, alignment); in SemiSpaceCopyObject()
85 allocator_.FreeLast(NEW_SPACE, target, object_size); in SemiSpaceCopyObject()
92 copied_list_.Push(ObjectAndSize(target, object_size)); in SemiSpaceCopyObject()
93 copied_size_ += object_size; in SemiSpaceCopyObject()
111 allocator_.FreeLast(OLD_SPACE, target, object_size); in PromoteObject()
120 promoted_size_ += object_size; in PromoteObject()
128 SLOW_DCHECK(object_size <= Page::kAllocatableMemory); in EvacuateObjectDefault()
129 SLOW_DCHECK(object->SizeFromMap(map) == object_size); in EvacuateObjectDefault()
137 if (PromoteObject(map, slot, object, object_size)) return; in EvacuateObjectDefault()
161 object, object_size); in EvacuateThinString()
[all …]
/dports/devel/silc-toolkit/silc-toolkit-1.1.12/lib/silccore/
H A Dsilcattrs.c44 SilcUInt32 object_size, in silc_attribute_payload_encode_int() argument
56 if (!object || !object_size) in silc_attribute_payload_encode_int()
121 object_size += 2; in silc_attribute_payload_encode_int()
205 if (object_size != sizeof(*pn)) in silc_attribute_payload_encode_int()
250 object_size = pk->data_len; in silc_attribute_payload_encode_int()
266 *ret_len = object_size; in silc_attribute_payload_encode_int()
279 SilcUInt32 object_size) in silc_attribute_payload_alloc() argument
357 SilcUInt32 object_size) in silc_attribute_payload_encode() argument
360 object_size, &object_size); in silc_attribute_payload_encode()
363 object_size); in silc_attribute_payload_encode()
[all …]
/dports/games/corsix-th/CorsixTH-0.65.1/CorsixTH/Src/
H A Drun_length_encoder.cpp49 object_size = 0; in clean()
71 object_size = 0; in initialise()
88 if (object_size == 0) { in flush()
122 object_size = iBestSize; in flush()
126 buffer_size -= object_size * object_copies; in flush()
130 while (object_size * 2 <= buffer_size && in flush()
134 buffer_size -= object_size; in flush()
139 object_size = 0; in flush()
220 object_size = 0; in clean()
258 for (size_t i = 0; i < object_size; ++i) { in read()
[all …]
/dports/multimedia/mlt7-qt5/mlt-7.0.1/src/modules/jackrack/
H A Dlock_free_fifo.c36 lff_init (lff_t * lff, unsigned int size, size_t object_size) in lff_init() argument
39 lff->object_size = object_size; in lff_init()
42 lff->data = g_malloc (object_size * size); in lff_init()
46 lff_new (unsigned int size, size_t object_size) in lff_new() argument
52 lff_init (lff, size, object_size); in lff_new()
76 memcpy (data, ((char *)lff->data) + (lff->read_index * lff->object_size), in lff_read()
77 lff->object_size); in lff_read()
103 memcpy (((char *)lff->data) + (lff->write_index * lff->object_size), in lff_write()
104 data, lff->object_size); in lff_write()
/dports/multimedia/mlt6-qt5/mlt-6.26.1/src/modules/jackrack/
H A Dlock_free_fifo.c36 lff_init (lff_t * lff, unsigned int size, size_t object_size) in lff_init() argument
39 lff->object_size = object_size; in lff_init()
42 lff->data = g_malloc (object_size * size); in lff_init()
46 lff_new (unsigned int size, size_t object_size) in lff_new() argument
52 lff_init (lff, size, object_size); in lff_new()
76 memcpy (data, ((char *)lff->data) + (lff->read_index * lff->object_size), in lff_read()
77 lff->object_size); in lff_read()
103 memcpy (((char *)lff->data) + (lff->write_index * lff->object_size), in lff_write()
104 data, lff->object_size); in lff_write()
/dports/multimedia/mlt6/mlt-6.26.1/src/modules/jackrack/
H A Dlock_free_fifo.c36 lff_init (lff_t * lff, unsigned int size, size_t object_size) in lff_init() argument
39 lff->object_size = object_size; in lff_init()
42 lff->data = g_malloc (object_size * size); in lff_init()
46 lff_new (unsigned int size, size_t object_size) in lff_new() argument
52 lff_init (lff, size, object_size); in lff_new()
76 memcpy (data, ((char *)lff->data) + (lff->read_index * lff->object_size), in lff_read()
77 lff->object_size); in lff_read()
103 memcpy (((char *)lff->data) + (lff->write_index * lff->object_size), in lff_write()
104 data, lff->object_size); in lff_write()
/dports/multimedia/mlt7/mlt-7.0.1/src/modules/jackrack/
H A Dlock_free_fifo.c36 lff_init (lff_t * lff, unsigned int size, size_t object_size) in lff_init() argument
39 lff->object_size = object_size; in lff_init()
42 lff->data = g_malloc (object_size * size); in lff_init()
46 lff_new (unsigned int size, size_t object_size) in lff_new() argument
52 lff_init (lff, size, object_size); in lff_new()
76 memcpy (data, ((char *)lff->data) + (lff->read_index * lff->object_size), in lff_read()
77 lff->object_size); in lff_read()
103 memcpy (((char *)lff->data) + (lff->write_index * lff->object_size), in lff_write()
104 data, lff->object_size); in lff_write()
/dports/multimedia/py-mlt6/mlt-6.26.1/src/modules/jackrack/
H A Dlock_free_fifo.c36 lff_init (lff_t * lff, unsigned int size, size_t object_size) in lff_init() argument
39 lff->object_size = object_size; in lff_init()
42 lff->data = g_malloc (object_size * size); in lff_init()
46 lff_new (unsigned int size, size_t object_size) in lff_new() argument
52 lff_init (lff, size, object_size); in lff_new()
76 memcpy (data, ((char *)lff->data) + (lff->read_index * lff->object_size), in lff_read()
77 lff->object_size); in lff_read()
103 memcpy (((char *)lff->data) + (lff->write_index * lff->object_size), in lff_write()
104 data, lff->object_size); in lff_write()
/dports/sysutils/testdisk/testdisk-7.1/src/
H A Dfile_asf.c49 uint64_t object_size; member
57 uint64_t object_size; member
65 uint64_t object_size; member
78 if(le64(hdr->object_size)<30 || in header_check_asf()
79 le64(hdr->object_size)>buffer_size || in header_check_asf()
85 i++, prop=(const struct asf_file_prop_s *)((const char *)prop + le64(prop->object_size))) in header_check_asf()
97 if(le64(prop->object_size) < 0x18) in header_check_asf()
99 …info("header_check_asf object_size too small %llu\n", (long long unsigned)le64(prop->object_size)); in header_check_asf()
104 if(le64(prop->object_size) < 0x28) in header_check_asf()
120 if(le64(prop->object_size) < 0x28) in header_check_asf()
[all …]
/dports/games/scummvm/scummvm-2.5.1/engines/glk/hugo/
H A Dheobject.cpp49 c = PeekWord(2 + obj*object_size + object_size - 4); in Child()
449 while ((nextobj = PeekWord(2 + obj*object_size + object_size-8)) != 0) in GrandParent()
466 objaddr = 2 + obj*object_size; in MoveObj()
474 PokeWord(2 + prevobj*object_size + object_size-6, s); in MoveObj()
476 PokeWord(2 + oldparent*object_size + object_size-4, s); in MoveObj()
492 parentaddr = 2 + p*object_size; in MoveObj()
494 PokeWord(parentaddr + object_size-4, obj); in MoveObj()
500 lastobjaddr = 2 + Youngest(p)*object_size; in MoveObj()
528 p = PeekWord(2 + obj*object_size + object_size-8); in Parent()
556 ptr = PeekWord(object_size*(obj+1)); in PropAddr()
[all …]
/dports/games/libretro-scummvm/scummvm-7b1e929/engines/glk/hugo/
H A Dheobject.cpp49 c = PeekWord(2 + obj*object_size + object_size - 4); in Child()
449 while ((nextobj = PeekWord(2 + obj*object_size + object_size-8)) != 0) in GrandParent()
466 objaddr = 2 + obj*object_size; in MoveObj()
474 PokeWord(2 + prevobj*object_size + object_size-6, s); in MoveObj()
476 PokeWord(2 + oldparent*object_size + object_size-4, s); in MoveObj()
492 parentaddr = 2 + p*object_size; in MoveObj()
494 PokeWord(parentaddr + object_size-4, obj); in MoveObj()
500 lastobjaddr = 2 + Youngest(p)*object_size; in MoveObj()
528 p = PeekWord(2 + obj*object_size + object_size-8); in Parent()
556 ptr = PeekWord(object_size*(obj+1)); in PropAddr()
[all …]
/dports/multimedia/libxine/xine-lib-1.2.11/src/xine-utils/
H A Dpool.c41 size_t object_size; member
58 static xine_pool_chunk_t *XINE_MALLOC xine_pool_alloc_chunk(size_t object_size, size_t object_count… in xine_pool_alloc_chunk() argument
62 _x_assert(object_size > 0); in xine_pool_alloc_chunk()
65 chunk_mem_size += object_size * object_count; in xine_pool_alloc_chunk()
85 xine_pool_t *xine_pool_new(size_t object_size, in xine_pool_new() argument
91 _x_assert(object_size > 0); in xine_pool_new()
98 new_pool->object_size = object_size; in xine_pool_new()
107 xine_pool_alloc_chunk (object_size, MIN_CHUNK_SIZE)); in xine_pool_new()
125 void *object = ((uint8_t*)(chunk->mem_base)) + i * pool->object_size; in xine_pool_delete()
153 current_chunk->current_id * pool->object_size; in xine_pool_get()
[all …]

12345678910>>...59