Searched defs:read_count (Results 1 - 25 of 25) sorted by relevance

/external/chromium_org/extensions/browser/value_store/
H A Dtesting_value_store.h27 int read_count() { return read_count_; } function in class:TestingValueStore
/external/chromium_org/third_party/sfntly/cpp/src/sfntly/port/
H A Dfile_input_stream.cc97 size_t read_count = std::min<size_t>(length_ - position_, length); local
98 if (b->size() < (size_t)(offset + read_count)) {
99 b->resize((size_t)(offset + read_count));
101 int32_t actual_read = fread(&((*b)[offset]), 1, read_count, file_);
H A Dmemory_input_stream.cc91 size_t read_count = std::min<size_t>(length_ - position_, length); local
92 if (b->size() < (size_t)(offset + read_count)) {
93 b->resize((size_t)(offset + read_count));
95 memcpy(&((*b)[offset]), buffer_ + position_, read_count);
96 position_ += read_count;
97 return read_count;
/external/sfntly/cpp/src/sfntly/port/
H A Dfile_input_stream.cc95 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_);
H A Dmemory_input_stream.cc89 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;
/external/chromium_org/chrome/browser/extensions/api/declarative/
H A Drules_registry_with_cache_unittest.cc281 int read_count = store->read_count(); local
286 EXPECT_EQ(read_count, store->read_count());
287 read_count = store->read_count();
292 EXPECT_EQ(read_count + 1, store->read_count());
/external/chromium_org/content/test/
H A Dweburl_loader_mock_factory.cc184 int read_count = base::ReadFile(file_path, buffer.get(), size); local
185 if (read_count == -1)
187 DCHECK(read_count == size);
/external/chromium_org/third_party/webrtc/modules/audio_processing/utility/
H A Dring_buffer.c134 const size_t read_count = GetBufferReadRegions(self, local
157 WebRtc_MoveReadPtr(self, (int) read_count);
159 return read_count;
/external/webrtc/src/modules/audio_processing/utility/
H A Dring_buffer.c148 const size_t read_count = GetBufferReadRegions(self, local
166 WebRtc_MoveReadPtr(handle, (int) read_count);
168 return read_count;
/external/chromium_org/chrome/browser/sessions/
H A Dsession_backend.cc93 int read_count; local
95 read_count = file_->ReadAtCurrentPos(reinterpret_cast<char*>(&header),
97 if (read_count != sizeof(header) || header.signature != kFileSignature ||
174 int read_count = file_->ReadAtCurrentPos(&(buffer_[available_count_]), local
176 if (read_count < 0) {
180 if (read_count == 0)
182 available_count_ += read_count;
/external/chromium_org/third_party/freetype/src/pshinter/
H A Dpshglob.c141 FT_UInt read_count,
153 for ( ; read_count > 1; read_count -= 2 )
139 psh_blues_set_zones_0( PSH_Blues target, FT_Bool is_others, FT_UInt read_count, FT_Short* read, PSH_Blue_Table top_table, PSH_Blue_Table bot_table ) argument
/external/freetype/src/pshinter/
H A Dpshglob.c141 FT_UInt read_count,
153 for ( ; read_count > 1; read_count -= 2 )
139 psh_blues_set_zones_0( PSH_Blues target, FT_Bool is_others, FT_UInt read_count, FT_Short* read, PSH_Blue_Table top_table, PSH_Blue_Table bot_table ) argument
/external/opencv/otherlibs/highgui/
H A Dcvcap_socket.cpp247 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/pdfium/core/src/fxge/fx_freetype/fxft2.5.01/src/pshinter/
H A Dpshglob.c141 FT_UInt read_count,
153 for ( ; read_count > 1; read_count -= 2 )
139 psh_blues_set_zones_0( PSH_Blues target, FT_Bool is_others, FT_UInt read_count, FT_Short* read, PSH_Blue_Table top_table, PSH_Blue_Table bot_table ) argument
/external/qemu/audio/
H A Dwinaudio.c349 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) {
/external/chromium_org/third_party/webrtc/modules/audio_processing/test/
H A Dprocess_test.cc551 size_t read_count = 0; local
838 read_count = fread(&event, sizeof(event), 1, event_file);
839 if (read_count != 1) {
894 read_count = fread(far_frame.data_,
900 if (read_count != size) {
903 EXPECT_EQ(0, fseek(near_file, read_count * sizeof(int16_t),
908 ASSERT_EQ(size, read_count);
935 read_count = fread(near_frame.data_,
940 near_read_bytes += read_count * sizeof(int16_t);
947 if (read_count !
[all...]
H A Daudio_processing_unittest.cc465 size_t read_count = fread(frame->data_, local
469 if (read_count != frame_size) {
1998 size_t read_count = fread(int_data, sizeof(int16_t), frame_size, file); local
1999 if (read_count != frame_size) {
/external/webrtc/src/modules/audio_processing/test/
H A Dprocess_test.cc494 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 !
[all...]
H A Dunit_test.cc1097 size_t read_count = fread(revframe_->_payloadData, local
1101 if (read_count != frame_size) {
1121 read_count = fread(frame_->_payloadData,
1125 if (read_count != frame_size) {
/external/linux-tools-perf/perf-3.12.0/tools/perf/
H A Dbuiltin-lock.c103 int read_count; member in struct:lock_seq_stat
426 seq->read_count = 1;
432 seq->read_count++;
613 seq->read_count--;
614 BUG_ON(seq->read_count < 0);
615 if (!seq->read_count) {
/external/chromium_org/net/socket/
H A Dsocket_test_util.h256 size_t read_count() const { return read_count_; } function in class:net::StaticSocketDataProvider
H A Dssl_client_socket_unittest.cc568 int read_count() const { return read_count_; } function in class:net::__anon9537::CountingStreamSocket
/external/libpng/contrib/libtests/
H A Dpngimage.c351 size_t read_count; /* count of bytes read from current */ member in struct:buffer
378 buffer->read_count = 0;
730 size_t read_count = bp->read_count; local
737 (last == bp->last && read_count >= bp->end_count))
745 else if (read_count >= sizeof last->buffer)
749 read_count = 0;
761 avail = (sizeof last->buffer) - read_count;
765 memcpy(data, last->buffer + read_count, avail);
766 read_count
[all...]
/external/libpng/contrib/tools/
H A Dpngfix.c877 png_uint_32 read_count; /* Count of bytes read (in the chunk) */ member in struct:file
1043 file->read_count = 0;
1245 ++(file->read_count);
1636 * chunk. As a side effect the read_count in the file is reset to 8, just
1640 chunk->file->read_count = 8;
2976 file->read_count = 8;
3032 file->read_count -= 8;
3134 file->read_count -= 8;
3197 if (file->read_count < 8)
3199 assert(file->read_count
[all...]
/external/opencv/cxcore/src/
H A Dcxpersistence.cpp4749 int read_max = read_buf_size /MAX(src_elem_size, 1), read_count = 0; local
4755 if( read_count == 0 && dt )
4759 read_count = count;
4799 read_count--;

Completed in 6782 milliseconds