/libcore/luni/src/test/java/libcore/java/io/ |
OldFilterOutputStreamTest.java | 105 bis.available() == testLength); 128 bis.available() == testLength - 10); 178 bis.available() == 1);
|
OldPipedOutputStreamTest.java | 42 public int available() { method in class:OldPipedOutputStreamTest.PReader 44 return reader.available(); 162 assertTrue("Test 1: Bytes have been written before flush.", reader.available() != 0);
|
OldLineNumberInputStreamTest.java | 36 assertEquals("Test 1: Returned incorrect number of available bytes;", 37 text.length() / 2, lnis.available()); 41 lnis.available();
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
ManageCacheDrawer.java | 73 boolean available = isLocal(entry.sourceType) || chooseToCache; 77 if (!available) { 82 if (!available) canvas.restore();
|
/build/tools/droiddoc/templates-pdk/assets/ |
customizations.js | 3 $("#naMessage").show().html("<div><p><strong>This " + thing + " is not available with API Level " + selectedLevel + ".</strong></p>"
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
BufferedInputStreamTest.java | 76 // still be available. 114 * @tests java.io.BufferedInputStream#available() 117 assertTrue("Returned incorrect number of available bytes", is 118 .available() == fileString.length()); 120 // Test that a closed stream throws an IOE for available() 124 int available = bis.available(); local 126 assertTrue(available != 0); 129 bis.available(); 361 if (toRead > available()) { [all...] |
SequenceInputStreamTest.java | 101 * @tests java.io.SequenceInputStream#available() 104 // Test for method int java.io.SequenceInputStream.available() 107 assertTrue("Returned incorrect number of bytes: " + si.available(), 108 si.available() == s1.length()); 110 fail("IOException during available test : " + e.getMessage());
|
/external/guava/guava-tests/test/com/google/common/io/ |
MultiInputStreamTest.java | 89 assertEquals(10, in.available()); 94 assertEquals(0, in.available());
|
/external/jmonkeyengine/engine/src/core/com/jme3/util/ |
LittleEndien.java | 157 public int available() throws IOException { method in class:LittleEndien 158 return in.available();
|
/frameworks/base/core/java/android/speech/srec/ |
UlawEncoderInputStream.java | 184 public int available() throws IOException { method in class:UlawEncoderInputStream 185 return (mIn.available() + mBufCount) / 2;
|
/frameworks/base/core/java/android/util/ |
AtomicFile.java | 210 int avail = stream.available(); 222 avail = stream.available();
|
/frameworks/base/core/java/com/android/internal/os/ |
AtomicFile.java | 145 int avail = stream.available(); 157 avail = stream.available();
|
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/ |
ParserFactory.java | 90 avail = bufferedStream.available(); 103 // available() returned!) 104 while ((avail = bufferedStream.available()) > 0) {
|
/frameworks/support/v4/java/android/support/v4/util/ |
AtomicFile.java | 179 int avail = stream.available(); 191 avail = stream.available();
|
/libcore/luni/src/main/java/java/io/ |
PushbackInputStream.java | 37 * {@code buf.length} indicates that no bytes are available. A value of 0 85 public int available() throws IOException { method in class:PushbackInputStream 89 return buf.length - pos + in.available(); 125 * available bytes then a byte from the source input stream is returned. 140 // Is there a pushback byte available? 182 // Are there pushback bytes available?
|
/packages/apps/Settings/src/com/android/settings/ |
TetherSettings.java | 217 ArrayList<String> available = intent.getStringArrayListExtra( local 223 updateState(available.toArray(new String[available.size()]), 310 String[] available = cm.getTetherableIfaces(); local 313 updateState(available, tethered, errored); 316 private void updateState(String[] available, String[] tethered, 318 updateUsbState(available, tethered, errored); 319 updateBluetoothState(available, tethered, errored); 323 private void updateUsbState(String[] available, String[] tethered, 329 for (String s : available) { [all...] |
/external/bluetooth/bluedroid/stack/rfcomm/ |
port_api.c | 1432 int available = 0; local [all...] |
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
ZipInputStreamTest.java | 224 while (zis1.available() > 0) { 229 fail("ZipInputStream.available or ZipInputStream.skip does not " + 234 assertEquals(0, zis1.available()); 236 assertEquals(1, zis.available()); 239 zis1.available();
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
StreamUtil.java | 30 return ((ByteArrayInputStream)in).available();
|
/external/chromium-trace/trace-viewer/third_party/pywebsocket/src/mod_pywebsocket/handshake/ |
__init__.py | 31 """WebSocket opening handshake processor. This class try to apply available 112 'Failed to complete opening handshake for all available protocols',
|
/external/emma/core/java12/com/vladium/util/ |
ByteArrayIStream.java | 3 * This program and the accompanying materials are made available under 5 * and is available at http://www.eclipse.org/legal/cpl-v10.html 79 public final int available () method in class:ByteArrayIStream
|
/external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/channel/ |
ChannelInputStream.java | 31 public int available() throws IOException method in class:ChannelInputStream
|
/external/icu4c/io/ |
uprintf.h | 72 int32_t available;/* Number of codeunits available to write to */ member in struct:u_localized_print_string 86 * to the buffer when space is available. It's done this way because
|
/external/openssh/ |
roaming_common.c | 199 size_t available, needed; local 202 available = out_last - out_start; 204 available = out_buf_size; 208 if (needed > available)
|
/external/qemu/distrib/sdl-1.2.15/src/audio/arts/ |
SDL_artsaudio.c | 147 int available = 0; local 150 return available; 159 available = 1; 165 return available;
|