/prebuilts/gdb/darwin-x86/lib/python2.7/ |
SocketServer.py | 168 - shutdown() 222 """Handle one request at a time until shutdown. 224 Polls for shutdown every poll_interval seconds. Ignores 234 # shutdown request and wastes cpu at all other times. 243 def shutdown(self): member in class:BaseServer 337 """Called to shutdown and close an individual request.""" 368 - shutdown() 466 """Called to shutdown and close an individual request.""" 468 #explicitly shutdown. socket.close() merely releases 470 request.shutdown(socket.SHUT_WR [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/ |
SocketServer.py | 168 - shutdown() 222 """Handle one request at a time until shutdown. 224 Polls for shutdown every poll_interval seconds. Ignores 234 # shutdown request and wastes cpu at all other times. 243 def shutdown(self): member in class:BaseServer 337 """Called to shutdown and close an individual request.""" 368 - shutdown() 466 """Called to shutdown and close an individual request.""" 468 #explicitly shutdown. socket.close() merely releases 470 request.shutdown(socket.SHUT_WR [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
SocketServer.py | 168 - shutdown() 222 """Handle one request at a time until shutdown. 224 Polls for shutdown every poll_interval seconds. Ignores 234 # shutdown request and wastes cpu at all other times. 243 def shutdown(self): member in class:BaseServer 337 """Called to shutdown and close an individual request.""" 368 - shutdown() 466 """Called to shutdown and close an individual request.""" 468 #explicitly shutdown. socket.close() merely releases 470 request.shutdown(socket.SHUT_WR [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
SocketServer.py | 168 - shutdown() 222 """Handle one request at a time until shutdown. 224 Polls for shutdown every poll_interval seconds. Ignores 234 # shutdown request and wastes cpu at all other times. 243 def shutdown(self): member in class:BaseServer 337 """Called to shutdown and close an individual request.""" 368 - shutdown() 466 """Called to shutdown and close an individual request.""" 468 #explicitly shutdown. socket.close() merely releases 470 request.shutdown(socket.SHUT_WR [all...] |
/art/runtime/jdwp/ |
jdwp_socket.cc | 59 virtual void Shutdown(); 163 netState->Shutdown(); 177 void JdwpSocketState::Shutdown() { 184 /* "shutdown" dislodges blocking read() and accept() calls */ 186 shutdown(local_listenSock, SHUT_RDWR); 190 shutdown(local_clientSock, SHUT_RDWR); 232 // When we call shutdown() on the socket, accept() returns with
|
jdwp_adb.cc | 81 shutdown(clientSock, SHUT_RDWR); 85 shutdown(control_sock_, SHUT_RDWR); 96 virtual void Shutdown() REQUIRES(!state_lock_) { 109 shutdown(local_clientSock, SHUT_RDWR); 113 shutdown(control_sock, SHUT_RDWR); 269 if (control_sock >= 0 && shutdown(control_sock, SHUT_RDWR)) {
|
/external/autotest/client/tests/cyclictest/src/ |
cyclictest.c | 85 static int shutdown; variable 278 while (!shutdown) { 328 shutdown++; 494 shutdown = 1; 582 while (!shutdown) { 601 if (shutdown || allstopped) 608 shutdown = 1;
|
/external/vboot_reference/tests/ |
vboot_api_kernel2_tests.c | 207 TEST_EQ(VbUserConfirms(&cparams, 0), -1, "Shutdown requested"); 300 /* Shutdown requested in loop */ 304 "Shutdown requested"); 369 /* Shutdown requested at tonorm screen */ 375 "Shutdown requested at tonorm"); 454 /* Shutdown requested in loop */ 459 "Shutdown requested");
|
/packages/apps/DocumentsUI/src/com/android/documentsui/services/ |
FileOperationService.java | 313 // Delay the shutdown until we've cleaned up all notifications. shutdown() is now posted in 321 private void shutdown() { method in class:FileOperationService 326 // so we can't guard executor shutdown. For this reason we move 327 // executor shutdown to #onDestroy. 380 // Post the shutdown message to main thread after cleanUpNotification() to give it a 384 handler.post(this::shutdown);
|
/prebuilts/jdk/jdk8/darwin-x86/sample/nio/server/ |
ChannelIOSecure.java | 148 * We have received the shutdown request by our caller, and have 151 private boolean shutdown = false; field in class:ChannelIOSecure 606 * Begin the shutdown process. 611 * Return true when we're done passing the shutdown messsages. 613 boolean shutdown() throws IOException { method in class:ChannelIOSecure 615 if (!shutdown) { 617 shutdown = true;
|
/prebuilts/jdk/jdk8/linux-x86/sample/nio/server/ |
ChannelIOSecure.java | 148 * We have received the shutdown request by our caller, and have 151 private boolean shutdown = false; field in class:ChannelIOSecure 606 * Begin the shutdown process. 611 * Return true when we're done passing the shutdown messsages. 613 boolean shutdown() throws IOException { method in class:ChannelIOSecure 615 if (!shutdown) { 617 shutdown = true;
|
/cts/libs/testserver/src/android/webkit/cts/ |
TestWebServer.java | 69 public static final String SHUTDOWN_PREFIX = "/shutdown"; 114 sSecureInstance.shutdown(); 119 sInstance.shutdown(); 132 public void shutdown() { method in class:TestWebServer 136 // request for shutdown and having the server's one thread 345 * the client calling {@link TestWebServer#shutdown()} can issue a request 346 * for shutdown by blindly trusting the {@link TestWebServer}'s 369 * {@link TestWebServer#shutdown()}. 584 // Determine whether we need to shutdown early before 598 // normal during shutdown, ignor [all...] |
/external/python/cpython3/Lib/test/ |
test_concurrent_futures.py | 74 self.executor.shutdown(wait=True) 100 self.executor.shutdown() 106 # Test the atexit hook for shutdown of worker threads and processes 121 self.executor.shutdown() 135 self.executor.shutdown() 192 self.executor.shutdown() 395 # Executor.shutdown() and context manager usage is tested by 431 # Issue #12456: race condition at shutdown where trying to post a 435 self.executor.shutdown() 469 self.executor.shutdown(wait=True [all...] |
/frameworks/base/core/java/com/android/server/ |
BootReceiver.java | 105 // for reboot, fs shutdown time is recorded in last_kmsg. 108 // first: fs shutdown time in ms, second: umount status defined in init/reboot.h 113 // Location of file with metrics recorded during shutdown 114 private static final String SHUTDOWN_METRICS_FILE = "/data/system/shutdown-metrics.txt"; 427 Slog.e(TAG, "Wrong format of shutdown metrics - " + metricsStr); 483 Slog.e(TAG, "No value received for shutdown reason"); 490 Slog.e(TAG, "Cannot parse shutdown start time: " + startStr); 493 Slog.e(TAG, "No value received for shutdown start time"); 500 Slog.e(TAG, "Cannot parse shutdown duration: " + startStr); 503 Slog.e(TAG, "No value received for shutdown duration") [all...] |
/system/core/adb/ |
sockets.cpp | 267 /* Note: it's important to call shutdown before disconnecting from 271 if (s->peer->shutdown) { 272 s->peer->shutdown(s->peer); 342 s->shutdown = NULL; 462 s->shutdown = remote_socket_shutdown; 494 s->shutdown = NULL; 505 s->shutdown = NULL; 727 s->peer->shutdown = nullptr; 767 s->peer->shutdown = nullptr; 806 s->shutdown = NULL [all...] |
/external/python/cpython2/Lib/multiprocessing/ |
managers.py | 152 public = ['shutdown', 'create', 'accept_connection', 'get_methods', 341 def shutdown(self, c): member in class:Server 343 Shutdown this process 347 util.debug('manager received shutdown message') 451 SHUTDOWN = 2 533 self.shutdown = util.Finalize( 602 self.shutdown() 607 Shutdown the manager process; will be registered as a finalizer 610 util.info('sending shutdown message to manager') 614 dispatch(conn, None, 'shutdown') [all...] |
/external/python/cpython3/Lib/multiprocessing/ |
managers.py | 129 public = ['shutdown', 'create', 'accept_connection', 'get_methods', 334 def shutdown(self, c): member in class:Server 336 Shutdown this process 339 util.debug('manager received shutdown message') 442 SHUTDOWN = 2 522 self.shutdown = util.Finalize( 597 self.shutdown() 602 Shutdown the manager process; will be registered as a finalizer 605 util.info('sending shutdown message to manager') 609 dispatch(conn, None, 'shutdown') [all...] |
/libcore/luni/src/test/java/org/apache/harmony/luni/tests/internal/net/www/protocol/https/ |
HttpsURLConnectionTest.java | 151 webServer.shutdown(); 189 webServer.shutdown(); 237 webServer.shutdown(); 281 webServer.shutdown(); 349 webServer.shutdown(); 380 webServer.shutdown(); 420 proxyAndWebServer.shutdown(); 469 proxyAndWebServer.shutdown(); 498 proxyAndWebServer1.shutdown(); 515 proxyAndWebServer2.shutdown(); [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/multiprocessing/ |
managers.py | 152 public = ['shutdown', 'create', 'accept_connection', 'get_methods', 341 def shutdown(self, c): member in class:Server 343 Shutdown this process 347 util.debug('manager received shutdown message') 451 SHUTDOWN = 2 533 self.shutdown = util.Finalize( 602 self.shutdown() 607 Shutdown the manager process; will be registered as a finalizer 610 util.info('sending shutdown message to manager') 614 dispatch(conn, None, 'shutdown') [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/multiprocessing/ |
managers.py | 152 public = ['shutdown', 'create', 'accept_connection', 'get_methods', 341 def shutdown(self, c): member in class:Server 343 Shutdown this process 347 util.debug('manager received shutdown message') 451 SHUTDOWN = 2 533 self.shutdown = util.Finalize( 602 self.shutdown() 607 Shutdown the manager process; will be registered as a finalizer 610 util.info('sending shutdown message to manager') 614 dispatch(conn, None, 'shutdown') [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/multiprocessing/ |
managers.py | 152 public = ['shutdown', 'create', 'accept_connection', 'get_methods', 341 def shutdown(self, c): member in class:Server 343 Shutdown this process 347 util.debug('manager received shutdown message') 451 SHUTDOWN = 2 533 self.shutdown = util.Finalize( 602 self.shutdown() 607 Shutdown the manager process; will be registered as a finalizer 610 util.info('sending shutdown message to manager') 614 dispatch(conn, None, 'shutdown') [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/multiprocessing/ |
managers.py | 152 public = ['shutdown', 'create', 'accept_connection', 'get_methods', 341 def shutdown(self, c): member in class:Server 343 Shutdown this process 347 util.debug('manager received shutdown message') 451 SHUTDOWN = 2 533 self.shutdown = util.Finalize( 602 self.shutdown() 607 Shutdown the manager process; will be registered as a finalizer 610 util.info('sending shutdown message to manager') 614 dispatch(conn, None, 'shutdown') [all...] |
/external/mockftpserver/MockFtpServer/src/main/java/org/mockftpserver/core/server/ |
AbstractFtpServer.java | 310 * Return true if this server is fully shutdown -- i.e., there is no active (alive) threads and
313 * @return true if this server is fully shutdown
316 boolean shutdown = !serverThread.isAlive() && serverSocket.isClosed();
320 shutdown = shutdown && sessionInfo.socket.isClosed() && !sessionInfo.thread.isAlive();
322 return shutdown;
|
/external/mockftpserver/branches/1.x_Branch/src/main/java/org/mockftpserver/stub/ |
StubFtpServer.java | 382 * Return true if this server is fully shutdown -- i.e., there is no active (alive) threads and
384 * @return true if this server is fully shutdown
387 boolean shutdown = !serverThread.isAlive() && serverSocket.isClosed();
391 shutdown = shutdown && sessionInfo.socket.isClosed() && !sessionInfo.thread.isAlive();
393 return shutdown;
|
/hardware/interfaces/automotive/evs/1.0/vts/functional/ |
VtsHalEvsV1_0TargetTest.cpp | 159 * the system to be tolerant of shutdown/restart race conditions. 359 // keep the stream alive unless we tell it to shutdown. 362 frameHandler->shutdown(); 427 // keep the stream alive unless we tell it to shutdown. 430 frameHandler->shutdown(); 489 frameHandler->shutdown();
|