Searched defs:bytes_read (Results 1 - 3 of 3) sorted by relevance

/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp120 int bytes_read = ::fread(buff, 1, BUFF_SIZE, file); local
121 if (bytes_read < 0) {
127 if (::XML_ParseBuffer(parser, bytes_read, bytes_read == 0)
133 if (bytes_read == 0) {
/frameworks/av/media/libstagefright/chromium_http/
H A Dsupport.cpp333 void SfDelegate::OnReadCompleted(net::URLRequest *request, int bytes_read) { argument
334 if (bytes_read == -1) {
343 MY_LOGV(StringPrintf("OnReadCompleted, read %d bytes", bytes_read).c_str());
345 if (bytes_read < 0) {
352 } else if (bytes_read == 0) {
358 CHECK_GT(bytes_read, 0);
359 CHECK_LE(mNumBytesRead + bytes_read, mNumBytesTotal);
363 bytes_read);
365 mNumBytesRead += bytes_read;
/frameworks/av/media/libmedia/
H A DMediaProfiles.cpp924 int bytes_read = ::fread(buff, 1, BUFF_SIZE, fp); local
925 if (bytes_read < 0) {
932 CHECK(::XML_ParseBuffer(parser, bytes_read, bytes_read == 0));
934 if (bytes_read == 0) break; // done parsing the xml file

Completed in 45 milliseconds