HomeSort by relevance Sort by last modified time
    Searched refs:available (Results 26 - 50 of 715) sorted by null

12 3 4 5 6 7 8 91011>>

  /libcore/luni/src/main/java/java/io/
ObjectInput.java 31 * @return the number of bytes available.
35 public int available() throws IOException; method in interface:ObjectInput
49 * reached. Blocks if no input is available.
FilterInputStream.java 52 public int available() throws IOException { method in class:FilterInputStream
53 return in.available();
  /external/guava/guava-tests/test/com/google/common/io/
LimitInputStreamTest.java 33 // also test available
35 assertEquals(2, lin.available());
38 assertEquals(1, lin.available());
41 assertEquals(0, lin.available());
85 // also test available
87 assertEquals(2, lin.available());
89 assertEquals(1, lin.available());
92 assertEquals(2, lin.available());
94 assertEquals(0, lin.available());
  /external/ganymed-ssh2/src/main/java/ch/ethz/ssh2/crypto/
SimpleDERReader.java 68 public int available() method in class:SimpleDERReader
103 if ((len < 0) || len > available())
120 if ((len < 0) || len > available())
137 if ((len < 0) || len > available())
152 if ((len < 0) || len > available())
  /libcore/luni/src/main/java/java/util/zip/
DeflaterInputStream.java 39 private boolean available = true; field in class:DeflaterInputStream
121 if (!available) {
145 available = false;
167 * {@link InputStream#available()}, and violates the <a
171 * @return 0 if no further bytes are available. Otherwise returns 1,
173 * available.
177 public int available() throws IOException { method in class:DeflaterInputStream
179 return available ? 1 : 0;
  /external/apache-xml/src/main/java/org/apache/xml/utils/
FastStringBuffer.java 36 * exceeds the space available; we just allocate another chunk and
316 * greater than the amount of storage currently available... and even
489 int available = m_chunkSize - m_firstFree; local
496 if (available > strlen)
497 available = strlen;
499 value.getChars(copyfrom, copyfrom + available, m_array[m_lastChunk],
502 strlen -= available;
503 copyfrom += available;
541 available = m_chunkSize;
547 m_firstFree += available;
571 int available = m_chunkSize - m_firstFree; local
654 int available = m_chunkSize - m_firstFree; local
741 int available = m_chunkSize - m_firstFree; local
829 int available = m_chunkSize - sourcecolumn; local
    [all...]
  /external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
FixASCIIControlsReader.java 64 boolean available = true;
65 while (available && read < len)
67 available = super.read(readAheadBuffer, readAhead, 1) == 1;
68 if (available)
98 available = true;
103 return read > 0 || available ? read : -1;
  /libcore/luni/src/main/java/java/util/concurrent/
Semaphore.java 14 * available, and then takes it. Each {@link #release} adds a permit,
17 * keeps a count of the number available and acts accordingly.
25 * private final Semaphore available = new Semaphore(MAX_AVAILABLE, true);
28 * available.acquire();
34 * available.release();
67 * the semaphore, guaranteeing that an item is available for use. When
78 * only has at most one permit available, can serve as a mutual
81 * available, or zero permits available. When used in this way, the
105 * available
152 int available = getState(); local
220 int available = getState(); local
    [all...]
  /libcore/luni/src/test/java/libcore/java/util/zip/
DeflaterInputStreamTest.java 35 assertEquals(1, in.available());
40 assertEquals(0, in.available());
46 in.available();
68 assertEquals(1, in.available());
74 assertEquals(0, in.available());
80 in.available();
  /external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
UnknownLengthHttpInputStream.java 49 @Override public int available() throws IOException { method in class:UnknownLengthHttpInputStream
51 return in == null ? 0 : in.available();
  /external/valgrind/main/drd/tests/
fp_race.stderr.exp 7 (thread finished, call stack no longer available)
9 (thread finished, call stack no longer available)
16 (thread finished, call stack no longer available)
18 (thread finished, call stack no longer available)
hg04_race.stderr.exp 9 (thread finished, call stack no longer available)
11 (thread finished, call stack no longer available)
19 (thread finished, call stack no longer available)
21 (thread finished, call stack no longer available)
hg05_race2.stderr.exp 9 (thread finished, call stack no longer available)
11 (thread finished, call stack no longer available)
19 (thread finished, call stack no longer available)
21 (thread finished, call stack no longer available)
sem_as_mutex.stderr.exp 7 (thread finished, call stack no longer available)
9 (thread finished, call stack no longer available)
16 (thread finished, call stack no longer available)
18 (thread finished, call stack no longer available)
sem_open.stderr.exp 7 (thread finished, call stack no longer available)
9 (thread finished, call stack no longer available)
16 (thread finished, call stack no longer available)
18 (thread finished, call stack no longer available)
tc21_pthonce.stderr.exp 9 (thread finished, call stack no longer available)
11 (thread finished, call stack no longer available)
19 (thread finished, call stack no longer available)
21 (thread finished, call stack no longer available)
  /libcore/luni/src/main/java/libcore/net/http/
UnknownLengthHttpInputStream.java 51 @Override public int available() throws IOException { method in class:UnknownLengthHttpInputStream
53 return in == null ? 0 : in.available();
  /libcore/luni/src/main/java/libcore/net/url/
FtpURLInputStream.java 72 public int available() throws IOException { method in class:FtpURLInputStream
73 return is.available();
  /packages/apps/Email/src/org/apache/commons/io/input/
ProxyInputStream.java 89 * Invokes the delegate's <code>available()</code> method.
90 * @return the number of available bytes
93 public int available() throws IOException { method in class:ProxyInputStream
94 return in.available();
  /packages/apps/Email/src/org/apache/james/mime4j/util/
PartialInputStream.java 35 public int available() throws IOException { method in class:PartialInputStream
36 return Math.min(super.available(), getBytesLeft());
  /external/clang/test/SemaCXX/
libstdcxx_is_pod_hack.cpp 40 # error __is_pod should still be available.
  /libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/
SSLBufferedInput.java 51 public int available() throws IOException { method in class:SSLBufferedInput
  /external/apache-harmony/support/src/test/java/tests/support/
Support_AvailTest.java 37 // If the string is formatted correctly, and the available method works
49 int real = myin.available();
75 real = myin.available();
82 // loop to EOF, then check if available = 0
95 real = myin.available();
101 output = "IOException during available() testing";
  /external/icu4c/io/
sprintf.c 35 /* u_minstrncpy copies the minimum number of code units of (count or output->available) */
42 int32_t size = ufmt_min(count, output->available);
44 u_strncpy(output->str + (output->len - output->available), str, size);
45 output->available -= size;
59 resultLen = ufmt_min(resultLen, output->available);
64 int32_t outputPos = output->len - output->available;
66 if (paddingLeft + resultLen > output->available) {
67 paddingLeft = output->available - resultLen;
71 /* paddingLeft = output->available - resultLen;*/
79 output->available -= paddingLeft
    [all...]
  /external/svox/pico/src/com/svox/pico/
EngineSettings.java 51 ArrayList<String> available = data.getStringArrayListExtra(TextToSpeech.Engine.EXTRA_AVAILABLE_VOICES); local
56 for (int i = 0; i < available.size(); i++){
57 Log.e("debug", available.get(i));
58 String[] languageCountry = available.get(i).split("-");
60 Preference pref = findPreference(available.get(i));

Completed in 4133 milliseconds

12 3 4 5 6 7 8 91011>>