Home
last modified time | relevance | path

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

/external/sfntly/cpp/src/sfntly/port/
Dmemory_input_stream.cc89 size_t read_count = std::min<size_t>(length_ - position_, length); in Read() local
90 if (b->size() < (size_t)(offset + read_count)) { in Read()
91 b->resize((size_t)(offset + read_count)); in Read()
93 memcpy(&((*b)[offset]), buffer_ + position_, read_count); in Read()
94 position_ += read_count; in Read()
95 return read_count; in Read()
Dfile_input_stream.cc95 size_t read_count = std::min<size_t>(length_ - position_, length); in Read() local
96 if (b->size() < (size_t)(offset + read_count)) { in Read()
97 b->resize((size_t)(offset + read_count)); in Read()
99 int32_t actual_read = fread(&((*b)[offset]), 1, read_count, file_); in Read()
/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/webrtc/modules/audio_processing/test/
Dprocess_test.cc553 size_t read_count = 0; in void_main() local
850 read_count = fread(&event, sizeof(event), 1, event_file); in void_main()
851 if (read_count != 1) { in void_main()
906 read_count = fread(far_frame.data_, in void_main()
912 if (read_count != size) { in void_main()
915 EXPECT_EQ(0, fseek(near_file, read_count * sizeof(int16_t), in void_main()
920 ASSERT_EQ(size, read_count); in void_main()
947 read_count = fread(near_frame.data_, in void_main()
952 near_read_bytes += read_count * sizeof(int16_t); in void_main()
959 if (read_count != size) { in void_main()
[all …]
Daudio_processing_unittest.cc318 size_t read_count = fread(int_data, sizeof(int16_t), frame_size, file); in ReadChunk() local
319 if (read_count != frame_size) { in ReadChunk()
535 size_t read_count = fread(frame->data_, in ReadFrame() local
539 if (read_count != frame_size) { in ReadFrame()
/external/google-breakpad/src/client/windows/crash_generation/
Dclient_info.cc187 SIZE_T read_count = sizeof(CustomInfoEntry) * custom_client_info_.count; in PopulateCustomInfo() local
205 read_count, in PopulateCustomInfo()
211 return (bytes_count == read_count); in PopulateCustomInfo()
/external/webrtc/webrtc/common_audio/
Dring_buffer.c129 const size_t read_count = GetBufferReadRegions(self, in WebRtc_ReadBuffer() local
152 WebRtc_MoveReadPtr(self, (int) read_count); in WebRtc_ReadBuffer()
154 return read_count; in WebRtc_ReadBuffer()
/external/libpng/contrib/libtests/
Dpngimage.c366 size_t read_count; /* count of bytes read from current */ member
412 buffer->read_count = 0; in buffer_start_read()
802 size_t read_count = bp->read_count; in buffer_read() local
809 (last == bp->last && read_count >= bp->end_count)) in buffer_read()
817 else if (read_count >= sizeof last->buffer) in buffer_read()
821 read_count = 0; in buffer_read()
833 avail = (sizeof last->buffer) - read_count; in buffer_read()
837 memcpy(data, last->buffer + read_count, avail); in buffer_read()
838 read_count += avail; in buffer_read()
843 bp->read_count = read_count; in buffer_read()
/external/libpng/contrib/tools/
Dpngfix.c883 png_uint_32 read_count; /* Count of bytes read (in the chunk) */ member
1049 file->read_count = 0; in file_init()
1251 ++(file->read_count); in read_byte()
1646 chunk->file->read_count = 8; in setpos()
2983 file->read_count = 8; in sync_stream()
3039 file->read_count -= 8; in sync_stream()
3141 file->read_count -= 8; in read_chunk()
3204 if (file->read_count < 8) in read_callback()
3206 assert(file->read_count == 0); in read_callback()
3211 if (file->read_count == 4) in read_callback()
[all …]
/external/pdfium/third_party/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/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/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()
/external/opencv3/modules/core/src/
Dpersistence.cpp4693 int read_max = read_buf_size /MAX(src_elem_size, 1), read_count = 0; in icvReadGraph() local
4700 if( read_count == 0 && dt ) in icvReadGraph()
4704 read_count = count; in icvReadGraph()
4744 read_count--; in icvReadGraph()