Searched refs:blockSize (Results 1 – 4 of 4) sorted by relevance
136 int blockSize = getQueryParam(data, "block", DEFAULT_BLOCK_SIZE); in onBind() local138 Log.i(TAG, "Block Size: " + blockSize); in onBind()141 if (fileSize % blockSize != 0) { in onBind()146 StringBuilder builder = new StringBuilder(blockSize); in onBind()
60 size_t blockSize = 0; in getSize() local61 int result = ioctl(m_fd, BLKGETSIZE, &blockSize); in getSize()65 return blockSize * kSectorSize; in getSize()
169 size_t blockSize = block.computeSize(false); in printBlock() local170 if (blockSize + lineStart < lineLength) { in printBlock()176 blockSize = block.computeSize(true); in printBlock()177 if ((blockSize + getIndentation() + mSpacesPerIndent + prefixSize) < lineLength) { in printBlock()
439 int16_t blockSize; in SendDataBlock() local443 blockSize = compressedSize; in SendDataBlock()448 blockSize = bytesRead; in SendDataBlock()455 header->block_size = toBigEndian(blockSize); in SendDataBlock()460 Send(header, ResponseHeader::responseSizeFor(blockSize), flush); in SendDataBlock()