Lines Matching refs:byte_length
768 isolate, phantom_array_buffer->byte_length()); in FreeArrayBuffer()
794 Handle<Object> byte_length = in SetupArrayBuffer() local
796 CHECK(byte_length->IsSmi() || byte_length->IsHeapNumber()); in SetupArrayBuffer()
797 array_buffer->set_byte_length(*byte_length); in SetupArrayBuffer()
856 if (!holder->byte_length()->IsUndefined()) { in RUNTIME_FUNCTION()
880 return holder->byte_length(); in RUNTIME_FUNCTION()
893 size_t target_length = NumberToSize(isolate, target->byte_length()); in RUNTIME_FUNCTION()
897 size_t source_byte_length = NumberToSize(isolate, source->byte_length()); in RUNTIME_FUNCTION()
920 CHECK(Smi::FromInt(0) == array_buffer->byte_length()); in RUNTIME_FUNCTION()
925 size_t byte_length = NumberToSize(isolate, array_buffer->byte_length()); in RUNTIME_FUNCTION() local
928 V8::ArrayBufferAllocator()->Free(backing_store, byte_length); in RUNTIME_FUNCTION()
982 size_t byte_length = 0; in RUNTIME_FUNCTION() local
984 RUNTIME_ASSERT(TryNumberToSize(isolate, *byte_length_object, &byte_length)); in RUNTIME_FUNCTION()
989 NumberToSize(isolate, buffer->byte_length()); in RUNTIME_FUNCTION()
991 RUNTIME_ASSERT(array_buffer_byte_length - byte_offset >= byte_length); in RUNTIME_FUNCTION()
996 RUNTIME_ASSERT(byte_length % element_size == 0); in RUNTIME_FUNCTION()
997 size_t length = byte_length / element_size; in RUNTIME_FUNCTION()
1086 size_t byte_length = length * element_size; in RUNTIME_FUNCTION() local
1111 isolate, buffer, byte_length, false)) { in RUNTIME_FUNCTION()
1120 isolate->factory()->NewNumberFromSize(byte_length)); in RUNTIME_FUNCTION()
1146 byte_length); in RUNTIME_FUNCTION()
1163 BUFFER_VIEW_GETTER(ArrayBufferView, ByteLength, byte_length) in BUFFER_VIEW_GETTER() argument
1215 size_t target_byte_length = NumberToSize(isolate, target->byte_length()); in RUNTIME_FUNCTION()
1216 size_t source_byte_length = NumberToSize(isolate, source->byte_length()); in RUNTIME_FUNCTION()
1270 CONVERT_NUMBER_ARG_HANDLE_CHECKED(byte_length, 3); in RUNTIME_FUNCTION()
1281 TryNumberToSize(isolate, buffer->byte_length(), &buffer_length)); in RUNTIME_FUNCTION()
1283 RUNTIME_ASSERT(TryNumberToSize(isolate, *byte_length, &length)); in RUNTIME_FUNCTION()
1294 holder->set_byte_length(*byte_length); in RUNTIME_FUNCTION()
1345 NumberToSize(isolate, data_view->byte_length()); in DataViewGetValue()
1359 NumberToSize(isolate, buffer->byte_length()) in DataViewGetValue()
1389 NumberToSize(isolate, data_view->byte_length()); in DataViewSetValue()
1404 NumberToSize(isolate, buffer->byte_length()) in DataViewSetValue()