/libcore/support/src/test/java/org/apache/harmony/testframework/ |
WrapperTester.java | 163 fail("expected already closed exception"); 173 assertTrue(delegate.closed); 184 assertTrue(delegate.closed); 192 private boolean closed = false; field in class:WrapperTester.ClosableByteArrayOutputStream 196 closed = true; 201 if (closed) { 210 boolean closed = false; field in class:WrapperTester.FailOnFlushOutputStream 214 if (closed) { 215 throw new IOException("Already closed"); 221 closed = true 235 boolean closed = false; field in class:WrapperTester.FailOnCloseOutputStream [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ |
gzip.py | 151 """Raises a ValueError if the underlying file object has been closed. 154 if self.closed: 155 raise ValueError('I/O operation on closed file.') 227 raise ValueError, "write() on closed GzipFile object" 361 def closed(self): member in class:GzipFile
|
socket.py | 242 # "closed" is a property, see below 274 closed = property(_getclosed, doc="True if the file is closed") variable in class:_fileobject
|
tempfile.py | 385 # (i.e. methods are cached, closed and friends are not) 442 when it is closed unless the 'delete' argument is set to False. 454 # the file when it is closed. This is only supported by Windows. 478 name, and will cease to exist when it is closed. 535 if self._file.closed: 536 raise ValueError("Cannot enter context with closed file") 550 def closed(self): member in class:SpooledTemporaryFile 551 return self._file.closed
|
_pyio.py | 52 wrapped. (If a file descriptor is given, it is closed when the 53 returned I/O object is closed, unless closefd is set to False.) 137 when the file is closed. This does not work when a file name is given 275 Note that calling any method (even inquiries) on a closed stream is 283 fp is closed after the suite of the with statement is complete: 340 This method has no effect if the file is already closed. 407 def closed(self): member in class:IOBase 408 """closed: bool. True iff the file has been closed. 415 """Internal: raise an ValueError if file is closed 756 def closed(self): member in class:_BufferedIOMixin 1219 def closed(self): member in class:BufferedRWPair 1579 def closed(self): member in class:TextIOWrapper [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ |
gzip.py | 151 """Raises a ValueError if the underlying file object has been closed. 154 if self.closed: 155 raise ValueError('I/O operation on closed file.') 227 raise ValueError, "write() on closed GzipFile object" 361 def closed(self): member in class:GzipFile
|
socket.py | 242 # "closed" is a property, see below 274 closed = property(_getclosed, doc="True if the file is closed") variable in class:_fileobject
|
tempfile.py | 385 # (i.e. methods are cached, closed and friends are not) 442 when it is closed unless the 'delete' argument is set to False. 454 # the file when it is closed. This is only supported by Windows. 478 name, and will cease to exist when it is closed. 535 if self._file.closed: 536 raise ValueError("Cannot enter context with closed file") 550 def closed(self): member in class:SpooledTemporaryFile 551 return self._file.closed
|
_pyio.py | 52 wrapped. (If a file descriptor is given, it is closed when the 53 returned I/O object is closed, unless closefd is set to False.) 137 when the file is closed. This does not work when a file name is given 275 Note that calling any method (even inquiries) on a closed stream is 283 fp is closed after the suite of the with statement is complete: 340 This method has no effect if the file is already closed. 407 def closed(self): member in class:IOBase 408 """closed: bool. True iff the file has been closed. 415 """Internal: raise an ValueError if file is closed 756 def closed(self): member in class:_BufferedIOMixin 1219 def closed(self): member in class:BufferedRWPair 1579 def closed(self): member in class:TextIOWrapper [all...] |
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
SpdyTransport.java | 245 private boolean closed; field in class:SpdyTransport.SpdySource 264 if (closed) throw new IllegalStateException("closed"); 289 if (closed) return; 295 closed = true;
|
HttpConnection.java | 120 /** Returns true if this connection is closed. */ 141 return false; // Stream is exhausted; socket is closed. 150 return false; // Couldn't read; socket is closed. 269 private boolean closed; field in class:HttpConnection.FixedLengthSink 281 if (closed) throw new IllegalStateException("closed"); 292 if (closed) return; // Don't throw; this stream might have been closed on the caller's behalf. 297 if (closed) return; 298 closed = true 319 private boolean closed; field in class:HttpConnection.ChunkedSink 362 protected boolean closed; field in class:HttpConnection.AbstractSource [all...] |
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/ |
SSLSocketImplTest.java | 621 private boolean closed; field in class:SSLSocketImplTest.Server 637 while (!closed) { 665 closed = true; [all...] |
/external/libnfc-nci/src/nfa/include/ |
nfa_hci_api.h | 49 #define NFA_HCI_CLOSE_PIPE_EVT 0x07 /* Pipe is closed / could not close */ 75 #define NFA_HCI_PIPE_CLOSED 0x00 /* Pipe is closed */ 256 tNFA_HCI_CLOSE_PIPE closed; /* NFA_HCI_CLOSE_PIPE_EVT */ member in union:__anon27858 553 ** When the dynamic pipe is closed (or
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/spdy/ |
SpdyStream.java | 69 * The reason why this stream was abnormally closed. If there are multiple 110 if ((source.finished || source.closed) 111 && (sink.finished || sink.closed) 167 * Returns the reason why this stream was closed, or null if it closed 168 * normally or has not yet been closed. 241 return; // Already closed. 252 return; // Already closed. 257 /** Returns true if this stream was closed. */ 349 /** True if the caller has closed this stream. * 350 private boolean closed; field in class:SpdyStream.SpdyDataSource 513 private boolean closed; field in class:SpdyStream.SpdyDataSink [all...] |
Http20Draft09.java | 189 // TODO: checkState open or half-closed (local) or raise STREAM_CLOSED 296 private boolean closed; field in class:Http20Draft09.Writer 306 if (closed) throw new IOException("closed"); 311 if (closed) throw new IOException("closed"); 321 if (closed) throw new IOException("closed"); 331 if (closed) throw new IOException("closed"); [all...] |
Spdy3.java | 298 private boolean closed; field in class:Spdy3.Writer 325 if (closed) throw new IOException("closed"); 332 if (closed) throw new IOException("closed"); 350 if (closed) throw new IOException("closed"); 365 if (closed) throw new IOException("closed"); 379 if (closed) throw new IOException("closed") [all...] |
/external/qemu/telephony/ |
sysdeps_posix.c | 90 char closed; member in struct:SysChannelRec_ 113 channel->closed = 0; 238 assert( !channel->closed ); 263 assert( !channel->closed ); 292 channel->closed = 1; 296 if (!channel->closed) { 297 channel->closed = 1; 528 if (channel->closed) { 529 /* the channel was closed by a previous callback */
|
/external/chromium_org/net/socket/ |
client_socket_pool_base.cc | 26 // disabled, sockets are closed next time a socket request is made. 383 bool closed = CloseOneIdleSocketExceptInGroup(group); local 384 if (preconnecting && !closed) [all...] |
/external/chromium_org/third_party/icu/source/i18n/ |
ucol_elm.cpp | 1609 UnicodeSet *closed; member in struct:enumStruct [all...] |
/external/qemu/hw/android/goldfish/ |
pipe.c | 140 char closed; member in struct:Pipe 237 qemu_put_byte(file, (int)pipe->closed); 281 pipe->closed = qemu_get_byte(file); 299 pipe->closed = 1; 984 /* If the pipe is closed by the host, return an error */ 985 if (pipe != NULL && pipe->closed && command != PIPE_CMD_CLOSE) { [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_sax.py | 404 self.assertFalse(result.closed) 430 closed = False variable in class:WriterXmlgenTest.ioclass
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_sax.py | 404 self.assertFalse(result.closed) 430 closed = False variable in class:WriterXmlgenTest.ioclass
|
/external/chromium_org/third_party/WebKit/Source/core/frame/ |
LocalDOMWindow.cpp | 1204 bool LocalDOMWindow::closed() const function in class:WebCore::LocalDOMWindow [all...] |
/external/mdnsresponder/mDNSShared/ |
dnsextd.c | 368 static int my_recv(TCPSocket *sock, void *const buf, const int len, mDNSBool * closed) 397 num_read = mDNSPlatformReadTCP( sock, ptr, remaining, closed ); 399 if (((num_read == 0) && *closed) || (num_read < 0) || (num_read > remaining)) return -1; 417 mDNSBool * closed 430 nread = my_recv( sock, &msglen, sizeof( msglen ), closed ); 470 nread = my_recv(sock, &pkt->msg, msglen, closed ); 923 mDNSBool closed; local 985 reply = RecvPacket( sock, NULL, &closed ); 1299 mDNSBool closed; local 1568 mDNSBool closed; local 1773 mDNSBool closed; local 2717 mDNSBool closed; local [all...] |
/libcore/luni/src/main/java/java/util/ |
Formatter.java | 552 private boolean closed = false; field in class:Formatter [all...] |