Lines Matching defs:cUsersInList
520 uint32_t cUsersInList = 0;
525 &pszUserList, &cUsersInList);
566 if (cUsersInList > cListSize)
579 for (uint32_t i = 0; i < cUsersInList && !fFound; i++)
587 rc = RTStrDupEx(&papszUsers[cUsersInList], (const char *)ut_user->ut_user);
590 cUsersInList++;
717 for (uint32_t i = 0; i < cUsersInList && !fFound; i++)
725 rc = RTStrDupEx(&papszUsers[cUsersInList], (const char *)ppwEntry->pw_name);
728 cUsersInList++;
814 for (uint32_t i = 0; i < cUsersInList; i++)
826 for (uint32_t i = 0; i < cUsersInList; i++)
839 for (uint32_t i = 0; i < cUsersInList; i++)
846 Assert(RT_FAILURE(rc) || cUsersInList == 0 || (pszUserList && *pszUserList));
860 cUsersInList = g_cVMInfoLoggedInUsers;
863 cUsersInList = 0;
866 g_cVMInfoLoggedInUsers = cUsersInList;
868 VBoxServiceVerbose(4, "cUsersInList=%RU32, pszUserList=%s, rc=%Rrc\n",
869 cUsersInList, pszUserList ? pszUserList : "<NULL>", rc);
873 AssertMsg(cUsersInList, ("pszUserList contains users whereas cUsersInList is 0\n"));
881 rc = VBoxServicePropCacheUpdate(&g_VMInfoPropCache, g_pszPropCacheValLoggedInUsers, "%RU32", cUsersInList);
886 cUsersInList == 0 ? "true" : "false");