/external/libpng/ |
pngrio.c | 26 /* Read the data from whatever input you are using. The default routine 30 * to read more then 64K on a 16 bit machine. 40 png_error(png_ptr, "Call to NULL read function"); 84 png_error(png_ptr, "Read Error"); 120 png_size_t read, remaining, err; local 125 read = MIN(NEAR_BUF_SIZE, remaining); 127 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) ) 130 err = fread(buf, (png_size_t)1, read, io_ptr); 132 png_memcpy(data, buf, read); /* copy far buffer to near buffer */ 133 if (err != read) [all...] |
/external/mockito/src/org/mockito/internal/util/reflection/ |
FieldReader.java | 24 return read() == null;
27 public Object read() {
method in class:FieldReader 31 throw new MockitoException("Cannot read state from field: " + field + ", on instance: " + target);
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/util/ |
ByteBufferByteChannel.java | 33 public int read(ByteBuffer dst) throws IOException { method in class:ByteBufferByteChannel
|
/external/oauth/core/src/main/java/net/oauth/client/ |
ExcerptInputStream.java | 23 int read; local 24 while ((read = read(excerpt, total, LIMIT - total)) != -1 && ((total += read) < LIMIT));
|
/external/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
UnknownLengthHttpInputStream.java | 33 @Override public int read(byte[] buffer, int offset, int count) throws IOException { method in class:UnknownLengthHttpInputStream 39 int read = in.read(buffer, offset, count); local 40 if (read == -1) { 45 cacheWrite(buffer, offset, read); 46 return read;
|
/external/proguard/src/proguard/io/ |
ClassRewriter.java | 51 public void read(DataEntry dataEntry) throws IOException method in class:ClassRewriter
|
DataEntryObfuscator.java | 63 public void read(DataEntry dataEntry) throws IOException method in class:DataEntryObfuscator 66 dataEntryReader.read(renamedDataEntry(dataEntry));
|
/external/qemu/distrib/libpng-1.2.19/ |
pngrio.c | 23 /* Read the data from whatever input you are using. The default routine 27 to read more then 64K on a 16 bit machine. */ 35 png_error(png_ptr, "Call to NULL read function"); 62 png_error(png_ptr, "Read Error"); 96 png_size_t read, remaining, err; local 101 read = MIN(NEAR_BUF_SIZE, remaining); 103 if ( !ReadFile((HANDLE)(io_ptr), buf, read, &err, NULL) ) 106 err = fread(buf, (png_size_t)1, read, io_ptr); 108 png_memcpy(data, buf, read); /* copy far buffer to near buffer */ 109 if(err != read) [all...] |
/external/skia/src/core/ |
SkBuffer.cpp | 37 bool SkRBufferWithSizeCheck::read(void* buffer, size_t size) { function in class:SkRBufferWithSizeCheck
|
SkFlate.cpp | 82 size_t read = src->read(&inputBuffer, kBufferSize); local 83 if (read == 0) 86 flateData.avail_in = read;
|
/external/skia/tests/ |
FlateTest.cpp | 21 virtual size_t read(void* buffer, size_t size) { function in class:SkZeroSizeMemStream 26 return SkMemoryStream::read(buffer, size); 51 inputSize = testStream->read(NULL, SkZeroSizeMemStream::kGetSizeKey); 73 inputSize = testStream->read(NULL, SkZeroSizeMemStream::kGetSizeKey);
|
/frameworks/av/libvideoeditor/lvpp/ |
DummyAudioSource.cpp | 118 status_t DummyAudioSource::read( function in class:android::DummyAudioSource 121 ALOGV("read: E"); 134 ALOGI("read: EOS reached %lld > %lld", 154 ALOGV("read: offset = %d, size = %d, mTimeStampUs = %lld",
|
/frameworks/av/media/libmedia/ |
SoundPoolThread.cpp | 38 const SoundPoolMsg SoundPoolThread::read() { function in class:android::SoundPoolThread 84 SoundPoolMsg msg = read();
|
/frameworks/av/media/libnbaio/ |
AudioBufferProviderSource.cpp | 49 ssize_t AudioBufferProviderSource::read(void *buffer, function in class:android::AudioBufferProviderSource
|
AudioStreamInSource.cpp | 68 ssize_t AudioStreamInSource::read(void *buffer, size_t count) function in class:android::AudioStreamInSource 73 ssize_t bytesRead = mStream->read(mStream, buffer, count << mBitShift);
|
MonoPipeReader.cpp | 46 ssize_t MonoPipeReader::read(void *buffer, size_t count, int64_t readPTS) function in class:android::MonoPipeReader 48 // Compute the "next read PTS" and cache it. Callers of read pass a read 62 // Uh-oh, looks like we are underflowing. Update the next read PTS and
|
PipeReader.cpp | 49 // read() is not multi-thread safe w.r.t. itself, so no mutex or atomic op needed to read mFront 62 ssize_t PipeReader::read(void *buffer, size_t count, int64_t readPTS) function in class:android::PipeReader 69 // but it will be caught at next read() 80 // We could re-read the rear pointer here to detect the corruption, but why bother?
|
/frameworks/av/media/libstagefright/ |
MediaAdapter.cpp | 57 // While read() is still waiting, we should signal it to finish. 77 status_t MediaAdapter::read( function in class:android::MediaAdapter 81 ALOGV("Read before even started!"); 86 ALOGV("waiting @ read()"); 91 ALOGV("read interrupted after stop");
|
/frameworks/av/media/libstagefright/timedtext/ |
TimedText3GPPSource.cpp | 41 status_t TimedText3GPPSource::read( function in class:android::TimedText3GPPSource 45 status_t err = mSource->read(&textBuffer, options);
|
/frameworks/base/core/java/android/app/backup/ |
BackupDataInputStream.java | 28 * is called, the current entity's header has already been read from the underlying 33 * source, nor read more than {@link #size()} bytes from the stream.</p> 52 * Read one byte of entity data from the stream, returning it as 54 * are read from the stream, the output of this method is undefined. 56 * @return The byte read, or undefined if the end of the stream has been reached. 58 public int read() throws IOException { method in class:BackupDataInputStream 68 * Read up to {@code size} bytes of data into a byte array, beginning at position 71 * @param b Byte array into which the data will be read 74 * @param size The number of bytes to read in this operation. If insufficient 76 * will be read as is available 80 public int read(byte[] b, int offset, int size) throws IOException { method in class:BackupDataInputStream 93 public int read(byte[] b) throws IOException { method in class:BackupDataInputStream [all...] |
/frameworks/base/core/java/android/content/pm/ |
LimitedLengthInputStream.java | 9 * A class that limits the amount of data that is read from an InputStream. When 17 * The end of the stream where we don't want to allow more data to be read. 58 public synchronized int read() throws IOException { method in class:LimitedLengthInputStream 64 return super.read(); 68 public int read(byte[] buffer, int offset, int byteCount) throws IOException { method in class:LimitedLengthInputStream 84 final int numRead = super.read(buffer, offset, byteCount); 91 public int read(byte[] buffer) throws IOException { method in class:LimitedLengthInputStream 92 return read(buffer, 0, buffer.length);
|
MacAuthenticatedInputStream.java | 62 public int read() throws IOException { method in class:MacAuthenticatedInputStream 63 final int b = super.read(); 71 public int read(byte[] buffer, int offset, int count) throws IOException { method in class:MacAuthenticatedInputStream 72 int numRead = super.read(buffer, offset, count);
|
/frameworks/rs/cpu_ref/linkloader/include/impl/ |
ELFSectionHeaderTable.hxx | 36 ELFSectionHeaderTable<Bitwidth>::read(Archiver &AR, ELFObjectTy *owner) { function in class:ELFSectionHeaderTable 38 // Archiver is in bad state before calling read function. 57 ELFSectionHeaderTy::read(AR, owner, i));
|
ELFSectionSymTab.hxx | 88 ELFSectionSymTab<Bitwidth>::read(Archiver &AR, function in class:ELFSectionSymTab 100 // Read all symbol table entry 103 st->table.push_back(ELFSymbolTy::read(AR, owner, i)); 107 // Unable to read the table.
|
ELFSymbol.hxx | 45 ELFSymbol_CRTP<Bitwidth>::read(Archiver &AR, function in class:ELFSymbol_CRTP 49 // Archiver is in bad state before calling read function. 57 // Unable to read the structure. Return NULL. 62 // SymTabEntry read from archiver is not valid. Return NULL.
|