Home
last modified time | relevance | path

Searched refs:JSArrayBuffer (Results 1 – 25 of 53) sorted by relevance

123

/external/v8/src/heap/
Darray-buffer-tracker.h18 class JSArrayBuffer; variable
33 inline static void RegisterNew(Heap* heap, JSArrayBuffer* buffer);
34 inline static void Unregister(Heap* heap, JSArrayBuffer* buffer);
54 static bool IsTracked(JSArrayBuffer* buffer);
62 typedef JSArrayBuffer* Key;
Darray-buffer-tracker.cc21 JSArrayBuffer* buffer = reinterpret_cast<JSArrayBuffer*>(it->first); in Free()
41 JSArrayBuffer* new_buffer = nullptr; in Process()
115 [mode](JSArrayBuffer* old_buffer, JSArrayBuffer** new_buffer) { in ProcessBuffers()
118 *new_buffer = JSArrayBuffer::cast(map_word.ToForwardingAddress()); in ProcessBuffers()
128 bool ArrayBufferTracker::IsTracked(JSArrayBuffer* buffer) { in IsTracked()
Darray-buffer-tracker-inl.h13 void ArrayBufferTracker::RegisterNew(Heap* heap, JSArrayBuffer* buffer) { in RegisterNew()
35 void ArrayBufferTracker::Unregister(Heap* heap, JSArrayBuffer* buffer) { in Unregister()
Dobjects-visiting-inl.h82 &FlexibleBodyVisitor<StaticVisitor, JSArrayBuffer::BodyDescriptor, in Initialize()
187 &FlexibleBodyVisitor<StaticVisitor, JSArrayBuffer::BodyDescriptor, in Initialize()
/external/v8/src/
Dfutex-emulation.h35 class JSArrayBuffer; variable
90 static Object* Wait(Isolate* isolate, Handle<JSArrayBuffer> array_buffer,
96 static Object* Wake(Isolate* isolate, Handle<JSArrayBuffer> array_buffer,
102 Handle<JSArrayBuffer> array_buffer,
Dvalue-serializer.h24 class JSArrayBuffer; variable
76 Handle<JSArrayBuffer> array_buffer);
115 Maybe<bool> WriteJSArrayBuffer(JSArrayBuffer* array_buffer);
197 Handle<JSArrayBuffer> array_buffer);
240 MaybeHandle<JSArrayBuffer> ReadJSArrayBuffer() WARN_UNUSED_RESULT;
241 MaybeHandle<JSArrayBuffer> ReadTransferredJSArrayBuffer(bool is_shared)
244 Handle<JSArrayBuffer> buffer) WARN_UNUSED_RESULT;
Dfutex-emulation.cc76 Handle<JSArrayBuffer> array_buffer, size_t addr, in Wait()
192 Handle<JSArrayBuffer> array_buffer, size_t addr, in Wake()
217 Handle<JSArrayBuffer> array_buffer, in NumWaitersForTesting()
Dvalue-serializer.cc270 Handle<JSArrayBuffer> array_buffer) { in TransferArrayBuffer()
299 Handle<JSArrayBuffer> buffer( in WriteObject()
302 : handle(JSArrayBuffer::cast(view->buffer()), isolate_)); in WriteObject()
445 return WriteJSArrayBuffer(JSArrayBuffer::cast(*receiver)); in WriteJSReceiver()
727 Maybe<bool> ValueSerializer::WriteJSArrayBuffer(JSArrayBuffer* array_buffer) { in WriteJSArrayBuffer()
1001 uint32_t transfer_id, Handle<JSArrayBuffer> array_buffer) { in TransferArrayBuffer()
1030 result = ReadJSArrayBufferView(Handle<JSArrayBuffer>::cast(object)); in ReadObject()
1435 MaybeHandle<JSArrayBuffer> ValueDeserializer::ReadJSArrayBuffer() { in ReadJSArrayBuffer()
1441 return MaybeHandle<JSArrayBuffer>(); in ReadJSArrayBuffer()
1444 Handle<JSArrayBuffer> array_buffer = in ReadJSArrayBuffer()
[all …]
Dapi.h85 V(ArrayBuffer, JSArrayBuffer) \
98 V(SharedArrayBuffer, JSArrayBuffer) \
154 v8::internal::Handle<v8::internal::JSArrayBuffer> obj);
181 v8::internal::Handle<v8::internal::JSArrayBuffer> obj);
305 MAKE_TO_LOCAL(ToLocal, JSArrayBuffer, ArrayBuffer) in MAKE_TO_LOCAL()
309 MAKE_TO_LOCAL(ToLocalShared, JSArrayBuffer, SharedArrayBuffer) in MAKE_TO_LOCAL()
Dfactory.h509 Handle<JSArrayBuffer> NewJSArrayBuffer(
521 Handle<JSArrayBuffer> buffer,
531 Handle<JSDataView> NewJSDataView(Handle<JSArrayBuffer> buffer,
Dobjects-body-descriptors-inl.h162 class JSArrayBuffer::BodyDescriptor final : public BodyDescriptorBase {
529 return Op::template apply<JSArrayBuffer::BodyDescriptor>(p1, p2, p3); in BodyDescriptorApply()
/external/v8/src/runtime/
Druntime-typedarray.cc19 CONVERT_ARG_CHECKED(JSArrayBuffer, holder, 0); in RUNTIME_FUNCTION()
27 CONVERT_ARG_HANDLE_CHECKED(JSArrayBuffer, source, 0); in RUNTIME_FUNCTION()
28 CONVERT_ARG_HANDLE_CHECKED(JSArrayBuffer, target, 1); in RUNTIME_FUNCTION()
60 CONVERT_ARG_HANDLE_CHECKED(JSArrayBuffer, array_buffer, 0); in RUNTIME_FUNCTION()
124 Handle<JSArrayBuffer> buffer = Handle<JSArrayBuffer>::cast(maybe_buffer); in RUNTIME_FUNCTION()
153 Handle<JSArrayBuffer> buffer = Handle<JSArrayBuffer>::cast(maybe_buffer); in RUNTIME_FUNCTION()
162 Handle<JSArrayBuffer> buffer = isolate->factory()->NewJSArrayBuffer(); in RUNTIME_FUNCTION()
163 JSArrayBuffer::Setup(buffer, isolate, true, NULL, byte_length, in RUNTIME_FUNCTION()
199 Handle<JSArrayBuffer> buffer = isolate->factory()->NewJSArrayBuffer(); in RUNTIME_FUNCTION()
237 if (!JSArrayBuffer::SetupAllocatingData(buffer, isolate, byte_length, in RUNTIME_FUNCTION()
Druntime-futex.cc32 Handle<JSArrayBuffer> array_buffer = sta->GetBuffer(); in RUNTIME_FUNCTION()
48 Handle<JSArrayBuffer> array_buffer = sta->GetBuffer(); in RUNTIME_FUNCTION()
63 Handle<JSArrayBuffer> array_buffer = sta->GetBuffer(); in RUNTIME_FUNCTION()
Druntime-test.cc751 Handle<JSArrayBuffer> ret = isolate->factory()->NewJSArrayBuffer(); in RUNTIME_FUNCTION()
752 JSArrayBuffer::Setup(ret, isolate, false, buff, data->length()); in RUNTIME_FUNCTION()
762 CONVERT_ARG_HANDLE_CHECKED(JSArrayBuffer, buffer, 0); in RUNTIME_FUNCTION()
763 CONVERT_ARG_HANDLE_CHECKED(JSArrayBuffer, wire_bytes, 1); in RUNTIME_FUNCTION()
Druntime-compiler.cc98 Handle<JSArrayBuffer> memory; in RUNTIME_FUNCTION()
100 memory = args.at<i::JSArrayBuffer>(3); in RUNTIME_FUNCTION()
/external/v8/src/builtins/
Dbuiltins-arraybuffer.cc52 if (!JSArrayBuffer::SetupAllocatingData(Handle<JSArrayBuffer>::cast(result), in BUILTIN()
64 CHECK_RECEIVER(JSArrayBuffer, array_buffer, in BUILTIN()
Dbuiltins-dataview.cc39 Handle<JSArrayBuffer> array_buffer = Handle<JSArrayBuffer>::cast(buffer); in BUILTIN()
173 Handle<JSArrayBuffer> buffer(JSArrayBuffer::cast(data_view->buffer()), in GetViewValue()
260 Handle<JSArrayBuffer> buffer(JSArrayBuffer::cast(data_view->buffer()), in SetViewValue()
Dbuiltins-sharedarraybuffer.cc16 CHECK_RECEIVER(JSArrayBuffer, array_buffer, in BUILTIN()
56 a->IsSetWord32<JSArrayBuffer::IsShared>(a->LoadObjectField( in ValidateSharedTypedArray()
57 array_buffer, JSArrayBuffer::kBitFieldOffset, MachineType::Uint32())); in ValidateSharedTypedArray()
87 a->LoadObjectField(array_buffer, JSArrayBuffer::kBackingStoreOffset); in ValidateSharedTypedArray()
/external/v8/src/asmjs/
Dasm-js.h13 class JSArrayBuffer; variable
24 Handle<JSArrayBuffer> memory,
/external/v8/src/wasm/
Dwasm-objects.h85 DECLARE_ACCESSORS(buffer, JSArrayBuffer);
92 Handle<JSArrayBuffer> buffer,
114 DECLARE_OPTIONAL_ACCESSORS(globals_buffer, JSArrayBuffer);
115 DECLARE_OPTIONAL_ACCESSORS(memory_buffer, JSArrayBuffer);
199 MACRO(OBJECT, JSArrayBuffer, memory) \
Dwasm-module.cc45 byte* raw_buffer_ptr(MaybeHandle<JSArrayBuffer> buffer, int offset) { in raw_buffer_ptr()
73 Handle<JSArrayBuffer> NewArrayBuffer(Isolate* isolate, size_t size) { in NewArrayBuffer()
76 return Handle<JSArrayBuffer>::null(); in NewArrayBuffer()
80 return Handle<JSArrayBuffer>::null(); in NewArrayBuffer()
91 Handle<JSArrayBuffer> buffer = isolate->factory()->NewJSArrayBuffer(); in NewArrayBuffer()
92 JSArrayBuffer::Setup(buffer, isolate, false, memory, static_cast<int>(size)); in NewArrayBuffer()
476 static_cast<Address>(JSArrayBuffer::cast(mem_start)->backing_store()); in ResetCompiledModule()
953 Handle<JSArrayBuffer> memory) in WasmInstanceBuilder()
1049 MaybeHandle<JSArrayBuffer> old_globals; in Build()
1052 Handle<JSArrayBuffer> global_buffer = in Build()
[all …]
Dwasm-module.h262 Handle<JSArrayBuffer> memory);
277 Handle<JSArrayBuffer> mem_buffer; // Handle to array buffer of memory.
278 Handle<JSArrayBuffer> globals_buffer; // Handle to array buffer of globals.
427 MaybeHandle<JSArrayBuffer> GetInstanceMemory(Isolate* isolate,
Dwasm-objects.cc165 Handle<JSArrayBuffer> buffer, in New()
178 DEFINE_ACCESSORS(WasmMemoryObject, buffer, kArrayBuffer, JSArrayBuffer) in DEFINE_ACCESSORS() argument
203 kGlobalsArrayBuffer, JSArrayBuffer) in DEFINE_ACCESSORS()
205 JSArrayBuffer) in DEFINE_ACCESSORS()
Dwasm-js.cc223 i::Handle<i::JSArrayBuffer> memory = i::Handle<i::JSArrayBuffer>::null(); in WebAssemblyInstance()
228 memory = i::Handle<i::JSArrayBuffer>( in WebAssemblyInstance()
367 i::Handle<i::JSArrayBuffer> buffer = in WebAssemblyMemory()
371 i::JSArrayBuffer::SetupAllocatingData(buffer, i_isolate, size); in WebAssemblyMemory()
550 i::MaybeHandle<i::JSArrayBuffer> buffer = in WebAssemblyMemoryGrow()
/external/v8/src/compiler/
Daccess-builder.cc214 JSArrayBuffer::kBackingStoreOffset, in ForJSArrayBufferBackingStore()
224 FieldAccess access = {kTaggedBase, JSArrayBuffer::kBitFieldOffset, in ForJSArrayBufferBitField()

123