Home
last modified time | relevance | path

Searched refs:read_count (Results 1 – 12 of 12) sorted by relevance

/external/chromium/chrome/browser/sessions/
Dsession_backend.cc93 int read_count; in Read() local
95 read_count = file_->ReadUntilComplete(reinterpret_cast<char*>(&header), in Read()
97 if (read_count != sizeof(header) || header.signature != kFileSignature || in Read()
171 int read_count = file_->ReadUntilComplete(&(buffer_[available_count_]), in FillBuffer() local
173 if (read_count < 0) { in FillBuffer()
177 if (read_count == 0) in FillBuffer()
179 available_count_ += read_count; in FillBuffer()
/external/webrtc/src/modules/audio_processing/test/
Dprocess_test.cc494 size_t read_count = 0; in void_main() local
697 read_count = fread(&event, sizeof(event), 1, event_file); in void_main()
698 if (read_count != 1) { in void_main()
743 read_count = fread(far_frame._payloadData, in void_main()
749 if (read_count != size) { in void_main()
752 EXPECT_EQ(0, fseek(near_file, read_count * sizeof(int16_t), in void_main()
757 ASSERT_EQ(size, read_count); in void_main()
784 read_count = fread(near_frame._payloadData, in void_main()
789 near_read_bytes += read_count * sizeof(int16_t); in void_main()
796 if (read_count != size) { in void_main()
[all …]
Dunit_test.cc1097 size_t read_count = fread(revframe_->_payloadData, in TEST_F() local
1101 if (read_count != frame_size) { in TEST_F()
1121 read_count = fread(frame_->_payloadData, in TEST_F()
1125 if (read_count != frame_size) { in TEST_F()
/external/opencv/otherlibs/highgui/
Dcvcap_socket.cpp247 long read_count, total_read = 0; in grabFrame() local
250 read_count = read(sockd, &readBuf[total_read], readBufSize); in grabFrame()
251 if (read_count <= 0 || errno != 0) in grabFrame()
258 total_read += read_count; in grabFrame()
/external/webrtc/src/modules/audio_processing/utility/
Dring_buffer.c148 const size_t read_count = GetBufferReadRegions(self, in WebRtc_ReadBuffer() local
166 WebRtc_MoveReadPtr(handle, (int) read_count); in WebRtc_ReadBuffer()
168 return read_count; in WebRtc_ReadBuffer()
/external/qemu/audio/
Dwinaudio.c349 int read_count; member
367 if (s->read_count < NUM_IN_BUFFERS) in winaudio_in_buffer_done()
368 s->read_count += 1; in winaudio_in_buffer_done()
497 s->read_count = 0; in winaudio_in_init()
525 has_buffer = (s->read_count > 0); in winaudio_in_run()
565 if (--s->read_count == 0) { in winaudio_in_run()
/external/linux-tools-perf/
Dbuiltin-lock.c111 int read_count; member
456 seq->read_count = 1; in report_lock_acquire_event()
462 seq->read_count++; in report_lock_acquire_event()
619 seq->read_count--; in report_lock_release_event()
620 BUG_ON(seq->read_count < 0); in report_lock_release_event()
621 if (!seq->read_count) { in report_lock_release_event()
/external/freetype/src/pshinter/
Dpshglob.c141 FT_UInt read_count, in psh_blues_set_zones_0() argument
153 for ( ; read_count > 1; read_count -= 2 ) in psh_blues_set_zones_0()
/external/bluetooth/bluez/tools/
Dhciattach_ath3k.c370 int read_count; in ath_parse_ps() local
426 read_count = (byte_count > ENTRY_PER_LINE) ? in ath_parse_ps()
430 while (read_count > 0) { in ath_parse_ps()
432 read_count -= 2; in ath_parse_ps()
/external/chromium/net/socket/
Dsocket_test_util.h179 size_t read_count() const { return read_count_; } in read_count() function
/external/chromium/net/spdy/
Dspdy_network_transaction_unittest.cc195 << (*it)->read_count() in VerifyDataConsumed()
212 << (*it)->read_count() in VerifyDataNotConsumed()
2824 << data->read_count() in TEST_P()
3078 << data->read_count() in TEST_P()
3139 << data->read_count() in TEST_P()
3195 << data->read_count() in TEST_P()
/external/opencv/cxcore/src/
Dcxpersistence.cpp4749 int read_max = read_buf_size /MAX(src_elem_size, 1), read_count = 0; in icvReadGraph() local
4755 if( read_count == 0 && dt ) in icvReadGraph()
4759 read_count = count; in icvReadGraph()
4799 read_count--; in icvReadGraph()