Lines Matching refs:group

370 	BParameterGroup* group = new(std::nothrow) BParameterGroup(this, name);
371 if (group == NULL)
374 if (!fGroups->AddItem(group)) {
375 delete group;
379 return group;
409 BParameterGroup* group
412 count += group->CountParameters();
414 if (group->fGroups != NULL)
415 groups.AddList(group->fGroups);
434 BParameterGroup* group
436 int32 count = group->CountParameters();
438 return group->ParameterAt(index);
441 // the index is always relative to the start of the current group
443 if (group->fGroups != NULL)
444 groups.AddList(group->fGroups);
492 BParameterGroup* group
494 if (group != NULL) {
495 size += sizeof(ssize_t) + group->FlattenedSize();
528 BParameterGroup* group
530 if (group == NULL) {
531 ERROR("BParameterWeb::Flatten(): group is NULL\n");
535 ssize_t groupSize = group->FlattenedSize();
543 // write the flattened sub group
544 status_t status = group->Flatten(buffer, groupSize);
578 // signature field, the mystery field, the group count, and the Node, then there is a problem
625 BParameterGroup* group = new BParameterGroup(this, "unnamed");
626 status_t status = group->Unflatten(group->TypeCode(), buffer,
629 ERROR("BParameterWeb::Unflatten(): unflatten group failed\n");
630 delete group;
636 fGroups->AddItem(group);
644 BParameterGroup* group
647 for (int32 index = group->CountParameters(); index-- > 0;) {
649 = static_cast<BParameter*>(group->ParameterAt(index));
654 if (group->fGroups != NULL)
655 groups.AddList(group->fGroups);
816 BParameterGroup* group = new(std::nothrow) BParameterGroup(fWeb, name);
817 if (group != NULL)
818 fGroups->AddItem(group);
820 return group;
915 BParameterGroup* group
917 if (group != NULL) {
918 // overhead for each group flattened
920 + sizeof(ssize_t) + group->FlattenedSize();
985 BParameterGroup* group
987 if (group == NULL) {
988 ERROR("BParameterGroup::Flatten(): NULL group\n");
992 write_to_buffer<BParameterGroup*>(&buffer, group);
993 write_to_buffer<type_code>(&buffer, group->TypeCode());
995 // flatten sub group into this buffer
997 ssize_t groupSize = group->FlattenedSize();
1000 status_t status = group->Flatten(buffer, groupSize);
1151 BParameterGroup* group = new BParameterGroup(fWeb, "sub-unnamed");
1152 if (group == NULL) {
1157 status_t status = group->Unflatten(type, buffer, groupSize);
1159 ERROR("BParameterGroup::Unflatten(): group->Unflatten() failed\n");
1160 delete group;
1166 fGroups->AddItem(group);
1170 fWeb->AddRefFix(oldPointer, group);
1179 method does not add the parameter to this group automatically.
1751 // to remove yourself from a web/group since the only way in which
1752 // a parameter is destroyed is when the owner web/group destroys it