Searched defs:available (Results 1 - 25 of 71) sorted by relevance

123

/external/apache-http/src/org/apache/http/impl/io/
H A DIdentityInputStream.java62 public int available() throws IOException { method in class:IdentityInputStream
/external/icu4c/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/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/emma/core/java12/com/vladium/util/
H A DByteArrayIStream.java3 * 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/guava/src/com/google/common/io/
H A DLimitInputStream.java49 @Override public int available() throws IOException { method in class:LimitInputStream
50 return (int) Math.min(in.available(), left);
H A DMultiInputStream.java67 @Override public int available() throws IOException { method in class:MultiInputStream
71 return in.available();
/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/srec/shared/src/
H A DCircularBuffer.c113 size_t available = buffer->capacity - buffer->size; local
118 if (available < bufSize) /* We need to force an error to be logged here */
120 /* bufSize = available; Throwing data on the floor with no notice is asking for trouble */
151 size_t available = buffer->capacity - buffer->size; local
153 if (available < amount)
154 amount = available;
/external/apache-http/src/org/apache/http/conn/
H A DEofSensorInputStream.java191 public int available() throws IOException { method in class:EofSensorInputStream
196 a = wrappedStream.available();
197 // no checkEOF() here, available() can't trigger EOF
/external/chromium/base/
H A Dsync_socket_win.cc144 DWORD available = 0; local
145 PeekNamedPipe(handle_, NULL, 0, NULL, &available, NULL);
146 return available;
H A Dsys_info_win.cc39 ULARGE_INTEGER available, total, free; local
40 if (!GetDiskFreeSpaceExW(path.value().c_str(), &available, &total, &free)) {
43 int64 rv = static_cast<int64>(available.QuadPart);
/external/chromium/chrome/browser/diagnostics/
H A Ddiagnostics_model_unittest.cc90 int available = model_->GetTestAvailableCount(); local
91 EXPECT_EQ(kDiagnosticsTestCount, available);
/external/icu4c/io/
H A Duprintf.h72 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/javasqlite/src/main/java/SQLite/
H A DBlob.java34 * Return number of available bytes for reading.
35 * @return available input bytes
38 public int available() throws IOException { method in class:BlobR
/external/qemu/distrib/sdl-1.2.12/src/audio/bsd/
H A DSDL_bsdaudio.c86 int available; local
88 available = 0;
91 available = 1;
94 return(available);
/external/qemu/distrib/sdl-1.2.12/src/audio/dsp/
H A DSDL_dspaudio.c72 int available; local
74 available = 0;
77 available = 1;
80 return(available);
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/
H A DInputStreamReaderTest.java64 public int available() { method in class:InputStreamReaderTest.LimitedByteArrayInputStream
H A DPipedOutputStreamTest.java44 public int available() { method in class:PipedOutputStreamTest.PReader
46 return reader.available();
143 assertTrue("Bytes written before flush", reader.available() != 0);
/external/chromium/chrome/browser/
H A Dbrowsing_data_database_helper_browsertest.cc31 int64 available; local
34 &available);
41 &size, &available);
/external/icu4c/test/intltest/
H A Daliastst.cpp62 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!");
94 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!");
128 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!");
159 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!");
209 const Locale* available = Locale::getAvailableLocales(availableNum); local
214 logln(UnicodeString(newLoc.getName())+" is not available. Skipping!");
218 UnicodeString dipLocName = UnicodeString(available[j].getName());
227 errln("getCountry() failed for "+ UnicodeString(oldLoc.getName()) +" oldCountry= "+ prettify(oldCountry) +" newCountry = "+prettify(newCountry)+ " in display locale "+ UnicodeString(available[j].getName()));
233 errln("getLanguage() failed for " + UnicodeString(oldLoc.getName()) + " oldLang = "+ prettify(oldLang) +" newLang = "+prettify(newLang)+ " in display locale "+UnicodeString(available[j].getName()));
246 logln(UnicodeString(newLoc.getName())+" is not available
[all...]
/external/oprofile/libop/
H A Dop_alloc_counter.c134 /* If ctr_arc is not available, counter_map is -1 */
171 * return >= 0 number of counters that are available
179 /* assume nothing is available */
180 u32 available=0; local
189 available |= 1 << atoi(counterlist[i]->d_name);
192 *mask=~available;
/external/protobuf/java/src/main/java/com/google/protobuf/
H A DAbstractMessageLite.java232 public int available() throws IOException { method in class:AbstractMessageLite.Builder.LimitedInputStream
233 return Math.min(super.available(), limit);
/external/qemu/distrib/sdl-1.2.12/src/audio/
H A DSDL_sysaudio.h99 int (*available)(void); member in struct:AudioBootStrap
/external/qemu/distrib/sdl-1.2.12/src/audio/arts/
H A DSDL_artsaudio.c133 int available = 0; local
136 return available;
145 available = 1;
151 return available;
/external/qemu/distrib/sdl-1.2.12/src/audio/dma/
H A DSDL_dmaaudio.c73 int available; local
76 available = 0;
86 available = 1;
90 return(available);

Completed in 615 milliseconds

123