Searched refs:bytes_read (Results 1 - 6 of 6) sorted by relevance

/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;
H A Dsupport.h121 virtual void OnReadCompleted(net::URLRequest *request, int bytes_read);
/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/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
/frameworks/compile/mclinker/utils/gtest/src/
H A Dgtest-all.cpp6584 int bytes_read;
6591 bytes_read = posix::Read(read_fd(), &flag, 1);
6592 } while (bytes_read == -1 && errno == EINTR);
6594 if (bytes_read == 0) {
6596 } else if (bytes_read == 1) {
8369 size_t bytes_read = 0; // # of bytes read so far
8376 bytes_last_read = fread(buffer+bytes_read, 1, file_size-bytes_read, file);
8377 bytes_read += bytes_last_read;
8378 } while (bytes_last_read > 0 && bytes_read < file_siz
[all...]
/frameworks/av/libvideoeditor/vss/mcs/src/
H A DM4MCS_API.c390 M4OSA_UInt32 bytes_read )
395 p_bs->numBitsInBuffer = bytes_read << 3;
396 p_bs->readableBytesInBuffer = bytes_read;

Completed in 154 milliseconds