Home
last modified time | relevance | path

Searched refs:writeIndex (Results 1 – 20 of 20) sorted by relevance

/external/apache-commons-compress/src/main/java/org/apache/commons/compress/compressors/lz77support/
DAbstractLZ77CompressorInputStream.java94 private int writeIndex; field in AbstractLZ77CompressorInputStream
138 writeIndex = readIndex = 0; in AbstractLZ77CompressorInputStream()
157 return writeIndex - readIndex; in available()
181 if (writeIndex != 0) { in prefill()
188 writeIndex += len; in prefill()
239 buf.length - writeIndex); in tryToReadLiteral()
241 ? IOUtils.readFully(in, buf, writeIndex, reallyTryToRead) in tryToReadLiteral()
247 writeIndex += reallyTryToRead; in tryToReadLiteral()
266 writeIndex -= windowSize; in slideBuffer()
300 buf.length - writeIndex); in tryToCopy()
[all …]
/external/apache-commons-compress/src/main/java/org/apache/commons/compress/archivers/zip/
DCircularBuffer.java40 private int writeIndex; field in CircularBuffer
51 return readIndex != writeIndex; in available()
58 buffer[writeIndex] = (byte) value; in put()
59 writeIndex = (writeIndex + 1) % size; in put()
81 final int pos1 = writeIndex - distance; in copy()
84 buffer[writeIndex] = buffer[(i + size) % size]; in copy()
85 writeIndex = (writeIndex + 1) % size; in copy()
/external/grpc-grpc-java/core/src/test/java/io/grpc/internal/
DCompositeReadableBufferTest.java99 int writeIndex = 0; in readByteArrayShouldSucceed() local
101 composite.readBytes(bytes, writeIndex, 1); in readByteArrayShouldSucceed()
102 writeIndex++; in readByteArrayShouldSucceed()
103 assertEquals(EXPECTED_VALUE.length() - writeIndex, composite.readableBytes()); in readByteArrayShouldSucceed()
105 composite.readBytes(bytes, writeIndex, 5); in readByteArrayShouldSucceed()
106 writeIndex += 5; in readByteArrayShouldSucceed()
107 assertEquals(EXPECTED_VALUE.length() - writeIndex, composite.readableBytes()); in readByteArrayShouldSucceed()
110 composite.readBytes(bytes, writeIndex, remaining); in readByteArrayShouldSucceed()
111 writeIndex += remaining; in readByteArrayShouldSucceed()
113 assertEquals(bytes.length, writeIndex); in readByteArrayShouldSucceed()
/external/webrtc/webrtc/modules/audio_device/mac/portaudio/
Dpa_ringbuffer.c85 return ( (rbuf->writeIndex - rbuf->readIndex) & rbuf->bigMask ); in PaUtil_GetRingBufferReadAvailable()
99 rbuf->writeIndex = rbuf->readIndex = 0; in PaUtil_FlushRingBuffer()
118 index = rbuf->writeIndex & rbuf->smallMask; in PaUtil_GetRingBufferWriteRegions()
146 return rbuf->writeIndex = (rbuf->writeIndex + elementCount) & rbuf->bigMask; in PaUtil_AdvanceRingBufferWriteIndex()
Dpa_ringbuffer.h93 …PaRingBufferSize writeIndex; /**< Index of next writable element. Set by PaUtil_AdvanceRingBuffer… member
/external/icu/icu4c/source/common/
Duts46.cpp614 int32_t readIndex=mappingStart, writeIndex=mappingStart; in mapDevChars() local
621 s[writeIndex++]=0x73; // Replace sharp s with first s. in mapDevChars()
623 if(writeIndex==readIndex) { in mapDevChars()
633 u_memmove(s+writeIndex+1, s+writeIndex, length-writeIndex); in mapDevChars()
636 s[writeIndex++]=0x73; in mapDevChars()
641 s[writeIndex++]=0x3c3; in mapDevChars()
650 s[writeIndex++]=c; in mapDevChars()
653 } while(writeIndex<length); in mapDevChars()
/external/lzma/C/
DMtCoder.c264 wi = mtc->writeIndex; in ThreadFunc2()
266 mtc->writeIndex = (unsigned)(int)-1; in ThreadFunc2()
312 mtc->writeIndex = wi; in ThreadFunc2()
518 p->writeIndex = 0; in MtCoder_Code()
DMtCoder.h108 unsigned writeIndex; member
/external/cldr/tools/java/org/unicode/cldr/icu/
DConvertTransforms.java72 private boolean writeIndex = false; field in ConvertTransforms
346 writeIndex = options[WRITE_INDEX].doesOccur; in processArgs()
351 if (writeIndex) { in processArgs()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Bitcode/
DBitcodeWriter.h103 void writeIndex(
/external/clang/lib/Serialization/
DGlobalModuleIndex.cpp431 void writeIndex(llvm::BitstreamWriter &Stream);
689 void GlobalModuleIndexBuilder::writeIndex(llvm::BitstreamWriter &Stream) { in writeIndex() function in GlobalModuleIndexBuilder
768 GlobalModuleIndex::writeIndex(FileManager &FileMgr, in writeIndex() function in GlobalModuleIndex
825 Builder.writeIndex(OutputStream); in writeIndex()
/external/clang/include/clang/Serialization/
DGlobalModuleIndex.h201 static ErrorCode writeIndex(FileManager &FileMgr,
/external/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp275 writeIndex(MCStreamer &Out, MCSection *Section, in writeIndex() function
592 writeIndex(Out, MCOFI.getDwarfTUIndexSection(), ContributionOffsets, in write()
600 writeIndex(Out, MCOFI.getDwarfCUIndexSection(), ContributionOffsets, in write()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-dwp/
Dllvm-dwp.cpp286 writeIndex(MCStreamer &Out, MCSection *Section, in writeIndex() function
624 writeIndex(Out, MCOFI.getDwarfTUIndexSection(), ContributionOffsets, in write()
632 writeIndex(Out, MCOFI.getDwarfCUIndexSection(), ContributionOffsets, in write()
/external/sonivox/arm-wt-22k/lib_src/
Djet.c126 EAS_INLINE EAS_BOOL JET_ReadQueue (EAS_U32 *pEventQueue, EAS_U8 *pReadIndex, EAS_U8 writeIndex, EAS… in JET_ReadQueue() argument
130 if (*pReadIndex == writeIndex) in JET_ReadQueue()
/external/clang/lib/Frontend/
DFrontendAction.cpp466 GlobalModuleIndex::writeIndex(CI.getFileManager(), in Execute()
DCompilerInstance.cpp1696 GlobalModuleIndex::writeIndex( in loadGlobalModuleIndex()
1723 GlobalModuleIndex::writeIndex( in loadGlobalModuleIndex()
/external/doclava/src/com/google/doclava/
DDoclava.java593 private static void writeIndex(String dir) { in writeIndex() method in Doclava
1593 writeIndex(packageDir); in writeClassLists()
/external/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp441 void writeIndex();
3579 writeIndex(); in writeBlocks()
3748 void IndexBitcodeWriter::writeIndex() { in writeIndex() function in IndexBitcodeWriter
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Bitcode/Writer/
DBitcodeWriter.cpp4159 void BitcodeWriter::writeIndex( in writeIndex() function in BitcodeWriter
4219 Writer.writeIndex(&Index, ModuleToSummariesForIndex); in WriteIndexToFile()