Searched refs:available (Results 1 - 25 of 451) sorted by relevance

1234567891011>>

/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/crypto/io/
H A DCipherInputStream.java70 int available = super.available();
74 if (available <= 0)
76 available = 1;
79 if (available > inBuf.length)
81 available = super.read(inBuf, 0, inBuf.length);
85 available = super.read(inBuf, 0, available);
88 if (available < 0)
128 maxBuf = bufferedBlockCipher.processBytes(inBuf, 0, available, bu
228 public int available() method in class:CipherInputStream
[all...]
/external/jsilver/src/com/google/clearsilver/jsilver/output/
H A DThreadLocalOutputBufferProvider.java25 private final ThreadLocal<Boolean> available; field in class:ThreadLocalOutputBufferProvider
33 available = new ThreadLocal<Boolean>() {
42 if (!available.get()) {
46 available.set(false);
57 available.set(true);
/external/clang/test/Modules/
H A Dsubmodules-preprocess.cpp8 # error HAVE_VECTOR macro is not available (but should be)
12 # error HAVE_TYPE_TRAITS_MAP macro is available (but shouldn't be)
16 # error HAVE_HASH_MAP macro is available (but shouldn't be)
22 # error HAVE_VECTOR macro is not available (but should be)
26 # error HAVE_TYPE_TRAITS_MAP macro is not available (but should be)
30 # error HAVE_HASH_MAP macro is available (but shouldn't be)
38 # error HAVE_VECTOR macro is not available (but should be)
42 # error HAVE_TYPE_TRAITS_MAP macro is not available (but should be)
46 # error HAVE_HASH_MAP macro is available (but shouldn't be)
52 # error HAVE_VECTOR macro is not available (bu
[all...]
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/
H A DCharCache.java33 int available = cache.length - pos;
34 int toWrite = chars.length < available ? chars.length : available;
/external/arduino/hardware/arduino/cores/arduino/
H A DStream.h29 virtual int available() = 0;
/external/jmonkeyengine/engine/src/networking/com/jme3/network/kernel/
H A DConnector.java60 * Returns true if there is currently data available for
65 public boolean available(); method in interface:Connector
69 * there is no data available. The buffer may only be valid
/external/chromium_org/third_party/icu/source/common/
H A Dbytestream.cpp43 int32_t available = capacity_ - size_; local
44 if (n > available) {
45 n = available;
63 int32_t available = capacity_ - size_; local
64 if (available >= min_capacity) {
65 *result_capacity = available;
/external/icu4c/common/
H A Dbytestream.cpp47 int32_t available = capacity_ - size_; local
48 if (n > available) {
49 n = available;
67 int32_t available = capacity_ - size_; local
68 if (available >= min_capacity) {
69 *result_capacity = available;
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/
H A DDeflaterInputStreamTest.java36 * @tests DeflaterInputStream#available()
41 assertEquals(1, dis.available());
43 assertEquals(1, dis.available());
45 assertEquals(1, dis.available());
47 assertEquals(0, dis.available());
50 dis.available();
63 assertEquals(1, dis.available());
66 dis.available();
109 assertEquals(1, dis.available());
111 assertEquals(1, dis.available());
[all...]
/external/speex/libspeex/
H A Dbuffer.c48 int available; member in struct:SpeexBuffer_
58 st->available = 0;
88 st->available += len;
89 if (st->available > st->size)
91 st->available = st->size;
120 st->available += len;
121 if (st->available > st->size)
123 st->available = st->size;
136 if (len > st->available)
138 SPEEX_MEMSET(data+st->available,
[all...]
/external/chromium_org/gpu/command_buffer/tests/
H A Dgl_query_unittests.cc61 GLuint available = 0; local
77 available = 0;
78 glGetQueryObjectuivEXT(query, GL_QUERY_RESULT_AVAILABLE_EXT, &available);
79 EXPECT_TRUE(available);
93 available = 0;
94 glGetQueryObjectuivEXT(query, GL_QUERY_RESULT_AVAILABLE_EXT, &available);
95 EXPECT_TRUE(available);
/external/apache-harmony/x-net/src/test/impl/java.injected/org/apache/harmony/xnet/provider/jsse/
H A DSSLStreamedInputTest.java38 assertEquals(bis.available(), sslsi.available());
/external/chromium_org/chrome/browser/extensions/
H A Drequirements_checker.h39 void SetWebGLAvailability(bool available);
40 void SetCSS3DAvailability(bool available);
/external/clang/test/SemaCXX/
H A Dlibstdcxx_is_pod_hack.cpp40 # error __is_pod should still be available.
/external/ganymed-ssh2/examples/
H A DSingleThreadStdoutStderr.java63 if ((stdout.available() == 0) && (stderr.available() == 0))
65 /* Even though currently there is no data available, it may be that new data arrives
108 while (stdout.available() > 0)
115 while (stderr.available() > 0)
/external/valgrind/main/drd/tests/
H A Dsem_as_mutex3.stderr.exp7 (thread finished, call stack no longer available)
9 (thread finished, call stack no longer available)
H A Dsem_open3.stderr.exp7 (thread finished, call stack no longer available)
9 (thread finished, call stack no longer available)
H A Dfp_race.stderr.exp7 (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)
H A Dhg04_race.stderr.exp9 (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)
H A Dhg05_race2.stderr.exp9 (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)
/external/guava/guava-tests/test/com/google/common/io/
H A DLimitInputStreamTest.java33 // 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/
H A DSimpleDERReader.java68 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())
/external/apache-xml/src/main/java/org/apache/xml/utils/
H A DFastStringBuffer.java36 * 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;
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;
[all...]
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
H A DFixASCIIControlsReader.java64 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;
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/
H A DUnknownLengthHttpInputStream.java49 @Override public int available() throws IOException { method in class:UnknownLengthHttpInputStream
51 return in == null ? 0 : in.available();

Completed in 537 milliseconds

1234567891011>>