/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/authoring/tracks/ |
EC3TrackImpl.java | 172 if (200 != inputStream.read(data, 0, 200)) { 393 int read = frameSize; local 395 while (frameSize == read) { 398 read = inputStream.read(data); 399 if (read == frameSize) {
|
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/boxes/mp4/objectdescriptors/ |
ESDescriptor.java | 109 final long read = bb.position() - begin;
local 110 log.finer(descriptor + " - ESDescriptor1 read: " + read + ", size: " + (descriptor != null ? descriptor.getSize() : null));
116 baseSize += read;
126 final long read = bb.position() - begin;
local 127 log.finer(descriptor + " - ESDescriptor2 read: " + read + ", size: " + (descriptor != null ? descriptor.getSize() : null));
133 baseSize += read;
145 final long read = bb.position() - begin;
local 146 log.finer(descriptor + " - ESDescriptor3 read: " + read + ", size: " + (descriptor != null ? descriptor.getSize() : null)); [all...] |
/external/mp4parser/isoparser/src/main/java/com/googlecode/mp4parser/h264/model/ |
SeqParameterSet.java | 23 import com.googlecode.mp4parser.h264.read.CAVLCReader; 77 public static SeqParameterSet read(InputStream is) throws IOException { method in class:SeqParameterSet 182 sps.scalingMatrix.ScalingList4x4[i] = ScalingList.read( 185 sps.scalingMatrix.ScalingList8x8[i - 6] = ScalingList.read(
|
/external/opencv/ml/src/ |
mlnbayes.cpp | 3 // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 454 void CvNormalBayesClassifier::read( CvFileStorage* fs, CvFileNode* root_node ) function in class:CvNormalBayesClassifier 457 CV_FUNCNAME( "CvNormalBayesClassifier::read" );
|
mlrtrees.cpp | 3 // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. 161 void CvForestTree::read( CvFileStorage* fs, CvFileNode* fnode, CvRTrees* _forest, CvDTreeTrainData* _data ) function in class:CvForestTree 163 CvDTree::read( fs, fnode, _data ); 168 void CvForestTree::read( CvFileStorage*, CvFileNode* ) function in class:CvForestTree 173 void CvForestTree::read( CvFileStorage* _fs, CvFileNode* _node, function in class:CvForestTree 176 CvDTree::read( _fs, _node, _data ); 619 void CvRTrees::read( CvFileStorage* fs, CvFileNode* fnode ) function in class:CvRTrees 621 CV_FUNCNAME( "CvRTrees::read" ); 664 CV_CALL(trees[k]->read( fs, (CvFileNode*)reader.ptr, this, data ));
|
/external/skia/src/pdf/ |
SkPDFFont.cpp | 156 // able to use skip(), rewind(), or getMemoryBase(). read()ing through 171 size_t read = 0; local 172 while (read < srcLen) { 173 size_t got = srcStream->read((void *)staticStream->getAtPos(), 174 srcLen - read); 178 read += got; 179 staticStream->seek(read); 187 while ((amount = srcStream->read(buf, kBufSize)) > 0) { 581 // Read font into buffer. 585 if (fontData->read(originalFont.begin(), fontSize) == (size_t)fontSize) [all...] |
/external/smack/src/org/jivesoftware/smackx/bytestreams/ibb/ |
InBandBytestreamSession.java | 240 /* pointer to the next byte to read from buffer */
252 /* timeout for read operations */
278 public synchronized int read() throws IOException {
method in class:InBandBytestreamSession.IBBInputStream 281 // if nothing read yet or whole buffer has been read fill buffer
293 public synchronized int read(byte[] b, int off, int len) throws IOException {
method in class:InBandBytestreamSession.IBBInputStream 307 // if nothing read yet or whole buffer has been read fill buffer
326 public synchronized int read(byte[] b) throws IOException {
method in class:InBandBytestreamSession.IBBInputStream 327 return read(b, 0, b.length); [all...] |
/external/v8/samples/ |
process.cc | 560 int read = fread(&chars[i], 1, size - i, file); local 561 i += read;
|
/frameworks/av/libvideoeditor/vss/stagefrightshells/src/ |
VideoEditorAudioEncoder.cpp | 50 virtual status_t read(MediaBuffer **buffer, 163 status_t VideoEditorAudioEncoderSource::read(MediaBuffer **buffer, function in class:android::VideoEditorAudioEncoderSource 169 ALOGV("VideoEditorAudioEncoderSource::read"); 172 ALOGV("VideoEditorAudioEncoderSource::read ERROR : invalid state %d", 179 ALOGV("VideoEditorAudioEncoderSource::read : EOS"); 192 ALOGV("VideoEditorAudioEncoderSource::read END (0x%x)", err); 467 // Read once to get the DSI 468 result = pEncoderContext->mEncoder->read(&buffer, NULL); 625 // Read 626 result = pEncoderContext->mEncoder->read(&buffer, NULL) [all...] |
/frameworks/av/media/libstagefright/ |
CameraSource.cpp | 766 status_t CameraSource::read( function in class:android::CameraSource 768 ALOGV("read");
|
WAVExtractor.cpp | 68 virtual status_t read( 400 status_t WAVSource::read( function in class:android::WAVSource 444 // so read multiples of 65, and use smaller buffers to account for ~10:1 expansion ratio
|
/frameworks/av/media/libstagefright/mpeg2ts/ |
MPEG2PSExtractor.cpp | 49 virtual status_t read( 80 virtual status_t read( 604 status_t MPEG2PSExtractor::Track::read( function in class:android::MPEG2PSExtractor::Track 623 return mSource->read(buffer, options); 689 status_t MPEG2PSExtractor::WrappedTrack::read( function in class:android::MPEG2PSExtractor::WrappedTrack 691 return mTrack->read(buffer, options);
|
/frameworks/av/media/mtp/ |
MtpDevice.cpp | 316 info->read(mData); 349 info->read(mData); 388 info->read(mData); 472 int count = read(srcFD, buffer, sizeof(buffer)); 550 property->read(mData); 569 property->read(mData); 617 // queue up a read request 631 // wait for pending read before failing 640 // wait for read to complete 642 int read = mData.readDataWait(mDevice) local 742 int read = mData.readDataWait(mDevice); local [all...] |
/frameworks/base/core/java/android/net/ |
LocalSocketImpl.java | 46 /** file descriptor array received during a previous read */ 53 * need to read ancillary data. 70 public int read() throws IOException { method in class:LocalSocketImpl.SocketInputStream 83 public int read(byte[] b) throws IOException { method in class:LocalSocketImpl.SocketInputStream 84 return read(b, 0, b.length); 89 public int read(byte[] b, int off, int len) throws IOException { method in class:LocalSocketImpl.SocketInputStream 107 * need to read ancillary data. 496 * method can only return a non-null after a read operation.
|
/frameworks/base/core/java/com/android/internal/util/ |
FileRotator.java | 69 public void read(InputStream in) throws IOException; method in interface:FileRotator.Reader 197 public void read(InputStream in) throws IOException { 198 reader.read(in); 241 // read existing data 283 * Read any rotated data that overlap the requested time range. 291 // read file when it overlaps 367 reader.read(bis);
|
/frameworks/base/core/jni/ |
android_media_AudioRecord.cpp | 250 // read the audio session ID back from AudioRecord in case a new session was created during set() 359 // get the audio recorder from which we'll read new audio samples 383 // read the new audio data from the native AudioRecord object 385 ssize_t readSize = lpRecorder->read(recordBuff + offsetInBytes, 401 jint read = android_media_AudioRecord_readInByteArray(env, thiz, local 404 if (read > 0) { 405 read /= 2; 407 return read; 413 // get the audio recorder from which we'll read new audio samples 432 // read new data from the recorde [all...] |
/frameworks/base/obex/javax/obex/ |
ServerSession.java | 94 int requestType = mInput.read(); 130 * just going to read the packet and send a not implemented 133 int length = mInput.read(); 134 length = (length << 8) + mInput.read(); 136 mInput.read(); 151 * Handles a ABORT request from a client. This method will read the rest of 164 int length = mInput.read(); 165 length = (length << 8) + mInput.read(); 170 mInput.read(); 282 * Handles a SETPATH request from a client. This method will read the res [all...] |
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
SmsHeader.java | 126 int id = inStream.read(); 127 int length = inStream.read(); 133 concatRef.refNumber = inStream.read(); 134 concatRef.msgCount = inStream.read(); 135 concatRef.seqNumber = inStream.read(); 144 concatRef.refNumber = (inStream.read() << 8) | inStream.read(); 145 concatRef.msgCount = inStream.read(); 146 concatRef.seqNumber = inStream.read(); 155 portAddrs.destPort = inStream.read(); [all...] |
/libcore/harmony-tests/src/test/java/org/apache/harmony/nio/tests/java/nio/channels/ |
SourceChannelTest.java | 64 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer) 67 // if anything can read, read method will not block 69 int count = source.read(ByteBuffer.allocate(10)); 74 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer) 79 source.read(nullBuf); 87 * @tests java.nio.channels.Pipe.SourceChannel#read(ByteBuffer) 93 long count = source.read(readBuf); 95 // readBuf is full, read 0 byte expected 96 count = source.read(readBuf) [all...] |
/libcore/luni/src/main/java/java/nio/ |
FileChannelImpl.java | 279 public int read(ByteBuffer buffer, long position) throws IOException { method in class:FileChannelImpl 286 public int read(ByteBuffer buffer) throws IOException { method in class:FileChannelImpl 303 bytesRead = Libcore.os.read(fd, buffer); 312 // We don't throw if we try to read from an empty non-blocking pipe. 345 public long read(ByteBuffer[] buffers, int offset, int length) throws IOException { method in class:FileChannelImpl 394 // For non-file channels, all we can do is read and write via userspace. 396 src.read(buffer); 519 * because the caller is a file/network read operation), false if we're
|
/libcore/luni/src/main/java/java/util/jar/ |
Manifest.java | 97 read(is); 118 read(is); 187 * Merges name/attribute pairs read from the input stream {@code is} into this manifest. 190 * The {@code InputStream} to read from. 194 public void read(InputStream is) throws IOException { method in class:Manifest
|
/libcore/luni/src/main/java/java/util/zip/ |
ZipInputStream.java | 32 * Used to read (decompress) the data from zip files. 41 * <p>Although {@code InflaterInputStream} can only read compressed zip 42 * entries, this class can read non-compressed entries as well. 60 * while ((count = zis.read(buffer)) != -1) { 94 * Constructs a new {@code ZipInputStream} to read zip entries from the given input stream. 118 * Closes the current zip entry and prepares to read the next entry. 144 // Ensure all entry bytes are read 222 // Read the signature to see whether there's another local file header. 233 // Read the local file header. 237 throw new ZipException("Cannot read local header version " + version) 293 public int read(byte[] buffer, int byteOffset, int byteCount) throws IOException { method in class:ZipInputStream 330 int read; local [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/asn1/ |
BerInputStream.java | 43 * Next read must place data into the buffer from this offset 156 // read tag 157 tag = read(); 159 // read length 160 length = read(); 171 length = read(); 173 int ch = read(); 174 length = (length << 8) + ch;//read(); 733 protected int read() throws IOException { method in class:BerInputStream 741 int octet = in.read(); [all...] |
/libcore/luni/src/main/java/org/apache/harmony/security/provider/cert/ |
X509CertFactoryImpl.java | 103 if (inStream.read() == '-') { 144 while ((ch = inStream.read()) != -1) { 168 // read the next ASN.1 tag 177 // there were not read X.509 Certificates, so 183 // so return what we already read 197 // some Certificates have been read 248 if (inStream.read() == '-') { 285 while ((ch = inStream.read()) != -1) { 309 // read the next ASN.1 tag 318 // there were not read X.509 CRLs, s 805 public int read() throws IOException { method in class:X509CertFactoryImpl.RestoringInputStream 836 public int read(byte[] b, int off, int len) throws IOException { method in class:X509CertFactoryImpl.RestoringInputStream [all...] |
/libcore/luni/src/test/java/libcore/java/io/ |
OldOutputStreamWriterTest.java | 252 isr.read(buf, 0, buf.length); 309 assertEquals(i, charsIn.read()); 311 assertEquals(-1, charsIn.read()); 318 r += charsIn.read(decoded, r, maxChar - r); 320 assertEquals(-1, charsIn.read());
|