Home
last modified time | relevance | path

Searched refs:JSArray (Results 1 – 25 of 88) sorted by relevance

1234

/external/v8/src/debug/
Dliveedit.h47 static Handle<JSArray> Collect(FunctionLiteral* node, Handle<Script> script,
65 Handle<JSArray> result_;
77 MUST_USE_RESULT static MaybeHandle<JSArray> GatherCompileInfo(
81 static void ReplaceFunctionCode(Handle<JSArray> new_compile_info_array,
82 Handle<JSArray> shared_info_array);
86 static void FunctionSourceUpdated(Handle<JSArray> shared_info_array,
93 static void PatchFunctionPositions(Handle<JSArray> shared_info_array,
94 Handle<JSArray> position_change_array);
119 static Handle<JSArray> CheckAndDropActivations(
120 Handle<JSArray> old_shared_array, Handle<JSArray> new_shared_array,
[all …]
Dliveedit.cc328 Handle<JSArray> GetResult() { in GetResult()
349 Handle<JSArray> array_;
541 Handle<JSArray> GetResult() { in GetResult()
558 Handle<JSArray> LiveEdit::CompareStrings(Handle<String> s1, in CompareStrings()
603 static int GetArrayLength(Handle<JSArray> array) { in GetArrayLength()
662 MaybeHandle<JSArray> LiveEdit::GatherCompileInfo(Handle<Script> script, in GatherCompileInfo()
666 MaybeHandle<JSArray> infos; in GatherCompileInfo()
721 return isolate->Throw<JSArray>(rethrow_exception); in GatherCompileInfo()
870 Handle<JSArray> new_compile_info_array, in ReplaceFunctionCode()
871 Handle<JSArray> shared_info_array) { in ReplaceFunctionCode()
[all …]
/external/v8/src/
Delements.h65 virtual void SetLength(Handle<JSArray> holder, uint32_t new_length) = 0;
127 static Handle<JSArray> Concat(Isolate* isolate, Arguments* args,
130 virtual uint32_t Push(Handle<JSArray> receiver, Arguments* args,
133 virtual uint32_t Unshift(Handle<JSArray> receiver,
136 virtual Handle<JSArray> Slice(Handle<JSObject> receiver,
139 virtual Handle<JSArray> Splice(Handle<JSArray> receiver,
143 virtual Handle<Object> Pop(Handle<JSArray> receiver) = 0;
145 virtual Handle<Object> Shift(Handle<JSArray> receiver) = 0;
170 Handle<JSArray> array) = 0;
216 Handle<JSArray> array,
Delements.cc567 Object* length_obj = Handle<JSArray>::cast(holder)->length(); in ValidateImpl()
596 static void TryTransitionResultArrayToPacked(Handle<JSArray> array) { in TryTransitionResultArrayToPacked()
680 uint32_t Push(Handle<JSArray> receiver, Arguments* args, in Push()
685 static uint32_t PushImpl(Handle<JSArray> receiver, Arguments* args, in PushImpl()
691 uint32_t Unshift(Handle<JSArray> receiver, Arguments* args, in Unshift()
696 static uint32_t UnshiftImpl(Handle<JSArray> receiver, Arguments* args, in UnshiftImpl()
702 Handle<JSArray> Slice(Handle<JSObject> receiver, uint32_t start, in Slice()
707 static Handle<JSArray> SliceImpl(Handle<JSObject> receiver, in SliceImpl()
710 return Handle<JSArray>(); in SliceImpl()
713 Handle<JSArray> Splice(Handle<JSArray> receiver, uint32_t start, in Splice()
[all …]
Dvalue-serializer.h118 Maybe<bool> WriteJSArray(Handle<JSArray> array) WARN_UNUSED_RESULT;
253 MaybeHandle<JSArray> ReadSparseJSArray() WARN_UNUSED_RESULT;
254 MaybeHandle<JSArray> ReadDenseJSArray() WARN_UNUSED_RESULT;
Djson-stringifier.h76 INLINE(Result SerializeJSArray(Handle<JSArray> object));
113 Handle<JSArray> stack_;
Dvalue-serializer.cc435 return WriteJSArray(Handle<JSArray>::cast(receiver)); in WriteJSReceiver()
538 Maybe<bool> ValueSerializer::WriteJSArray(Handle<JSArray> array) { in WriteJSArray()
1290 MaybeHandle<JSArray> ValueDeserializer::ReadSparseJSArray() { in ReadSparseJSArray()
1292 STACK_CHECK(isolate_, MaybeHandle<JSArray>()); in ReadSparseJSArray()
1295 if (!ReadVarint<uint32_t>().To(&length)) return MaybeHandle<JSArray>(); in ReadSparseJSArray()
1299 Handle<JSArray> array = isolate_->factory()->NewJSArray( in ReadSparseJSArray()
1301 JSArray::SetLength(array, length); in ReadSparseJSArray()
1312 return MaybeHandle<JSArray>(); in ReadSparseJSArray()
1319 MaybeHandle<JSArray> ValueDeserializer::ReadDenseJSArray() { in ReadDenseJSArray()
1321 STACK_CHECK(isolate_, MaybeHandle<JSArray>()); in ReadDenseJSArray()
[all …]
Dapi.h81 V(Array, JSArray) \
108 V(StackTrace, JSArray) \
147 v8::internal::Handle<v8::internal::JSArray> obj);
189 v8::internal::Handle<v8::internal::JSArray> obj);
302 MAKE_TO_LOCAL(ToLocal, JSArray, Array) in MAKE_TO_LOCAL()
320 MAKE_TO_LOCAL(StackTraceToLocal, JSArray, StackTrace) in MAKE_TO_LOCAL()
Dfactory.h495 Handle<JSArray> NewJSArray(
500 Handle<JSArray> NewJSArray(
511 Handle<JSArray> NewJSArrayWithElements(Handle<FixedArrayBase> elements,
515 Handle<JSArray> NewJSArrayWithElements(
524 Handle<JSArray> array,
832 Handle<JSArray> NewJSArray(ElementsKind elements_kind,
Daccessors.cc71 JSArray::kLengthOffset, object_offset); in IsJSObjectFieldAccessor()
159 JSArray* holder = JSArray::cast(*Utils::OpenHandle(*info.Holder())); in ArrayLengthGetter()
173 Handle<JSArray> array = Handle<JSArray>::cast(object); in ArrayLengthSetter()
176 bool was_readonly = JSArray::HasReadOnlyLength(array); in ArrayLengthSetter()
179 if (!JSArray::AnythingToArrayLength(isolate, length_obj, &length)) { in ArrayLengthSetter()
184 if (!was_readonly && V8_UNLIKELY(JSArray::HasReadOnlyLength(array)) && in ArrayLengthSetter()
202 JSArray::SetLength(array, length); in ArrayLengthSetter()
Dstring-builder.h177 Handle<JSArray> ToJSArray(Handle<JSArray> target_array) { in ToJSArray()
178 JSArray::SetContent(target_array, array_); in ToJSArray()
Dstring-stream.cc391 JSArray* array = JSArray::cast(printee); in PrintMentionedObjectCache()
395 static_cast<uint32_t>(JSArray::cast(array)->length()->Number()); in PrintMentionedObjectCache()
Dmessages.cc53 Handle<JSArray> stack_frames) { in MakeMessageObject()
852 MaybeHandle<JSArray> GetStackFrames(Isolate* isolate, in GetStackFrames()
860 ConstructCallSite(isolate, elems, i), JSArray); in GetStackFrames()
922 Handle<JSArray> raw_stack_array = Handle<JSArray>::cast(raw_stack); in FormatStackTrace()
941 Handle<JSArray> sites; in FormatStackTrace()
/external/v8/src/runtime/
Druntime-liveedit.cc123 CONVERT_ARG_HANDLE_CHECKED(JSArray, shared_info, 0); in RUNTIME_FUNCTION()
137 CONVERT_ARG_HANDLE_CHECKED(JSArray, new_compile_info, 0); in RUNTIME_FUNCTION()
138 CONVERT_ARG_HANDLE_CHECKED(JSArray, shared_info, 1); in RUNTIME_FUNCTION()
201 CONVERT_ARG_HANDLE_CHECKED(JSArray, shared_array, 0); in RUNTIME_FUNCTION()
202 CONVERT_ARG_HANDLE_CHECKED(JSArray, position_change_array, 1); in RUNTIME_FUNCTION()
218 CONVERT_ARG_HANDLE_CHECKED(JSArray, old_shared_array, 0); in RUNTIME_FUNCTION()
219 CONVERT_ARG_HANDLE_CHECKED(JSArray, new_shared_array, 1); in RUNTIME_FUNCTION()
259 Handle<JSArray> result = LiveEdit::CompareStrings(s1, s2); in RUNTIME_FUNCTION()
Druntime-array.cc23 CONVERT_ARG_HANDLE_CHECKED(JSArray, prototype, 0); in RUNTIME_FUNCTION()
138 CONVERT_ARG_HANDLE_CHECKED(JSArray, from, 0); in RUNTIME_FUNCTION()
139 CONVERT_ARG_HANDLE_CHECKED(JSArray, to, 1); in RUNTIME_FUNCTION()
161 CONVERT_ARG_HANDLE_CHECKED(JSArray, array, 0); in RUNTIME_FUNCTION()
278 JSArray::SetLengthWouldNormalize(isolate->heap(), value)) { in ArrayConstructorCommon()
283 if (value >= JSArray::kInitialMaxFastElementArray) { in ArrayConstructorCommon()
320 Handle<JSArray> array = Handle<JSArray>::cast( in ArrayConstructorCommon()
457 bool success = JSArray::cast(*object)->length()->ToArrayLength(&len32); in RUNTIME_FUNCTION()
564 bool success = JSArray::cast(*object)->length()->ToArrayLength(&len32); in RUNTIME_FUNCTION()
671 Handle<JSArray> spread_array = Handle<JSArray>::cast(spread); in RUNTIME_FUNCTION()
Druntime-proxy.cc54 Handle<JSArray> arg_array = isolate->factory()->NewJSArray( in RUNTIME_FUNCTION()
110 Handle<JSArray> arg_array = isolate->factory()->NewJSArray( in RUNTIME_FUNCTION()
Druntime-wasm.cc92 FrameArray::cast(JSArray::cast(*stack_trace_obj)->elements())); in ThrowRuntimeError()
104 FixedArray::cast(JSArray::cast(*detailed_stack_trace_obj)->elements())); in ThrowRuntimeError()
Druntime-collections.cc122 CONVERT_ARG_CHECKED(JSArray, value_array, 1); in RUNTIME_FUNCTION()
244 CONVERT_ARG_CHECKED(JSArray, value_array, 1); in RUNTIME_FUNCTION()
/external/v8/src/builtins/
Dbuiltins-array.cc74 JSArray* receiver) { in IsJSArrayFastElementMovingAllowed()
108 Handle<JSArray> array = Handle<JSArray>::cast(receiver); in EnsureJSArrayWithWritableFastElements()
175 Handle<JSArray> array = Handle<JSArray>::cast(receiver); in BUILTIN()
182 if (JSArray::HasReadOnlyLength(array)) { in BUILTIN()
368 Handle<JSArray> array = Handle<JSArray>::cast(receiver); in BUILTIN()
373 if (JSArray::HasReadOnlyLength(array)) { in BUILTIN()
378 if (IsJSArrayFastElementMovingAllowed(isolate, JSArray::cast(*receiver))) { in BUILTIN()
386 JSArray::SetLength(array, new_length); in BUILTIN()
396 !IsJSArrayFastElementMovingAllowed(isolate, JSArray::cast(*receiver))) { in BUILTIN()
399 Handle<JSArray> array = Handle<JSArray>::cast(receiver); in BUILTIN()
[all …]
Dbuiltins-arguments.cc85 StoreObjectField(result, JSArray::kPropertiesOffset, empty_fixed_array); in AllocateArgumentsObject()
87 StoreObjectFieldNoWriteBarrier(result, JSArray::kLengthOffset, in AllocateArgumentsObject()
102 StoreObjectFieldNoWriteBarrier(result, JSArray::kElementsOffset, in AllocateArgumentsObject()
112 StoreObjectFieldNoWriteBarrier(result, JSArray::kElementsOffset, in AllocateArgumentsObject()
115 StoreObjectFieldNoWriteBarrier(result, JSArray::kElementsOffset, in AllocateArgumentsObject()
172 rest_count, &runtime, JSArray::kSize + FixedArray::kHeaderSize, mode); in EmitFastNewRestParameter()
178 mode, JSArray::kSize)); in EmitFastNewRestParameter()
187 AllocateArgumentsObject(array_map, zero, nullptr, mode, JSArray::kSize); in EmitFastNewRestParameter()
Dbuiltins-constructor.h35 JSArray::kInitialMaxFastElementArray * kPointerSize / kDoubleSize;
/external/v8/src/compiler/
Djs-create-lowering.cc407 STATIC_ASSERT(JSArray::kSize == 4 * kPointerSize); in ReduceJSCreateArguments()
408 a.Allocate(JSArray::kSize); in ReduceJSCreateArguments()
524 STATIC_ASSERT(JSArray::kSize == 4 * kPointerSize); in ReduceJSCreateArguments()
525 a.Allocate(JSArray::kSize); in ReduceJSCreateArguments()
576 a.Allocate(JSArray::kSize, pretenure); in ReduceNewArray()
737 int capacity = JSArray::kPreallocatedArrayElements; in ReduceJSCreateArray()
798 a.Allocate(JSArray::kSize); in ReduceJSCreateKeyValueArray()
803 STATIC_ASSERT(JSArray::kSize == 4 * kPointerSize); in ReduceJSCreateKeyValueArray()
1092 DCHECK_LE(capacity, JSArray::kInitialMaxFastElementArray); in AllocateElements()
1218 Handle<JSArray> boilerplate_array = Handle<JSArray>::cast(boilerplate); in AllocateFastLiteral()
/external/v8/src/wasm/
Dwasm-module.h374 V8_EXPORT_PRIVATE Handle<JSArray> GetImports(Isolate* isolate,
376 V8_EXPORT_PRIVATE Handle<JSArray> GetExports(Isolate* isolate,
378 V8_EXPORT_PRIVATE Handle<JSArray> GetCustomSections(
/external/v8/src/crankshaft/
Dhydrogen-types.h37 V(JSArray, 0xe21) /* 0000 1110 0010 0001 */ \
Dhydrogen-types.cc52 return HType::JSArray(); in FromValue()

1234