Home
last modified time | relevance | path

Searched refs:readSize (Results 1 – 25 of 25) sorted by relevance

/external/lz4/examples/
DframeCompress.c83 size_t const readSize = fread(inBuff, 1, IN_CHUNK_SIZE, f_in); in compress_file_internal() local
84 if (readSize == 0) break; /* nothing left to read from input file */ in compress_file_internal()
85 count_in += readSize; in compress_file_internal()
89 inBuff, readSize, in compress_file_internal()
186 size_t readSize = firstChunk ? filled : fread(src, 1, srcCapacity, f_in); firstChunk=0; in decompress_file_internal() local
188 const void* const srcEnd = srcPtr + readSize; in decompress_file_internal()
189 if (readSize == 0 || ferror(f_in)) { in decompress_file_internal()
229 { size_t const readSize = fread(src, 1, 1, f_in); in decompress_file_internal() local
230 if (readSize != 0 || !feof(f_in)) { in decompress_file_internal()
251 size_t const readSize = fread(src, 1, srcCapacity, f_in); in decompress_file_allocDst() local
[all …]
/external/lz4/programs/
Dlz4io.c422 size_t readSize; in LZ4IO_createDict() local
446 readSize = fread(circularBuf + dictEnd, 1, circularBufSize - dictEnd, dictFile); in LZ4IO_createDict()
447 dictEnd = (dictEnd + readSize) % circularBufSize; in LZ4IO_createDict()
448 dictLen += readSize; in LZ4IO_createDict()
449 } while (readSize>0); in LZ4IO_createDict()
539 size_t readSize; in LZ4IO_compressFilename_extRess() local
567 readSize = fread(srcBuffer, (size_t)1, blockSize, srcFile); in LZ4IO_compressFilename_extRess()
569 filesize += readSize; in LZ4IO_compressFilename_extRess()
572 if (readSize < blockSize) { in LZ4IO_compressFilename_extRess()
574 …LZ4F_compressFrame_usingCDict(ctx, dstBuffer, dstBufferSize, srcBuffer, readSize, ress.cdict, &pre… in LZ4IO_compressFilename_extRess()
[all …]
Dbench.c447 { size_t const readSize = fread(((char*)buffer)+pos, 1, (size_t)fileSize, f); in BMK_loadFiles() local
448 if (readSize != (size_t)fileSize) EXM_THROW(11, "could not read %s", fileNamesTable[n]); in BMK_loadFiles()
449 pos += readSize; } in BMK_loadFiles()
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/snappy/
DFramedSnappyCompressorInputStream.java248 uncompressedBytesRemaining = readSize() - 4 /* CRC */; in readNextBlock()
252 final long size = readSize() - (expectChecksum ? 4L : 0L); in readNextBlock()
287 private int readSize() throws IOException { in readSize() method in FramedSnappyCompressorInputStream
292 final int size = readSize(); in skipBlock()
DSnappyCompressorInputStream.java85 uncompressedBytesRemaining = size = (int) readSize(); in SnappyCompressorInputStream()
258 private long readSize() throws IOException { in readSize() method in SnappyCompressorInputStream
/external/clang/test/Analysis/
Dmalloc-sizeof.c13 void foo(unsigned int unsignedInt, unsigned int readSize) { in foo() argument
20 unsigned char *buf = malloc(readSize + sizeof(unsignedInt)); // no warning in foo()
Dmalloc-sizeof.cpp13 void foo(unsigned int unsignedInt, unsigned int readSize) { in foo() argument
/external/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp63 Error RawCoverageReader::readSize(uint64_t &Result) { in readSize() function in RawCoverageReader
74 if (auto Err = readSize(Length)) in readString()
83 if (auto Err = readSize(NumFilenames)) in read()
143 if (auto Err = readSize(NumRegions)) in readMappingRegionsSubArray()
233 if (auto Err = readSize(NumFileMappings)) in read()
249 if (auto Err = readSize(NumExpressions)) in read()
300 if (Error Err = readSize(NumFileMappings)) in isDummy()
310 if (Error Err = readSize(NumExpressions)) in isDummy()
315 if (Error Err = readSize(NumRegions)) in isDummy()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/
DCoverageMappingReader.cpp77 Error RawCoverageReader::readSize(uint64_t &Result) { in readSize() function in RawCoverageReader
88 if (auto Err = readSize(Length)) in readString()
97 if (auto Err = readSize(NumFilenames)) in read()
157 if (auto Err = readSize(NumRegions)) in readMappingRegionsSubArray()
256 if (auto Err = readSize(NumFileMappings)) in read()
272 if (auto Err = readSize(NumExpressions)) in read()
323 if (Error Err = readSize(NumFileMappings)) in isDummy()
333 if (Error Err = readSize(NumExpressions)) in isDummy()
338 if (Error Err = readSize(NumRegions)) in isDummy()
/external/skia/tools/
Dremote_demo.cpp88 ssize_t readSize = ::read(fd, &size, sizeof(size)); in read_SkData() local
89 if (readSize <= 0) { in read_SkData()
90 if (readSize < 0) { in read_SkData()
104 if (readSize < 0) { in read_SkData()
/external/skqp/tools/
Dremote_demo.cpp88 ssize_t readSize = ::read(fd, &size, sizeof(size)); in read_SkData() local
89 if (readSize <= 0) { in read_SkData()
90 if (readSize < 0) { in read_SkData()
104 if (readSize < 0) { in read_SkData()
/external/skia/tools/bookmaker/
DparserCommon.cpp367 int writtenSize, readSize; in WrittenFileDiffers() local
372 char* read = ParserCommon::ReadToBuffer(readname, &readSize); in WrittenFileDiffers()
378 int smaller = SkTMin(writtenSize, readSize); in WrittenFileDiffers()
387 if (readSize != writtenSize) { in WrittenFileDiffers()
392 char* oldDateTime = FindDateTime(read, readSize); in WrittenFileDiffers()
/external/skqp/tools/bookmaker/
DparserCommon.cpp368 int writtenSize, readSize; in WrittenFileDiffers() local
373 char* read = ParserCommon::ReadToBuffer(readname, &readSize); in WrittenFileDiffers()
379 int smaller = SkTMin(writtenSize, readSize); in WrittenFileDiffers()
388 if (readSize != writtenSize) { in WrittenFileDiffers()
393 char* oldDateTime = FindDateTime(read, readSize); in WrittenFileDiffers()
/external/lzma/CPP/7zip/Common/
DFilterCoder.cpp344 size_t readSize = _bufSize - _bufPos; in Read() local
345 HRESULT res = ReadStream(_inStream, _buf + _bufPos, &readSize); in Read()
346 _bufPos += (UInt32)readSize; in Read()
DFileStreams.cpp121 UInt32 readSize = kClusterSize; in Read() local
123 readSize = (UInt32)MyMin(File.Size - PhyPos, (UInt64)kClusterSize); in Read()
131 bool result = File.Read1(Buf, readSize, BufSize); in Read()
/external/lz4/tests/
DroundTripTest.c193 { size_t const readSize = fread(buffer, 1, fileSize, f); in loadFile() local
194 if (readSize != fileSize) { in loadFile()
Dfullbench.c367 size_t readSize; in fullSpeedBench() local
402 readSize = fread(orig_buff, 1, benchedSize, inFile); in fullSpeedBench()
405 if (readSize != benchedSize) { in fullSpeedBench()
/external/syzkaller/vendor/google.golang.org/grpc/transport/
Dhandler_server.go378 const readSize = 8196
379 for buf := make([]byte, readSize); ; {
390 buf = make([]byte, readSize)
/external/icu/icu4c/source/test/iotest/
Dfiletst.c446 int32_t readSize; in TestfgetsBuffers() local
483 readSize = u_strlen(buffer); in TestfgetsBuffers()
484 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers()
528 readSize = u_strlen(buffer); in TestfgetsBuffers()
529 if (readSize != expectedSize*repetitions) { in TestfgetsBuffers()
561 readSize = u_strlen(buffer); in TestfgetsBuffers()
562 if (readSize != 1) { in TestfgetsBuffers()
/external/skqp/tools/sk_app/android/
Dsurface_glue_android.cpp113 SkDEBUGCODE(auto readSize =) read(fPipes[0], message, sizeof(Message)); in readMessage()
114 SkASSERT(readSize == sizeof(Message)); in readMessage()
/external/skia/tools/sk_app/android/
Dsurface_glue_android.cpp113 SkDEBUGCODE(auto readSize =) read(fPipes[0], message, sizeof(Message)); in readMessage()
114 SkASSERT(readSize == sizeof(Message)); in readMessage()
/external/deqp/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationOperationMultiQueueTests.cpp184 const int readSize = static_cast<int>(read->second.queue.size()); in getQueuesPairs() local
187 for (int readNdx = 0; readNdx < readSize; ++readNdx) in getQueuesPairs()
192 writeNdx = readNdx = std::max(writeSize, readSize); //exit from the loops in getQueuesPairs()
/external/lzma/CPP/7zip/Archive/7z/
D7zIn.cpp298 UInt32 readSize = kBufSize - kHeaderSize; in FindAndReadSignature() local
302 if (readSize > rem) in FindAndReadSignature()
303 readSize = (UInt32)rem; in FindAndReadSignature()
304 if (readSize == 0) in FindAndReadSignature()
309 RINOK(stream->Read(buf + kHeaderSize, readSize, &processed)); in FindAndReadSignature()
/external/llvm/include/llvm/ProfileData/Coverage/
DCoverageMappingReader.h87 Error readSize(uint64_t &Result);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/Coverage/
DCoverageMappingReader.h113 Error readSize(uint64_t &Result);