Searched refs:groups (Results 1 - 25 of 32) sorted by relevance

12

/haiku/src/kits/package/
H A DUser.cpp37 fGroups.Add(userData.groups[i]);
42 const BString& shell, const BStringList& groups)
48 fGroups(groups)
106 const BString& shell, const BStringList& groups)
112 fGroups = groups;
114 return fGroups.CountStrings() == groups.CountStrings() ? B_OK : B_NO_MEMORY;
41 BUser(const BString& name, const BString& realName, const BString& home, const BString& shell, const BStringList& groups) argument
105 SetTo(const BString& name, const BString& realName, const BString& home, const BString& shell, const BStringList& groups) argument
H A DPackageInfoStringBuilder.h199 _Write(" groups ");
200 BString groups = value->Groups().Join(" "); local
201 if (groups.IsEmpty()) {
206 _Write(groups);
H A DPackageInfoParser.cpp840 BStringList groups; local
870 } else if (nextToken.text == "groups") {
875 if (!groups.Add(nextToken.text))
889 "expected 'real-name', 'home', 'shell', or 'groups'",
916 groups))) {
H A DPackageInfo.cpp57 "groups",
237 && (error = _ExtractStringList(archive, "groups", fGroups)) == B_OK
378 // make sure the user's groups are specified as groups
388 // check groups
1031 || (error = archive->AddStrings("groups", fGroups)) != B_OK
1081 .Write("groups", fGroups)
1358 FieldName groupsField(field, ":groups");
1368 BString groups = user->Groups().Join(" "); local
1369 if (groups
[all...]
/haiku/src/add-ons/kernel/file_systems/nfs4/
H A DRPCAuth.cpp71 gid_t* groups = (gid_t*)malloc(count * sizeof(gid_t));
72 if (groups == NULL)
75 int len = getgroups(count, groups);
80 xdr.AddUInt((uint32)groups[i]);
83 free(groups);
/haiku/headers/os/package/
H A DUser.h28 const BStringList& groups);
42 const BStringList& groups);
/haiku/src/apps/mail/
H A DPeople.cpp48 AddPersonGroups(BNode& node, BStringList& groups) argument
65 groups.Add(group);
172 BStringList groups; local
173 AddPersonGroups(node, groups);
175 for (int32 index = 0; index < groups.CountStrings(); index++) {
176 BString group = groups.StringAt(index);
187 // TODO: sort groups
/haiku/src/system/libroot/posix/
H A Dgrp.cpp252 const int32* groups; local
255 || reply.FindData("groups", B_INT32_TYPE, (const void**)&groups,
260 memcpy(groupList, groups, groupsSize);
275 gid_t groups[NGROUPS_MAX + 1]; local
277 if (getgrouplist(user, baseGroup, groups, &groupCount) < 0)
280 return setgroups(groupCount, groups);
/haiku/src/apps/packageinstaller/
H A DPackageInfo.h45 void _AddItem(PackageItem *item, uint64 size, uint32 groups,
H A DPackageInfo.cpp199 // groups section.
235 BList groups(3), userPaths(3), systemPaths(10);
447 groups.AddItem(NULL);
449 groups.AddItem(fProfiles.ItemAt(id));
1093 if (!groups.IsEmpty())
1094 fProfiles = groups;
1101 PackageInfo::_AddItem(PackageItem *item, uint64 size, uint32 groups, argument
1104 // Add the item to all groups it resides in
1111 if (groups & mask) {
/haiku/src/bin/
H A Did.c85 gid_t *groups; local
89 groups = (gid_t *)malloc(ngroups_max *sizeof(gid_t));
91 nGroups = getgroups(ngroups_max, groups);
96 if (lastID == (id = groups[cnt]))
164 -G, --groups print only the supplementary groups
192 struct option groupsOption = { "groups", no_argument, 0, 2 } ;
/haiku/src/servers/app/stackandtile/
H A DStackAndTile.cpp193 GroupIterator groups(this, fDesktop);
194 groups.SetCurrentGroup(currentGroup);
198 SATGroup* group = groups.NextGroup();
232 GroupIterator groups(this, fDesktop);
233 groups.SetCurrentGroup(currentGroup);
236 SATGroup* group = groups.NextGroup();
648 GroupIterator groups(this, fDesktop);
650 SATGroup* group = groups.NextGroup();
/haiku/headers/os/package/hpkg/
H A DPackageInfoAttributeValue.h69 const char* const* groups; member in struct:BPackageKit::BHPKG::BUserData
/haiku/src/system/kernel/
H A Dusergroup.cpp171 const gid_t* groups = team->supplementary_groups; local
176 groups = &team->effective_gid;
180 // if groupCount 0 is supplied, we only return the number of groups
190 memcpy(groupList, groups, actualCount * sizeof(gid_t));
193 || user_memcpy(groupList, groups,
/haiku/src/add-ons/kernel/file_systems/bfs/
H A DBlockAllocator.cpp341 /*! The allocation groups are created and initialized in
628 AllocationGroup* groups = allocator->fGroups;
640 groups[i].fNumBits = volume->NumBlocks() - i * bitsPerGroup;
641 groups[i].fNumBlocks = 1 + ((groups[i].NumBits() - 1)
644 groups[i].fNumBits = bitsPerGroup;
645 groups[i].fNumBlocks = blocks;
647 groups[i].fStart = offset;
651 int32 numBits = groups[i].fNumBits, bit = 0;
659 groups[
[all...]
/haiku/src/kits/media/
H A DParameterWeb.cpp402 // Counts over all groups (and sub-groups) in the web.
403 // The "groups" list is used as count stack
405 BList groups(*fGroups);
408 for (int32 i = 0; i < groups.CountItems(); i++) {
410 = static_cast<BParameterGroup*>(groups.ItemAt(i));
415 groups.AddList(group->fGroups);
427 // Iterates over all groups (and sub-groups) in the web.
428 // The "groups" lis
[all...]
/haiku/src/system/libroot/posix/stdlib/
H A Dstrfmon.c88 groups++; \
516 int groups = 0; local
596 padded -= groups;
/haiku/src/system/libnetwork/netresolv/
H A Dport_before.h82 #define GETGROUPLIST_ARGS const char *name, gid_t basegid, gid_t *groups, int *ngroups
/haiku/src/system/libroot/posix/glibc/stdio-common/
H A Dprintf_fp.c872 /* Guess the number of groups we will make, and thus how
1175 unsigned int groups;
1183 groups = 0;
1186 ++groups;
1199 groups += (intdig_max - 1) / grouping[-1];
1204 return groups;
1172 unsigned int groups; local
/haiku/src/add-ons/kernel/file_systems/ext2/
H A DBlockAllocator.cpp615 ", block groups: %" B_PRIu32 ", first block: %" B_PRIu64
623 TRACE("BlockAllocator::Initialize(): allocated allocation block groups\n");
654 " %" B_PRIu64 ", num groups: %" B_PRIu32 "\n", transaction.ID(),
874 AllocationBlockGroup* groups = allocator->fGroups; local
882 status_t status = groups[i].Initialize(volume, i,
889 freeBlocks += groups[i].FreeBits();
895 status_t status = groups[numGroups].Initialize(volume, numGroups,
903 freeBlocks += groups[numGroups].FreeBits();
/haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/
H A Dsecurity.c1129 * This only takes into account the groups defined in
1131 * It does not take into account the groups dynamically set by
1145 gid_t *groups; local
1154 groups = user->groups;
1156 while ((--grcnt >= 0) && (groups[grcnt] != gid)) { }
1183 int pr_ngroups; /* number of supplementary groups */
1184 gid_t pr_groups[1]; /* array of supplementary groups */
1189 gid_t groups[readset]; local
1222 got = read(fd, groups,
4106 gid_t *groups; local
[all...]
H A Dsecurity.h47 gid_t *groups; /* groups which the user is member of */ member in struct:MAPPING
131 SECURITY_STATICGRPS, /* use static groups for access control */
/haiku/src/add-ons/kernel/drivers/network/wlan/iprowifi3945/dev/wpi/
H A Dif_wpivar.h242 struct wpi_power_group groups[WPI_POWER_GROUPS_COUNT]; member in struct:wpi_softc
/haiku/src/servers/registrar/
H A DAuthenticationManager.cpp644 int32 GetUserGroups(const char* name, gid_t* groups, int maxCount) argument
653 groups[count] = group->GID();
699 // write groups
980 // get groups
981 gid_t groups[NGROUPS_MAX + 1]; local
985 count = fGroupDB->GetUserGroups(name, groups, maxCount);
988 // add groups to message
992 || reply.AddData("groups", B_INT32_TYPE,
993 groups, min_c(maxCount, count) * sizeof(gid_t),
/haiku/src/apps/deskbar/
H A DSwitcher.cpp611 BList groups;
612 if (!groups.AddList(&fGroupList)) {
622 for (int32 j = 0; (info = (TTeamGroup*)groups.ItemAt(j)) != NULL; j++) {
624 groups.RemoveItem(j);
633 fGroupList.AddList(&groups);

Completed in 304 milliseconds

12