Searched refs:bufpos (Results 1 - 25 of 37) sorted by relevance

12

/macosx-10.10/apr-32/apr/apr/file_io/unix/
H A Dseek.c29 thefile->bufpos = thefile->direction = thefile->dataRead = 0;
34 thefile->bufpos = newbufpos;
39 thefile->bufpos = thefile->dataRead = 0;
70 rc = setptr(thefile, thefile->filePtr - thefile->dataRead + thefile->bufpos + *offset);
80 *offset = thefile->filePtr - thefile->dataRead + thefile->bufpos;
104 if (fp->direction == 1 && fp->bufpos != 0) {
105 apr_off_t len = fp->filePtr + fp->bufpos;
111 if (off >= 0 && off <= fp->bufpos)
112 fp->bufpos = fp->bufpos
[all...]
H A Dreadwrite.c41 thefile->bufpos = 0;
54 if (thefile->bufpos >= thefile->dataRead) {
68 thefile->bufpos = 0;
71 blocksize = size > thefile->dataRead - thefile->bufpos ? thefile->dataRead - thefile->bufpos : size;
72 memcpy(pos, thefile->buffer + thefile->bufpos, blocksize);
73 thefile->bufpos += blocksize;
162 apr_int64_t offset = thefile->filePtr - thefile->dataRead + thefile->bufpos;
165 thefile->bufpos = thefile->dataRead = 0;
171 if (thefile->bufpos
[all...]
H A Dbuffer.c41 file->bufpos = 0;
H A Dfiledup.c151 memcpy((*new_file)->buffer, old_file->buffer, old_file->bufpos);
/macosx-10.10/apr-32/apr/apr/file_io/os2/
H A Dseek.c37 thefile->bufpos = thefile->direction = thefile->dataRead = 0;
42 thefile->bufpos = newbufpos;
48 thefile->bufpos = thefile->dataRead = 0;
74 rc = setptr(thefile, thefile->filePtr - thefile->dataRead + thefile->bufpos + *offset);
84 *offset = thefile->filePtr - thefile->dataRead + thefile->bufpos;
H A Dreadwrite.c52 thefile->bufpos = 0;
58 if (thefile->bufpos >= thefile->dataRead) {
71 thefile->bufpos = 0;
74 blocksize = size > thefile->dataRead - thefile->bufpos ? thefile->dataRead - thefile->bufpos : size;
75 memcpy(pos, thefile->buffer + thefile->bufpos, blocksize);
76 thefile->bufpos += blocksize;
144 ULONG offset = thefile->filePtr - thefile->dataRead + thefile->bufpos;
147 thefile->bufpos = thefile->dataRead = 0;
152 if (thefile->bufpos
[all...]
H A Dbuffer.c40 file->bufpos = 0;
H A Dfiledup.c98 memcpy((*new_file)->buffer, old_file->buffer, old_file->bufpos);
/macosx-10.10/emacs-93/emacs/src/
H A Dindent.h42 int bufpos; member in struct:position
H A Dindent.c1160 compute_motion returns a pointer to a struct position. The bufpos
1163 which the character before bufpos started, and contin is non-zero
1753 val_compute_motion.bufpos = pos;
1819 Lisp_Object bufpos, hpos, vpos, prevhpos;
1877 XSETFASTINT (bufpos, pos->bufpos);
1882 return Fcons (bufpos,
1975 val_vmotion.bufpos = from;
2086 SET_PT_BOTH (pos.bufpos, pos.bytepos);
1809 Lisp_Object bufpos, hpos, vpos, prevhpos; variable
/macosx-10.10/apr-32/apr/apr/file_io/win32/
H A Dreadwrite.c192 thefile->bufpos = 0;
199 if (thefile->bufpos >= thefile->dataRead) {
211 thefile->bufpos = 0;
215 blocksize = size > thefile->dataRead - thefile->bufpos ? thefile->dataRead - thefile->bufpos : size;
216 memcpy(pos, thefile->buffer + thefile->bufpos, blocksize);
217 thefile->bufpos += blocksize;
267 apr_off_t offset = thefile->filePtr - thefile->dataRead + thefile->bufpos;
272 thefile->bufpos = thefile->dataRead = 0;
278 if (thefile->bufpos
[all...]
H A Dbuffer.c40 file->bufpos = 0;
H A Dseek.c33 thefile->bufpos = thefile->dataRead = 0;
43 thefile->bufpos = (apr_size_t)newbufpos;
63 thefile->bufpos = thefile->dataRead = 0;
87 + thefile->bufpos + *offset);
100 *offset = thefile->filePtr - thefile->dataRead + thefile->bufpos;
H A Dpipe.c106 (*in)->bufpos = 0;
120 (*out)->bufpos = 0;
397 (*in)->bufpos = 0;
411 (*out)->bufpos = 0;
/macosx-10.10/text_cmds-88/uniq/
H A Duniq.c190 size_t bufpos; local
193 bufpos = 0;
194 while (bufpos + 2 != buflen && (ch = getwc(fp)) != WEOF && ch != '\n')
195 buf[bufpos++] = ch;
196 if (bufpos + 1 != buflen)
197 buf[bufpos] = '\0';
201 return (bufpos != 0 || ch == '\n' ? buf : NULL);
/macosx-10.10/cups-408/cups/cups/
H A Dfile-private.h105 bufpos; /* File position for start of buffer */ member in struct:_cups_file_s
H A Dfile.c1673 if (fp->bufpos == 0)
1710 fp->bufpos = 0;
1760 if (pos >= fp->bufpos && pos < (fp->bufpos + bytes))
1767 fp->ptr = fp->buf + pos - fp->bufpos;
1792 if (pos < fp->bufpos)
1806 fp->bufpos = 0;
1812 if (pos >= fp->bufpos && pos < (fp->bufpos + bytes))
1818 fp->ptr = fp->buf + pos - fp->bufpos;
[all...]
/macosx-10.10/gnudiff-19/diffutils/src/
H A Dsdiff.c349 char *bufpos;
358 lf->bufpos = lf->buffer = lf->buflim = xmalloc (SDIFF_BUFSIZE + 1);
367 lf->bufpos = lf->buffer;
378 char *start = lf->bufpos;
382 lf->bufpos = (char *) memchr (lf->bufpos, '\n', lf->buflim - lf->bufpos);
383 if (! lf->bufpos)
388 start = lf->bufpos;
393 ++lf->bufpos;
348 char *bufpos; member in struct:line_filter
[all...]
/macosx-10.10/apr-32/apr/apr/include/arch/os2/
H A Dapr_arch_file_io.h53 apr_size_t bufpos; /* Read/Write position in buffer */ member in struct:apr_file_t
/macosx-10.10/apr-32/apr/apr/include/arch/netware/
H A Dapr_arch_file_io.h114 apr_size_t bufpos; /* Read/Write position in buffer */ member in struct:apr_file_t
/macosx-10.10/apr-32/apr/apr/include/arch/unix/
H A Dapr_arch_file_io.h110 apr_size_t bufpos; /* Read/Write position in buffer */ member in struct:apr_file_t
/macosx-10.10/apr-32/apr/apr/include/arch/win32/
H A Dapr_arch_file_io.h180 apr_size_t bufpos; // Read/Write position in buffer member in struct:apr_file_t
/macosx-10.10/tidy-15.15/tidy/src/
H A Dstreamio.h70 uint bufpos; member in struct:_StreamIn
/macosx-10.10/xnu-2782.1.97/osfmk/i386/AT386/
H A Dmodel_dep.c815 unsigned int bufpos; local
827 bufpos = packA(debug_buf,
832 pi_size = bufpos ? bufpos : (unsigned) (debug_buf_ptr - debug_buf);
859 if (bufpos) {
860 unpackA(debug_buf, bufpos);
/macosx-10.10/vim-55/src/
H A Dif_cscope.c2189 int bufpos = 0; local
2204 if (bufpos < maxlen - 1 && vim_isprintc(ch))
2211 buf[bufpos++] = ch;
2212 buf[bufpos] = NUL;
2213 if (bufpos >= epromptlen
2214 && strcmp(&buf[bufpos - epromptlen], eprompt) == 0)
2217 buf[bufpos - epromptlen] = NUL;
2227 bufpos = 0;
2228 buf[bufpos] = NUL;

Completed in 337 milliseconds

12