/external/v8/src/heap/ |
D | array-buffer-tracker.h | 18 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;
|
D | array-buffer-tracker.cc | 21 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()
|
D | array-buffer-tracker-inl.h | 13 void ArrayBufferTracker::RegisterNew(Heap* heap, JSArrayBuffer* buffer) { in RegisterNew() 35 void ArrayBufferTracker::Unregister(Heap* heap, JSArrayBuffer* buffer) { in Unregister()
|
D | objects-visiting-inl.h | 82 &FlexibleBodyVisitor<StaticVisitor, JSArrayBuffer::BodyDescriptor, in Initialize() 187 &FlexibleBodyVisitor<StaticVisitor, JSArrayBuffer::BodyDescriptor, in Initialize()
|
/external/v8/src/ |
D | futex-emulation.h | 35 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,
|
D | value-serializer.h | 24 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;
|
D | futex-emulation.cc | 76 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()
|
D | value-serializer.cc | 270 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 …]
|
D | api.h | 85 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()
|
D | factory.h | 509 Handle<JSArrayBuffer> NewJSArrayBuffer( 521 Handle<JSArrayBuffer> buffer, 531 Handle<JSDataView> NewJSDataView(Handle<JSArrayBuffer> buffer,
|
D | objects-body-descriptors-inl.h | 162 class JSArrayBuffer::BodyDescriptor final : public BodyDescriptorBase { 529 return Op::template apply<JSArrayBuffer::BodyDescriptor>(p1, p2, p3); in BodyDescriptorApply()
|
/external/v8/src/runtime/ |
D | runtime-typedarray.cc | 19 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()
|
D | runtime-futex.cc | 32 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()
|
D | runtime-test.cc | 751 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()
|
D | runtime-compiler.cc | 98 Handle<JSArrayBuffer> memory; in RUNTIME_FUNCTION() 100 memory = args.at<i::JSArrayBuffer>(3); in RUNTIME_FUNCTION()
|
/external/v8/src/builtins/ |
D | builtins-arraybuffer.cc | 52 if (!JSArrayBuffer::SetupAllocatingData(Handle<JSArrayBuffer>::cast(result), in BUILTIN() 64 CHECK_RECEIVER(JSArrayBuffer, array_buffer, in BUILTIN()
|
D | builtins-dataview.cc | 39 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()
|
D | builtins-sharedarraybuffer.cc | 16 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/ |
D | asm-js.h | 13 class JSArrayBuffer; variable 24 Handle<JSArrayBuffer> memory,
|
/external/v8/src/wasm/ |
D | wasm-objects.h | 85 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) \
|
D | wasm-module.cc | 45 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 …]
|
D | wasm-module.h | 262 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,
|
D | wasm-objects.cc | 165 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()
|
D | wasm-js.cc | 223 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/ |
D | access-builder.cc | 214 JSArrayBuffer::kBackingStoreOffset, in ForJSArrayBufferBackingStore() 224 FieldAccess access = {kTaggedBase, JSArrayBuffer::kBitFieldOffset, in ForJSArrayBufferBitField()
|