Home
last modified time | relevance | path

Searched refs:set_length (Results 1 – 25 of 26) sorted by relevance

12

/external/v8/src/
Dbootstrapper.cc419 fun->shared()->set_length(len); in SimpleCreateFunction()
1035 error_fun->shared()->set_length(1); in InstallError()
1228 function_fun->shared()->set_length(1); in InitializeGlobal()
1244 bind_function->shared()->set_length(1); in InitializeGlobal()
1267 has_instance->shared()->set_length(1); in InitializeGlobal()
1287 array_function->shared()->set_length(1); in InitializeGlobal()
1346 next->shared()->set_length(0); in InitializeGlobal()
1421 number_fun->shared()->set_length(1); in InitializeGlobal()
1483 boolean_fun->shared()->set_length(1); in InitializeGlobal()
1511 string_fun->shared()->set_length(1); in InitializeGlobal()
[all …]
Dfactory.cc652 result->set_length(length); in NewConsString()
729 slice->set_length(length); in NewProperSubString()
752 external_string->set_length(static_cast<int>(length)); in NewExternalStringFromOneByte()
783 external_string->set_length(static_cast<int>(length)); in NewExternalStringFromTwoByte()
798 external_string->set_length(static_cast<int>(length)); in NewNativeSourceString()
1765 array->set_length(Smi::FromInt(length)); in NewJSArrayWithElements()
1778 array->set_length(Smi::kZero); in NewJSArrayStorage()
1804 array->set_length(Smi::FromInt(length)); in NewJSArrayStorage()
2073 obj->set_length(*length_object); in NewJSTypedArray()
2108 obj->set_length(*length_object); in NewJSTypedArray()
[all …]
Dstring-builder.h179 target_array->set_length(Smi::FromInt(length_)); in ToJSArray()
Delements.cc775 array->set_length(Smi::FromInt(length)); in SetLengthImpl()
1341 array->set_length(*length_obj); in SetLengthImpl()
2035 receiver->set_length(Smi::kZero); in SpliceImpl()
2063 receiver->set_length(Smi::FromInt(new_length)); in SpliceImpl()
2372 receiver->set_length(Smi::FromInt(new_length)); in AddArguments()
3754 array->set_length(Smi::FromInt(number_of_elements)); in ArrayConstructInitializeElements()
Djson-stringifier.cc270 stack_->set_length(Smi::FromInt(length - 1)); in StackPop()
Dobjects.h2809 inline void set_length(int value);
7470 inline void set_length(int value);
9707 inline void set_length(int value);
11194 inline void set_length(Smi* length);
11559 inline void set_length(int value);
Ddeoptimizer.cc3734 object->set_length(*length); in MaterializeAt()
3779 object->set_length(Smi::cast(*length)->value()); in MaterializeAt()
Dobjects-inl.h7067 void JSTypedArray::set_length(Object* value, WriteBarrierMode mode) { in set_length() function
8125 void JSArray::set_length(Smi* length) { in set_length() function
8127 set_length(static_cast<Object*>(length), SKIP_WRITE_BARRIER); in set_length()
8159 array->set_length(Smi::FromInt(storage->length())); in SetContent()
Disolate.cc789 stack_trace->set_length(Smi::FromInt(frames_seen)); in CaptureCurrentStackTrace()
Dapi.cc1207 obj->set_length(length); in FunctionTemplateNew()
1383 info->set_length(length); in SetLength()
6876 obj->set_length(*length_obj); in New()
/external/v8/src/runtime/
Druntime-function.cc136 fun->shared()->set_length(length); in RUNTIME_FUNCTION()
192 target_shared->set_length(source_shared->length()); in RUNTIME_FUNCTION()
Druntime-typedarray.cc148 holder->set_length(*length_obj); in RUNTIME_FUNCTION()
249 holder->set_length(*length_obj); in RUNTIME_FUNCTION()
Druntime-array.cc152 to->set_length(from->length()); in RUNTIME_FUNCTION()
155 from->set_length(Smi::kZero); in RUNTIME_FUNCTION()
Druntime-literals.cc180 object->set_length(Smi::FromInt(copied_elements_values->length())); in CreateArrayLiteralBoilerplate()
Druntime-i18n.cc253 result->set_length(Smi::FromInt(length)); in RUNTIME_FUNCTION()
Druntime-regexp.cc640 answer->set_length(position); in StringReplaceGlobalRegExpWithEmptyString()
/external/v8/src/heap/
Dheap.cc2512 array->set_length(capacity); in AllocateTransitionArray()
3015 ByteArray::cast(result)->set_length(length); in AllocateByteArray()
3040 instance->set_length(length); in AllocateBytecodeArray()
3273 elements->set_length(length); in AllocateFixedTypedArrayWithExternalPointer()
3320 elements->set_length(length); in AllocateFixedTypedArray()
3400 copy->set_length(bytecode_array->length()); in CopyBytecodeArray()
3674 answer->set_length(chars); in AllocateInternalizedStringImpl()
3715 String::cast(result)->set_length(length); in AllocateRawOneByteString()
3739 String::cast(result)->set_length(length); in AllocateRawTwoByteString()
3755 FixedArray::cast(result)->set_length(0); in AllocateEmptyFixedArray()
[all …]
Dheap-inl.h242 answer->set_length(str.length()); in AllocateOneByteInternalizedString()
272 answer->set_length(str.length()); in AllocateTwoByteInternalizedString()
/external/v8/src/wasm/
Dwasm-objects.cc283 shared->set_length(arity); in New()
Dwasm-module.cc1139 deopt_data->set_length(2); in Build()
/external/protobuf/src/google/protobuf/util/internal/
Dprotostream_objectwriter_test.cc205 book.set_length(222); in TEST_P()
219 book.set_length(102); in TEST_P()
Dprotostream_objectsource_test.cc426 book->set_length(250); in TEST_P()
/external/v8/src/debug/
Dliveedit.cc1735 result->set_length(Smi::FromInt(len)); in CheckAndDropActivations()
Ddebug.cc615 result->set_length(Smi::FromInt(break_points_hit_count)); in CheckBreakPoints()
/external/v8/src/builtins/
Dbuiltins-array.cc502 array->set_length(*length); in ToArray()

12