Searched refs:bufPos (Results 1 – 7 of 7) sorted by relevance
/external/icu/android_icu4j/src/main/java/android/icu/impl/ |
D | RuleCharacterIterator.java | 61 private int bufPos; field in RuleCharacterIterator 147 bufPos = 0; in next() 219 return new Object[] {buf, new int[] {pos.getIndex(), bufPos}}; in getPos() 225 v[1] = bufPos; in getPos() 239 bufPos = v[1]; in setPos() 274 return new String(buf, bufPos, buf.length - bufPos); in lookahead() 290 bufPos += count; in jumpahead() 291 if (bufPos > buf.length) { in jumpahead() 294 if (bufPos == buf.length) { in jumpahead() 325 return UTF16.charAt(buf, 0, buf.length, bufPos); in _current() [all …]
|
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/ |
D | RuleCharacterIterator.java | 60 private int bufPos; field in RuleCharacterIterator 146 bufPos = 0; in next() 218 return new Object[] {buf, new int[] {pos.getIndex(), bufPos}}; in getPos() 224 v[1] = bufPos; in getPos() 238 bufPos = v[1]; in setPos() 273 return new String(buf, bufPos, buf.length - bufPos); in lookahead() 289 bufPos += count; in jumpahead() 290 if (bufPos > buf.length) { in jumpahead() 293 if (bufPos == buf.length) { in jumpahead() 324 return UTF16.charAt(buf, 0, buf.length, bufPos); in _current() [all …]
|
/external/icu/icu4c/source/common/ |
D | ruleiter.cpp | 31 bufPos(0) in RuleCharacterIterator() 56 bufPos = 0; in next() 94 p.bufPos = bufPos; in getPos() 100 bufPos = p.bufPos; in setPos() 118 buf->extract(bufPos, maxLookAhead, result); in lookahead() 139 return buf->char32At(bufPos); in _current() 148 bufPos += count; in _advance() 149 if (bufPos == buf->length()) { in _advance()
|
D | ruleiter.h | 63 int32_t bufPos; variable 139 int32_t bufPos; member
|
/external/xz-java/src/org/tukaani/xz/rangecoder/ |
D | RangeEncoderToBuffer.java | 19 private int bufPos; field in RangeEncoderToBuffer 32 bufPos = 0; in reset() 37 return bufPos + (int)cacheSize + 5 - 1; in getPendingSize() 49 return bufPos; in finish() 53 out.write(buf, 0, bufPos); in write() 57 buf[bufPos++] = (byte)b; in writeByte()
|
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/ |
D | DexDataWriter.java | 255 int bufPos = 0; in writeString() local 259 buf[bufPos++] = (byte)c; in writeString() 261 buf[bufPos++] = (byte)(((c >> 6) & 0x1f) | 0xc0); in writeString() 262 buf[bufPos++] = (byte)((c & 0x3f) | 0x80); in writeString() 264 buf[bufPos++] = (byte)(((c >> 12) & 0x0f) | 0xe0); in writeString() 265 buf[bufPos++] = (byte)(((c >> 6) & 0x3f) | 0x80); in writeString() 266 buf[bufPos++] = (byte)((c & 0x3f) | 0x80); in writeString() 269 write(buf, 0, bufPos); in writeString()
|
/external/lzma/C/ |
D | XzDec.c | 76 size_t bufPos; member 140 p->bufPos = p->bufConv = p->bufTotal = 0; in BraState_Init() 193 if (p->bufPos != p->bufConv) in BraState_Code2() 195 size_t size = p->bufConv - p->bufPos; in BraState_Code2() 198 memcpy(dest, p->buf + p->bufPos, size); in BraState_Code2() 199 p->bufPos += size; in BraState_Code2() 206 p->bufTotal -= p->bufPos; in BraState_Code2() 207 memmove(p->buf, p->buf + p->bufPos, p->bufTotal); in BraState_Code2() 208 p->bufPos = 0; in BraState_Code2() 233 if (p->bufTotal == p->bufPos && srcRem == 0 && srcWasFinished) in BraState_Code2()
|