HomeSort by relevance Sort by last modified time
    Searched refs:read_count (Results 1 - 25 of 27) sorted by null

1 2

  /external/sfntly/cpp/src/sfntly/port/
memory_input_stream.cc 89 size_t read_count = std::min<size_t>(length_ - position_, length); local
90 if (b->size() < (size_t)(offset + read_count)) {
91 b->resize((size_t)(offset + read_count));
93 memcpy(&((*b)[offset]), buffer_ + position_, read_count);
94 position_ += read_count;
95 return read_count;
file_input_stream.cc 95 size_t read_count = std::min<size_t>(length_ - position_, length); local
96 if (b->size() < (size_t)(offset + read_count)) {
97 b->resize((size_t)(offset + read_count));
99 int32_t actual_read = fread(&((*b)[offset]), 1, read_count, file_);
  /external/chromium_org/chrome/common/extensions/docs/server2/
mock_file_system_test.py 37 self.assertFalse(*fs.CheckAndReset(read_count=1))
41 self.assertTrue(*fs.CheckAndReset(read_count=1))
42 self.assertFalse(*fs.CheckAndReset(read_count=1))
46 self.assertFalse(*fs.CheckAndReset(read_count=2))
50 self.assertTrue(*fs.CheckAndReset(read_count=2))
51 self.assertFalse(*fs.CheckAndReset(read_count=2))
56 self.assertTrue(*fs.CheckAndReset(read_count=2))
69 self.assertTrue(*fs.CheckAndReset(read_count=1, stat_count=2))
caching_file_system_test.py 86 self.assertTrue(*mock_fs.CheckAndReset(read_count=1, stat_count=1))
101 self.assertTrue(*mock_fs.CheckAndReset(read_count=1, stat_count=1))
111 self.assertTrue(*mock_fs.CheckAndReset(read_count=2, stat_count=1))
122 self.assertTrue(*mock_fs.CheckAndReset(read_count=3, stat_count=1))
134 self.assertTrue(*mock_fs.CheckAndReset(read_count=1, stat_count=1))
mock_file_system.py 92 return 'MockFileSystem(read_count=%s, stat_count=%s, updates=%s)' % (
105 def CheckAndReset(self, stat_count=0, read_count=0):
111 ('read_count', read_count, self._read_count),
cron_servlet_test.py 77 read_count=0,
  /external/opencv/otherlibs/highgui/
cvcap_socket.cpp 247 long read_count, total_read = 0; local
250 read_count = read(sockd, &readBuf[total_read], readBufSize);
251 if (read_count <= 0 || errno != 0)
258 total_read += read_count;
  /external/chromium_org/chrome/browser/extensions/api/declarative/
rules_registry_with_cache_unittest.cc 260 int read_count = store->read_count(); local
265 EXPECT_EQ(read_count, store->read_count());
266 read_count = store->read_count();
271 EXPECT_EQ(read_count + 1, store->read_count());
  /external/chromium/chrome/browser/sessions/
session_backend.cc 93 int read_count; local
95 read_count = file_->ReadUntilComplete(reinterpret_cast<char*>(&header),
97 if (read_count != sizeof(header) || header.signature != kFileSignature ||
171 int read_count = file_->ReadUntilComplete(&(buffer_[available_count_]), local
173 if (read_count < 0) {
177 if (read_count == 0)
179 available_count_ += read_count;
  /external/chromium_org/chrome/browser/sessions/
session_backend.cc 96 int read_count; local
98 read_count = file_->ReadUntilComplete(reinterpret_cast<char*>(&header),
100 if (read_count != sizeof(header) || header.signature != kFileSignature ||
177 int read_count = file_->ReadUntilComplete(&(buffer_[available_count_]), local
179 if (read_count < 0) {
183 if (read_count == 0)
185 available_count_ += read_count;
  /external/chromium_org/chrome/browser/value_store/
testing_value_store.h 26 int read_count() { return read_count_; } function in class:TestingValueStore
  /external/webrtc/src/modules/audio_processing/test/
process_test.cc 494 size_t read_count = 0; local
697 read_count = fread(&event, sizeof(event), 1, event_file);
698 if (read_count != 1) {
743 read_count = fread(far_frame._payloadData,
749 if (read_count != size) {
752 EXPECT_EQ(0, fseek(near_file, read_count * sizeof(int16_t),
757 ASSERT_EQ(size, read_count);
784 read_count = fread(near_frame._payloadData,
789 near_read_bytes += read_count * sizeof(int16_t);
796 if (read_count != size)
    [all...]
unit_test.cc 1097 size_t read_count = fread(revframe_->_payloadData, local
    [all...]
  /hardware/qcom/audio/legacy/libalsa-intf/
alsaucm_test.c 87 ssize_t read_count; local
95 read_count = read(fd, &ch, 1);
96 if (read_count == 0) {
99 } else if (read_count < 0) {
  /external/chromium_org/webkit/support/
weburl_loader_mock_factory.cc 190 int read_count = file_util::ReadFile(file_path, buffer.get(), size); local
191 if (read_count == -1)
193 DCHECK(read_count == size);
  /external/webrtc/src/modules/audio_processing/utility/
ring_buffer.c 148 const size_t read_count = GetBufferReadRegions(self, local
166 WebRtc_MoveReadPtr(handle, (int) read_count);
168 return read_count;
  /external/qemu/audio/
winaudio.c 349 int read_count; member in struct:WinAudioIn
367 if (s->read_count < NUM_IN_BUFFERS)
368 s->read_count += 1;
369 //D(".%c",s->read_count + '0'); fflush(stdout);
497 s->read_count = 0;
525 has_buffer = (s->read_count > 0);
565 if (--s->read_count == 0) {
  /hardware/ril/reference-ril/
atchannel.c 607 int read_count; local
614 read_count = 0;
618 read_count += ret;
621 } while(ack_count > 0 || read_count > 0);
  /bootable/recovery/applypatch/
applypatch.c 480 ssize_t read_count = read(fd, buffer+so_far, to_read-so_far); local
481 if (read_count < 0) {
483 read_count = 0;
490 if ((size_t)read_count < to_read) {
492 partition, p, read_count, to_read, strerror(errno));
494 so_far += read_count;
    [all...]
  /external/linux-tools-perf/
builtin-lock.c 111 int read_count; member in struct:lock_seq_stat
456 seq->read_count = 1;
462 seq->read_count++;
619 seq->read_count--;
620 BUG_ON(seq->read_count < 0);
621 if (!seq->read_count) {
  /external/chromium_org/third_party/freetype/src/pshinter/
pshglob.c 141 FT_UInt read_count,
153 for ( ; read_count > 1; read_count -= 2 )
  /external/freetype/src/pshinter/
pshglob.c 141 FT_UInt read_count,
153 for ( ; read_count > 1; read_count -= 2 )
  /external/chromium/net/socket/
socket_test_util.h 179 size_t read_count() const { return read_count_; } function in class:net::StaticSocketDataProvider
    [all...]
  /external/chromium_org/net/socket/
socket_test_util.h 222 size_t read_count() const { return read_count_; } function in class:net::StaticSocketDataProvider
    [all...]
  /external/opencv/cxcore/src/
cxpersistence.cpp 4749 int read_max = read_buf_size \/MAX(src_elem_size, 1), read_count = 0; local
    [all...]

Completed in 536 milliseconds

1 2