Home
last modified time | relevance | path

Searched refs:buffer_position (Results 1 – 3 of 3) sorted by relevance

/external/cpuinfo/src/linux/
Dsmallfile.c39 size_t buffer_position = 0; in cpuinfo_linux_parse_small_file() local
43 bytes_read = cpuinfo_mock_read(file, &buffer[buffer_position], buffer_size - buffer_position); in cpuinfo_linux_parse_small_file()
45 bytes_read = read(file, &buffer[buffer_position], buffer_size - buffer_position); in cpuinfo_linux_parse_small_file()
48 …cpuinfo_log_info("failed to read file %s at position %zu: %s", filename, buffer_position, strerror… in cpuinfo_linux_parse_small_file()
51 buffer_position += (size_t) bytes_read; in cpuinfo_linux_parse_small_file()
52 if (buffer_position >= buffer_size) { in cpuinfo_linux_parse_small_file()
58 status = callback(buffer, &buffer[buffer_position], context); in cpuinfo_linux_parse_small_file()
/external/webrtc/modules/audio_processing/aecm/
Daecm_core.cc170 int buffer_position = 0; in WebRtcAecm_AlignedFarend() local
172 buffer_position = self->far_history_pos - delay; in WebRtcAecm_AlignedFarend()
175 if (buffer_position < 0) { in WebRtcAecm_AlignedFarend()
176 buffer_position += MAX_DELAY; in WebRtcAecm_AlignedFarend()
179 *far_q = self->far_q_domains[buffer_position]; in WebRtcAecm_AlignedFarend()
181 return &(self->far_history[buffer_position * PART_LEN1]); in WebRtcAecm_AlignedFarend()
/external/libpng/contrib/libtests/
Dpngvalid.c2493 size_t buffer_position; /* Position in buffer */ member
2893 pm->flush = pm->buffer_count = pm->buffer_position = 0; in modifier_reset()
2986 pm->buffer_position = 0; in modifier_setbuffer()
3002 if (pm->buffer_position >= pm->buffer_count) switch (pm->state) in modifier_read_imp()
3008 pm->buffer_position = 0; in modifier_read_imp()
3018 pm->buffer_position = 0; in modifier_read_imp()
3077 pm->buffer_position = 0; in modifier_read_imp()
3110 pm->buffer_position = 0; in modifier_read_imp()
3153 pm->buffer_count = pm->buffer_position = 0; in modifier_read_imp()
3164 pm->buffer_position = 0; in modifier_read_imp()
[all …]