Home
last modified time | relevance | path

Searched refs:bytes_read (Results 1 – 3 of 3) sorted by relevance

/frameworks/ex/framesequence/jni/
DStream.cpp61 size_t bytes_read = 0; in read() local
64 bytes_read = min(size, peek_remaining); in read()
65 memcpy(buffer, mPeekBuffer + mPeekOffset, bytes_read); in read()
66 mPeekOffset += bytes_read; in read()
73 size -= bytes_read; in read()
74 buffer = ((char*) buffer) + bytes_read; in read()
77 bytes_read += doRead(buffer, size); in read()
79 return bytes_read; in read()
/frameworks/av/media/libstagefright/
DMediaCodecList.cpp229 int bytes_read = ::fread(buff, 1, BUFF_SIZE, file); in parseXMLFile() local
230 if (bytes_read < 0) { in parseXMLFile()
236 XML_Status status = ::XML_ParseBuffer(parser, bytes_read, bytes_read == 0); in parseXMLFile()
243 if (bytes_read == 0) { in parseXMLFile()
/frameworks/av/media/libmedia/
DMediaProfiles.cpp947 int bytes_read = ::fread(buff, 1, BUFF_SIZE, fp); in createInstanceFromXmlFile() local
948 if (bytes_read < 0) { in createInstanceFromXmlFile()
955 CHECK(::XML_ParseBuffer(parser, bytes_read, bytes_read == 0)); in createInstanceFromXmlFile()
957 if (bytes_read == 0) break; // done parsing the xml file in createInstanceFromXmlFile()