Home
last modified time | relevance | path

Searched refs:set_length (Results 1 - 25 of 38) sorted by relevance

12

/third_party/node/deps/v8/src/objects/
H A Djs-array-inl.h27 void JSArray::set_length(Object value, WriteBarrierMode mode) { in set_length() function in v8::internal::JSArray
37 void JSArray::set_length(Smi length) { in set_length() function in v8::internal::JSArray
39 set_length(Object(length.ptr()), SKIP_WRITE_BARRIER); in set_length()
59 array->set_length(Smi::FromInt(storage->length())); in SetContent()
H A Djs-array.h37 void set_length(Object value, ReleaseStoreTag tag,
42 inline void set_length(Smi length);
H A Dtemplates.cc51 result->set_length(info->length()); in GetOrCreateSharedFunctionInfo()
H A Dshared-function-info.cc56 set_length(0); in Init()
243 set_length(other.length()); in CopyFrom()
531 shared_info->set_length(lit->function_length()); in InitFromFunctionLiteral()
H A Dfixed-array.h76 using TorqueGeneratedFixedArrayBase::set_length;
307 using TorqueGeneratedWeakFixedArray::set_length;
H A Djs-array-buffer-inl.h243 void JSTypedArray::set_length(size_t value) { in set_length() function in v8::internal::JSTypedArray
H A Djs-regexp.cc26 indices->set_length(Smi::zero()); in BuildIndices()
H A Dbigint.cc120 inline void set_length(int new_length, ReleaseStoreTag) { in set_length() function in v8::internal::MutableBigInt
332 result.set_length(new_length, kReleaseStore); in Canonicalize()
997 result->set_length(chars_written, kReleaseStore); in ToString()
H A Dobjects.cc4139 raw.set_length(length + 1); in AddToEnd()
4157 raw.set_length(length + 2); in AddToEnd()
4176 raw.set_length(length + 1); in Append()
4208 raw.set_length(index + 1); in Append()
4229 set_length(new_length); in Compact()
4280 set_length(last_index); in RemoveOne()
4298 array->set_length(kFirstIndex + 1); in Add()
4306 array->set_length(length + 1); in Add()
4337 array->set_length(length + 1); in Add()
4379 new_array->set_length(copy_t in Compact()
[all...]
H A Dcontexts.h477 using TorqueGeneratedContext::set_length; // Non-atomic.
H A Dcode.cc828 set_length(len); in IterateAndCompact()
H A Dstring.h224 using TorqueGeneratedString::set_length;
/third_party/node/deps/v8/src/heap/
H A Dfactory-base.cc141 array.set_length(length); in NewFixedArrayWithFiller()
159 array.set_length(length); in NewFixedArrayWithZeroes()
178 array.set_length(length); in NewFixedDoubleArray()
194 array.set_length(length); in NewWeakFixedArrayWithMap()
223 array.set_length(length); in NewByteArray()
245 instance.set_length(length); in NewBytecodeArray()
665 string.set_length(length); in NewRawStringWithMap()
801 result.set_length(length); in NewConsString()
907 answer.set_length(length); in AllocateRawOneByteInternalizedString()
928 answer.set_length(lengt in AllocateRawTwoByteInternalizedString()
[all...]
H A Dsetup-heap-internal.cc64 shared->set_length(len); in CreateSharedFunctionInfo()
258 FixedArray::cast(obj).set_length(0); in CreateInitialMaps()
268 WeakFixedArray::cast(obj).set_length(0); in CreateInitialMaps()
279 WeakArrayList::cast(obj).set_length(0); in CreateInitialMaps()
542 ArrayList::cast(obj).set_length(ArrayList::kFirstIndex); in CreateInitialMaps()
573 FixedArray::cast(obj).set_length(1); in CreateInitialMaps()
616 ByteArray::cast(obj).set_length(0); in CreateInitialMaps()
638 FixedArray::cast(obj).set_length(0); in CreateInitialMaps()
H A Dfactory.cc479 array.set_length(length); in TryNewFixedArray()
509 vector.set_length(length); in NewFeedbackVector()
526 array.set_length(length); in NewEmbedderDataArray()
856 result.set_length(chars); in AllocateInternalizedStringImpl()
909 external_string.set_length(cast_string.length()); in InternalizeExternalString()
1040 slice.set_length(length); in NewProperSubString()
1061 external_string.set_length(static_cast<int>(length)); in NewExternalStringFromOneByte()
1084 string.set_length(static_cast<int>(length)); in NewExternalStringFromTwoByte()
1159 context.set_length(variadic_part_length); in NewContextInternal()
1650 result.set_length(lengt in NewWasmArrayFromElements()
[all...]
/third_party/node/deps/v8/src/init/
H A Dbootstrapper.cc558 fun->shared().set_length(len); in SimpleCreateFunction()
836 object_fun->shared().set_length(1); in CreateObjectFunction()
1453 error_fun->shared().set_length(error_function_length); in InstallError()
1668 function_fun->shared().set_length(1); in InitializeGlobal()
1721 array_function->shared().set_length(1); in InitializeGlobal()
1906 number_fun->shared().set_length(1); in InitializeGlobal()
1991 boolean_fun->shared().set_length(1); in InitializeGlobal()
2018 string_fun->shared().set_length(1); in InitializeGlobal()
2218 symbol_fun->shared().set_length(0); in InitializeGlobal()
2281 date_fun->shared().set_length( in InitializeGlobal()
[all...]
/third_party/node/deps/v8/src/builtins/
H A Dbuiltins-struct.cc72 info->set_length(0); in BUILTIN()
H A Dbuiltins-console.cc247 fun->shared().set_length(1); in InstallContextFunction()
/third_party/node/deps/v8/src/wasm/
H A Dwasm-module.cc373 array_object->set_length(Smi::FromInt(num_imports)); in GetImports()
473 array_object->set_length(Smi::FromInt(num_exports)); in GetExports()
589 array_object->set_length(Smi::FromInt(num_custom_sections)); in GetCustomSections()
H A Dwasm-js.cc2684 function->shared().set_length(length); in InstallFunc()
2728 setter_func->shared().set_length(1); in InstallGetterSetter()
3021 tag_constructor->shared().set_length(1); in InstallConditionalFeatures()
/third_party/python/Lib/multiprocessing/
H A Dpool.py531 for taskseq, set_length in iter(taskqueue.get, None):
548 if set_length:
549 util.debug('doing set_length()')
551 set_length(idx + 1)
/third_party/node/deps/v8/src/strings/
H A Dstring-builder.cc160 target_array->set_length(Smi::FromInt(length_)); in ToJSArray()
/third_party/protobuf/src/google/protobuf/util/internal/
H A Dprotostream_objectwriter_test.cc206 book.set_length(222); in TEST_P()
220 book.set_length(102); in TEST_P()
1969 book.set_length(1234); in TEST_P()
2006 book.set_length(1234); in TEST_P()
H A Dprotostream_objectsource_test.cc441 book->set_length(250); in TEST_P()
/third_party/node/deps/v8/src/json/
H A Djson-parser.cc646 mutable_double_buffer->set_length(0); in BuildJsonObject()

Completed in 89 milliseconds

12