/external/v8/src/runtime/ |
H A D | runtime-futex.cc | 32 Handle<JSArrayBuffer> array_buffer = sta->GetBuffer(); local 35 return FutexEmulation::Wait(isolate, array_buffer, addr, value, timeout); 49 Handle<JSArrayBuffer> array_buffer = sta->GetBuffer(); local 52 return FutexEmulation::Wake(isolate, array_buffer, addr, count); 69 Handle<JSArrayBuffer> array_buffer = sta->GetBuffer(); local 73 return FutexEmulation::WakeOrRequeue(isolate, array_buffer, addr1, count, 87 Handle<JSArrayBuffer> array_buffer = sta->GetBuffer(); local 90 return FutexEmulation::NumWaitersForTesting(isolate, array_buffer, addr);
|
H A D | runtime-typedarray.cc | 60 CONVERT_ARG_HANDLE_CHECKED(JSArrayBuffer, array_buffer, 0); 61 if (array_buffer->backing_store() == NULL) { 62 CHECK(Smi::FromInt(0) == array_buffer->byte_length()); 66 CHECK(!array_buffer->is_shared()); 67 DCHECK(!array_buffer->is_external()); 68 void* backing_store = array_buffer->backing_store(); 69 size_t byte_length = NumberToSize(isolate, array_buffer->byte_length()); 70 array_buffer->set_is_external(true); 71 isolate->heap()->UnregisterArrayBuffer(*array_buffer); 72 array_buffer [all...] |
/external/v8/src/ |
H A D | futex-emulation.cc | 76 Handle<JSArrayBuffer> array_buffer, size_t addr, 78 DCHECK(addr < NumberToSize(isolate, array_buffer->byte_length())); 80 void* backing_store = array_buffer->backing_store(); 192 Handle<JSArrayBuffer> array_buffer, size_t addr, 194 DCHECK(addr < NumberToSize(isolate, array_buffer->byte_length())); 197 void* backing_store = array_buffer->backing_store(); 217 Handle<JSArrayBuffer> array_buffer, 220 DCHECK(addr < NumberToSize(isolate, array_buffer->byte_length())); 221 DCHECK(addr2 < NumberToSize(isolate, array_buffer->byte_length())); 223 void* backing_store = array_buffer 75 Wait(Isolate* isolate, Handle<JSArrayBuffer> array_buffer, size_t addr, int32_t value, double rel_timeout_ms) argument 191 Wake(Isolate* isolate, Handle<JSArrayBuffer> array_buffer, size_t addr, int num_waiters_to_wake) argument 216 WakeOrRequeue(Isolate* isolate, Handle<JSArrayBuffer> array_buffer, size_t addr, int num_waiters_to_wake, int32_t value, size_t addr2) argument 254 NumWaitersForTesting(Isolate* isolate, Handle<JSArrayBuffer> array_buffer, size_t addr) argument [all...] |
H A D | futex-emulation.h | 91 // Check that array_buffer[addr] == value, and return kNotEqual if not. If 97 static Object* Wait(Isolate* isolate, Handle<JSArrayBuffer> array_buffer, 103 static Object* Wake(Isolate* isolate, Handle<JSArrayBuffer> array_buffer, 106 // Check that array_buffer[addr] == value, and return kNotEqual if not. If 112 Handle<JSArrayBuffer> array_buffer, size_t addr, 119 Handle<JSArrayBuffer> array_buffer,
|
H A D | d8.cc | 2145 Local<ArrayBuffer> array_buffer = Local<ArrayBuffer>::Cast(value); 2146 if (FindInObjectList(array_buffer, *seen_objects)) { 2150 seen_objects->Add(array_buffer); 2151 if (FindInObjectList(array_buffer, to_transfer)) { 2153 if (!array_buffer->IsNeuterable()) { 2158 ArrayBuffer::Contents contents = array_buffer->IsExternal() 2159 ? array_buffer->GetContents() 2160 : array_buffer->Externalize(); 2161 array_buffer->Neuter(); 2164 ArrayBuffer::Contents contents = array_buffer [all...] |
H A D | builtins.cc | 3088 Handle<JSArrayBuffer> array_buffer = Handle<JSArrayBuffer>::cast(buffer); local 3118 double const buffer_byte_length = array_buffer->byte_length()->Number(); 3157 Handle<JSDataView>::cast(result)->set_buffer(*array_buffer); 5984 Node* array_buffer = a->LoadObjectField(tagged, JSTypedArray::kBufferOffset); local 5986 a->LoadObjectField(array_buffer, JSArrayBuffer::kBitFieldSlot)); 6016 a->LoadObjectField(array_buffer, JSArrayBuffer::kBackingStoreOffset);
|
H A D | objects.cc | 18689 void JSArrayBuffer::Setup(Handle<JSArrayBuffer> array_buffer, Isolate* isolate, argument 18692 DCHECK(array_buffer->GetInternalFieldCount() == 18695 array_buffer->SetInternalField(i, Smi::FromInt(0)); 18697 array_buffer->set_bit_field(0); 18698 array_buffer->set_is_external(is_external); 18699 array_buffer->set_is_neuterable(shared == SharedFlag::kNotShared); 18700 array_buffer->set_is_shared(shared == SharedFlag::kShared); 18705 array_buffer->set_byte_length(*byte_length); 18710 array_buffer->set_backing_store(data); 18713 isolate->heap()->RegisterNewArrayBuffer(*array_buffer); 18718 SetupAllocatingData(Handle<JSArrayBuffer> array_buffer, Isolate* isolate, size_t allocated_length, bool initialize, SharedFlag shared) argument [all...] |
H A D | api.cc | 6876 Local<Type##Array> Type##Array::New(Local<ArrayBuffer> array_buffer, \ 6878 i::Isolate* isolate = Utils::OpenHandle(*array_buffer)->GetIsolate(); \ 6887 i::Handle<i::JSArrayBuffer> buffer = Utils::OpenHandle(*array_buffer); \ 6917 Local<DataView> DataView::New(Local<ArrayBuffer> array_buffer, argument 6919 i::Handle<i::JSArrayBuffer> buffer = Utils::OpenHandle(*array_buffer);
|
H A D | objects.h | 10079 static void Setup(Handle<JSArrayBuffer> array_buffer, Isolate* isolate, 10083 static bool SetupAllocatingData(Handle<JSArrayBuffer> array_buffer,
|
/external/v8/include/ |
H A D | v8.h | 3698 static Local<Uint8Array> New(Local<ArrayBuffer> array_buffer, 3716 static Local<Uint8ClampedArray> New(Local<ArrayBuffer> array_buffer, 3734 static Local<Int8Array> New(Local<ArrayBuffer> array_buffer, 3752 static Local<Uint16Array> New(Local<ArrayBuffer> array_buffer, 3770 static Local<Int16Array> New(Local<ArrayBuffer> array_buffer, 3788 static Local<Uint32Array> New(Local<ArrayBuffer> array_buffer, 3806 static Local<Int32Array> New(Local<ArrayBuffer> array_buffer, 3824 static Local<Float32Array> New(Local<ArrayBuffer> array_buffer, 3842 static Local<Float64Array> New(Local<ArrayBuffer> array_buffer, 3860 static Local<DataView> New(Local<ArrayBuffer> array_buffer, [all...] |