Home
last modified time | relevance | path

Searched refs:cpos (Results 1 – 2 of 2) sorted by relevance

/libcore/ojluni/src/main/java/java/io/
DObjectOutputStream.java2092 int cpos = 0; in writeBytes() local
2095 if (cpos >= csize) { in writeBytes()
2096 cpos = 0; in writeBytes()
2103 int n = Math.min(csize - cpos, MAX_BLOCK_SIZE - pos); in writeBytes()
2106 buf[pos++] = (byte) cbuf[cpos++]; in writeBytes()
2257 for (int cpos = 0; cpos < csize; cpos++) { in getUTFLength()
2258 char c = cbuf[cpos]; in getUTFLength()
2322 for (int cpos = 0; cpos < csize; cpos++) { in writeUTFBody()
2323 char c = cbuf[cpos]; in writeUTFBody()
DObjectInputStream.java3456 int cpos = 0; in readUTFSpan() local
3476 cbuf[cpos++] = (char) b1; in readUTFSpan()
3485 cbuf[cpos++] = (char) (((b1 & 0x1F) << 6) | in readUTFSpan()
3496 cbuf[cpos++] = (char) (((b1 & 0x0F) << 12) | in readUTFSpan()
3519 sbuf.append(cbuf, 0, cpos); in readUTFSpan()