/external/lzma/CPP/7zip/Common/ |
ProgressUtils.cpp | 30 RINOK(_ratioProgress->SetRatioInfo(&inSizeNew, &outSizeNew));
|
LimitedStreams.cpp | 38 RINOK(SeekToPhys());
79 RINOK(SeekToPhys());
124 RINOK(streamSpec->InitAndSeek(pos, size));
|
InOutTempBuffer.cpp | 87 RINOK(WriteStream(stream, _buf, _bufPos));
103 RINOK(WriteStream(stream, _buf, processed));
|
MethodProps.cpp | 79 RINOK(res);
91 RINOK(writeCoderProperties->WriteCoderProperties(outStream));
|
/external/lzma/CPP/7zip/UI/Common/ |
LoadCodecs.cpp | 100 RINOK(getMethodProperty(index, propId, &prop));
122 RINOK(getNumberOfMethodsFunc(&numMethods));
131 RINOK(GetCoderClass(lib.GetMethodProperty, i, NMethodPropID::kEncoder, info.Encoder, info.EncoderIsAssigned));
132 RINOK(GetCoderClass(lib.GetMethodProperty, i, NMethodPropID::kDecoder, info.Decoder, info.DecoderIsAssigned));
155 RINOK(ReadProp(getProp, getProp2, index, propID, prop));
169 RINOK(ReadProp(getProp, getProp2, index, propID, prop));
252 RINOK(getNumberOfFormats(&numFormats));
263 RINOK(ReadStringProp(getProp, getProp2, i, NArchive::kName, item.Name));
274 RINOK(ReadStringProp(getProp, getProp2, i, NArchive::kExtension, ext));
275 RINOK(ReadStringProp(getProp, getProp2, i, NArchive::kAddExtension, addExt)); [all...] |
Bench.cpp | 594 RINOK(encoder.QueryInterface(IID_ICompressSetCoderProperties, &setCoderProperties));
597 RINOK(setCoderProperties->SetCoderProperties(propIDs, props, kNumProps));
603 RINOK(writeCoderProperties->WriteCoderProperties(propStream));
616 RINOK(encoder->Code(inStream, outStream, 0, 0, progressInfo[0]));
645 RINOK(compressSetDecoderProperties->SetDecoderProperties2(propStreamSpec->Buffer, propStreamSpec->Pos));
647 RINOK(decoder->Code(inStream, crcOutStream, 0, &outSize, progressInfo[decoderIndex]));
698 RINOK(CreateCoder(EXTERNAL_CODECS_LOC_VARS kLzmaId, encoder.encoder, true));
703 RINOK(CreateCoder(EXTERNAL_CODECS_LOC_VARS kLzmaId, encoder.decoders[j], false));
713 RINOK(encoders[i].Init(dictionarySize, numThreads, &rg));
741 RINOK(encoder.CreateEncoderThread()) [all...] |
UpdateCallback.cpp | 74 RINOK(Callback->CheckBreak());
165 RINOK(Callback->CheckBreak());
166 RINOK(Callback->Finilize());
173 RINOK(Callback->GetStream(DirItems->GetLogPath(up.DirIndex), false));
|
EnumDirItems.cpp | 188 RINOK(callback->ScanProgress(dirItems.GetNumFolders(), dirItems.Items.Size(), phyPrefix));
254 RINOK(EnumerateDirItems_Spec(*nextNode, phyParent, logParent, fi.Name, phyPrefix,
280 RINOK(EnumerateDirItems_Spec(nextNode, phyParent, logParent, fi.Name, phyPrefix,
303 RINOK(callback->ScanProgress(dirItems.GetNumFolders(), dirItems.Items.Size(), phyPrefix));
339 RINOK(EnumerateDirItems_Spec(*nextNode, phyParent, logParent, name, phyPrefix,
356 RINOK(EnumerateDirItems(pair.Head, phyParent, -1, pair.Prefix, UStringVector(), dirItems, false,
|
/external/lzma/CPP/7zip/Compress/ |
Lzma2Decoder.cpp | 47 RINOK(SResToHRESULT(Lzma2Dec_Allocate(&_state, prop[0], &g_Alloc)));
88 RINOK(inStream->Read(_inBuf, kInBufSize, &_inSize));
128 RINOK(res2);
139 RINOK(progress->SetRatioInfo(&_inSizeProcessed, &_outSizeProcessed));
155 RINOK(_inStream->Read(_inBuf, kInBufSize, &_inSize));
178 RINOK(SResToHRESULT(res));
|
Bcj2Coder.cpp | 51 RINOK(_mainStream.Flush());
52 RINOK(_callStream.Flush());
53 RINOK(_jumpStream.Flush());
119 RINOK(inStream->Read(_buffer + bufferPos + processedSize, size, &processedSizeLoc));
243 RINOK(progress->SetRatioInfo(&nowPos64, NULL));
329 RINOK(progress->SetRatioInfo(NULL, &nowPos64));
|
Lzma2Encoder.cpp | 53 RINOK(NLzma::SetLzmaProp(propID, prop, lzma2Props.lzmaProps));
66 RINOK(SetLzma2Prop(propIDs[i], coderProps[i], lzma2Props));
|
LzmaEncoder.cpp | 118 RINOK(SetLzmaProp(propID, prop, props));
128 RINOK(LzmaEnc_WriteProperties(_encoder, props, &size));
|
/external/lzma/C/ |
XzEnc.c | 90 RINOK(WriteBytesAndCrc(s, buf, pos, &crc));
97 RINOK(WriteBytesAndCrc(s, buf, pos, &crc));
103 RINOK(WriteBytesAndCrc(s, buf, 4 - pos, &crc));
108 RINOK(WriteBytes(s, buf, 4));
255 RINOK(p->realStream->Read(p->realStream, p->buf + p->bufferPos, &processedSizeTemp));
306 RINOK(p->realStream->Read(p->realStream, p->buf, &curSize));
399 RINOK(Lzma2Enc_SetProps(lzmaf->lzma2, lzma2Props));
400 RINOK(Xz_WriteHeader(xz->flags, outStream));
429 RINOK(XzBlock_WriteHeader(&block, &seqSizeOutStream.p));
451 RINOK(res); [all...] |
7zDec.c | 134 RINOK(LzmaDec_AllocateProbs(&state, coder->Props.data, (unsigned)coder->Props.size, allocMain));
184 RINOK(Lzma2Dec_AllocateProbs(&state, coder->Props.data[0], allocMain));
232 RINOK(inStream->Look((void *)inStream, (const void **)&inBuf, &curSize));
238 RINOK(inStream->Skip((void *)inStream, curSize));
345 RINOK(CheckSupportedFolder(folder));
387 RINOK(LookInStream_SeekTo(inStream, startPos + offset));
393 RINOK(SzDecodeCopy(inSize, inStream, outBufCur));
397 RINOK(SzDecodeLzma(coder, inSize, inStream, outBufCur, outSizeCur, allocMain));
401 RINOK(SzDecodeLzma2(coder, inSize, inStream, outBufCur, outSizeCur, allocMain));
406 RINOK(SzDecodePpmd(coder, inSize, inStream, outBufCur, outSizeCur, allocMain)); [all...] |
7zStream.c | 13 RINOK(stream->Read(stream, buf, &processed));
30 RINOK(stream->Read(stream, buf, &processed));
45 RINOK(stream->Look(stream, &lookBuf, size));
55 RINOK(stream->Read(stream, buf, &processed));
|
Lzma2Enc.c | 51 RINOK(LzmaEnc_SetProps(p->enc, &props->lzmaProps));
52 RINOK(LzmaEnc_WriteProperties(p->enc, propsEncoded, &propsSize));
276 RINOK(Lzma2EncInt_Init(p, &mainEncoder->props));
277 RINOK(LzmaEnc_PrepareForLzma2(p->enc, inStream, LZMA2_KEEP_WINDOW_SIZE,
324 RINOK(Lzma2EncInt_Init(p, &mainEncoder->props));
326 RINOK(LzmaEnc_MemPrepare(p->enc, src, srcSize, LZMA2_KEEP_WINDOW_SIZE,
|
MtCoder.c | 40 RINOK(AutoResetEvent_CreateNotSignaled(&p->startEvent));
41 RINOK(AutoResetEvent_CreateNotSignaled(&p->finishedEvent));
178 RINOK(res);
206 RINOK(FullRead(p->mtCoder->inStream, p->inBuf, &size));
211 RINOK(p->mtCoder->mtCallback->Code(p->mtCoder->mtCallback, p->index,
282 RINOK(CMtThread_Prepare(&p->threads[i]));
|
Types.h | 51 #ifndef RINOK
52 #define RINOK(x) { int __result__ = (x); if (__result__ != 0) return __result__; }
|
/external/lzma/CPP/7zip/Archive/7z/ |
7zEncode.cpp | 58 RINOK(_mixerCoderSpec->SetBindInfo(_bindInfo));
69 RINOK(CreateCoder(
84 RINOK(setCoderMt->SetNumberOfThreads(_options.NumThreads));
90 RINOK(SetMethodProperties(methodFull, inSizeForReduce, encoderCommon));
106 RINOK(setCompressCodecsInfo->SetCompressCodecsInfo(codecsInfo));
124 RINOK(cryptoSetPassword->CryptoSetPassword((const Byte *)buffer, sizeInBytes));
144 RINOK(EncoderConstr());
148 RINOK(CreateMixerCoder(EXTERNAL_CODECS_LOC_VARS inSizeForReduce));
194 // RINOK(stream->Seek(0, STREAM_SEEK_CUR, &outStreamStartPos));
246 RINOK(_mixerCoder->Code(&inStreamPointers.Front(), NULL, 1, [all...] |
7zDecode.cpp | 162 RINOK(_mixerCoderCommon->SetBindInfo(bindInfo));
171 RINOK(CreateCoder(
207 RINOK(setCompressCodecsInfo->SetCompressCodecsInfo(codecsInfo));
237 RINOK(setDecoderProperties->SetDecoderProperties2((const Byte *)props, (UInt32)size));
249 RINOK(setCoderMt->SetNumberOfThreads(numThreads));
263 RINOK(getTextPassword->CryptoGetTextPassword(&passwordBSTR));
275 RINOK(cryptoSetPassword->CryptoSetPassword((const Byte *)buffer, sizeInBytes));
|
7zUpdate.cpp | 43 RINOK(inStream->Seek(position, STREAM_SEEK_SET, 0));
51 RINOK(copyCoder->Code(inStreamLimited, outStream, NULL, NULL, progress));
526 RINOK(CloseFileAndSetResult());
540 RINOK(_crcStream->Write(data, cur, &cur));
550 RINOK(CloseFileAndSetResult());
551 RINOK(ProcessEmptyFiles());
557 RINOK(ProcessEmptyFiles());
699 RINOK(seqOutStream->QueryInterface(IID_IOutStream, (void **)&outStream));
707 RINOK(WriteRange(inStream, seqOutStream, 0, startBlockSize, NULL));
796 RINOK(updateCallback->SetTotal(complexity)); [all...] |
7zOut.cpp | 19 RINOK(stream->Write(data, curSize, &processedSize));
48 RINOK(WriteDirect(kFinishSignature, kSignatureSize));
52 RINOK(WriteDirectByte(av.Major));
88 RINOK(WriteDirectUInt32(crc.GetDigest()));
89 RINOK(WriteDirectUInt64(h.NextHeaderOffset));
90 RINOK(WriteDirectUInt64(h.NextHeaderSize));
91 RINOK(WriteDirectUInt32(h.NextHeaderCRC));
92 RINOK(WriteDirectUInt64(h.ArchiveStartOffset));
130 RINOK(WriteSignature());
131 RINOK(Stream->Seek(0, STREAM_SEEK_CUR, &_prefixHeaderPos)); [all...] |
/external/lzma/CPP/7zip/UI/Console/ |
List.cpp | 222 RINOK(archive->GetNumberOfProperties(&numProps));
228 RINOK(archive->GetPropertyInfo(i, &name, &propID, &vt));
305 RINOK(arc.GetItemPath(index, s));
310 RINOK(arc.Archive->GetProperty(index, fieldInfo.PropID, &prop));
321 RINOK(IsArchiveItemFolder(arc.Archive, index, isFolder));
520 RINOK(archive->GetArchivePropertyInfo(j, &name, &propID, &vt));
522 RINOK(archive->GetArchiveProperty(propID, &prop));
540 RINOK(archive->GetPropertyInfo(j, &name, &propID, &vt));
542 RINOK(archive->GetProperty(mainIndex, propID, &prop));
568 RINOK(fieldPrinter.Init(archive)); [all...] |
/external/lzma/CPP/7zip/Archive/Common/ |
CoderMixer2MT.cpp | 89 RINOK(_streamBinders.Back().CreateEvents());
206 RINOK(_coders[i].Create());
219 RINOK(ReturnIfError(E_ABORT));
220 RINOK(ReturnIfError(E_OUTOFMEMORY));
229 RINOK(ReturnIfError(S_FALSE));
|
MultiStream.cpp | 39 RINOK(s.Stream->Seek(localPos, STREAM_SEEK_SET, &s.LocalPos));
107 RINOK(WriteVolumeHeader(_archive, _file, _options));
126 RINOK(VolumeCallback->GetVolumeSize(Streams.Size(), &subStream.Size));
127 RINOK(VolumeCallback->GetVolumeStream(Streams.Size(), &subStream.Stream));
142 RINOK(subStream.Stream.QueryInterface(IID_IOutStream, &outStream));
143 RINOK(outStream->Seek(_offsetPos, STREAM_SEEK_SET, NULL));
149 RINOK(subStream.Stream->Write(data, curSize, &realProcessed));
|