Searched refs:NumberToSize (Results 1 – 10 of 10) sorted by relevance
/external/v8/src/runtime/ |
D | runtime-futex.cc | 28 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()
|
D | runtime-atomics.cc | 377 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 …]
|
D | runtime-typedarray.cc | 35 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 …]
|
D | runtime-simd.cc | 916 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/ |
D | futex-emulation.cc | 78 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()
|
D | conversions.h | 185 inline size_t NumberToSize(Isolate* isolate, Object* number);
|
D | conversions-inl.h | 155 size_t NumberToSize(Isolate* isolate, Object* number) { in NumberToSize() function
|
D | api.cc | 6641 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/ |
D | array-buffer-tracker.cc | 43 size_t length = NumberToSize(heap()->isolate(), buffer->byte_length()); in RegisterNew()
|
/external/v8/src/profiler/ |
D | heap-snapshot-generator.cc | 1567 size_t data_size = NumberToSize(heap_->isolate(), buffer->byte_length()); in ExtractJSArrayBufferReferences()
|