Home
last modified time | relevance | path

Searched refs:bufpos (Results 1 – 10 of 10) sorted by relevance

/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_new_src/javaparser-generated-sources/com/github/javaparser/
DJavaCharStream.java78 public int bufpos = -1; field in JavaCharStream
115 System.arraycopy(buffer, 0, newbuffer, bufsize - tokenBegin, bufpos); in ExpandBuff()
119 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos); in ExpandBuff()
123 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos); in ExpandBuff()
126 bufpos += (bufsize - tokenBegin); in ExpandBuff()
139 bufpos -= tokenBegin; in ExpandBuff()
169 if (bufpos != 0) in FillBuff()
171 --bufpos; in FillBuff()
176 bufline[bufpos] = line; in FillBuff()
177 bufcolumn[bufpos] = column; in FillBuff()
[all …]
/external/javaparser/javaparser-core/generated-sources/javacc/com/github/javaparser/
DSimpleCharStream.java38 public int bufpos = -1; field in SimpleCharStream
72 System.arraycopy(buffer, 0, newbuffer, bufsize - tokenBegin, bufpos); in ExpandBuff()
76 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos); in ExpandBuff()
80 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos); in ExpandBuff()
83 maxNextCharInd = (bufpos += (bufsize - tokenBegin)); in ExpandBuff()
96 maxNextCharInd = (bufpos -= tokenBegin); in ExpandBuff()
118 bufpos = maxNextCharInd = 0; in FillBuff()
122 bufpos = maxNextCharInd = 0; in FillBuff()
146 --bufpos; in FillBuff()
149 tokenBegin = bufpos; in FillBuff()
[all …]
/external/javaparser/javaparser-symbol-solver-testing/src/test/test_sourcecode/javaparser_src/generated/com/github/javaparser/
DJavaCharStream.java76 public int bufpos = -1; field in JavaCharStream
112 System.arraycopy(buffer, 0, newbuffer, bufsize - tokenBegin, bufpos); in ExpandBuff()
116 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos); in ExpandBuff()
120 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos); in ExpandBuff()
123 bufpos += (bufsize - tokenBegin); in ExpandBuff()
136 bufpos -= tokenBegin; in ExpandBuff()
166 if (bufpos != 0) in FillBuff()
168 --bufpos; in FillBuff()
173 bufline[bufpos] = line; in FillBuff()
174 bufcolumn[bufpos] = column; in FillBuff()
[all …]
/external/apache-commons-bcel/src/examples/Mini/
DASCII_CharStream.java32 static public int bufpos = -1; field in ASCII_CharStream
60 bufsize - tokenBegin, bufpos); in ExpandBuff()
64 System.arraycopy(bufline, 0, newbufline, bufsize - tokenBegin, bufpos); in ExpandBuff()
68 System.arraycopy(bufcolumn, 0, newbufcolumn, bufsize - tokenBegin, bufpos); in ExpandBuff()
71 maxNextCharInd = (bufpos += (bufsize - tokenBegin)); in ExpandBuff()
84 maxNextCharInd = (bufpos -= tokenBegin); in ExpandBuff()
106 bufpos = maxNextCharInd = 0; in FillBuff()
110 bufpos = maxNextCharInd = 0; in FillBuff()
137 --bufpos; in FillBuff()
140 tokenBegin = bufpos; in FillBuff()
[all …]
/external/icu/icu4j/tools/misc/src/com/ibm/icu/dev/tool/ime/translit/
DTransliteratorInputMethod.java487 int bufpos = index.contextLimit; in caretTowardsStart() local
488 if (bufpos > index.start) { in caretTowardsStart()
489 --bufpos; in caretTowardsStart()
490 if (bufpos > index.start in caretTowardsStart()
491 && UCharacter.isLowSurrogate(buffer.charAt(bufpos)) in caretTowardsStart()
492 && UCharacter.isHighSurrogate(buffer.charAt(bufpos - 1))) { in caretTowardsStart()
493 --bufpos; in caretTowardsStart()
495 index.contextLimit = index.limit = bufpos; in caretTowardsStart()
503 int bufpos = index.contextLimit; in caretTowardsLimit() local
504 if (bufpos < buffer.length()) { in caretTowardsLimit()
[all …]
/external/webrtc/rtc_base/
Dstring_encode.cc62 size_t srcpos = 0, bufpos = 0; in hex_encode_with_delimiter() local
66 buffer[bufpos] = hex_encode((ch >> 4) & 0xF); in hex_encode_with_delimiter()
67 buffer[bufpos + 1] = hex_encode((ch)&0xF); in hex_encode_with_delimiter()
68 bufpos += 2; in hex_encode_with_delimiter()
72 buffer[bufpos] = delimiter; in hex_encode_with_delimiter()
73 ++bufpos; in hex_encode_with_delimiter()
114 size_t srcpos = 0, bufpos = 0; in hex_decode_with_delimiter() local
130 bbuffer[bufpos++] = (h1 << 4) | h2; in hex_decode_with_delimiter()
141 return bufpos; in hex_decode_with_delimiter()
/external/libcups/cups/
Dfile.c46 bufpos; /* File position for start of buffer */ member
1734 if (fp->bufpos == 0) in cupsFileRewind()
1771 fp->bufpos = 0; in cupsFileRewind()
1820 if (pos >= fp->bufpos && pos < (fp->bufpos + bytes)) in cupsFileSeek()
1827 fp->ptr = fp->buf + pos - fp->bufpos; in cupsFileSeek()
1852 if (pos < fp->bufpos) in cupsFileSeek()
1866 fp->bufpos = 0; in cupsFileSeek()
1872 if (pos >= fp->bufpos && pos < (fp->bufpos + bytes)) in cupsFileSeek()
1878 fp->ptr = fp->buf + pos - fp->bufpos; in cupsFileSeek()
1884 fp->bufpos = lseek(fp->fd, pos, SEEK_SET); in cupsFileSeek()
[all …]
/external/tensorflow/tensorflow/core/lib/io/
Dinputbuffer.cc187 const int64 bufpos = file_pos_ - static_cast<int64>(limit_ - buf_); in Seek() local
188 if (position >= bufpos && position < file_pos_) { in Seek()
190 pos_ = buf_ + (position - bufpos); in Seek()
/external/toybox/lib/
Ddeflate.c67 int bufpos = bb->bitpos>>3; in bitbuf_bit() local
69 if (bufpos == bb->len) { in bitbuf_bit()
71 bufpos = 0; in bitbuf_bit()
74 return (bb->buf[bufpos]>>(bb->bitpos++&7))&1; in bitbuf_bit()
/external/openssh/regress/
Dnetcat.c958 drainbuf(int fd, unsigned char *buf, size_t *bufpos) in drainbuf() argument
963 n = write(fd, buf, *bufpos); in drainbuf()
970 adjust = *bufpos - n; in drainbuf()
973 *bufpos -= n; in drainbuf()
979 fillbuf(int fd, unsigned char *buf, size_t *bufpos) in fillbuf() argument
981 size_t num = BUFSIZE - *bufpos; in fillbuf()
984 n = read(fd, buf + *bufpos, num); in fillbuf()
990 *bufpos += n; in fillbuf()