Searched refs:buffer_offset (Results 1 – 8 of 8) sorted by relevance
/netbsd-src/external/gpl3/gcc/dist/libgfortran/io/ |
H A D | unix.c | 203 gfc_offset buffer_offset; /* File offset of the start of the buffer */ member 538 if (s->physical_offset != s->buffer_offset in buf_flush() 539 && raw_seek (s, s->buffer_offset, SEEK_SET) < 0) in buf_flush() 544 s->physical_offset = s->buffer_offset + writelen; in buf_flush() 560 s->buffer_offset = s->logical_offset; in buf_read() 563 if (s->logical_offset + nbyte <= s->buffer_offset + s->active in buf_read() 564 && s->buffer_offset <= s->logical_offset) in buf_read() 569 memcpy (buf, s->buffer + (s->logical_offset - s->buffer_offset), in buf_read() 582 if (s->logical_offset >= s->buffer_offset in buf_read() 583 && s->buffer_offset + s->active >= s->logical_offset) in buf_read() [all …]
|
/netbsd-src/external/gpl3/gcc.old/dist/libgfortran/io/ |
H A D | unix.c | 203 gfc_offset buffer_offset; /* File offset of the start of the buffer */ member 538 if (s->physical_offset != s->buffer_offset in buf_flush() 539 && raw_seek (s, s->buffer_offset, SEEK_SET) < 0) in buf_flush() 544 s->physical_offset = s->buffer_offset + writelen; in buf_flush() 560 s->buffer_offset = s->logical_offset; in buf_read() 563 if (s->logical_offset + nbyte <= s->buffer_offset + s->active in buf_read() 564 && s->buffer_offset <= s->logical_offset) in buf_read() 569 memcpy (buf, s->buffer + (s->logical_offset - s->buffer_offset), in buf_read() 582 if (s->logical_offset >= s->buffer_offset in buf_read() 583 && s->buffer_offset + s->active >= s->logical_offset) in buf_read() [all …]
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/radeon/ |
H A D | radeon_atombios_i2c.c | 112 int i, remaining, current_count, buffer_offset, max_bytes, ret; in radeon_atom_hw_i2c_xfer() local 130 buffer_offset = 0; in radeon_atom_hw_i2c_xfer() 146 &p->buf[buffer_offset], current_count); in radeon_atom_hw_i2c_xfer() 150 buffer_offset += current_count; in radeon_atom_hw_i2c_xfer()
|
H A D | radeon_i2c.c | 596 int i, j, remaining, current_count, buffer_offset, ret = num; in r500_hw_i2c_xfer() local 716 buffer_offset = 0; in r500_hw_i2c_xfer() 753 p->buf[buffer_offset + j] = RREG32(AVIVO_DC_I2C_DATA) & 0xff; in r500_hw_i2c_xfer() 755 buffer_offset += current_count; in r500_hw_i2c_xfer() 772 WREG32(AVIVO_DC_I2C_DATA, p->buf[buffer_offset + j]); in r500_hw_i2c_xfer() 796 buffer_offset += current_count; in r500_hw_i2c_xfer()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/ |
H A D | amdgpu_atombios_i2c.c | 119 int i, remaining, current_count, buffer_offset, max_bytes, ret; in amdgpu_atombios_i2c_xfer() local 137 buffer_offset = 0; in amdgpu_atombios_i2c_xfer() 153 &p->buf[buffer_offset], current_count); in amdgpu_atombios_i2c_xfer() 157 buffer_offset += current_count; in amdgpu_atombios_i2c_xfer()
|
/netbsd-src/sys/external/bsd/drm2/dist/drm/vboxvideo/ |
H A D | vbva_base.c | 123 p->base.offset = vbva_ctx->buffer_offset; in vbva_inform_host() 215 u32 buffer_offset, u32 buffer_length) in vbva_setup_buffer_context() argument 217 vbva_ctx->buffer_offset = buffer_offset; in vbva_setup_buffer_context()
|
H A D | vboxvideo_guest.h | 18 u32 buffer_offset; member 52 u32 buffer_offset, u32 buffer_length);
|
/netbsd-src/external/gpl2/texinfo/dist/makeinfo/ |
H A D | makeinfo.c | 1306 int buffer_offset = 0, buffer_size = 0; in convert_from_stream() local 1317 if (buffer_offset + (READ_BUFFER_GROWTH + 1) >= buffer_size) in convert_from_stream() 1321 count = fread (buffer + buffer_offset, 1, READ_BUFFER_GROWTH, stream); in convert_from_stream() 1329 buffer_offset += count; in convert_from_stream() 1336 input_text_length = buffer_offset; in convert_from_stream()
|