Home
last modified time | relevance | path

Searched refs:allocation_length (Results 1 – 9 of 9) sorted by relevance

/external/v8/src/wasm/
Dwasm-memory.cc32 size_t* allocation_length) { in TryAllocateBackingStore() argument
43 *allocation_length = in TryAllocateBackingStore()
49 DCHECK_GE(*allocation_length, size); in TryAllocateBackingStore()
50 DCHECK_GE(*allocation_length, kWasmPageSize); in TryAllocateBackingStore()
60 if (memory_tracker->ReserveAddressSpace(*allocation_length)) break; in TryAllocateBackingStore()
84 *allocation_base = AllocatePages(nullptr, *allocation_length, kWasmPageSize, in TryAllocateBackingStore()
88 memory_tracker->ReleaseReservation(*allocation_length); in TryAllocateBackingStore()
112 *allocation_length, memory, size); in TryAllocateBackingStore()
164 size_t allocation_length, in RegisterAllocation() argument
169 allocated_address_space_ += allocation_length; in RegisterAllocation()
[all …]
Dwasm-memory.h36 size_t allocation_length, void* buffer_start,
41 size_t allocation_length = 0; member
47 AllocationData(void* allocation_base, size_t allocation_length, in AllocationData()
50 allocation_length(allocation_length), in AllocationData()
56 reinterpret_cast<uintptr_t>(allocation_base) + allocation_length, in AllocationData()
59 reinterpret_cast<uintptr_t>(allocation_base) + allocation_length, in AllocationData()
Dwasm-objects.cc902 ((new_size < old_buffer->allocation_length()) || old_size == new_size)) { in GrowMemoryBuffer()
1021 allocation_base + allocation->allocation_length; in has_full_guard_region()
/external/v8/src/objects/
Djs-array-buffer-inl.h35 size_t JSArrayBuffer::allocation_length() const { in ACCESSORS()
45 return data->allocation_length; in ACCESSORS()
Djs-array-buffer.h29 inline size_t allocation_length() const;
Djs-array-buffer.cc65 FreeBackingStore(GetIsolate(), {allocation_base(), allocation_length(), in FreeBackingStoreFromMainThread()
/external/iperf3/src/
Dcjson.c669 size_t allocation_length = 0; in parse_string() local
692 allocation_length = (size_t) (input_end - buffer_at_offset(input_buffer)) - skipped_bytes; in parse_string()
693 output = (unsigned char*)input_buffer->hooks.allocate(allocation_length + sizeof("")); in parse_string()
/external/v8/src/
Dapi.cc7604 size_t allocation_length, in Contents() argument
7610 allocation_length_(allocation_length), in Contents()
7635 self->allocation_length(), in GetContents()
7855 size_t allocation_length, Allocator::AllocationMode allocation_mode, in Contents() argument
7860 allocation_length_(allocation_length), in Contents()
7873 self->allocation_length(), in GetContents()
/external/v8/include/
Dv8.h4664 size_t allocation_length,
5083 size_t allocation_length,