/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
SSLSocketInputStream.java | 75 * Returns the number of bytes available for reading without blocking. 76 * @return the number of available bytes. 80 public int available() throws IOException { method in class:SSLSocketInputStream 96 * available. 126 } while ((available() != 0) && (i<len));
|
OpenSSLECDHKeyAgreement.java | 38 /** OpenSSL handle of the private key. Only available after the engine has been initialized. */ 42 * Expected length (in bytes) of the agreed key ({@link #mResult}). Only available after the 47 /** Agreed key. Only available after {@link #engineDoPhase(Key, boolean)} completes. */ 97 int available = sharedSecret.length - offset; local 98 if (mResult.length > available) { 100 "Needed: " + mResult.length + ", available: " + available);
|
/packages/apps/Email/src/org/apache/james/mime4j/ |
CloseShieldInputStream.java | 56 * @see java.io.InputStream#available()
58 public int available() throws IOException {
method in class:CloseShieldInputStream 60 return is.available();
|
/packages/apps/Email/src/org/apache/james/mime4j/util/ |
PositionInputStream.java | 40 public int available() throws IOException {
method in class:PositionInputStream 41 return inputStream.available();
|
/external/qemu/distrib/sdl-1.2.15/src/audio/esd/ |
SDL_esdaudio.c | 123 int available; local 125 available = 0; 127 return available; 131 available = 1; 135 return(available);
|
/external/srec/shared/src/ |
CircularBuffer.c | 113 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;
|
/libcore/luni/src/test/java/libcore/java/io/ |
OldBufferedOutputStreamTest.java | 93 0, bais.available()); 97 500, bais.available()); 101 bais.available() >= 1000); 161 0, bais.available()); 165 1, bais.available());
|
FilterInputStreamNullSourceTest.java | 56 assertEquals(0, in.available()); 113 in.available(); 129 in.available();
|
OldSequenceInputStreamTest.java | 32 assertEquals("Returned incorrect number of bytes!", s1.length(), si.available()); 35 si.available() == s1.length()); 38 si.available();
|
/external/skia/src/core/ |
SkData.cpp | 35 size_t available = fSize; local 36 if (offset >= available || 0 == length) { 39 available -= offset; 40 if (length > available) { 41 length = available; 97 size_t available = src->size(); local 98 if (offset >= available || 0 == length) { 101 available -= offset; 102 if (length > available) { 103 length = available; [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
ByteArrayInputStreamTest.java | 38 bis.available() == fileString.length()); 49 .available()); 74 * @tests ByteArrayInputStream#available() 77 assertTrue("Returned incorrect number of available bytes", is 78 .available() == fileString.length());
|
FilterOutputStreamTest.java | 83 bis.available() == fileString.length()); 100 bis.available() == fileString.length()); 116 assertEquals("Byte not written after flush", 1, bis.available());
|
StringBufferInputStreamTest.java | 36 * @tests java.io.StringBufferInputStream#available() 39 // Test for method int java.io.StringBufferInputStream.available() 40 assertEquals("Returned incorrect number of available bytes", 11, sbis 41 .available());
|
/external/chromium/base/ |
sync_socket_win.cc | 144 DWORD available = 0; local 145 PeekNamedPipe(handle_, NULL, 0, NULL, &available, NULL); 146 return available;
|
/external/svox/pico/src/com/svox/pico/ |
CheckVoiceData.java | 64 ArrayList<String> available = new ArrayList<String>(); local 91 available.add(supportedLanguages[i]); 107 returnData.putStringArrayListExtra(TextToSpeech.Engine.EXTRA_AVAILABLE_VOICES, available);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tablet/ |
InputMethodButton.java | 165 public void setHardKeyboardStatus(boolean available) { 166 if (mHardKeyboardAvailable != available) { 167 mHardKeyboardAvailable = available;
|
/packages/apps/Email/src/org/apache/james/mime4j/field/address/parser/ |
SimpleCharStream.java | 28 int available; field in class:SimpleCharStream 97 available = bufsize; 103 if (maxNextCharInd == available) 105 if (available == bufsize) 110 available = tokenBegin; 117 else if (available > tokenBegin) 118 available = bufsize; 119 else if ((tokenBegin - available) < 2048) 122 available = tokenBegin; 128 available - maxNextCharInd)) == -1 [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/contenttype/parser/ |
SimpleCharStream.java | 28 int available; field in class:SimpleCharStream 97 available = bufsize; 103 if (maxNextCharInd == available) 105 if (available == bufsize) 110 available = tokenBegin; 117 else if (available > tokenBegin) 118 available = bufsize; 119 else if ((tokenBegin - available) < 2048) 122 available = tokenBegin; 128 available - maxNextCharInd)) == -1 [all...] |
/packages/apps/Email/src/org/apache/james/mime4j/field/datetime/parser/ |
SimpleCharStream.java | 28 int available; field in class:SimpleCharStream 97 available = bufsize; 103 if (maxNextCharInd == available) 105 if (available == bufsize) 110 available = tokenBegin; 117 else if (available > tokenBegin) 118 available = bufsize; 119 else if ((tokenBegin - available) < 2048) 122 available = tokenBegin; 128 available - maxNextCharInd)) == -1 [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/content/ |
ReadAsset.java | 51 // We guarantee that the available method returns the total 54 int size = is.available();
|
/external/arduino/hardware/arduino/cores/arduino/ |
HardwareSerial.h | 53 virtual int available(void);
|
/external/arduino/libraries/Wire/ |
Wire.h | 58 uint8_t available(void);
|
/external/clang/test/Parser/ |
attr-availability.c | 4 # error 'availability' attribute is not available
|
/external/smack/src/org/jivesoftware/smackx/muc/ |
DeafOccupantInterceptor.java | 50 if (Presence.Type.available == presence.getType() &&
|
/external/webkit/Source/JavaScriptCore/wtf/ |
CurrentTime.cpp | 148 static bool available; local 152 return available; 154 available = QueryPerformanceFrequency(&qpcFrequency); 156 return available;
|