Home
last modified time | relevance | path

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

1234

/third_party/lzma/C/Util/Lzma/
DLzmaUtil.c105 static SRes Decode2(CLzmaDec *state, ISeqOutStreamPtr outStream, ISeqInStreamPtr inStream, in Decode2() argument
118 RINOK(inStream->Read(inStream, inBuf, &inSize)) in Decode2()
159 static SRes Decode(ISeqOutStreamPtr outStream, ISeqInStreamPtr inStream) in Decode() argument
174 RINOK(SeqInStream_ReadMax(inStream, header, &size)) in Decode()
184 res = Decode2(&state, outStream, inStream, unpackSize); in Decode()
189 static SRes Encode(ISeqOutStreamPtr outStream, ISeqInStreamPtr inStream, UInt64 fileSize) in Encode() argument
216 res = LzmaEnc_Encode(enc, outStream, inStream, NULL, &g_Alloc, &g_Alloc); in Encode()
226 CFileSeqInStream inStream; in main() local
235 FileSeqInStream_CreateVTable(&inStream); in main()
236 File_Construct(&inStream.file); in main()
[all …]
/third_party/skia/third_party/externals/oboe/apps/fxlab/app/src/main/cpp/
DDuplexEngine.cpp27 if (inStream->getFormat() == oboe::AudioFormat::Float) { in beginStreams()
30 } else if (inStream->getFormat() == oboe::AudioFormat::I16) { in beginStreams()
35 SAMPLE_RATE = inStream->getSampleRate(); in beginStreams()
45 *inStream, [&functionStack = this->functionList](numeric *beg, numeric *end) { in createCallback()
48 inStream->getBufferCapacityInFrames(), in createCallback()
63 ->openManagedStream(inStream); in openInStream()
68 ->setSampleRate(inStream->getSampleRate()) in openOutStream()
69 ->setFormat(inStream->getFormat()) in openOutStream()
84 return inStream->requestStart(); in startStreams()
88 oboe::Result outputResult = inStream->requestStop(); in stopStreams()
DDuplexCallback.h31 DuplexCallback(oboe::AudioStream &inStream, in DuplexCallback() argument
34 kBufferSize(buffer_size), inRef(inStream), f(fun), restart(restartFunction) {} in DuplexCallback()
/third_party/lzma/C/
D7zDec.c74 ILookInStreamPtr inStream; member
86 p->res = ILookInStream_Skip(p->inStream, size); in ReadByte()
88 p->res = ILookInStream_Look(p->inStream, (const void **)&p->begin, &size); in ReadByte()
98 … SRes SzDecodePpmd(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStreamPtr inStream, in SzDecodePpmd() argument
106 s.inStream = inStream; in SzDecodePpmd()
163 … SRes SzDecodeLzma(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStreamPtr inStream, in SzDecodeLzma() argument
181 res = ILookInStream_Look(inStream, &inBuf, &lookahead); in SzDecodeLzma()
210 res = ILookInStream_Skip(inStream, inProcessed); in SzDecodeLzma()
223 …SRes SzDecodeLzma2(const Byte *props, unsigned propsSize, UInt64 inSize, ILookInStreamPtr inStream, in SzDecodeLzma2() argument
243 res = ILookInStream_Look(inStream, &inBuf, &lookahead); in SzDecodeLzma2()
[all …]
DLzma2Enc.c114 SRes LzmaEnc_PrepareForLzma2(CLzmaEncHandle p, ISeqInStreamPtr inStream, UInt32 keepWindowSize,
502 ISeqInStreamPtr inStream, in Lzma2Enc_EncodeMt1() argument
526 limitedInStream.realStream = inStream; in Lzma2Enc_EncodeMt1()
527 if (inStream) in Lzma2Enc_EncodeMt1()
555 if (inStream) in Lzma2Enc_EncodeMt1()
626 if (p->srcPos != (inStream ? limitedInStream.processed : inSizeCur)) in Lzma2Enc_EncodeMt1()
629 if (inStream ? limitedInStream.finished : (unpackTotal == inDataSize)) in Lzma2Enc_EncodeMt1()
719 ISeqInStreamPtr inStream, in Lzma2Enc_Encode2() argument
725 if (inStream && inData) in Lzma2Enc_Encode2()
764 p->mtCoder.inStream = inStream; in Lzma2Enc_Encode2()
[all …]
DLzma2DecMt.c93 ISeqInStreamPtr inStream; member
702 p->readRes = ISeqInStream_Read(p->inStream, (void *)(p->inBuf), &inLim); in Lzma2Dec_Decode_ST()
807 ISeqInStreamPtr inStream, in Lzma2DecMt_Decode() argument
827 p->inStream = inStream; in Lzma2DecMt_Decode()
876 p->mtc.inStream = inStream; in Lzma2DecMt_Decode()
988 ISeqInStreamPtr inStream) in Lzma2DecMt_Init() argument
998 p->inStream = inStream; in Lzma2DecMt_Init()
1056 readRes = ISeqInStream_Read(p->inStream, p->inBuf, &p->inLim); in Lzma2DecMt_Read()
DXzEnc.c441 ISeqInStreamPtr inStream; member
457 RINOK(p->inStream->Read(p->inStream, p->enc.buf + p->enc.readPos, &processed)) in SbEncInStream_Read()
743 ISeqInStreamPtr inStream, in Xz_CompressBlock() argument
824 checkInStream.realStream = inStream; in Xz_CompressBlock()
827 if (!inStream) in Xz_CompressBlock()
835 lzmaf->sb.inStream = &checkInStream.vt; in Xz_CompressBlock()
850 BoolInt useStream = (fp || inStream); in Xz_CompressBlock()
924 if (inStream) in Xz_CompressBlock()
1161 SRes XzEnc_Encode(CXzEncHandle p, ISeqOutStreamPtr outStream, ISeqInStreamPtr inStream, ICompressPr… in XzEnc_Encode() argument
1209 p->mtCoder.inStream = inStream; in XzEnc_Encode()
[all …]
D7zArcIn.c989 ILookInStreamPtr inStream, in SzReadAndDecodePackedStreams() argument
1023 RINOK(LookInStream_SeekTo(inStream, dataStartPos)) in SzReadAndDecodePackedStreams()
1024 RINOK(SzAr_DecodeFolder(p, fo, inStream, dataStartPos, tempBuf->data, tempBuf->size, allocTemp)) in SzReadAndDecodePackedStreams()
1113 ILookInStreamPtr inStream, in SzReadHeader2() argument
1154 res = SzReadAndDecodePackedStreams(inStream, sd, tempBufs, NUM_ADDITIONAL_STREAMS_MAX, in SzReadHeader2()
1485 ILookInStreamPtr inStream, in SzReadHeader() argument
1497 res = SzReadHeader2(p, sd, inStream, in SzReadHeader()
1514 ILookInStreamPtr inStream, in SzArEx_Open2() argument
1527 RINOK(ILookInStream_Seek(inStream, &startArcPos, SZ_SEEK_CUR)) in SzArEx_Open2()
1529 RINOK(LookInStream_Read2(inStream, header, k7zStartHeaderSize, SZ_ERROR_NO_ARCHIVE)) in SzArEx_Open2()
[all …]
DXzIn.c18 SRes Xz_ReadHeader(CXzStreamFlags *p, ISeqInStreamPtr inStream) in Xz_ReadHeader() argument
22 RINOK(SeqInStream_ReadMax(inStream, sig, &processedSize)) in Xz_ReadHeader()
34 SRes XzBlock_ReadHeader(CXzBlock *p, ISeqInStreamPtr inStream, BoolInt *isIndex, UInt32 *headerSize… in XzBlock_ReadHeader() argument
39 RINOK(SeqInStream_ReadByte(inStream, &header[0])) in XzBlock_ReadHeader()
53 RINOK(SeqInStream_ReadMax(inStream, header + 1, &processedSize)) in XzBlock_ReadHeader()
DLzma2DecMt.h55 ISeqInStreamPtr inStream,
72 ISeqInStreamPtr inStream);
DXzEnc.h52 SRes XzEnc_Encode(CXzEncHandle p, ISeqOutStreamPtr outStream, ISeqInStreamPtr inStream, ICompressPr…
54 SRes Xz_Encode(ISeqOutStreamPtr outStream, ISeqInStreamPtr inStream,
DXz.h58 SRes XzBlock_ReadHeader(CXzBlock *p, ISeqInStreamPtr inStream, BoolInt *isIndex, UInt32 *headerSize…
106 SRes Xz_ReadHeader(CXzStreamFlags *p, ISeqInStreamPtr inStream);
140 SRes Xzs_ReadBackward(CXzs *p, ILookInStreamPtr inStream, Int64 *startOffset, ICompressProgressPtr …
526 ISeqInStreamPtr inStream,
/third_party/lzma/CPP/7zip/Compress/
DCopyCoder.cpp23 Z7_COM7F_IMF(CCopyCoder::Code(ISequentialInStream *inStream, in Z7_COM7F_IMF() argument
63 readRes = inStream->Read(_buf + pos, curSize, &processed); in Z7_COM7F_IMF()
110 Z7_COM7F_IMF(CCopyCoder::SetInStream(ISequentialInStream *inStream)) in Z7_COM7F_IMF() argument
112 _inStream = inStream; in Z7_COM7F_IMF()
139 HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgres… in CopyStream() argument
142 return copyCoder->Code(inStream, outStream, NULL, NULL, progress); in CopyStream()
145 HRESULT CopyStream_ExactSize(ISequentialInStream *inStream, ISequentialOutStream *outStream, UInt64… in CopyStream_ExactSize() argument
149 RINOK(copyCoder->Code(inStream, outStream, NULL, &size, progress)) in CopyStream_ExactSize()
DPpmdDecoder.cpp132 Z7_COM7F_IMF(CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Z7_COM7F_IMF() argument
142 _inStream.Stream = inStream; in Z7_COM7F_IMF()
194 Z7_COM7F_IMF(CDecoder::SetInStream(ISequentialInStream *inStream)) in Z7_COM7F_IMF() argument
196 InSeqStream = inStream; in Z7_COM7F_IMF()
197 _inStream.Stream = inStream; in Z7_COM7F_IMF()
DLzmaDecoder.cpp118 HRESULT CDecoder::CodeSpec(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompres… in CodeSpec() argument
132 readRes = inStream->Read(_inBuf, _inBufSize, &_inLim); in CodeSpec()
218 Z7_COM7F_IMF(CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Z7_COM7F_IMF() argument
224 HRESULT res = CodeSpec(inStream, outStream, progress); in Z7_COM7F_IMF()
234 Z7_COM7F_IMF(CDecoder::SetInStream(ISequentialInStream *inStream)) in Z7_COM7F_IMF() argument
235 { _inStream = inStream; return S_OK; } in Z7_COM7F_IMF()
DLzma2Decoder.cpp84 Z7_COM7F_IMF(CDecoder::Code(ISequentialInStream *inStream, ISequentialOutStream *outStream, in Z7_COM7F_IMF() argument
137 inWrap.Init(inStream); in Z7_COM7F_IMF()
241 Z7_COM7F_IMF(CDecoder::SetInStream(ISequentialInStream *inStream)) in Z7_COM7F_IMF() argument
242 { _inStream = inStream; return S_OK; } in Z7_COM7F_IMF()
DCopyCoder.h29 HRESULT CopyStream(ISequentialInStream *inStream, ISequentialOutStream *outStream, ICompressProgres…
30 HRESULT CopyStream_ExactSize(ISequentialInStream *inStream, ISequentialOutStream *outStream, UInt64…
/third_party/lzma/CS/7zip/Compress/LzmaAlone/
DLzmaAlone.cs210 Stream inStream = null; in Main2()
220 inStream = new FileStream(inputName, FileMode.Open, FileAccess.Read); in Main2()
302 fileSize = inStream.Length; in Main2()
309 doubleStream.s2 = inStream; in Main2()
311 inStream = doubleStream; in Main2()
319 encoder.Code(inStream, outStream, -1, -1, null); in Main2()
324 if (inStream.Read(properties, 0, 5) != 5) in Main2()
336 int v = inStream.ReadByte(); in Main2()
341 long compressedSize = inStream.Length - inStream.Position; in Main2()
342 decoder.Code(inStream, outStream, compressedSize, outSize, null); in Main2()
/third_party/lzma/Java/SevenZip/
DLzmaAlone.java195 …java.io.BufferedInputStream inStream = new java.io.BufferedInputStream(new java.io.FileInputStrea… in main() local
223 encoder.Code(inStream, outStream, -1, -1, null); in main()
229 if (inStream.read(properties, 0, propertiesSize) != propertiesSize) in main()
237 int v = inStream.read(); in main()
242 if (!decoder.Code(inStream, outStream, outSize)) in main()
247 inStream.close(); in main()
/third_party/lzma/CPP/7zip/Archive/
DLzmaHandler.cpp88 HRESULT Create(bool filtered, ISequentialInStream *inStream);
100 HRESULT CDecoder::Create(bool filteredMode, ISequentialInStream *inStream) in Create() argument
120 return _lzmaDecoderSpec->SetInStream(inStream); in Create()
341 Z7_COM7F_IMF(CHandler::Open(IInStream *inStream, const UInt64 *, IArchiveOpenCallback *))
349 RINOK(ReadStream(inStream, buf, &processedSize))
358 RINOK(InStream_GetSize_SeekToEnd(inStream, _packSize))
388 _stream = inStream;
389 _seqStream = inStream;
DXzHandler.cpp125 HRESULT Open2(IInStream *inStream, /* UInt32 flags, */ IArchiveOpenCallback *callback);
497 HRESULT CHandler::Open2(IInStream *inStream, /* UInt32 flags, */ IArchiveOpenCallback *callback)
505 inStreamWrap.Init(inStream);
529 _stream = inStream;
530 _seqStream = inStream;
553 RINOK(InStream_GetSize_SeekToEnd(inStream, _stat.InSize))
561 inStreamImp.Init(inStream);
664 _stream = inStream;
665 _seqStream = inStream;
672 Z7_COM7F_IMF(CHandler::Open(IInStream *inStream, const UInt64 *, IArchiveOpenCallback *callback))
[all …]
/third_party/lzma/CPP/7zip/Bundles/LzmaSpec/
DLzmaSpec.cpp617 CInputStream inStream; in main2() local
618 inStream.File = fopen(args[1], "rb"); in main2()
619 inStream.Init(); in main2()
620 if (inStream.File == 0) in main2()
626 if (inStream.File == 0) in main2()
632 header[i] = inStream.ReadByte(); in main2()
657 lzmaDecoder.RangeDec.InStream = &inStream; in main2()
665 PrintUInt64("Read ", inStream.Processed); in main2()
/third_party/lzma/CPP/7zip/Bundles/LzmaCon/
DLzmaAlone.cpp471 CMyComPtr<ISequentialInStream> inStream;
476 inStream = new CStdInFileStream;
483 inStream = inStreamSpec;
560 if (ReadStream_FAIL(inStream, inBuffer, inSize) != S_OK)
729 res = encoder->Code(inStream, outStream, NULL, NULL, progress);
751 if (ReadStream_FALSE(inStream, header, kPropertiesSize + 8) != S_OK)
763 …HRESULT res = decoder->Code(inStream, outStream, NULL, unpackSizeDefined ? &unpackSize : NULL, pro…
/third_party/lzma/CPP/7zip/UI/Common/
DUpdateCallback.cpp551 Z7_COM7F_IMF(CArchiveUpdateCallback::GetStream2(UInt32 index, ISequentialInStream **inStream, UInt3… in Z7_COM7F_IMF() argument
554 *inStream = NULL; in Z7_COM7F_IMF() local
581 *inStream = inStreamLoc.Detach(); in Z7_COM7F_IMF()
599 *inStream = inStreamLoc.Detach(); in Z7_COM7F_IMF()
619 *inStream = inStreamLoc.Detach(); in Z7_COM7F_IMF()
745 *inStream = inStreamLoc.Detach(); in Z7_COM7F_IMF()
759 Z7_COM7F_IMF(CArchiveUpdateCallback::GetStream(UInt32 index, ISequentialInStream **inStream)) in Z7_COM7F_IMF() argument
762 return GetStream2(index, inStream, in Z7_COM7F_IMF()
/third_party/skia/third_party/externals/oboe/tests/UnitTestRunner/app/src/main/java/com/google/oboe/tests/unittestrunner/
DMainActivity.java67 InputStream inStream = assetManager.open(testBinaryPath); in executeBinary() local
77 while ((read = inStream.read(buffer)) != -1) { in executeBinary()
80 inStream.close(); in executeBinary()

1234