Home
last modified time | relevance | path

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

/third_party/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DRuleCharacterIterator.java60 private int bufPos; field in RuleCharacterIterator
96 private int bufPos; field in RuleCharacterIterator.Position
153 bufPos = 0; in next()
231 p.bufPos = bufPos; in getPos()
244 bufPos = p.bufPos; in setPos()
288 return bufPos; in getCurrentBufferPos()
305 bufPos += count; in jumpahead()
306 if (bufPos > buf.length()) { in jumpahead()
309 if (bufPos == buf.length()) { in jumpahead()
340 return UTF16.charAt(buf, bufPos); in _current()
[all …]
/third_party/icu/ohos_icu4j/src/main/java/ohos/global/icu/impl/
DRuleCharacterIterator.java61 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 …]
/third_party/node/deps/npm/node_modules/tar/lib/
Dreplace.js62 for (let bufPos = 0, bytes = 0; bufPos < 512; bufPos += bytes) {
64 fd, headBuf, bufPos, headBuf.length - bufPos, position + bufPos
130 let bufPos = 0 variable
136 bufPos += bytes
137 if (bufPos < 512 && bytes) {
139 fd, headBuf, bufPos, headBuf.length - bufPos,
140 position + bufPos, onread
149 if (bufPos < 512) {
171 bufPos = 0
/third_party/node/deps/icu-small/source/common/
Druleiter.cpp31 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()
Druleiter.h63 int32_t bufPos; variable
139 int32_t bufPos; member
/third_party/skia/third_party/externals/icu/source/common/
Druleiter.cpp31 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()
Druleiter.h63 int32_t bufPos; variable
139 int32_t bufPos; member
/third_party/icu/icu4c/source/common/
Druleiter.cpp31 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()
Druleiter.h63 int32_t bufPos; variable
139 int32_t bufPos; member
/third_party/lzma/CPP/7zip/Common/
DFilterCoder.cpp385 UInt32 bufPos = _bufPos; in Z7_COM7F_IMF() local
387 _convSize = bufPos; in Z7_COM7F_IMF()
388 else if (convSize > bufPos) in Z7_COM7F_IMF()
402 for (; bufPos < convSize; bufPos++) in Z7_COM7F_IMF()
403 buf[bufPos] = 0; in Z7_COM7F_IMF()
404 _bufPos = bufPos; in Z7_COM7F_IMF()
405 _convSize = Filter->Filter(_buf, bufPos); in Z7_COM7F_IMF()
505 UInt32 bufPos = _bufPos; in Z7_COM7F_IMF() local
509 if (bufPos == 0) in Z7_COM7F_IMF()
512 _convSize = bufPos; in Z7_COM7F_IMF()
[all …]
/third_party/openh264/test/api/
DBaseThreadDecoderTest.cpp42 static int32_t ReadFrame (uint8_t* pBuf, const int32_t& iFileSize, const int32_t& bufPos) { in ReadFrame() argument
43 int32_t bytes_available = iFileSize - bufPos; in ReadFrame()
47 uint8_t* ptr = pBuf + bufPos; in ReadFrame()
278 int32_t bufPos = 0; in ThreadDecodeFile() local
282 int32_t frameSize = ReadFrame (buf.data(), fileSize, bufPos); in ThreadDecodeFile()
286 uint8_t* frame_ptr = buf.data() + bufPos; in ThreadDecodeFile()
291 bufPos += frameSize; in ThreadDecodeFile()
/third_party/openh264/codec/console/dec/src/
Dh264dec.cpp105 int32_t readPicture (uint8_t* pBuf, const int32_t& iFileSize, const int32_t& bufPos, uint8_t*& pSps… in readPicture() argument
107 int32_t bytes_available = iFileSize - bufPos; in readPicture()
111 uint8_t* ptr = pBuf + bufPos; in readPicture()
/third_party/lzma/C/
DXzDec.c77 size_t bufPos; member
145 p->bufPos = p->bufConv = p->bufTotal = 0; in XzBcFilterState_Init()
213 size_t size = p->bufConv - p->bufPos; in XzBcFilterState_Code2()
218 memcpy(dest, p->buf + p->bufPos, size); in XzBcFilterState_Code2()
219 p->bufPos += size; in XzBcFilterState_Code2()
227 p->bufTotal -= p->bufPos; in XzBcFilterState_Code2()
228 memmove(p->buf, p->buf + p->bufPos, p->bufTotal); in XzBcFilterState_Code2()
229 p->bufPos = 0; in XzBcFilterState_Code2()
254 if (p->bufTotal == p->bufPos && srcRem == 0 && srcWasFinished) in XzBcFilterState_Code2()
/third_party/node/deps/corepack/dist/lib/
Dcorepack.cjs17535 for (let bufPos = 0, bytes = 0; bufPos < 512; bufPos += bytes) {
17539 bufPos,
17540 headBuf.length - bufPos,
17541 position + bufPos
17597 let bufPos = 0;
17603 bufPos += bytes;
17604 if (bufPos < 512 && bytes) {
17608 bufPos,
17609 headBuf.length - bufPos,
17610 position + bufPos,
[all …]