/external/webrtc/webrtc/base/ |
proxyserver.cc | 91 Read(int_socket_.get(), &out_buffer_); 110 Read(ext_socket_.get(), &in_buffer_); 125 void ProxyBinding::Read(AsyncSocket* socket, FifoBuffer* buffer) { 126 // Only read if the buffer is empty. 129 int read; local 132 read = socket->Recv(p, size); 133 buffer->ConsumeWriteBuffer(std::max(read, 0));
|
/external/webrtc/webrtc/libjingle/xmpp/ |
xmppsocket.cc | 178 bool XmppSocket::Read(char * data, size_t len, size_t* len_read) { 180 int read = cricket_socket_->Recv(data, len); local 181 if (read > 0) { 182 *len_read = (size_t)read; 186 rtc::StreamResult result = stream_->Read(data, len, len_read, NULL);
|
/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/ |
FixASCIIControlsReader.java | 55 * @see Reader#read(char[], int, int) 57 public int read(char[] cbuf, int off, int len) throws IOException method in class:FixASCIIControlsReader 60 int read = 0; local 65 while (available && read < len) 67 available = super.read(readAheadBuffer, readAhead, 1) == 1; 80 read++; 103 return read > 0 || available ? read : -1;
|
/frameworks/av/media/libstagefright/ |
SkipCutBuffer.cpp | 87 size_t copied = read(dst, buffer->size()); 119 size_t copied = read(dst, buffer->capacity()); 162 size_t SkipCutBuffer::read(char *dst, size_t num) { function in class:android::SkipCutBuffer
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
RepeaterSource.cpp | 109 status_t RepeaterSource::read( function in class:android::RepeaterSource 184 status_t err = mSource->read(&buffer); 186 ALOGV("read mbuf %p", buffer);
|
/frameworks/av/media/mtp/ |
MtpProperty.cpp | 126 bool MtpProperty::read(MtpDataPacket& packet) { function in class:android::MtpProperty
|
/frameworks/base/core/java/android/hardware/ |
SerialPort.java | 84 * @param buffer to read into 85 * @return number of bytes read 87 public int read(ByteBuffer buffer) throws IOException { method in class:SerialPort
|
/frameworks/base/core/java/android/service/persistentdata/ |
PersistentDataBlockManager.java | 40 * Clients can read the currently written block by invoking 41 * {@link PersistentDataBlockManager#read()}. 95 public byte[] read() { method in class:PersistentDataBlockManager 97 return sService.read();
|
/frameworks/base/core/java/android/util/ |
Base64InputStream.java | 24 * An InputStream that does Base64 decoding on the data read through 39 * An InputStream that performs Base64 decoding on the data read 42 * @param in the InputStream to read the source data from 51 * Performs Base64 encoding or decoding on the data read from the 54 * @param in the InputStream to read the source data from 108 public int read() throws IOException { method in class:Base64InputStream 119 public int read(byte[] b, int off, int len) throws IOException { method in class:Base64InputStream 133 * Read data from the input stream into inputBuffer, then 139 int bytesRead = in.read(inputBuffer);
|
/frameworks/base/core/java/com/android/server/backup/ |
UsageStatsBackupHelper.java | 62 in.read(restoreData, 0, restoreData.length);
|
/frameworks/base/media/java/android/media/ |
AmrInputStream.java | 49 // helper for bytewise read() 63 public int read() throws IOException { method in class:AmrInputStream 64 int rtn = read(mOneByte, 0, 1); 69 public int read(byte[] b) throws IOException { method in class:AmrInputStream 70 return read(b, 0, b.length); 74 public int read(byte[] b, int offset, int length) throws IOException { method in class:AmrInputStream 85 int n = mInputStream.read(mBuf, i, SAMPLES_PER_FRAME * 2 - i);
|
ResampleInputStream.java | 49 // helper for bytewise read() 71 public int read() throws IOException { method in class:ResampleInputStream 72 int rtn = read(mOneByte, 0, 1); 77 public int read(byte[] b) throws IOException { method in class:ResampleInputStream 78 return read(b, 0, b.length); 82 public int read(byte[] b, int offset, int length) throws IOException { method in class:ResampleInputStream 95 // read until we have enough data for at least one output sample 103 int n = mInputStream.read(mBuf, mBufCount, mBuf.length - mBufCount);
|
/frameworks/base/obex/javax/obex/ |
PrivateInputStream.java | 54 * Creates an input stream for the <code>Operation</code> to read from 65 * Returns the number of bytes that can be read (or skipped over) from this 69 * @return the number of bytes that can be read from this input stream 85 * @return the byte read from the input stream or -1 if it reaches the end of 90 public synchronized int read() throws IOException { method in class:PrivateInputStream 101 public int read(byte[] b) throws IOException { method in class:PrivateInputStream 102 return read(b, 0, b.length); 106 public synchronized int read(byte[] b, int offset, int length) throws IOException { method in class:PrivateInputStream
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/model/ |
DocumentStack.java | 102 public void read(DataInputStream in) throws IOException { method in class:DocumentStack 110 root.read(in); 115 doc.read(in);
|
DurableUtils.java | 43 d.read(new DataInputStream(in)); 64 Log.w(TAG, "Failed to read", e); 95 if (in.read() != 0) {
|
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/ |
CountedDataInputStream.java | 44 public int read(byte[] b) throws IOException { method in class:CountedDataInputStream 45 int r = in.read(b); 51 public int read(byte[] b, int off, int len) throws IOException { method in class:CountedDataInputStream 52 int r = in.read(b, off, len); 58 public int read() throws IOException { method in class:CountedDataInputStream 59 int r = in.read(); 83 int r = read(b, off, len);
|
/frameworks/base/tools/aapt/ |
ZipEntry.cpp | 47 /* read the CDE */ 48 result = mCDE.read(fp); 50 ALOGD("mCDE.read failed\n"); 64 result = mLFH.read(fp); 66 ALOGD("mLFH.read failed\n"); 76 * We *might* need to read the Data Descriptor at this point and 379 * Read a local file header. 384 status_t ZipEntry::LocalFileHeader::read(FILE* fp) function in class:ZipEntry::LocalFileHeader 512 * Read the central dir entry that appears next in the file. 518 status_t ZipEntry::CentralDirEntry::read(FILE* fp function in class:ZipEntry::CentralDirEntry [all...] |
/frameworks/compile/mclinker/lib/Support/ |
FileHandle.cpp | 159 bool FileHandle::read(void* pMemBuffer, size_t pStartOffset, size_t pLength) { function in class:mcld::FileHandle
|
/frameworks/native/libs/gui/ |
SensorEventQueue.cpp | 68 ssize_t SensorEventQueue::read(ASensorEvent* events, size_t numEvents) { function in class:android::SensorEventQueue
|
/hardware/libhardware_legacy/audio/ |
AudioHardwareStub.cpp | 175 ssize_t AudioStreamInStub::read(void* buffer, ssize_t bytes) function in class:android_audio_legacy::AudioStreamInStub
|
/hardware/qcom/display/msm8996/libqdutils/ |
qd_utils.cpp | 77 ssize_t read; local 79 while ((read = getline(&line, &len, fileptr)) != -1) { 155 size = (int)read(edidFile, (char*)buffer, EDID_RAW_DATA_SIZE);
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/io/ |
LineNumberInputStreamTest.java | 60 lnis.read(); 61 lnis.read(); 63 assertEquals("stream returned incorrect line number after read", 1, 79 assertEquals("Failed to mark", '0', lnis.read()); 83 * java.io.LineNumberInputStream#read() 86 assertEquals("Failed to read correct byte", '0', lnis.read()); 87 assertEquals("Failed to read correct byte on dos text", '0', lnis2 88 .read()); 89 assertTrue("Failed to read correct byte on dos text" [all...] |
StringBufferInputStreamTest.java | 45 * java.io.StringBufferInputStream#read() 48 // Test for method int java.io.StringBufferInputStream.read() 51 sbis.read(buf, 0, 5); 56 * java.io.StringBufferInputStream#read(byte[], int, int) 59 // Test for method int java.io.StringBufferInputStream.read(byte [], 61 assertEquals("Read returned incorrect char", 'H', sbis.read()); 72 assertEquals("Failed to reset", 'H', sbis.read()); 82 assertEquals("Skip positioned at incorrect char", 'W', sbis.read());
|
/libcore/harmony-tests/src/test/java/org/apache/harmony/tests/java/nio/channels/ |
MockDatagramChannel.java | 69 public int read(ByteBuffer arg0) throws IOException { method in class:MockDatagramChannel 74 public long read(ByteBuffer[] arg0, int arg1, int arg2) throws IOException { method in class:MockDatagramChannel
|
MockSocketChannel.java | 62 public int read(ByteBuffer arg0) throws IOException { method in class:MockSocketChannel 67 public long read(ByteBuffer[] arg0, int arg1, int arg2) throws IOException { method in class:MockSocketChannel
|