Searched refs:sizeLeft (Results 1 – 5 of 5) sorted by relevance
81 int sizeLeft = getSize() - 2; in parseDetail() local85 sizeLeft = sizeLeft - (1 + urlLength); in parseDetail()93 sizeLeft = sizeLeft - 5; in parseDetail()95 if (sizeLeft > 2) { in parseDetail()97 sizeLeft = sizeLeft - descriptor.getSize(); in parseDetail()106 if (sizeLeft > 2) { in parseDetail()
727 int sizeLeft = size - (originalBufferSize - originalBufferPos); in readRawBytes() local732 while (sizeLeft > 0) { in readRawBytes()733 final byte[] chunk = new byte[Math.min(sizeLeft, BUFFER_SIZE)]; in readRawBytes()744 sizeLeft -= chunk.length; in readRawBytes()
1186 int sizeLeft = size - (originalBufferSize - originalBufferPos); in ReadRawBytes()1189 while (sizeLeft > 0) in ReadRawBytes()1191 byte[] chunk = new byte[Math.Min(sizeLeft, buffer.Length)]; in ReadRawBytes()1203 sizeLeft -= chunk.Length; in ReadRawBytes()
149 size_t sizeLeft = size; in TestDataChannelSendAndReceive() local150 while (sizeLeft > 0) { in TestDataChannelSendAndReceive()152 sizeLeft > kDummyData.length() ? kDummyData.length() : sizeLeft; in TestDataChannelSendAndReceive()154 sizeLeft -= chunkSize; in TestDataChannelSendAndReceive()
2851 int sizeLeft = size - bufferedBytes; in readRawBytesSlowPath() local2855 List<byte[]> chunks = readRawBytesSlowPathRemainingChunks(sizeLeft); in readRawBytesSlowPath()2903 int sizeLeft = size - bufferedBytes; in readRawBytesSlowPathOneChunk() local2905 if (sizeLeft < DEFAULT_BUFFER_SIZE || sizeLeft <= input.available()) { in readRawBytesSlowPathOneChunk()2938 private List<byte[]> readRawBytesSlowPathRemainingChunks(int sizeLeft) throws IOException { in readRawBytesSlowPathRemainingChunks() argument2948 while (sizeLeft > 0) { in readRawBytesSlowPathRemainingChunks()2950 final byte[] chunk = new byte[Math.min(sizeLeft, DEFAULT_BUFFER_SIZE)]; in readRawBytesSlowPathRemainingChunks()2960 sizeLeft -= chunk.length; in readRawBytesSlowPathRemainingChunks()2988 int sizeLeft = size - bufferedBytes; in readBytesSlowPath() local2992 List<byte[]> chunks = readRawBytesSlowPathRemainingChunks(sizeLeft); in readBytesSlowPath()