Home
last modified time | relevance | path

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

/frameworks/av/media/libstagefright/chromium_http/
Dsupport.cpp457 void SfDelegate::OnReadCompleted(net::URLRequest *request, int bytes_read) { in OnReadCompleted() argument
458 if (bytes_read == -1) { in OnReadCompleted()
467 MY_LOGV(StringPrintf("OnReadCompleted, read %d bytes", bytes_read).c_str()); in OnReadCompleted()
469 if (bytes_read < 0) { in OnReadCompleted()
476 } else if (bytes_read == 0) { in OnReadCompleted()
482 CHECK_GT(bytes_read, 0); in OnReadCompleted()
483 CHECK_LE(mNumBytesRead + bytes_read, mNumBytesTotal); in OnReadCompleted()
487 bytes_read); in OnReadCompleted()
489 mNumBytesRead += bytes_read; in OnReadCompleted()
Dsupport.h132 virtual void OnReadCompleted(net::URLRequest *request, int bytes_read);
/frameworks/av/media/libstagefright/
DMediaCodecList.cpp120 int bytes_read = ::fread(buff, 1, BUFF_SIZE, file); in parseXMLFile() local
121 if (bytes_read < 0) { in parseXMLFile()
127 if (::XML_ParseBuffer(parser, bytes_read, bytes_read == 0) in parseXMLFile()
133 if (bytes_read == 0) { in parseXMLFile()
/frameworks/av/media/libmedia/
DMediaProfiles.cpp924 int bytes_read = ::fread(buff, 1, BUFF_SIZE, fp); in createInstanceFromXmlFile() local
925 if (bytes_read < 0) { in createInstanceFromXmlFile()
932 CHECK(::XML_ParseBuffer(parser, bytes_read, bytes_read == 0)); in createInstanceFromXmlFile()
934 if (bytes_read == 0) break; // done parsing the xml file in createInstanceFromXmlFile()
/frameworks/av/libvideoeditor/vss/mcs/src/
DM4MCS_API.c390 M4OSA_UInt32 bytes_read ) in DecBitStreamReset_MCS() argument
395 p_bs->numBitsInBuffer = bytes_read << 3; in DecBitStreamReset_MCS()
396 p_bs->readableBytesInBuffer = bytes_read; in DecBitStreamReset_MCS()