Searched refs:read_pos (Results 1 - 14 of 14) sorted by relevance
/netbsd-current/external/gpl2/xcvs/dist/lib/ |
H A D | getndelim2.c | 70 char *read_pos; /* Where we're reading into *LINEPTR. */ local 87 read_pos = ptr + offset; 94 /* Here always ptr + size == read_pos + nbytes_avail. */ 118 nbytes_avail = newsize - (read_pos - ptr); 124 read_pos = size - nbytes_avail + ptr; 131 if (read_pos == ptr) 139 *read_pos++ = c; 150 *read_pos = '\0'; 152 bytes_stored = read_pos - (ptr + offset);
|
/netbsd-current/external/public-domain/xz/dist/src/liblzma/lz/ |
H A D | lz_encoder.h | 43 /// buffer[read_pos - keep_size_before] is the oldest byte that 47 /// Number of bytes that must be kept in buffer after read_pos. 48 /// That is, read_pos <= write_pos - keep_size_after as long as 49 /// action is LZMA_RUN; when action != LZMA_RUN, read_pos is allowed 60 /// buffer[read_pos] is the next byte to run through the match 63 uint32_t read_pos; member in struct:lzma_mf_s 69 /// As long as read_pos is less than read_limit, there is enough 73 /// than read_pos quite often. This is taken into account when 82 /// Number of bytes not hashed before read_pos. This is needed to 174 // a single encoder loop may increment lzma_mf.read_pos a [all...] |
H A D | lz_encoder.c | 49 // like LZMA use the lowest bits of mf->read_pos to know the 52 assert(mf->read_pos > mf->keep_size_before); 54 = (mf->read_pos - mf->keep_size_before) & ~UINT32_C(15); 64 mf->read_pos -= move_offset; 85 assert(coder->mf.read_pos <= coder->mf.write_pos); 88 if (coder->mf.read_pos >= coder->mf.size - coder->mf.keep_size_after) 120 // the encoder to process all the input (that is, read_pos is allowed 139 && coder->mf.read_pos < coder->mf.read_limit) { 145 // Rewind read_pos so that the match finder can hash 147 assert(coder->mf.read_pos > [all...] |
H A D | lz_encoder_mf.c | 39 assert(matches[i].dist < mf->read_pos); 89 /// Normalization must be done when lzma_mf.offset + lzma_mf.read_pos 99 /// is lzma_mf.offset + lzma_mf.read_pos. The distances of the matches are 110 assert(mf->read_pos + mf->offset == MUST_NORMALIZE_POS); 155 ++mf->read_pos; 156 assert(mf->read_pos <= mf->write_pos); 158 if (unlikely(mf->read_pos + mf->offset == UINT32_MAX)) 169 /// is restarted by rewinding mf->read_pos backwards by mf->pending. Then 180 ++mf->read_pos; 181 assert(mf->read_pos < [all...] |
/netbsd-current/external/public-domain/xz/dist/src/liblzma/common/ |
H A D | outqueue.c | 94 outq->read_pos = 0; 168 lzma_bufcpy(buf->buf, &outq->read_pos, buf->size, 172 if (outq->read_pos < buf->size) 181 outq->read_pos = 0;
|
H A D | outqueue.h | 58 size_t read_pos; member in struct:__anon7038
|
/netbsd-current/usr.sbin/syslogd/ |
H A D | tls.c | 1518 &(c->inbuf[c->read_pos]), c->inbuflen - c->read_pos); 1521 rc = SSL_read(c->tls_conn->sslptr, &(c->inbuf[c->read_pos]), 1522 c->inbuflen - c->read_pos); 1553 c->read_pos += rc; 1586 c->cur_msg_start, c->cur_msg_len, c->read_pos); 1588 if (!c->read_pos) 1591 if (c->dontsave && c->read_pos < MSG_END_OFFSET) { 1592 c->cur_msg_len -= c->read_pos; 1593 c->read_pos [all...] |
H A D | syslogd.h | 424 size_t read_pos; /* ring buffer position to write to */ member in struct:TLS_Incoming_Conn
|
/netbsd-current/external/public-domain/xz/dist/src/liblzma/lzma/ |
H A D | lzma_encoder.c | 50 mf->read_pos - mf->read_ahead]; 53 position, mf->buffer[mf->read_pos - mf->read_ahead - 1]); 64 mf->read_pos - coder->reps[0] - 1 272 if (mf->read_pos == mf->read_limit) { 277 assert(mf->write_pos == mf->read_pos); 339 && (mf->read_pos - mf->read_ahead >= limit 346 if (mf->read_pos >= mf->read_limit) {
|
H A D | lzma2_encoder.c | 181 limit = mf->read_pos - mf->read_ahead 187 const uint32_t read_start = mf->read_pos - mf->read_ahead; 195 coder->uncompressed_size += mf->read_pos - mf->read_ahead
|
/netbsd-current/external/gpl3/gdb/dist/gdb/guile/ |
H A D | scm-ports.c | 301 pt->read_pos = pt->read_buf; 447 pt->read_pos = pt->read_end = pt->read_buf; 452 pt->read_pos = pt->read_buf = pt->read_end = &pt->shortbuf; 728 pt->read_pos = pt->read_buf; 741 size_t remaining = pt->read_end - pt->read_pos; 754 pt->read_pos = pt->read_end; 846 size_t remaining = pt->read_end - pt->read_pos; 1038 pt->read_pos = pt->read_end = pt->read_buf; 1288 pt->read_pos = pt->read_end = pt->read_buf;
|
/netbsd-current/external/gpl3/gdb.old/dist/gdb/guile/ |
H A D | scm-ports.c | 302 pt->read_pos = pt->read_buf; 448 pt->read_pos = pt->read_end = pt->read_buf; 453 pt->read_pos = pt->read_buf = pt->read_end = &pt->shortbuf; 729 pt->read_pos = pt->read_buf; 742 size_t remaining = pt->read_end - pt->read_pos; 755 pt->read_pos = pt->read_end; 847 size_t remaining = pt->read_end - pt->read_pos; 1039 pt->read_pos = pt->read_end = pt->read_buf; 1289 pt->read_pos = pt->read_end = pt->read_buf;
|
/netbsd-current/external/gpl3/binutils.old/dist/gold/ |
H A D | fileread.cc | 406 off_t read_pos = start; local 410 bytes = ::pread(this->descriptor_, read_ptr, to_read, read_pos); 415 read_pos += bytes;
|
/netbsd-current/external/gpl3/binutils/dist/gold/ |
H A D | fileread.cc | 406 off_t read_pos = start; local 410 bytes = ::pread(this->descriptor_, read_ptr, to_read, read_pos); 415 read_pos += bytes;
|
Completed in 142 milliseconds