Home
last modified time | relevance | path

Searched refs:NumberToSize (Results 1 – 10 of 10) sorted by relevance

/external/v8/src/runtime/
Druntime-futex.cc28 RUNTIME_ASSERT(index < NumberToSize(isolate, sta->length())); in RUNTIME_FUNCTION()
33 size_t addr = (index << 2) + NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
46 RUNTIME_ASSERT(index < NumberToSize(isolate, sta->length())); in RUNTIME_FUNCTION()
50 size_t addr = (index << 2) + NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
65 RUNTIME_ASSERT(index1 < NumberToSize(isolate, sta->length())); in RUNTIME_FUNCTION()
66 RUNTIME_ASSERT(index2 < NumberToSize(isolate, sta->length())); in RUNTIME_FUNCTION()
70 size_t addr1 = (index1 << 2) + NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
71 size_t addr2 = (index2 << 2) + NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
84 RUNTIME_ASSERT(index < NumberToSize(isolate, sta->length())); in RUNTIME_FUNCTION()
88 size_t addr = (index << 2) + NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
Druntime-atomics.cc377 RUNTIME_ASSERT(index < NumberToSize(isolate, sta->length())); in RUNTIME_FUNCTION()
380 NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
409 RUNTIME_ASSERT(index < NumberToSize(isolate, sta->length())); in RUNTIME_FUNCTION()
412 NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
441 RUNTIME_ASSERT(index < NumberToSize(isolate, sta->length())); in RUNTIME_FUNCTION()
444 NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
473 RUNTIME_ASSERT(index < NumberToSize(isolate, sta->length())); in RUNTIME_FUNCTION()
476 NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
505 RUNTIME_ASSERT(index < NumberToSize(isolate, sta->length())); in RUNTIME_FUNCTION()
508 NumberToSize(isolate, sta->byte_offset()); in RUNTIME_FUNCTION()
[all …]
Druntime-typedarray.cc35 RUNTIME_ASSERT(NumberToSize(isolate, target->byte_length()) >= target_length); in RUNTIME_FUNCTION()
39 size_t source_byte_length = NumberToSize(isolate, source->byte_length()); in RUNTIME_FUNCTION()
61 size_t byte_length = NumberToSize(isolate, array_buffer->byte_length()); in RUNTIME_FUNCTION()
118 NumberToSize(isolate, buffer->byte_length()); in RUNTIME_FUNCTION()
257 NumberToSize(isolate, typed_array->byte_offset()); in RUNTIME_FUNCTION()
327 size_t target_byte_length = NumberToSize(isolate, target->byte_length()); in RUNTIME_FUNCTION()
328 size_t source_byte_length = NumberToSize(isolate, source->byte_length()); in RUNTIME_FUNCTION()
335 size_t target_offset = NumberToSize(isolate, target->byte_offset()); in RUNTIME_FUNCTION()
336 size_t source_offset = NumberToSize(isolate, source->byte_offset()); in RUNTIME_FUNCTION()
491 NumberToSize(isolate, data_view->byte_offset()); in DataViewGetValue()
[all …]
Druntime-simd.cc916 size_t byte_length = NumberToSize(isolate, tarray->byte_length()); \
918 size_t tarray_offset = NumberToSize(isolate, tarray->byte_offset()); \
935 size_t byte_length = NumberToSize(isolate, tarray->byte_length()); \
937 size_t tarray_offset = NumberToSize(isolate, tarray->byte_offset()); \
/external/v8/src/
Dfutex-emulation.cc78 DCHECK(addr < NumberToSize(isolate, array_buffer->byte_length())); in Wait()
194 DCHECK(addr < NumberToSize(isolate, array_buffer->byte_length())); in Wake()
220 DCHECK(addr < NumberToSize(isolate, array_buffer->byte_length())); in WakeOrRequeue()
221 DCHECK(addr2 < NumberToSize(isolate, array_buffer->byte_length())); in WakeOrRequeue()
257 DCHECK(addr < NumberToSize(isolate, array_buffer->byte_length())); in NumWaitersForTesting()
Dconversions.h185 inline size_t NumberToSize(Isolate* isolate, Object* number);
Dconversions-inl.h155 size_t NumberToSize(Isolate* isolate, Object* number) { in NumberToSize() function
Dapi.cc6641 size_t byte_offset = i::NumberToSize(isolate, self->byte_offset()); in CopyContents()
6643 i::Min(byte_length, i::NumberToSize(isolate, self->byte_length())); in CopyContents()
/external/v8/src/heap/
Darray-buffer-tracker.cc43 size_t length = NumberToSize(heap()->isolate(), buffer->byte_length()); in RegisterNew()
/external/v8/src/profiler/
Dheap-snapshot-generator.cc1567 size_t data_size = NumberToSize(heap_->isolate(), buffer->byte_length()); in ExtractJSArrayBufferReferences()