/dalvik/dx/src/com/android/dx/io/instructions/ |
ShortArrayCodeInput.java | 26 /** source array to read from */ 48 public int read() throws EOFException { method in class:ShortArrayCodeInput 61 int short0 = read(); 62 int short1 = read(); 70 long short0 = read(); 71 long short1 = read(); 72 long short2 = read(); 73 long short3 = read();
|
/device/generic/goldfish-opengl/system/OpenglSystemCommon/ |
QemuPipeStream.cpp | 151 ssize_t stat = ::read(m_sock, (char *)(buf) + len - res, res); 172 const unsigned char *QemuPipeStream::read( void *buf, size_t *inout_len) function in class:QemuPipeStream 174 //DBG(">> QemuPipeStream::read %d\n", *inout_len); 177 ERR("QemuPipeStream::read failed, buf=NULL"); 188 //DBG("<< QemuPipeStream::read %d\n", *inout_len); 198 int res = ::read(m_sock, p, len);
|
/device/google/marlin/dataservices/datatop/src/ |
datatop_value_only_poll.c | 61 int read; local 67 read = dt_read_file(dpg->file, &data, DTOP_SINGLE_SIZE); 72 if (read == 0 || data == 0) 147 int read; local 152 read = dt_read_file(name, &data, DTOP_SINGLE_SIZE); 153 if (read == 0 || data == 0) {
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.10/Lib/ |
StringIO.py | 1 r"""File-like objects that read from or write to a string buffer.
12 buf = f.read() # read until EOF
13 buf = f.read(n) # read up to n bytes
14 buf = f.readline() # read until end of line ('\n') or EOF
119 def read(self, n = -1):
member in class:StringIO 120 """Read at most size bytes from the file
121 (less if the read hits EOF before obtaining size bytes).
123 If the size argument is negative or omitted, read all data until EOF [all...] |
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/ |
StringIO.py | 1 r"""File-like objects that read from or write to a string buffer.
12 buf = f.read() # read until EOF
13 buf = f.read(n) # read up to n bytes
14 buf = f.readline() # read until end of line ('\n') or EOF
119 def read(self, n = -1):
member in class:StringIO 120 """Read at most size bytes from the file
121 (less if the read hits EOF before obtaining size bytes).
123 If the size argument is negative or omitted, read all data until EOF [all...] |
robotparser.py | 19 """ This class provides a set of methods to read, parse and answer
54 def read(self):
member in class:RobotFileParser
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/distutils/tests/ |
test_register.py | 64 def read(self):
member in class:FakeOpener 124 content = f.read()
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Tools/framer/ |
example.py | 26 spam = an_input_stream.read(5)
28 spam = an_input_stream.read() # and read it all
66 def read(self, s):
member in class:cStringIO.InputType 68 read.pyarg = "|i"
71 """Read one line."""
74 """Read all lines."""
|
/external/annotation-tools/asmx/core/org/objectweb/asm/ |
Attribute.class | |
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_AvailTest.java | 53 c = myin.read(); 60 // Verify correct value at start of read 68 c = myin.read(); 85 myin.read(); 87 // while(myin.read() != -1);
|
/external/apache-http/src/org/apache/http/impl/conn/ |
LoggingSessionInputBuffer.java | 40 * Logs all data read to the wire LOG. 76 public int read(byte[] b, int off, int len) throws IOException { method in class:LoggingSessionInputBuffer 77 int l = this.in.read(b, off, len); 84 public int read() throws IOException { method in class:LoggingSessionInputBuffer 85 int l = this.in.read(); 92 public int read(byte[] b) throws IOException { method in class:LoggingSessionInputBuffer 93 int l = this.in.read(b);
|
/external/apache-http/src/org/apache/http/impl/io/ |
ContentLengthInputStream.java | 42 * gets called. Instead, it will read until the "end" of its chunking on 44 * requests, while not requiring the client to remember to read the entire 80 * The maximum number of bytes that can be read from the stream. Subsequent 81 * read operations will return -1. 100 * @param contentLength The maximum number of bytes that can be read from 101 * the stream. Subsequent read operations will return -1. 126 while (read(buffer) >= 0) { 130 // to read after closed! 138 * Read the next byte from the stream 141 * @see java.io.InputStream#read() 143 public int read() throws IOException { method in class:ContentLengthInputStream 167 public int read (byte[] b, int off, int len) throws java.io.IOException { method in class:ContentLengthInputStream 192 public int read(byte[] b) throws IOException { method in class:ContentLengthInputStream [all...] |
/external/autotest/server/cros/network/rf_switch/ |
scpi.py | 82 def read(self, buffer_size=DEFAULT_READ_LEN): member in class:Scpi 83 """Safely read the query response. 85 @param buffer_size: Int max data to read at once (default 4096) 87 @returns String data read from the socket 96 @param buffer_size: Int max data to read at once (default 4096) 98 @returns String data read from the socket 102 return self.read(buffer_size)
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/util/io/ |
TeeInputStream.java | 8 * An input stream which copies anything read through it to another stream. 20 * @param output output stream to copy any input read to. 28 public int read(byte[] buf) method in class:TeeInputStream 31 return read(buf, 0, buf.length); 34 public int read(byte[] buf, int off, int len) method in class:TeeInputStream 37 int i = input.read(buf, off, len); 47 public int read() method in class:TeeInputStream 50 int i = input.read();
|
/external/brotli/java/org/brotli/dec/ |
BrotliInputStream.java | 44 * <p> For byte-by-byte reading ({@link #read()}) internal buffer with 59 * <p> For byte-by-byte reading ({@link #read()}) internal buffer of specified size is 97 public int read() throws IOException { method in class:BrotliInputStream 99 remainingBufferBytes = read(buffer, 0, buffer.length); 112 public int read(byte[] destBuffer, int destOffset, int destLen) throws IOException { method in class:BrotliInputStream
|
/external/brotli/java/org/brotli/wrapper/dec/ |
BrotliInputStream.java | 48 public int read() throws IOException { method in class:BrotliInputStream 50 throw new IOException("read after close"); 59 public int read(byte[] b) throws IOException { method in class:BrotliInputStream 60 return read(b, 0, b.length); 64 public int read(byte[] b, int off, int len) throws IOException { method in class:BrotliInputStream 66 throw new IOException("read after close"); 88 throw new IOException("read after close");
|
/external/caliper/caliper/src/main/java/com/google/caliper/bridge/ |
CommandLineSerializer.java | 61 checkState(bais.read() == -1,
|
/external/capstone/bindings/java/capstone/ |
Xcore.java | 38 public void read() { method in class:Xcore.Operand 63 public void read() { method in class:Xcore.UnionOpInfo
|
/external/conscrypt/testing/src/main/java/libcore/tlswire/util/ |
TlsProtocolVersion.java | 50 public static TlsProtocolVersion read(DataInput in) throws IOException { method in class:TlsProtocolVersion
|
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/ |
PipeShort.java | 21 * Non-blocking pipe where writer writes to the pipe using write() and read reads from the pipe 22 * using read(). Data in the pipe are stored in the short array "mBuffer". 35 * exceed 2^31 - 1, or else overflows happens and the positions of read and mFront becomes 76 public int read(short[] buffer, int offset, int count) { method in class:PipeShort 83 // but it will be caught at next read() 90 int read = mMaxValues - front; local 92 if (read > count) { 93 read = count; 97 System.arraycopy(mBuffer, front, buffer, offset, read); 98 // We could re-read the rear pointer here to detect the corruption, but why bother [all...] |
/external/emma/core/java12/com/vladium/util/ |
ByteArrayIStream.java | 45 public final int read () method in class:ByteArrayIStream 53 public final int read (final byte [] buf, final int offset, int length) method in class:ByteArrayIStream
|
/external/guava/guava/src/com/google/common/hash/ |
HashingInputStream.java | 26 * An {@link InputStream} that maintains a hash of the data read from it. 37 * read from it to the underlying {@link InputStream}. 39 * <p>The {@link InputStream} should not be read from before or after the hand-off. 48 * the byte read. 51 public int read() throws IOException { method in class:HashingInputStream 52 int b = in.read(); 61 * the bytes read. 64 public int read(byte[] bytes, int off, int len) throws IOException { method in class:HashingInputStream 65 int numOfBytesRead = in.read(bytes, off, len); 97 * Returns the {@link HashCode} based on the data read from this stream. The result i [all...] |
/external/guava/guava/src/com/google/common/io/ |
CharSequenceReader.java | 62 public synchronized int read(CharBuffer target) throws IOException { method in class:CharSequenceReader 76 public synchronized int read() throws IOException { method in class:CharSequenceReader 82 public synchronized int read(char[] cbuf, int off, int len) throws IOException { method in class:CharSequenceReader
|
LineReader.java | 52 * Creates a new instance that will read lines from the given 74 // The default implementation of Reader#read(CharBuffer) allocates a 75 // temporary char[], so we call Reader#read(char[], int, int) instead. 76 int read = (reader != null) local 77 ? reader.read(buf, 0, buf.length) 78 : readable.read(cbuf); 79 if (read == -1) { 83 lineBuf.add(buf, 0, read);
|
/external/guava/guava-gwt/src-super/com/google/common/io/super/com/google/common/io/ |
GwtWorkarounds.java | 38 int read() throws IOException; method in interface:GwtWorkarounds.CharInput 51 public int read() { method 70 int read() throws IOException; method in interface:ByteInput
|