Lines Matching defs:iServiceId
156 unsigned int iServiceId = 0;
159 for (iServiceId = 0; iServiceId < RT_ELEMENTS(g_aServices); iServiceId++)
161 VBoxClientVerbose(1, "Starting service: %s\n", g_aServices[iServiceId].pszName);
162 rc = (g_aServices[iServiceId].pfnStart)();
165 VBoxClientVerbose(1, "unable to start service: %s (%Rrc)\n", g_aServices[iServiceId].pszName, rc);
171 VBoxClientVerbose(1, "Stopping service: %s\n", g_aServices[iServiceId].pszName);
172 int rcStop = (g_aServices[iServiceId].pfnStop)();
174 VBoxClientVerbose(1, "unable to stop service: %s (%Rrc)\n", g_aServices[iServiceId].pszName, rcStop);
175 } while (--iServiceId != 0);
194 unsigned int iServiceId = 0;
197 for (iServiceId = 0; iServiceId < RT_ELEMENTS(g_aServices); iServiceId++)
199 VBoxClientVerbose(1, "Stopping service: %s\n", g_aServices[iServiceId].pszName);
200 int rc = (g_aServices[iServiceId].pfnStop)();
202 VBoxClientVerbose(1, "unable to stop service: %s (%Rrc)\n", g_aServices[iServiceId].pszName, rc);