Home
last modified time | relevance | path

Searched refs:max_byte_length (Results 1 – 11 of 11) sorted by relevance

/third_party/node/deps/v8/src/builtins/
Dbuiltins-arraybuffer.cc59 size_t max_byte_length = 0; in ConstructBuffer() local
71 max_byte_length = byte_length; in ConstructBuffer()
73 if (!TryNumberToSize(*max_length, &max_byte_length)) { in ConstructBuffer()
78 if (byte_length > max_byte_length) { in ConstructBuffer()
86 isolate, byte_length, max_byte_length, kThrowOnError, in ConstructBuffer()
92 isolate, byte_length, max_byte_length, page_size, initial_pages, in ConstructBuffer()
102 array_buffer->set_max_byte_length(max_byte_length); in ConstructBuffer()
401 if (new_byte_length > array_buffer->max_byte_length()) { in ResizeHelper()
474 DCHECK_EQ(array_buffer->max_byte_length(), in BUILTIN()
475 array_buffer->GetBackingStore()->max_byte_length()); in BUILTIN()
Darraybuffer.tq52 return Convert<Number>(o.max_byte_length);
98 dcheck(IsResizableArrayBuffer(o) || o.max_byte_length == o.byte_length);
99 return Convert<Number>(o.max_byte_length);
/third_party/node/deps/v8/src/snapshot/
Dserializer.cc480 void* backing_store, int32_t byte_length, Maybe<int32_t> max_byte_length) { in SerializeBackingStore() argument
489 if (max_byte_length.IsJust()) { in SerializeBackingStore()
496 if (max_byte_length.IsJust()) { in SerializeBackingStore()
497 sink_->PutInt(max_byte_length.FromJust(), "max length"); in SerializeBackingStore()
523 Maybe<int32_t> max_byte_length = Nothing<int32_t>(); in SerializeJSTypedArray() local
525 CHECK_LE(buffer.max_byte_length(), in SerializeJSTypedArray()
527 max_byte_length = in SerializeJSTypedArray()
528 Just(static_cast<int32_t>(buffer.max_byte_length())); in SerializeJSTypedArray()
538 SerializeBackingStore(backing_store, byte_length, max_byte_length); in SerializeJSTypedArray()
559 Maybe<int32_t> max_byte_length = Nothing<int32_t>(); in SerializeJSArrayBuffer() local
[all …]
Ddeserializer.cc1177 int max_byte_length = source_.GetInt(); in ReadSingleBytecodeData() local
1181 nullptr, byte_length, max_byte_length, kDontThrow, &page_size, in ReadSingleBytecodeData()
1187 main_thread_isolate(), byte_length, max_byte_length, page_size, in ReadSingleBytecodeData()
Dserializer.h473 Maybe<int32_t> max_byte_length);
/third_party/node/deps/v8/src/objects/
Dbacking-store.h64 Isolate* isolate, size_t byte_length, size_t max_byte_length,
93 size_t max_byte_length() const { return max_byte_length_; } in max_byte_length() function
171 BackingStore(void* buffer_start, size_t byte_length, size_t max_byte_length,
Djs-array-buffer.cc77 backing_store->byte_length() == backing_store->max_byte_length()); in Attach()
96 set_max_byte_length(backing_store->max_byte_length()); in Attach()
152 Isolate* isolate, size_t byte_length, size_t max_byte_length, in GetResizableBackingStorePageConfiguration() argument
169 if (!RoundUpToPageSize(max_byte_length, *page_size, in GetResizableBackingStorePageConfiguration()
Dbacking-store.cc173 size_t max_byte_length, size_t byte_capacity, in BackingStore() argument
180 max_byte_length_(max_byte_length), in BackingStore()
383 Isolate* isolate, size_t byte_length, size_t max_byte_length, in TryAllocateAndPartiallyCommitMemory() argument
494 max_byte_length, // max_byte_length in TryAllocateAndPartiallyCommitMemory()
Djs-array-buffer.tq16 max_byte_length: uintptr;
Djs-array-buffer.h118 Isolate* isolate, size_t byte_length, size_t max_byte_length,
/third_party/node/deps/v8/src/diagnostics/
Dobjects-printer.cc1466 os << "\n - max_byte_length: " << max_byte_length(); in JSArrayBufferPrint()