Home
last modified time | relevance | path

Searched refs:byte_length (Results 1 – 24 of 24) sorted by relevance

/external/v8/src/
Darraybuffer.js40 var byte_length = %_ArrayBufferGetByteLength(this);
42 first = MathMax(byte_length + relativeStart, 0);
44 first = MathMin(relativeStart, byte_length);
46 var relativeEnd = IS_UNDEFINED(end) ? byte_length : end;
49 fin = MathMax(byte_length + relativeEnd, 0);
51 fin = MathMin(relativeEnd, byte_length);
Dregexp-macro-assembler.cc112 int byte_length = char_length << char_size_shift; in Match() local
113 const byte* input_end = input_start + byte_length; in Match()
207 size_t byte_length, in CaseInsensitiveCompareUC16() argument
214 DCHECK(byte_length % 2 == 0); in CaseInsensitiveCompareUC16()
217 size_t length = byte_length >> 1; in CaseInsensitiveCompareUC16()
Dobjects-debug.cc804 VerifyPointer(byte_length()); in JSArrayBufferVerify()
805 CHECK(byte_length()->IsSmi() || byte_length()->IsHeapNumber() in JSArrayBufferVerify()
806 || byte_length()->IsUndefined()); in JSArrayBufferVerify()
821 VerifyPointer(byte_length()); in JSArrayBufferViewVerify()
822 CHECK(byte_length()->IsSmi() || byte_length()->IsHeapNumber() in JSArrayBufferViewVerify()
823 || byte_length()->IsUndefined()); in JSArrayBufferViewVerify()
Dregexp-macro-assembler.h202 size_t byte_length,
Dobjects-printer.cc746 os << " - byte_length = " << Brief(byte_length()); in JSArrayBufferPrint()
756 os << "\n - byte_length = " << Brief(byte_length()); in JSTypedArrayPrint()
768 os << "\n - byte_length = " << Brief(byte_length()); in JSDataViewPrint()
Druntime.cc768 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
[all …]
Dapi.cc5984 size_t byte_length = static_cast<size_t>(obj->byte_length()->Number()); in Externalize() local
5987 contents.byte_length_ = byte_length; in Externalize()
6006 return static_cast<size_t>(obj->byte_length()->Number()); in ByteLength()
6010 Local<ArrayBuffer> v8::ArrayBuffer::New(Isolate* isolate, size_t byte_length) { in New() argument
6016 i::Runtime::SetupArrayBufferAllocatingData(i_isolate, obj, byte_length); in New()
6022 size_t byte_length) { in New() argument
6028 i::Runtime::SetupArrayBuffer(i_isolate, obj, true, data, byte_length); in New()
6056 return static_cast<size_t>(obj->byte_length()->Number()); in ByteLength()
6071 size_t byte_length) { in SetupArrayBufferView() argument
6072 DCHECK(byte_offset + byte_length <= in SetupArrayBufferView()
[all …]
Dd8.cc1104 size_t byte_length = data.GetValue()->ByteLength(); in ReadBufferWeakCallback() local
1106 -static_cast<intptr_t>(byte_length)); in ReadBufferWeakCallback()
Dhydrogen.cc9405 HValue* byte_length) { in BuildArrayBufferViewInitialization() argument
9422 byte_length); in BuildArrayBufferViewInitialization()
9463 HValue* byte_length = Pop(); in GenerateDataViewInitialize() local
9468 obj, buffer, byte_offset, byte_length); in GenerateDataViewInitialize()
9540 HValue* byte_length, HValue* length) { in BuildAllocateFixedTypedArray() argument
9549 byte_length, FixedTypedArrayBase::kHeaderSize); in BuildAllocateFixedTypedArray()
9551 total_size = AddUncasted<HAdd>(byte_length, in BuildAllocateFixedTypedArray()
9642 HValue* byte_length = Pop(); in GenerateTypedArrayInitialize() local
9668 obj, buffer, byte_offset, byte_length); in GenerateTypedArrayInitialize()
9671 HInstruction* length = AddUncasted<HDiv>(byte_length, in GenerateTypedArrayInitialize()
[all …]
Dhydrogen.h1912 HValue* byte_length);
2410 HValue* byte_length, HValue* length);
Dheap-snapshot-generator.cc1584 size_t data_size = NumberToSize(heap_->isolate(), buffer->byte_length()); in ExtractJSArrayBufferReferences()
Dobjects-inl.h6231 ACCESSORS(JSArrayBuffer, byte_length, Object, kByteLengthOffset) in ACCESSORS() argument
6261 ACCESSORS(JSArrayBufferView, byte_length, Object, kByteLengthOffset) in ACCESSORS()
Dobjects.h9848 DECL_ACCESSORS(byte_length, Object)
9902 DECL_ACCESSORS(byte_length, Object)
/external/tcpdump/
Dprint-eigrp.c219 u_int tlen,eigrp_tlv_len,eigrp_tlv_type,tlv_tlen, byte_length, bit_length; in eigrp_print() local
332 byte_length = (bit_length + 7) / 8; /* variable length encoding */ in eigrp_print()
334 memcpy(prefix,&tlv_ptr.eigrp_tlv_ip_int->destination,byte_length); in eigrp_print()
361 byte_length = (bit_length + 7) / 8; /* variable length encoding */ in eigrp_print()
363 memcpy(prefix,&tlv_ptr.eigrp_tlv_ip_ext->destination,byte_length); in eigrp_print()
Dprint-isoclns.c1970 u_int metric, status_byte, bit_length, byte_length, sublen, processed, subtlvtype, subtlvlen; in isis_print_extd_ip_reach() local
2007 byte_length = (bit_length + 7) / 8; /* prefix has variable length encoding */ in isis_print_extd_ip_reach()
2009 if (!TTEST2(*tptr, byte_length)) in isis_print_extd_ip_reach()
2012 memcpy(prefix,tptr,byte_length); /* copy as much as is stored in the TLV */ in isis_print_extd_ip_reach()
2013 tptr+=byte_length; in isis_print_extd_ip_reach()
2014 processed+=byte_length; in isis_print_extd_ip_reach()
/external/v8/src/ia32/
Dregexp-macro-assembler-ia32.cc1160 int byte_length = static_cast<int>(end_address - start_address); in CheckStackGuardState() local
1163 frame_entry<const byte*>(re_frame, kInputEnd) = new_address + byte_length; in CheckStackGuardState()
/external/v8/src/mips/
Dregexp-macro-assembler-mips.cc1187 int byte_length = static_cast<int>(end_address - start_address); in CheckStackGuardState() local
1190 frame_entry<const byte*>(re_frame, kInputEnd) = new_address + byte_length; in CheckStackGuardState()
/external/v8/src/x87/
Dregexp-macro-assembler-x87.cc1159 int byte_length = static_cast<int>(end_address - start_address); in CheckStackGuardState() local
1162 frame_entry<const byte*>(re_frame, kInputEnd) = new_address + byte_length; in CheckStackGuardState()
/external/v8/src/x64/
Dregexp-macro-assembler-x64.cc1266 int byte_length = static_cast<int>(end_address - start_address); in CheckStackGuardState() local
1269 frame_entry<const byte*>(re_frame, kInputEnd) = new_address + byte_length; in CheckStackGuardState()
/external/v8/src/mips64/
Dregexp-macro-assembler-mips64.cc1233 int byte_length = static_cast<int>(end_address - start_address); in CheckStackGuardState() local
1236 frame_entry<const byte*>(re_frame, kInputEnd) = new_address + byte_length; in CheckStackGuardState()
/external/v8/src/arm/
Dregexp-macro-assembler-arm.cc1128 int byte_length = static_cast<int>(end_address - start_address); in CheckStackGuardState() local
1131 frame_entry<const byte*>(re_frame, kInputEnd) = new_address + byte_length; in CheckStackGuardState()
/external/v8/src/arm64/
Dregexp-macro-assembler-arm64.cc1375 int byte_length = static_cast<int>(end_address - start_address); in CheckStackGuardState() local
1378 *input_end = new_address + byte_length; in CheckStackGuardState()
/external/google-breakpad/src/processor/
Dminidump.cc335 size_t byte_length = word_length * sizeof(utf16_data[0]); in ConvertUTF16BufferToUTF8String() local
337 memcpy(&utf16_vector[0], &utf16_data[0], byte_length); in ConvertUTF16BufferToUTF8String()
/external/v8/include/
Dv8.h2905 static Local<ArrayBuffer> New(Isolate* isolate, size_t byte_length);
2914 size_t byte_length);