/frameworks/av/libvideoeditor/lvpp/ |
VideoEditorSRC.cpp | 112 status_t VideoEditorSRC::read( function in class:android::VideoEditorSRC 114 ALOGV("read %p(%p)", this, mSource.get()); 126 ALOGV("read Seek %lld", seekTimeUs); 154 return read(buffer_out, NULL); 177 // Resampling not required. Read and pass-through. 179 status_t err = mSource->read(&aBuffer, options); 181 ALOGV("read returns err = %d", err); 186 return read(buffer_out, NULL); 208 // If we don't have any data left, read a new buffer. 221 status_t err = mSource->read(&mBuffer, &options) [all...] |
/external/chromium/net/url_request/ |
url_request_job.h | 81 // Called to read post-filtered data from this Job, returning the number of 82 // bytes read, 0 when there is no more data, or -1 if there was an error. 83 // This is just the backend for URLRequest::Read, see that function for 85 bool Read(IOBuffer* buf, int buf_size, int* bytes_read); 189 // Notifies the request that the job has completed a Read operation. 214 // Called to read raw (pre-filtered) data from this Job. 215 // If returning true, data was read from the job. buf will contain 216 // the data, and bytes_read will receive the number of bytes read. 218 // additional data to be read. 222 // operation is completed. See comments on URLRequest::Read for mor [all...] |
/external/chromium_org/content/public/common/ |
common_param_traits.cc | 57 // so that the read side could make the check, but performing it here 70 bool ParamTraits<GURL>::Read(const Message* m, PickleIterator* iter, GURL* p) { 93 bool ParamTraits<net::HostPortPair>::Read(const Message* m, 115 bool ParamTraits<content::PageState>::Read( 137 bool ParamTraits<content::Referrer>::Read( 156 bool ParamTraits<gfx::Point>::Read(const Message* m, PickleIterator* iter, 176 bool ParamTraits<gfx::PointF>::Read(const Message* m, 180 if (!ParamTraits<float>::Read(m, iter, &x) || 181 !ParamTraits<float>::Read(m, iter, &y)) 199 bool ParamTraits<gfx::Size>::Read(const Message* m [all...] |
/external/chromium_org/net/socket/ |
ssl_server_socket_unittest.cc | 64 int Read(IOBuffer* buf, int buf_len, const CompletionCallback& callback) { 94 // Closes the FakeDataChannel. After Close() is called, Read() returns 0, 167 virtual int Read(IOBuffer* buf, int buf_len, 169 // Read random number of bytes. 171 return incoming_->Read(buf, buf_len, callback); 270 // Write then read. 276 int read = client.Read(read_buf.get(), kReadBufSize, CompletionCallback()); local 277 EXPECT_GT(read, 0); 278 EXPECT_LE(read, written) [all...] |
socket_test_util.h | 83 // is the data returned from the socket when MockTCPClientSocket::Read() is 102 // Read/write failure (no data). 107 // Read/write failure (no data), with sequence information. 112 // Asynchronous read/write success (inferred data length). 117 // Read/write success (inferred data length). 122 // Read/write success. 127 // Read/write success (inferred data length) with sequence information. 132 // Read/write success with sequence information. 143 // sequence. If a read occurs before the given |sequence_number| is reached, 145 int sequence_number; // The sequence number at which a read is allowe [all...] |
/external/chromium_org/net/url_request/ |
url_request_job.h | 98 // Called to read post-filtered data from this Job, returning the number of 99 // bytes read, 0 when there is no more data, or -1 if there was an error. 100 // This is just the backend for URLRequest::Read, see that function for 102 bool Read(IOBuffer* buf, int buf_size, int* bytes_read); 238 // Notifies the request that the job has completed a Read operation. 268 // Called to read raw (pre-filtered) data from this Job. 269 // If returning true, data was read from the job. buf will contain 270 // the data, and bytes_read will receive the number of bytes read. 272 // additional data to be read. 276 // operation is completed. See comments on URLRequest::Read for mor [all...] |
/external/chromium_org/third_party/freetype/include/freetype/internal/ |
ftstream.h | 13 /* this file you indicate that you have read the license and */ 50 #define FT_FRAME_OP_BYTE 2 /* read 1-byte value */ 51 #define FT_FRAME_OP_SHORT 3 /* read 2-byte value */ 52 #define FT_FRAME_OP_LONG 4 /* read 4-byte value */ 53 #define FT_FRAME_OP_OFF3 5 /* read 3-byte value */ 54 #define FT_FRAME_OP_BYTES 6 /* read a bytes sequence */ 374 /* read bytes from a stream into a user-allocated buffer, returns an */ 375 /* error if not all bytes could be read. */ 381 /* read bytes from a stream at a given position */ 388 /* try to read bytes at the end of a stream; return number of bytes * [all...] |
/external/freetype/include/freetype/internal/ |
ftstream.h | 13 /* this file you indicate that you have read the license and */ 50 #define FT_FRAME_OP_BYTE 2 /* read 1-byte value */ 51 #define FT_FRAME_OP_SHORT 3 /* read 2-byte value */ 52 #define FT_FRAME_OP_LONG 4 /* read 4-byte value */ 53 #define FT_FRAME_OP_OFF3 5 /* read 3-byte value */ 54 #define FT_FRAME_OP_BYTES 6 /* read a bytes sequence */ 367 /* read bytes from a stream into a user-allocated buffer, returns an */ 368 /* error if not all bytes could be read. */ 374 /* read bytes from a stream at a given position */ 381 /* try to read bytes at the end of a stream; return number of bytes * [all...] |
/libcore/luni/src/main/java/java/io/ |
PipedReader.java | 39 * The circular buffer through which data is passed. Data is read from the 64 * The index in {@code buffer} where the next character will be read. 80 * must be connected to a {@code PipedWriter} before data may be read from 87 * {@code out}. Any data written to the writer can be read from the this 102 * data may be read from it. 117 * with the given buffer size. Any data written to the writer can be read from 133 * the pipe and notifies all threads waiting to read or write. 185 * Separate threads should be used to read from a {@code PipedReader} and to 189 * @return the character read or -1 if the end of the reader has been 195 public int read() throws IOException method in class:PipedReader 224 @Override public synchronized int read(char[] buffer, int offset, int count) throws IOException { method in class:PipedReader [all...] |
/external/chromium_org/third_party/protobuf/java/src/main/java/com/google/protobuf/ |
CodedInputStream.java | 41 * This class contains two kinds of methods: methods that read specific 43 * {@link #readInt32()}) and methods that read low-level values (e.g. 94 * Attempt to read a field tag, returning zero if we have reached EOF. 95 * Protocol message parsers use this to read tags, since a protocol message 106 // If we actually read zero (or any tag number corresponding to field 162 * Reads and discards an entire message. This will read either until EOF 176 /** Read a {@code double} field value from the stream. */ 181 /** Read a {@code float} field value from the stream. */ 186 /** Read a {@code uint64} field value from the stream. */ 191 /** Read an {@code int64} field value from the stream. * [all...] |
/external/guava/guava/src/com/google/common/io/ |
ByteStreams.java | 55 * {@link ByteArrayInputStream} that read from the given byte array. 67 * {@link ByteArrayInputStream} that read from the given byte array. 70 * @param off the offset in the buffer of the first byte to read 71 * @param len the maximum number of bytes to read from the buffer 160 * @param from the input stream to read from 183 * @param from the input stream to read from 193 int r = from.read(buf); 207 * @param from the readable channel to read from 216 while (from.read(buf) != -1) { 230 * @param in the input stream to read fro [all...] |
/frameworks/base/tests/CoreTests/android/core/ |
TestWebServer.java | 431 * Utility method to read a line of data from the input stream 432 * @param is Inputstream to read 433 * @return number of bytes read 437 int read = 0; local 443 int data = is.read(); 450 buf[read] = (byte)data; 455 if (buf[read++]==(byte)'\n') { 457 return read; 464 return read; 468 * Read a chunk of dat 474 int read = 0; local [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_TestWebServer.java | 361 * Utility method to read a line of data from the input stream 362 * @param is Inputstream to read 363 * @return number of bytes read 367 int read = 0; local 374 int data = is.read(); 381 buf[read] = (byte)data; 386 if (buf[read++]==(byte)'\n') { 388 return read; 394 return read; 398 * Read a chunk of dat 404 int read = 0; local [all...] |
/external/bluetooth/bluedroid/stack/include/ |
hcimsgs.h | 403 HCI_API extern BOOLEAN btsnd_hcic_read_policy_set(UINT16 handle); /* Read Policy Settings */ 414 /* Read Default Policy Settings */ 418 /* Read Default Policy Settings */ 480 HCI_API extern BOOLEAN btsnd_hcic_read_ext_inquiry_response(void); /* Read Extended Inquiry Response */ 524 /* Read Local OOB Data */ 568 /* Read Tx Power Level */ 579 /* Read Default Erroneous Data Reporting */ 655 /* Read Stored Key */ 663 /* Read Stored Key */ 713 HCI_API extern BOOLEAN btsnd_hcic_read_pin_type(void); /* Read PIN Type * [all...] |
/external/chromium_org/third_party/libjingle/source/talk/media/devices/ |
filevideocapturer.cc | 113 // Read the first frame and start the message pump. The pump runs until 178 // Read the first frame's header to determine the supported format. 181 LOG(LS_ERROR) << "Failed to read the first frame header"; 225 // Create a thread to read the file. 263 // We first read kFrameHeaderSize bytes from the file stream to a memory 265 // read the frame header from the bytebuffer. 270 sr = video_file_.Read(header, 274 LOG(LS_VERBOSE) << "Read frame header: stream_result = " << sr 275 << ", bytes read = " << bytes_read << ", error = " << error; 298 // 1. Signal the previously read frame to downstream [all...] |
/frameworks/base/include/androidfw/ |
Asset.h | 18 // Class providing access to a read-only asset. Asset objects are NOT 35 * Instances of this class provide read-only operations on a byte stream. 56 /* read chunks, and seek forward and backward */ 59 /* read sequentially, with an occasional forward seek */ 62 /* caller plans to ask for a read-only buffer with all data */ 67 * Read data from the current offset. Returns the actual number of 68 * bytes read, 0 on EOF, or -1 on error. 70 virtual ssize_t read(void* buf, size_t count) = 0; 90 * Get the total amount of data that can be read. 95 * Get the total amount of data that can be read from the current position [all...] |
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/linux/ |
inv_sysfs_utils.c | 42 * inv_sysfs_read() - Read a string from a file. 44 * @num_bytes: Number of bytes to read. 64 * inv_read_buffer() - Read data from ring buffer. 67 * @timestamp: Time when data was read from device. Use NULL if unsupported. 75 count = read(fd, str, sizeof(str)); 90 * inv_read_raw() - Read raw data. 93 * @timestamp: Time when data was read from device. Use NULL if unsupported. 116 * inv_read_temperature_raw() - Read temperature. 119 * @timestamp: Time when data was read from device. 138 * inv_read_fifo_rate() - Read fifo rate [all...] |
/external/protobuf/java/src/main/java/com/google/protobuf/ |
CodedInputStream.java | 41 * This class contains two kinds of methods: methods that read specific 43 * {@link #readInt32()}) and methods that read low-level values (e.g. 76 * Attempt to read a field tag, returning zero if we have reached EOF. 77 * Protocol message parsers use this to read tags, since a protocol message 88 // If we actually read zero (or any tag number corresponding to field 144 * Reads and discards an entire message. This will read either until EOF 158 /** Read a {@code double} field value from the stream. */ 163 /** Read a {@code float} field value from the stream. */ 168 /** Read a {@code uint64} field value from the stream. */ 173 /** Read an {@code int64} field value from the stream. * [all...] |
/cts/suite/cts/deviceTests/filesystemperf/src/com/android/cts/filesystemperf/ |
SequentialRWTest.java | 110 long read = 0; 111 while (read < fileSize) { 112 in.read(data); 113 read += BUFFER_SIZE; 119 getReportLog().printArray("read throughput", 122 getReportLog().printSummary("read throughput", stat.mAverage, ResultType.HIGHER_BETTER,
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/io/ |
FileReaderTest.java | 48 int r = br.read(buf); 50 assertEquals("Failed to read correct chars", " After test string", 64 int r = br.read(buf); 67 assertEquals("Failed to read correct chars", " After test string", 80 int r = br.read(buf); 82 assertEquals("Failed to read correct chars", " After test string",
|
/external/apache-harmony/luni/src/test/api/unix/org/apache/harmony/luni/tests/java/net/ |
UnixSocketTest.java | 38 // Simple read/write test over the IO streams 53 in.read(); 59 clientIn.read(new byte[42]); 62 clientIn.read(); 70 clientIn.read(); 76 clientIn.read(new byte[5]);
|
/external/chromium_org/content/renderer/media/ |
buffered_data_source_unittest.cc | 186 data_source_->Read(position, kDataSize, buffer_, 219 // Used for calling BufferedDataSource::Read(). 317 // Read causing a new request to be made -- we'll expect it to error. 332 // Make sure there's a pending read -- we'll expect it to error. 347 // Make sure there's a pending read -- we'll expect it to error. 362 // Read to advance our position. 368 // Issue a pending read but terminate the connection to force a retry. 374 // Complete the read. 386 // Read to advance our position. 391 // Issue a pending read but terminate the connection to force a retry [all...] |
/external/chromium_org/media/base/ |
audio_buffer_queue.h | 37 // Returns the number of frames read. The current position will advance by the 38 // amount of frames read. |dest_frame_offset| specifies a starting offset into 64 // returned if no buffers we read from had timestamp set. 73 // the number of frames read. The current position will be moved forward by 74 // the number of frames read if |advance_position| is set. If |dest| is NULL, 92 // Number of frames available to be read in the buffer.
|
/external/chromium_org/remoting/host/ |
chromoting_param_traits.cc | 19 bool ParamTraits<webrtc::DesktopVector>::Read(const Message* m, 44 bool ParamTraits<webrtc::DesktopSize>::Read(const Message* m, 71 bool ParamTraits<webrtc::DesktopRect>::Read(const Message* m, 99 bool ParamTraits<remoting::ScreenResolution>::Read( 105 if (!ParamTraits<webrtc::DesktopSize>::Read(m, iter, &size) || 106 !ParamTraits<webrtc::DesktopVector>::Read(m, iter, &dpi)) {
|
/external/chromium_org/third_party/angle_dx11/src/compiler/ |
BaseTypes.h | 76 // Qualifiers and built-ins. These are mainly used to see what can be read 83 EvqTemporary, // For temporaries (within a function), read/write 84 EvqGlobal, // For globals read/write 88 EvqVaryingOut, // vertex shaders only read/write 90 EvqInvariantVaryingOut, // vertex shaders only read/write 103 // built-ins read by fragment shader
|