Home
last modified time | relevance | path

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

12

/external/v8/test/mjsunit/regress/
Dregress-crbug-350890.js7 function set_length(a, l) { function
14 set_length(a, 3);
15 set_length(a, 3);
21 set_length(a, 10);
22 set_length(a, 10);
24 set_length(a, 3);
25 set_length(a, 3);
33 set_length([], 10);
34 set_length([], 10);
35 set_length(a, 10);
[all …]
Dregress-builtinbust-3.js7 function set_length() { real_length = "boom"; } function
10 Object.defineProperty(o, "length", { set:set_length, get:get_length })
/external/dbus/dbus/
Ddbus-string.c376 set_length (DBusRealString *real, in set_length() function
406 if (!set_length (dest, dest->len + len)) in open_gap()
747 return set_length (real, in _dbus_string_lengthen()
765 set_length (real, in _dbus_string_shorten()
786 return set_length (real, length); in _dbus_string_set_length()
1159 if (!set_length (real, real->len + 1)) in _dbus_string_append_byte()
/external/v8/src/runtime/
Druntime-function.cc118 fun->shared()->set_length(length); in RUNTIME_FUNCTION()
170 target_shared->set_length(source_shared->length()); in RUNTIME_FUNCTION()
Druntime-array.cc142 to->set_length(from->length()); in RUNTIME_FUNCTION()
145 from->set_length(Smi::FromInt(0)); in RUNTIME_FUNCTION()
Druntime-regexp.cc632 answer->set_length(position); in StringReplaceGlobalRegExpWithEmptyString()
739 result->set_length(Smi::FromInt(part_count)); in RUNTIME_FUNCTION()
820 array->set_length(Smi::FromInt(size)); in RUNTIME_FUNCTION()
Druntime-typedarray.cc141 holder->set_length(*length_obj); in RUNTIME_FUNCTION()
242 holder->set_length(*length_obj); in RUNTIME_FUNCTION()
Druntime-literals.cc208 object->set_length(Smi::FromInt(copied_elements_values->length())); in CreateArrayLiteralBoilerplate()
Druntime-i18n.cc224 result->set_length(Smi::FromInt(length)); in RUNTIME_FUNCTION()
Druntime-strings.cc383 result->set_length(Smi::FromInt(matches)); in RUNTIME_FUNCTION()
/external/v8/src/
Dbootstrapper.cc1026 fun->shared()->set_length(len); in SimpleCreateFunction()
1129 function_fun->shared()->set_length(1); in InitializeGlobal()
1162 array_function->shared()->set_length(1); in InitializeGlobal()
1210 number_fun->shared()->set_length(1); in InitializeGlobal()
1231 string_fun->shared()->set_length(1); in InitializeGlobal()
1258 symbol_fun->shared()->set_length(1); in InitializeGlobal()
1274 date_fun->shared()->set_length(7); in InitializeGlobal()
1391 to_primitive->shared()->set_length(1); in InitializeGlobal()
2034 apply->shared()->set_length(3); in ExportFromRuntime()
2043 construct->shared()->set_length(2); in ExportFromRuntime()
[all …]
Dfactory.cc595 result->set_length(length); in NewConsString()
659 slice->set_length(length); in NewProperSubString()
682 external_string->set_length(static_cast<int>(length)); in NewExternalStringFromOneByte()
713 external_string->set_length(static_cast<int>(length)); in NewExternalStringFromTwoByte()
1631 array->set_length(Smi::FromInt(length)); in NewJSArrayWithElements()
1644 array->set_length(Smi::FromInt(0)); in NewJSArrayStorage()
1670 array->set_length(Smi::FromInt(length)); in NewJSArrayStorage()
1904 obj->set_length(*length_object); in NewJSTypedArray()
1934 obj->set_length(*length_object); in NewJSTypedArray()
2005 result->set_length(Smi::FromInt(0)); in NewJSBoundFunction()
[all …]
Delements.cc725 array->set_length(Smi::FromInt(length)); in SetLengthImpl()
1027 array->set_length(*length_obj); in SetLengthImpl()
1392 receiver->set_length(Smi::FromInt(0)); in SpliceImpl()
1422 receiver->set_length(Smi::FromInt(new_length)); in SpliceImpl()
1531 receiver->set_length(Smi::FromInt(new_length)); in AddArguments()
2333 array->set_length(Smi::FromInt(number_of_elements)); in ArrayConstructInitializeElements()
Dstring-builder.h179 target_array->set_length(Smi::FromInt(length_)); in ToJSArray()
Djson-stringifier.h292 stack_->set_length(Smi::FromInt(length - 1)); in StackPop()
Dapi-natives.cc494 result->shared()->set_length(obj->length()); in CreateApiFunction()
Disolate.cc416 result->set_length(Smi::FromInt(cursor)); in CaptureSimpleStackTrace()
638 stack_trace->set_length(Smi::FromInt(frames_seen)); in GetDetailedFromSimpleStackTrace()
674 stack_trace->set_length(Smi::FromInt(frames_seen)); in CaptureCurrentStackTrace()
Dbuiltins.cc701 array->set_length(*length); in ToArray()
1343 array->set_length(length); in Slow_ArrayConcat()
3202 function->set_length(*length); in BUILTIN()
Dobjects.h2575 inline void set_length(int value);
6559 inline void set_length(int value);
8691 inline void set_length(int value);
10108 inline void set_length(Smi* length);
10458 inline void set_length(int value);
Dobjects-inl.h6580 void JSTypedArray::set_length(Object* value, WriteBarrierMode mode) { in set_length() function
7530 void JSArray::set_length(Smi* length) { in set_length() function
7532 set_length(static_cast<Object*>(length), SKIP_WRITE_BARRIER); in set_length()
7564 array->set_length(Smi::FromInt(storage->length())); in SetContent()
Dapi.cc1024 obj->set_length(length); in FunctionTemplateNew()
1165 info->set_length(length); in SetLength()
6138 obj->set_length(*length_obj); in New()
/external/v8/src/heap/
Dheap.cc2548 array->set_length(capacity); in AllocateTransitionArray()
3030 ByteArray::cast(result)->set_length(length); in AllocateByteArray()
3055 instance->set_length(length); in AllocateBytecodeArray()
3257 elements->set_length(length); in AllocateFixedTypedArrayWithExternalPointer()
3304 elements->set_length(length); in AllocateFixedTypedArray()
3677 answer->set_length(chars); in AllocateInternalizedStringImpl()
3718 String::cast(result)->set_length(length); in AllocateRawOneByteString()
3742 String::cast(result)->set_length(length); in AllocateRawTwoByteString()
3758 FixedArray::cast(result)->set_length(0); in AllocateEmptyFixedArray()
3776 result->set_length(len); in CopyAndTenureFixedCOWArray()
[all …]
Dheap-inl.h140 answer->set_length(str.length()); in AllocateOneByteInternalizedString()
170 answer->set_length(str.length()); in AllocateTwoByteInternalizedString()
/external/v8/src/compiler/
Dwasm-compiler.cc1797 shared->set_length(params); in CompileJSToWasmWrapper()
/external/v8/src/debug/
Ddebug.cc539 result->set_length(Smi::FromInt(break_points_hit_count)); in CheckBreakPoints()

12