Lines Matching defs:shutdown

72 // The time span the app that has aborted the shutdown shall be displayed in
73 // the shutdown window before closing it automatically.
200 : BHandler("shutdown quit reply handler"),
289 // cancel shutdown button
290 AddButton(B_TRANSLATE("Cancel shutdown"));
646 BLooper("shutdown process"),
690 // If an error occurred (e.g. the shutdown process was cancelled), the
743 fInternalEventSemaphore = create_sem(0, "shutdown events");
758 fWorker = spawn_thread(_WorkerEntry, "shutdown worker",
897 if (message->FindBool("stop shutdown", &stopShutdown) == B_OK
1025 "shutdown window.");
1080 "add app to the shutdown window: %s\n", strerror(error));
1293 // this can happen only, if the shutdown process failed or was aborted:
1307 // If we are here, the shutdown process has been initiated successfully,
1314 // ask the user to confirm the shutdown, if desired
1318 const char* shutdown = B_TRANSLATE("Shut down");
1320 title.ReplaceFirst("%action%", fReboot ? restart : shutdown);
1324 const char* defaultText = fReboot ? restart : shutdown;
1325 const char* otherText = fReboot ? shutdown : restart;
1339 // Toggle shutdown method
1360 // make the shutdown window ready and show it
1401 // we're through: do the shutdown
1412 // shutdown failed: This can happen for power off mode -- reboot should
1456 // The user canceled the shutdown process by pressing the
1461 // If the app requests aborting the shutdown, we don't need
1468 PRINT("ShutdownProcess::_WaitForApp(): shutdown cancelled "
1504 PRINT("ShutdownProcess::_QuitApps(): shutdown cancelled by "
1514 // prepare the shutdown message
1530 PRINT("ShutdownProcess::_QuitApps(): shutdown cancelled by "
1569 // send the shutdown message to the app
1570 PRINT(" sending team %" B_PRId32 " (port: %" B_PRId32 ") a shutdown "
1609 // prepare the shutdown message
1613 // send shutdown messages to user apps
1619 PRINT(" sending shutdown message to %" B_PRId32 " apps\n",
1626 "shutdown message to all applications: %s\n",
1657 // ignore: it's too late to abort the shutdown
1797 PRINT("ShutdownProcess::_QuitBlockingApp(): shutdown "
1806 // If the app requests aborting the shutdown, we don't need
1842 // find the app that cancelled the shutdown
1862 "that has cancelled the shutdown.\n");
1868 "shutdown process.");