Lines Matching refs:kPropsCount
91 int kPropsCount) { in CreateDescriptorArray() argument
98 DescriptorArray::Allocate(isolate, 0, kPropsCount); in CreateDescriptorArray()
101 for (int i = 0; i < kPropsCount; i++) { in CreateDescriptorArray()
164 const int kPropsCount = kSmiValueSize * 3; in TEST() local
165 TestPropertyKind props[kPropsCount]; in TEST()
166 for (int i = 0; i < kPropsCount; i++) { in TEST()
173 CreateDescriptorArray(isolate, props, kPropsCount); in TEST()
175 Handle<Map> map = Map::Create(isolate, kPropsCount); in TEST()
177 layout_descriptor = LayoutDescriptor::New(map, descriptors, kPropsCount); in TEST()
184 props[kPropsCount - 1] = PROP_DOUBLE; in TEST()
187 CreateDescriptorArray(isolate, props, kPropsCount); in TEST()
190 int inobject_properties = kPropsCount - 1; in TEST()
194 layout_descriptor = LayoutDescriptor::New(map, descriptors, kPropsCount); in TEST()
200 for (int i = 1; i < kPropsCount; i++) { in TEST()
207 int inobject_properties = kPropsCount; in TEST()
210 layout_descriptor = LayoutDescriptor::New(map, descriptors, kPropsCount); in TEST()
217 CHECK_EQ(false, layout_descriptor->IsTagged(kPropsCount - 1)); in TEST()
218 for (int i = 1; i < kPropsCount - 1; i++) { in TEST()
231 for (int i = 1; i < kPropsCount - 1; i++) { in TEST()
492 const int kPropsCount = arraysize(props); in TEST() local
495 CreateDescriptorArray(isolate, props, kPropsCount); in TEST()
499 layout_descriptor = LayoutDescriptor::New(map, descriptors, kPropsCount); in TEST()
506 layout_descriptor = LayoutDescriptor::New(map, descriptors, kPropsCount); in TEST()
513 layout_descriptor = LayoutDescriptor::New(map, descriptors, kPropsCount); in TEST()
531 const int kPropsCount = kSmiValueSize * 3; in TEST() local
532 TestPropertyKind props[kPropsCount]; in TEST()
533 for (int i = 0; i < kPropsCount; i++) { in TEST()
538 CreateDescriptorArray(isolate, props, kPropsCount); in TEST()
542 layout_descriptor = LayoutDescriptor::New(map, descriptors, kPropsCount); in TEST()
549 layout_descriptor = LayoutDescriptor::New(map, descriptors, kPropsCount); in TEST()
556 layout_descriptor = LayoutDescriptor::New(map, descriptors, kPropsCount); in TEST()
567 int inobject_properties = kPropsCount / 2; in TEST()
569 layout_descriptor = LayoutDescriptor::New(map, descriptors, kPropsCount); in TEST()
578 for (int i = inobject_properties; i < kPropsCount; i++) { in TEST()
585 LayoutDescriptor::New(map, descriptors, kPropsCount); in TEST()
609 int kPropsCount) { in TestLayoutDescriptorAppend() argument
616 DescriptorArray::Allocate(isolate, 0, kPropsCount); in TestLayoutDescriptorAppend()
623 for (int i = 0; i < kPropsCount; i++) { in TestLayoutDescriptorAppend()
664 const int kPropsCount = kSmiValueSize * 3; in TEST() local
665 TestPropertyKind props[kPropsCount]; in TEST()
666 for (int i = 0; i < kPropsCount; i++) { in TEST()
671 TestLayoutDescriptorAppend(isolate, 0, props, kPropsCount); in TEST()
675 TestLayoutDescriptorAppend(isolate, 13, props, kPropsCount); in TEST()
679 TestLayoutDescriptorAppend(isolate, kSmiValueSize, props, kPropsCount); in TEST()
683 props, kPropsCount); in TEST()
687 TestLayoutDescriptorAppend(isolate, kPropsCount, props, kPropsCount); in TEST()
698 const int kPropsCount = kSmiValueSize * 3; in TEST() local
699 TestPropertyKind props[kPropsCount]; in TEST()
700 for (int i = 0; i < kPropsCount; i++) { in TEST()
705 TestLayoutDescriptorAppend(isolate, 0, props, kPropsCount); in TEST()
709 TestLayoutDescriptorAppend(isolate, 13, props, kPropsCount); in TEST()
713 TestLayoutDescriptorAppend(isolate, kSmiValueSize, props, kPropsCount); in TEST()
717 props, kPropsCount); in TEST()
721 props, kPropsCount); in TEST()
725 TestLayoutDescriptorAppend(isolate, kPropsCount, props, kPropsCount); in TEST()
731 TestLayoutDescriptorAppend(isolate, kPropsCount, props, kSmiValueSize); in TEST()
734 layout_descriptor = TestLayoutDescriptorAppend(isolate, kPropsCount, props, in TEST()
815 const int kPropsCount = kSmiValueSize * 3; in TEST() local
816 TestPropertyKind props[kPropsCount]; in TEST()
817 for (int i = 0; i < kPropsCount; i++) { in TEST()
821 CreateDescriptorArray(isolate, props, kPropsCount); in TEST()
824 isolate, 0, descriptors, kPropsCount); in TEST()
828 isolate, 13, descriptors, kPropsCount); in TEST()
832 isolate, kSmiValueSize, descriptors, kPropsCount); in TEST()
836 isolate, kSmiValueSize * 2, descriptors, kPropsCount); in TEST()
840 isolate, kPropsCount, descriptors, kPropsCount); in TEST()
851 const int kPropsCount = kSmiValueSize * 3; in TEST() local
852 TestPropertyKind props[kPropsCount]; in TEST()
853 for (int i = 0; i < kPropsCount; i++) { in TEST()
857 CreateDescriptorArray(isolate, props, kPropsCount); in TEST()
860 isolate, 0, descriptors, kPropsCount); in TEST()
864 isolate, 13, descriptors, kPropsCount); in TEST()
868 isolate, kSmiValueSize, descriptors, kPropsCount); in TEST()
872 isolate, kSmiValueSize + 1, descriptors, kPropsCount); in TEST()
876 isolate, kSmiValueSize * 2, descriptors, kPropsCount); in TEST()
880 isolate, kPropsCount, descriptors, kPropsCount); in TEST()
886 isolate, kPropsCount, descriptors, kSmiValueSize); in TEST()
890 isolate, kPropsCount, descriptors, kSmiValueSize + 1); in TEST()
902 const int kPropsCount = kSmiValueSize * 3; in TEST() local
903 TestPropertyKind props[kPropsCount]; in TEST()
904 for (int i = 0; i < kPropsCount; i++) { in TEST()
908 CreateDescriptorArray(isolate, props, kPropsCount); in TEST()
910 Handle<Map> map = Map::Create(isolate, kPropsCount); in TEST()
912 LayoutDescriptor::New(map, descriptors, kPropsCount); in TEST()
922 for (int i = 0; i < kPropsCount; i++) { in TEST()
1245 const int kPropsCount = kSmiValueSize * 3; in TEST() local
1246 TestPropertyKind props[kPropsCount]; in TEST()
1247 for (int i = 0; i < kPropsCount; i++) { in TEST()
1251 CreateDescriptorArray(isolate, props, kPropsCount); in TEST()
1253 TestLayoutDescriptorHelper(isolate, 0, descriptors, kPropsCount); in TEST()
1255 TestLayoutDescriptorHelper(isolate, 13, descriptors, kPropsCount); in TEST()
1257 TestLayoutDescriptorHelper(isolate, kSmiValueSize, descriptors, kPropsCount); in TEST()
1260 kPropsCount); in TEST()
1262 TestLayoutDescriptorHelper(isolate, kPropsCount, descriptors, kPropsCount); in TEST()
1272 const int kPropsCount = kSmiValueSize * 3; in TEST() local
1273 TestPropertyKind props[kPropsCount]; in TEST()
1274 for (int i = 0; i < kPropsCount; i++) { in TEST()
1278 CreateDescriptorArray(isolate, props, kPropsCount); in TEST()
1280 TestLayoutDescriptorHelper(isolate, 0, descriptors, kPropsCount); in TEST()
1282 TestLayoutDescriptorHelper(isolate, 13, descriptors, kPropsCount); in TEST()
1284 TestLayoutDescriptorHelper(isolate, kSmiValueSize, descriptors, kPropsCount); in TEST()
1287 kPropsCount); in TEST()
1289 TestLayoutDescriptorHelper(isolate, kPropsCount, descriptors, kPropsCount); in TEST()
1299 const int kPropsCount = kSmiValueSize * 3; in TEST() local
1300 TestPropertyKind props[kPropsCount]; in TEST()
1301 for (int i = 0; i < kPropsCount; i++) { in TEST()
1305 CreateDescriptorArray(isolate, props, kPropsCount); in TEST()
1307 TestLayoutDescriptorHelper(isolate, 0, descriptors, kPropsCount); in TEST()
1309 TestLayoutDescriptorHelper(isolate, 13, descriptors, kPropsCount); in TEST()
1311 TestLayoutDescriptorHelper(isolate, kSmiValueSize, descriptors, kPropsCount); in TEST()
1314 kPropsCount); in TEST()
1316 TestLayoutDescriptorHelper(isolate, kPropsCount, descriptors, kPropsCount); in TEST()