Searched refs:read_count (Results 1 - 13 of 13) sorted by relevance

/external/sfntly/cpp/src/sfntly/port/
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;
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_);
/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/google-breakpad/src/client/windows/crash_generation/
H A Dclient_info.cc187 SIZE_T read_count = sizeof(CustomInfoEntry) * custom_client_info_.count; local
205 read_count,
211 return (bytes_count == read_count);
/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/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/linux-tools-perf/src/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/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/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/pdfium/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/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 468 milliseconds