Home
last modified time | relevance | path

Searched refs:bufPos (Results 1 – 11 of 11) sorted by relevance

/external/lzma/CPP/7zip/Compress/
DBcj2Coder.cpp89 UInt32 bufPos = 0; in CodeReal() local
102 UInt32 size = kBufSize - (bufPos + processedSize); in CodeReal()
106 RINOK(inStream->Read(_buf + bufPos + processedSize, size, &processedSizeLoc)); in CodeReal()
111 UInt32 endPos = bufPos + processedSize; in CodeReal()
116 for (bufPos = 0; bufPos < endPos; bufPos++) in CodeReal()
118 Byte b = _buf[bufPos]; in CodeReal()
138 bufPos = 0; in CodeReal()
141 while (bufPos <= limit) in CodeReal()
143 Byte b = _buf[bufPos]; in CodeReal()
147 bufPos++; in CodeReal()
[all …]
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DRuleCharacterIterator.java59 private int bufPos; field in RuleCharacterIterator
145 bufPos = 0; in next()
217 return new Object[] {buf, new int[] {pos.getIndex(), bufPos}}; in getPos()
223 v[1] = bufPos; in getPos()
237 bufPos = v[1]; in setPos()
272 return new String(buf, bufPos, buf.length - bufPos); in lookahead()
288 bufPos += count; in jumpahead()
289 if (bufPos > buf.length) { in jumpahead()
292 if (bufPos == buf.length) { in jumpahead()
322 return UTF16.charAt(buf, 0, buf.length, bufPos); in _current()
[all …]
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRuleCharacterIterator.java58 private int bufPos; field in RuleCharacterIterator
144 bufPos = 0; in next()
216 return new Object[] {buf, new int[] {pos.getIndex(), bufPos}}; in getPos()
222 v[1] = bufPos; in getPos()
236 bufPos = v[1]; in setPos()
271 return new String(buf, bufPos, buf.length - bufPos); in lookahead()
287 bufPos += count; in jumpahead()
288 if (bufPos > buf.length) { in jumpahead()
291 if (bufPos == buf.length) { in jumpahead()
321 return UTF16.charAt(buf, 0, buf.length, bufPos); in _current()
[all …]
/external/icu/icu4c/source/common/
Druleiter.cpp29 bufPos(0) in RuleCharacterIterator()
54 bufPos = 0; in next()
92 p.bufPos = bufPos; in getPos()
98 bufPos = p.bufPos; in setPos()
116 buf->extract(bufPos, maxLookAhead, result); in lookahead()
137 return buf->char32At(bufPos); in _current()
146 bufPos += count; in _advance()
147 if (bufPos == buf->length()) { in _advance()
Druleiter.h61 int32_t bufPos; variable
137 int32_t bufPos; member
/external/smali/dexlib2/src/main/java/org/jf/dexlib2/writer/
DDexDataWriter.java255 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/Java/Tukaani/src/org/tukaani/xz/rangecoder/
DRangeEncoder.java34 private int bufPos; field in RangeEncoder
68 bufPos = 0; in reset()
72 return bufPos + cacheSize + 5 - 1; in getPendingSize()
79 return bufPos; in finish()
83 out.write(buf, 0, bufPos); in write()
93 buf[bufPos++] = (byte)(temp + lowHi); in shiftLow()
/external/jmonkeyengine/engine/src/core/com/jme3/scene/
DBatchNode.java508 …private void doTransforms(FloatBuffer bufPos, FloatBuffer bufNorm, int start, int end, Matrix4f tr… in doTransforms() argument
518 bufPos.position(offset); in doTransforms()
520 bufPos.get(tmpFloat, 0, length); in doTransforms()
544 bufPos.position(offset); in doTransforms()
546 bufPos.put(tmpFloat, 0, length); in doTransforms()
552 …private void doTransformsTangents(FloatBuffer bufPos, FloatBuffer bufNorm, FloatBuffer bufTangents… in doTransformsTangents() argument
566 bufPos.position(offset); in doTransformsTangents()
569 bufPos.get(tmpFloat, 0, length); in doTransformsTangents()
610 bufPos.position(offset); in doTransformsTangents()
612 bufPos.put(tmpFloat, 0, length); in doTransformsTangents()
/external/lzma/C/
DXzDec.c55 size_t bufPos; member
118 p->bufPos = p->bufConv = p->bufTotal = 0; in BraState_Init()
138 if (p->bufPos != p->bufConv) in BraState_Code()
140 size_t curSize = p->bufConv - p->bufPos; in BraState_Code()
143 memcpy(dest, p->buf + p->bufPos, curSize); in BraState_Code()
144 p->bufPos += curSize; in BraState_Code()
150 p->bufTotal -= p->bufPos; in BraState_Code()
151 memmove(p->buf, p->buf + p->bufPos, p->bufTotal); in BraState_Code()
152 p->bufPos = 0; in BraState_Code()
195 if (p->bufTotal == p->bufPos && srcLenOrig == 0 && srcWasFinished) in BraState_Code()
/external/svox/pico/lib/
Dpicoos.c1424 picoos_int32 bufPos; member
1749 sdf->bufPos = 0; in picoos_sdfOpenOut()
1793 nrSamples = sdFile->bufPos; in picoos_sdfFlushOutBuf()
1810 sdFile->bufPos = 0; in picoos_sdfFlushOutBuf()
1816 if ((sdFile != NULL) && !(sdFile->aborted) && (sdFile->bufPos > 0)) { in picoos_sdfFlushOutput()
1839 sdFile->buf[sdFile->bufPos++] = s; in picoos_sdfPutSamples()
1840 if (sdFile->bufPos >= PICOOS_SDF_BUF_LEN) { in picoos_sdfPutSamples()
1858 if (!((*sdFile)->aborted) && ((*sdFile)->bufPos > 0)) { in picoos_sdfCloseOut()
/external/v8/test/cctest/
Dtest-assembler-s390.cc204 v8::internal::byte* bufPos = assm.buffer_pos(); variable
205 ::printf("buffer position = %p", static_cast<void*>(bufPos));