Lines Matching full:jsarray
1431 double length = JSArray::cast(this)->length()->IsUndefined()
1433 : JSArray::cast(this)->length()->Number();
4754 ? Smi::cast(JSArray::cast(this)->length())->value()
5333 ? Smi::cast(JSArray::cast(this)->length())->value()
5571 ? Smi::cast(Handle<JSArray>::cast(object)->length())->value()
7845 MaybeObject* FixedArray::AddKeysFromJSArray(JSArray* array) {
11310 JSArray::cast(this)->set_length(Smi::FromInt(length));
11389 JSArray::cast(this)->set_length(Smi::FromInt(length));
11396 MaybeObject* JSArray::Initialize(int capacity, int length) {
11403 void JSArray::Expand(int required_size) {
11405 Handle<JSArray>(this), required_size, required_size);
11427 static void EnqueueSpliceRecord(Handle<JSArray> object,
11429 Handle<JSArray> deleted,
11449 static void BeginPerformSplice(Handle<JSArray> object) {
11463 static void EndPerformSplice(Handle<JSArray> object) {
11477 MaybeObject* JSArray::SetElementsLength(Object* len) {
11485 Handle<JSArray> self(this);
11542 Handle<JSArray> deleted = isolate->factory()->NewJSArray(0);
12197 CHECK(Handle<JSArray>::cast(object)->length()->ToArrayIndex(&array_length));
12277 Handle<JSArray>::cast(object)->set_length(Smi::FromInt(array_length));
12387 JSArray::JSArrayUpdateLengthFromIndex(Handle<JSArray>::cast(object), index,
12395 CHECK(Handle<JSArray>::cast(object)->length()->ToArrayIndex(&new_length));
12454 CHECK(Handle<JSArray>::cast(object)->length()->ToArrayIndex(&length));
12491 Handle<JSArray>::cast(object)->length()->ToArrayIndex(&array_length));
12493 Handle<JSArray>::cast(object)->set_length(Smi::FromInt(index + 1));
12622 old_length_handle = handle(Handle<JSArray>::cast(object)->length(),
12642 Handle<JSArray>::cast(object)->length())) {
12643 new_length_handle = handle(Handle<JSArray>::cast(object)->length(),
12650 BeginPerformSplice(Handle<JSArray>::cast(object));
12654 EndPerformSplice(Handle<JSArray>::cast(object));
12655 Handle<JSArray> deleted = isolate->factory()->NewJSArray(0);
12656 EnqueueSpliceRecord(Handle<JSArray>::cast(object), old_length, deleted,
12825 JSArray* transition_info = JSArray::cast(this->transition_info());
12840 "AllocationSite: JSArray %p boilerplate %s updated %s->%s\n",
12860 PrintF("AllocationSite: JSArray %p site updated %s->%s\n",
12955 Object* raw_length = JSArray::cast(this)->length();
12957 // If length is undefined, then JSArray is being initialized and has no
12961 CHECK(JSArray::cast(this)->length()->ToArrayIndex(&length));
13004 void JSArray::JSArrayUpdateLengthFromIndex(Handle<JSArray> array,
13012 MaybeObject* JSArray::JSArrayUpdateLengthFromIndex(uint32_t index,
13104 *used = Smi::cast(JSArray::cast(this)->length())->value();
13125 *used = Smi::cast(JSArray::cast(this)->length())->value();
13201 CHECK(JSArray::cast(this)->length()->ToArrayIndex(&array_size));
13593 Smi::cast(JSArray::cast(this)->length())->value()) :
13611 Smi::cast(JSArray::cast(this)->length())->value() :
13627 Smi::cast(JSArray::cast(this)->length())->value() :