Lines Matching defs:groups
1552 Isolate* isolate, Handle<OrderedHashMap> groups, Handle<Object> key,
1554 InternalIndex entry = groups->FindEntry(isolate, *key);
1558 return OrderedHashMap::Add(isolate, groups, key, array).ToHandleChecked();
1561 Handle<ArrayList>(ArrayList::cast(groups->ValueAt(entry)), isolate);
1563 groups->SetEntry(entry, *key, *array);
1564 return groups;
1596 Handle<OrderedHashMap> groups, double initialK, double len) {
1633 // 6e. Perform ! AddValueToKeyedGroup(groups, propertyKey, kValue).
1634 groups = AddValueToKeyedGroup(isolate, groups, propertyKey, kValue);
1640 return groups;
1646 Handle<OrderedHashMap> groups, double len,
1659 return GenericArrayGroupBy<mode>(isolate, array, callbackfn, groups,
1693 // 6e. Perform ! AddValueToKeyedGroup(groups, propertyKey, kValue).
1694 groups = AddValueToKeyedGroup(isolate, groups, propertyKey, kValue);
1701 // ElementsKind for the keyed groups based on the input ElementsKind.
1704 // so that we don't need to cast all the keyed groups when switching from
1711 return groups;
1738 // 5. Let groups be a new empty List.
1739 Handle<OrderedHashMap> groups = isolate->factory()->NewOrderedHashMap();
1744 isolate, groups,
1746 isolate, array, callbackfn, groups, len, &result_elements_kind));
1750 isolate, groups,
1752 groups, 0, len));
1758 // 8. For each Record { [[Key]], [[Elements]] } g of groups, do
1759 for (InternalIndex entry : groups->IterateEntries()) {
1760 Handle<Name> key = Handle<Name>(Name::cast(groups->KeyAt(entry)), isolate);
1763 Handle<ArrayList>(ArrayList::cast(groups->ValueAt(entry)), isolate);
1800 // 5. Let groups be a new empty List.
1801 Handle<OrderedHashMap> groups = isolate->factory()->NewOrderedHashMap();
1806 isolate, groups,
1808 isolate, array, callbackfn, groups, len, &result_elements_kind));
1812 isolate, groups,
1813 GenericArrayGroupBy<GroupByMode::kToMap>(isolate, O, callbackfn, groups,
1820 // 8. For each Record { [[Key]], [[Elements]] } g of groups, do
1821 for (InternalIndex entry : groups->IterateEntries()) {
1822 Handle<Object> key = Handle<Object>(groups->KeyAt(entry), isolate);
1825 Handle<ArrayList>(ArrayList::cast(groups->ValueAt(entry)), isolate);