/external/libbrillo/brillo/streams/ |
openssl_stream_bio.cc | 34 size_t read = 0; local 37 if (!stream->ReadNonBlocking(buf, size, &read, &eos, nullptr)) 40 if (read == 0 && !eos) { 46 return base::checked_cast<int>(read); 81 stream_read, // read function
|
/external/lzma/Java/Tukaani/src/org/tukaani/xz/ |
SeekableFileInputStream.java | 52 * Calls {@link RandomAccessFile#read() randomAccessFile.read()}. 54 public int read() throws IOException { method in class:SeekableFileInputStream 55 return randomAccessFile.read(); 59 * Calls {@link RandomAccessFile#read(byte[]) randomAccessFile.read(buf)}. 61 public int read(byte[] buf) throws IOException { method in class:SeekableFileInputStream 62 return randomAccessFile.read(buf); 67 * {@link RandomAccessFile#read(byte[],int,int) 68 * randomAccessFile.read(buf, off, len)} 70 public int read(byte[] buf, int off, int len) throws IOException { method in class:SeekableFileInputStream [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/nanohttpd/core/src/test/java/fi/iki/elonen/ |
HttpChunkedResponseTest.java | 55 public synchronized int read(byte[] buffer, int off, int len) throws IOException { method in class:HttpChunkedResponseTest.ChunkedInputStream
|
/external/nanohttpd/websocket/src/main/java/fi/iki/elonen/samples/echo/ |
EchoSocketSample.java | 48 System.in.read();
|
/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/opencv3/3rdparty/libpng/ |
pngrio.c | 25 /* Read the data from whatever input you are using. The default routine 29 * to read more then 64K on a 16 bit machine. 40 png_error(png_ptr, "Call to NULL read function"); 64 png_error(png_ptr, "Read Error"); 97 png_size_t read, remaining, err; local 103 read = MIN(NEAR_BUF_SIZE, remaining); 104 err = fread(buf, 1, read, io_ptr); 105 png_memcpy(data, buf, read); /* copy far buffer to near buffer */ 107 if (err != read) 113 data += read; [all...] |
/external/opencv3/apps/traincascade/ |
haarfeatures.cpp | 36 bool CvHaarFeatureParams::read( const FileNode &node ) function in class:CvHaarFeatureParams 38 if( !CvFeatureParams::read( node ) )
|
/external/parameter-framework/upstream/test/test-subsystem/ |
TESTSubsystem.cpp | 64 return read(std::string(gacFwNamePropName) + "/isAlive") == "true"; 74 bNeedResync = read(strNeedResyncFile) == "true"; 92 // Read boolean from file 93 std::string CTESTSubsystem::read(const std::string &strFileName) function in class:CTESTSubsystem
|
/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/skia/src/core/ |
SkBuffer.cpp | 37 bool SkRBufferWithSizeCheck::read(void* buffer, size_t size) { function in class:SkRBufferWithSizeCheck
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/transport/ |
AbsTransport.java | 47 * byte buffer to store read bytes into 51 * maximum number of bytes to read 52 * @return number of bytes read 56 public abstract int read(byte[] buffer, int offset, int length) throws IOException; method in class:AbsTransport 88 * Closes the connection to the terminal. Note that the resulting failure to read should call
|
/external/smali/util/src/main/java/org/jf/util/ |
RandomAccessFileInputStream.java | 48 @Override public int read() throws IOException { method in class:RandomAccessFileInputStream 51 return raf.read(); 54 @Override public int read(byte[] bytes) throws IOException { method in class:RandomAccessFileInputStream 56 int bytesRead = raf.read(bytes); 61 @Override public int read(byte[] bytes, int offset, int length) throws IOException { method in class:RandomAccessFileInputStream 63 int bytesRead = raf.read(bytes, offset, length);
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/ |
InputOutputExceptionTest.java | 49 public int read() throws IOException { method in class:InputOutputExceptionTest.BrokenInputStream 54 public int read(byte[] bytes, int i, int i1) throws IOException { method in class:InputOutputExceptionTest.BrokenInputStream
|
/external/v8/test/mjsunit/wasm/ |
module-memory.js | 166 function read() { return module.geti(0, offset); } 170 assertEquals(0, read()); 176 assertTraps(kTrapMemOutOfBounds, read);
|
/external/v8/tools/ |
shell-utils.h | 56 int read = static_cast<int>(fread(&chars[i], 1, file_size - i, file)); local 57 i += read;
|
/external/webrtc/webrtc/common_audio/ |
audio_ring_buffer.cc | 40 void AudioRingBuffer::Read(float* const* data, size_t channels, size_t frames) { 43 const size_t read = local 45 RTC_CHECK_EQ(read, frames);
|
/frameworks/av/media/img_utils/src/ |
FileInput.cpp | 48 ssize_t FileInput::read(uint8_t* buf, size_t offset, size_t count) { function in class:android::img_utils::FileInput 50 ALOGE("%s: Could not read file %s, file not open.", __FUNCTION__, mPath.string());
|
/frameworks/av/media/libnbaio/ |
AudioBufferProviderSource.cpp | 49 ssize_t AudioBufferProviderSource::read(void *buffer, size_t count) function in class:android::AudioBufferProviderSource
|
AudioStreamInSource.cpp | 67 ssize_t AudioStreamInSource::read(void *buffer, size_t count) function in class:android::AudioStreamInSource 72 ssize_t bytesRead = mStream->read(mStream, buffer, count * mFrameSize);
|
MonoPipeReader.cpp | 46 ssize_t MonoPipeReader::read(void *buffer, size_t count) function in class:android::MonoPipeReader
|
PipeReader.cpp | 54 // read() is not multi-thread safe w.r.t. itself, so no mutex or atomic op needed to read mFront 67 ssize_t PipeReader::read(void *buffer, size_t count) function in class:android::PipeReader 74 // but it will be caught at next read() 85 // 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");
|