Home
last modified time | relevance | path

Searched refs:readAhead (Results 1 – 5 of 5) sorted by relevance

/external/xmp_toolkit/XMPCore/src/com/adobe/xmp/impl/
DFixASCIIControlsReader.java59 int readAhead = 0; in read() local
67 available = super.read(readAheadBuffer, readAhead, 1) == 1; in read()
70 char c = processChar(readAheadBuffer[readAhead]); in read()
79 readAhead = 0; in read()
84 unread(readAheadBuffer, 0, readAhead + 1); in read()
85 readAhead = 0; in read()
89 readAhead++; in read()
92 else if (readAhead > 0) in read()
95 unread(readAheadBuffer, 0, readAhead); in read()
97 readAhead = 0; in read()
DLatin1Converter.java73 int readAhead = 0; in convert() local
101 readAheadBuffer[readAhead++] = (byte) b; in convert()
116 readAheadBuffer[readAhead++] = (byte) b; in convert()
121 out.append(readAheadBuffer, 0, readAhead); in convert()
122 readAhead = 0; in convert()
135 i = i - readAhead; in convert()
136 readAhead = 0; in convert()
147 for (int j = 0; j < readAhead; j++) in convert()
/external/xz-java/src/org/tukaani/xz/lzma/
DLZMAEncoder.java67 int readAhead = -1; field in LZMAEncoder
204 uncompressedSize += readAhead + 1; in reset()
205 readAhead = -1; in reset()
233 int posState = (lz.getPos() - readAhead) & posMask; in encodeLZMA1EndMarker()
262 assert readAhead == -1; in encodeInit()
273 --readAhead; in encodeInit()
274 assert readAhead == -1; in encodeInit()
283 if (!lz.hasEnoughData(readAhead + 1)) in encodeSymbol()
288 assert readAhead >= 0; in encodeSymbol() local
289 int posState = (lz.getPos() - readAhead) & posMask; in encodeSymbol()
[all …]
DLZMAEncoderFast.java51 if (readAhead == -1) in getNextSymbol()
DLZMAEncoderNormal.java116 if (readAhead == -1) in getNextSymbol()