Home
last modified time | relevance | path

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

123

/external/lzma/C/
D7zArcIn.c245 RINOK(ReadNumber(sd, &value64)); in SzReadNumber32()
259 RINOK(ReadNumber(sd, &size)); in SkipData()
271 RINOK(ReadID(sd, &type)); in WaitId()
276 RINOK(SkipData(sd)); in WaitId()
360 RINOK(ReadBitVector(sd, numItems, &crcs->Defs, alloc)); in ReadBitUi32s()
385 RINOK(SzReadNumber32(sd, &p->NumPackStreams)); in ReadPackInfo()
387 RINOK(WaitId(sd, k7zIdSize)); in ReadPackInfo()
397 RINOK(ReadNumber(sd, &packSize)); in ReadPackInfo()
408 RINOK(ReadID(sd, &type)); in ReadPackInfo()
414 RINOK(SkipBitUi32s(sd, p->NumPackStreams)); in ReadPackInfo()
[all …]
DXzIn.c21 RINOK(SeqInStream_Read2(inStream, sig, XZ_STREAM_HEADER_SIZE, SZ_ERROR_NO_ARCHIVE)); in Xz_ReadHeader()
36 RINOK(SeqInStream_ReadByte(inStream, &header[0])); in XzBlock_ReadHeader()
48 RINOK(SeqInStream_Read(inStream, header + 1, headerSize - 1)); in XzBlock_ReadHeader()
146 RINOK(LookInStream_SeekTo(stream, offset)); in LookInStream_SeekRead_ForArc()
161 RINOK(LookInStream_SeekRead_ForArc(stream, pos, buf, XZ_STREAM_FOOTER_SIZE)); in Xz_ReadBackward()
176 RINOK(LookInStream_SeekRead_ForArc(stream, pos, temp, i)); in Xz_ReadBackward()
195 RINOK(LookInStream_SeekRead_ForArc(stream, pos, buf, XZ_STREAM_FOOTER_SIZE)); in Xz_ReadBackward()
214 RINOK(LookInStream_SeekTo(stream, pos)); in Xz_ReadBackward()
215 RINOK(Xz_ReadIndex(p, stream, indexSize, alloc)); in Xz_ReadBackward()
224 RINOK(LookInStream_SeekTo(stream, pos)); in Xz_ReadBackward()
[all …]
D7zDec.c141 RINOK(LzmaDec_AllocateProbs(&state, props, propsSize, allocMain)); in SzDecodeLzma()
203 RINOK(Lzma2Dec_AllocateProbs(&state, props[0], allocMain)); in SzDecodeLzma2()
261 RINOK(ILookInStream_Look(inStream, &inBuf, &curSize)); in SzDecodeCopy()
267 RINOK(ILookInStream_Skip(inStream, curSize)); in SzDecodeCopy()
383 RINOK(CheckSupportedFolder(folder)); in SzFolder_Decode2()
425 RINOK(LookInStream_SeekTo(inStream, startPos + offset)); in SzFolder_Decode2()
431 RINOK(SzDecodeCopy(inSize, inStream, outBufCur)); in SzFolder_Decode2()
435RINOK(SzDecodeLzma(propsData + coder->PropsOffset, coder->PropsSize, inSize, inStream, outBufCur, … in SzFolder_Decode2()
440RINOK(SzDecodeLzma2(propsData + coder->PropsOffset, coder->PropsSize, inSize, inStream, outBufCur,… in SzFolder_Decode2()
446RINOK(SzDecodePpmd(propsData + coder->PropsOffset, coder->PropsSize, inSize, inStream, outBufCur, … in SzFolder_Decode2()
[all …]
DXzEnc.c185 RINOK(XzEncIndex_ReAlloc(p, newSize, alloc)); in XzEncIndex_AddIndexRecord()
203 RINOK(WriteBytesUpdateCrc(s, buf, pos, &crc)); in XzEncIndex_WriteFooter()
204 RINOK(WriteBytesUpdateCrc(s, p->blocks, p->size, &crc)); in XzEncIndex_WriteFooter()
338 RINOK(BraState_SetFromMethod(&p->StateCoder, props->id, 1, alloc)); in SeqInFilter_Init()
339 RINOK(p->StateCoder.SetProps(p->StateCoder.p, props->props, props->propsSize, alloc)); in SeqInFilter_Init()
359 RINOK(ISeqInStream_Read(p->realStream, p->buf, &p->endPos)); in SeqInFilter_Read()
425 RINOK(p->inStream->Read(p->inStream, p->enc.buf + p->enc.readPos, &processed)); in SbEncInStream_Read()
436 RINOK(SbEnc_Read(&p->enc, data, size)); in SbEncInStream_Read()
734 RINOK(Lzma2WithFilters_Create(lzmaf, alloc, allocBig)); in Xz_CompressBlock()
736 RINOK(Lzma2Enc_SetProps(lzmaf->lzma2, &props->lzma2Props)); in Xz_CompressBlock()
[all …]
/external/lzma/CPP/7zip/UI/Common/
DOpenArchive.cpp399 RINOK(lps->SetCur()); in Extract()
407 RINOK(extractCallback->GetStream(index, &realOutStream, askMode)); in Extract()
413 RINOK(extractCallback->PrepareOperation(askMode)); in Extract()
420 RINOK(_stream->Seek(item.Offset, STREAM_SEEK_SET, NULL)); in Extract()
422 RINOK(copyCoder->Code(inStream, outStream, NULL, NULL, progress)); in Extract()
427 RINOK(extractCallback->SetOperationResult(opRes)); in Extract()
452 RINOK(arc->GetProperty(index, propID, &prop)); in Archive_GetItemBoolProp()
484 RINOK(arc->GetArchiveProperty(propid, &prop)); in Archive_GetArcBoolProp()
496 RINOK(arc->GetArchiveProperty(propid, &prop)); in Archive_GetArcProp_UInt()
513 RINOK(arc->GetArchiveProperty(propid, &prop)); in Archive_GetArcProp_Int()
[all …]
DHashCalc.cpp48 RINOK(m.ParseMethodFromString(names[i])); in SetMethods()
83 RINOK(CreateHasher(EXTERNAL_CODECS_LOC_VARS ids[i], name, hasher)); in SetMethods()
91 RINOK(m.SetCoderProps(scp, NULL)); in SetMethods()
213 RINOK(callback->StartScanning()); in HashCalc()
227 RINOK(callback->FinishScanning(dirItems.Stat)); in HashCalc()
232 RINOK(hb.SetMethods(EXTERNAL_CODECS_LOC_VARS options.Methods)); in HashCalc()
239 RINOK(callback->SetNumFiles(1)); in HashCalc()
243 RINOK(callback->SetTotal(dirItems.Stat.GetTotalBytes())); in HashCalc()
253 RINOK(callback->BeforeFirstFile(hb)); in HashCalc()
286 RINOK(callback->GetStream(path, isDir)); in HashCalc()
[all …]
DArchiveExtractCallback.cpp108 RINOK(archive->GetProperty(index, kpidINode, &prop)); in Archive_Get_HardLinkNode()
114 RINOK(archive->GetProperty(index, kpidStreamId, &prop)); in Archive_Get_HardLinkNode()
138 RINOK(archive->GetNumberOfItems(&numItems)); in PrepareHardLinks()
147 RINOK(Archive_Get_HardLinkNode(archive, realIndex, h, defined)); in PrepareHardLinks()
151 RINOK(Archive_IsItem_AltStream(archive, realIndex, isAltStream)); in PrepareHardLinks()
378 RINOK(_arc->Archive->GetProperty(index, propID, &prop)); in GetTime()
658 RINOK(_arc->GetItem(index, _item)); in GetStream()
662 RINOK(archive->GetProperty(index, kpidPosition, &prop)); in GetStream()
681 RINOK(archive->GetProperty(index, kpidHardLink, &prop)); in GetStream()
711 RINOK(archive->GetProperty(index, kpidSymLink, &prop)); in GetStream()
[all …]
DEnumDirItems.cpp215 RINOK(ScanProgress(phyPrefix)); in EnumerateDir()
234 RINOK(AddSecurityItem(phyPrefix + fi.Name, secureIndex)); in EnumerateDir()
242 RINOK(ScanProgress(phyPrefix)); in EnumerateDir()
249 RINOK(EnumerateDir(parent, parent, phyPrefix + name2)); in EnumerateDir()
270 RINOK(AddError(phyPath)); in EnumerateItems2()
289 RINOK(AddSecurityItem(phyPath, secureIndex)); in EnumerateItems2()
299 RINOK(EnumerateDir(parent, parent, phyPrefix + phyPrefixCur + name2)); in EnumerateItems2()
442 RINOK(dirItems.AddSecurityItem(phyPrefix + fi.Name, secureIndex)); in EnumerateForItem()
457 RINOK(EnumerateAltStreams(fi, curNode, phyParent, logParent, in EnumerateForItem()
467 RINOK(dirItems.SetLinkInfo(dirItem, fi, phyPrefix)); in EnumerateForItem()
[all …]
DUpdate.cpp207 RINOK(altStream.Stream->Seek(_offsetPos, STREAM_SEEK_SET, NULL)); in Write()
213 RINOK(altStream.Stream->Write(data, curSize, &realProcessed)); in Write()
262 RINOK(altStream.Stream->SetSize(newSize)); in SetSize()
544 RINOK(codecs->CreateOutArchive(formatIndex, outArchive)); in Compress()
552 RINOK(setCompressCodecsInfo->SetCompressCodecsInfo(codecs)); in Compress()
564 RINOK(outArchive->GetFileTimeType(&value)); in Compress()
640 RINOK(arc->IsItemAnti(i, up2.IsAnti)); in Compress()
730 RINOK(callback->SetNumItems(stat2)); in Compress()
846 RINOK(SetProperties(outArchive, options.MethodMode.Properties)); in Compress()
870 RINOK(sfxStreamSpec->GetSize(&sfxSize)); in Compress()
[all …]
DExtract.cpp81 RINOK(archive->GetNumberOfItems(&numItems)); in DecompressArchive()
89 RINOK(arc.GetItem(i, item)); in DecompressArchive()
97 RINOK(Archive_IsItem_AltStream(arc.Archive, i, item.IsAltStream)); in DecompressArchive()
192 RINOK(ecs->PrepareHardLinks(&realIndices)); in DecompressArchive()
297 RINOK(extractCallback->SetTotal(totalPackSize)); in Extract()
327 RINOK(extractCallback->BeforeOpen(arcPath, options.TestMode)); in Extract()
376 RINOK(extractCallback->OpenResult(codecs, arcLink, arcPath, result)); in Extract()
419 RINOK(extractCallback->SetTotal(totalPackSize)); in Extract()
450 RINOK(DecompressArchive( in Extract()
470 RINOK(extractCallback->SetTotal(totalPackSize)); in Extract()
[all …]
DLoadCodecs.cpp235 RINOK(getMethodProperty(index, propId, &prop)); in GetCoderClass()
262 RINOK(getNumberOfMethods(&numMethods)); in LoadCodecs()
269RINOK(GetCoderClass(lib.GetMethodProperty, i, NMethodPropID::kEncoder, info.Encoder, info.EncoderI… in LoadCodecs()
270RINOK(GetCoderClass(lib.GetMethodProperty, i, NMethodPropID::kDecoder, info.Decoder, info.DecoderI… in LoadCodecs()
278 RINOK(getHashers(&lib.ComHashers)); in LoadCodecs()
312 RINOK(GetProp(getProp, getProp2, index, propID, prop)); in GetProp_Bool()
328 RINOK(GetProp(getProp, getProp2, index, propID, prop)); in GetProp_UInt32()
346 RINOK(GetProp(getProp, getProp2, index, propID, prop)); in GetProp_String()
361 RINOK(GetProp(getProp, getProp2, index, propID, prop)); in GetProp_RawData()
394 RINOK(getNumberOfFormats(&numFormats)); in LoadFormats()
[all …]
DBench.cpp892 RINOK(method.SetCoderProps(scp, &reduceSize)); in Init()
904 RINOK(writeCoderProps->WriteCoderProperties(propStream)); in Init()
912 RINOK(sp->CryptoSetPassword(_psw, sizeof(_psw))); in Init()
934 RINOK(_encoder->Code(inStream, crcStream, 0, 0, NULL)); in Init()
982 RINOK(cp->SetKey(_key, sizeof(_key))); in Encode()
983 RINOK(cp->SetInitVector(_iv, sizeof(_iv))); in Encode()
990 RINOK(printCallback->CheckBreak()); in Encode()
1003 RINOK(WriteStream(outStream, rgCopy.Buffer, kBufferSize)); in Encode()
1008 RINOK(_encoder->Code(inStream, outStream, NULL, NULL, progressInfo[0])); in Encode()
1063 RINOK(setCoderMt->SetNumberOfThreads(NumDecoderSubThreads)); in Decode()
[all …]
/external/lzma/CPP/7zip/Archive/7z/
D7zExtract.cpp93 RINOK(ExtractCallback->GetStream(_fileIndex, &realOutStream, askMode)); in OpenFile()
139 RINOK(OpenFile()); in ProcessEmptyFiles()
140 RINOK(CloseFile()); in ProcessEmptyFiles()
173 RINOK(CloseFile()); in Write()
174 RINOK(ProcessEmptyFiles()); in Write()
176 RINOK(result); in Write()
182 RINOK(ProcessEmptyFiles()); in Write()
195 RINOK(OpenFile()); in Write()
207 RINOK(CloseFile_and_SetResult(callbackOperationResult)); in FlushCorrupted()
211 RINOK(OpenFile(true)); in FlushCorrupted()
[all …]
D7zHandlerOut.cpp128 RINOK(PropsMethod_To_FullMethod(methodFull, oneMethodInfo)); in SetMainMethod()
167 RINOK(updateCallback->GetProperty(index, propID, &prop)); in GetTime()
312 RINOK(updateCallback->GetUpdateItemInfo(i, &newData, &newProps, &indexInArchive)); in UpdateItems()
351 RINOK(updateCallback->GetProperty(i, kpidAttrib, &prop)); in UpdateItems()
364 if (need_CTime) RINOK(GetTime(updateCallback, i, kpidCTime, ui.CTime, ui.CTimeDefined)); in UpdateItems()
365 if (need_ATime) RINOK(GetTime(updateCallback, i, kpidATime, ui.ATime, ui.ATimeDefined)); in UpdateItems()
366 if (need_MTime) RINOK(GetTime(updateCallback, i, kpidMTime, ui.MTime, ui.MTimeDefined)); in UpdateItems()
384 RINOK(updateCallback->GetProperty(i, kpidPath, &prop)); in UpdateItems()
398 RINOK(updateCallback->GetProperty(i, kpidIsDir, &prop)); in UpdateItems()
412 RINOK(updateCallback->GetProperty(i, kpidIsAnti, &prop)); in UpdateItems()
[all …]
D7zUpdate.cpp421 RINOK(inStream->Seek(position, STREAM_SEEK_SET, 0)); in WriteRange()
429 RINOK(copyCoder->Code(inStreamLimited, outStream, NULL, NULL, progress)); in WriteRange()
769 RINOK(CompareFileNames(u1.Name, u2.Name)); in CompareUpdateItems()
992 RINOK(AddBondForFilter(mode)); in AddBcj2Methods()
1219 RINOK(_opCallback->ReportOperation( in OpenFile()
1247 RINOK(_extractCallback->ReportExtractResult( in CloseFile()
1259 RINOK(OpenFile()); in ProcessEmptyFiles()
1260 RINOK(CloseFile()); in ProcessEmptyFiles()
1304 RINOK(CloseFile()); in Write()
1305 RINOK(ProcessEmptyFiles()); in Write()
[all …]
D7zDecode.cpp161 RINOK(_glob->Stream->Seek(_pos, STREAM_SEEK_SET, NULL)); in Read()
203 RINOK(_glob->Stream->Seek(_pos, STREAM_SEEK_SET, NULL)); in Read()
302 RINOK(_mixer->SetBindInfo(bindInfo)); in Decode()
315 RINOK(CreateCoder_Id( in Decode()
375 RINOK(setCoderMt->SetNumberOfThreads(numThreads)); in Decode()
385 RINOK(setMemLimit->SetMemLimit(memUsage)); in Decode()
403 RINOK(res); in Decode()
417 RINOK(getTextPassword->CryptoGetTextPassword(&passwordBSTR)); in Decode()
433 RINOK(cryptoSetPassword->CryptoSetPassword((const Byte *)buffer, (UInt32)buffer.Size())); in Decode()
445 RINOK(setFinishMode->SetFinishMode(BoolToInt(finishMode))); in Decode()
[all …]
/external/lzma/CPP/7zip/Archive/
DSplitHandler.cpp138 RINOK(volumeCallback->GetProperty(kpidName, &prop)); in Open2()
197 RINOK(stream->Seek(0, STREAM_SEEK_END, &size)); in Open2()
198 RINOK(stream->Seek(0, STREAM_SEEK_SET, NULL)); in Open2()
207 RINOK(callback->SetCompleted(&numFiles, NULL)); in Open2()
231 RINOK(nextStream->Seek(0, STREAM_SEEK_END, &size)); in Open2()
232 RINOK(nextStream->Seek(0, STREAM_SEEK_SET, NULL)); in Open2()
239 RINOK(callback->SetCompleted(&numFiles, NULL)); in Open2()
301 RINOK(extractCallback->SetTotal(_totalSize)); in Extract()
306 RINOK(extractCallback->GetStream(0, &outStream, askMode)); in Extract()
309 RINOK(extractCallback->PrepareOperation(askMode)); in Extract()
[all …]
DLzmaHandler.cpp134 RINOK(_lzmaDecoderSpec->SetDecoderProperties2(header.LzmaProps, 5)); in Code()
140 RINOK(_filterCoder->SetOutStream(outStream)); in Code()
142 RINOK(_filterCoder->SetOutStreamSize(NULL)); in Code()
160 RINOK(res); in Code()
364 RINOK(ReadStream(inStream, buf, &processedSize)); in Open()
373 RINOK(inStream->Seek(0, STREAM_SEEK_END, &_packSize)); in Open()
480 RINOK(extractCallback->GetStream(0, &realOutStream, askMode)); in Extract()
500 RINOK(_stream->Seek(0, STREAM_SEEK_SET, NULL)); in Extract()
507 RINOK(result); in Extract()
521 RINOK(lps->SetCur()); in Extract()
[all …]
DXzHandler.cpp114 RINOK(decoder.Decode(seqInStream, outStream, in Decode()
509 RINOK(inStream->Seek(0, STREAM_SEEK_END, &_stat.InSize)); in Open2()
512 RINOK(callback->SetTotal(NULL, &_stat.InSize)); in Open2()
617 RINOK(SRes_to_Open_HRESULT(res)); in Open2()
869 RINOK(_handlerSpec->SeekToPackPos(block.PackPos)); in Read()
870 RINOK(DecodeBlock(xz, _handlerSpec->_seqStream, block.StreamFlags, block.PackSize, in Read()
992 RINOK(extractCallback->SetCompleted(&currentTotalPacked)); in Extract()
998 RINOK(extractCallback->GetStream(0, &realOutStream, askMode)); in Extract()
1013 RINOK(_stream->Seek(0, STREAM_SEEK_SET, NULL)); in Extract()
1067 RINOK(updateCallback->GetUpdateItemInfo(0, &newData, &newProps, &indexInArchive)); in UpdateItems()
[all …]
/external/lzma/CPP/7zip/Bundles/SFXSetup/
DExtractCallbackSfx.cpp77 RINOK(ProgressDialog.Sync.ProcessStopAndPause()); in SetCompleted()
107 RINOK(_archiveHandler->GetProperty(index, kpidPath, &prop)); in GetStream()
122 RINOK(_archiveHandler->GetProperty(index, kpidAttrib, &prop)); in GetStream()
132 RINOK(_archiveHandler->GetProperty(index, kpidIsDir, &prop)); in GetStream()
138 RINOK(_archiveHandler->GetProperty(index, kpidIsAnti, &propTemp)); in GetStream()
143 RINOK(_archiveHandler->GetProperty(index, kpidMTime, &prop)); in GetStream()
240 RINOK(_outFileStreamSpec->Close()); in SetOperationResult()
/external/lzma/CPP/7zip/UI/Console/
DList.cpp455 RINOK(archive->GetNumberOfProperties(&numProps)); in AddMainProps()
461 RINOK(archive->GetPropertyInfo(i, &name, &propID, &vt)); in AddMainProps()
470 RINOK(getRawProps->GetNumRawProps(&numProps)); in AddRawProps()
475 RINOK(getRawProps->GetRawPropInfo(i, &name, &propID)); in AddRawProps()
578 RINOK(Arc->GetRawProps->GetRawProp(index, f.PropID, &data, &dataSize, &propType)); in PrintItemInfo()
636 RINOK(Arc->Archive->GetProperty(index, f.PropID, &prop)); in PrintItemInfo()
766 RINOK(archive->GetProperty(index, propID, &prop)); in GetUInt64Value()
777 RINOK(archive->GetProperty(index, kpidMTime, &prop)); in GetItemMTime()
900 RINOK(archive->GetArchiveProperty(propID, &prop)); in PrintArcProp()
953 RINOK(PrintArcProp(so, archive, kpidPhySize, NULL)); in Print_OpenArchive_Props()
[all …]
/external/lzma/CPP/7zip/Common/
DFilterCoder.cpp49 RINOK(Filter->Init()); in Init_and_Alloc()
70 RINOK(Init_and_Alloc()); in Code()
83 RINOK(ReadStream(inStream, _buf + pos, &processedSize)); in Code()
117 RINOK(WriteStream(outStream, _buf, size)); in Code()
124 RINOK(progress->SetRatioInfo(&nowPos64, &nowPos64)); in Code()
173 RINOK(res); in Flush2()
195 RINOK(Flush2()); in Write()
234 RINOK(Flush2()); in OutStreamFinish()
347 RINOK(res); in Read()
DStreamUtils.cpp21 RINOK(res); in ReadStream()
31 RINOK(ReadStream(stream, data, &processedSize)); in ReadStream_FALSE()
38 RINOK(ReadStream(stream, data, &processedSize)); in ReadStream_FAIL()
51 RINOK(res); in WriteStream()
DCreateCoder.cpp50 RINOK(codecsInfo->GetProperty(index, propID, &prop)); in ReadNumberOfStreams()
63 RINOK(codecsInfo->GetProperty(index, propID, &prop)); in ReadIsAssignedProp()
84 RINOK(GetCodecs->GetNumMethods(&num)); in Load()
90 RINOK(GetCodecs->GetProperty(i, NMethodPropID::kID, &prop)); in Load()
98 RINOK(GetCodecs->GetProperty(i, NMethodPropID::kName, &prop)); in Load()
104 RINOK(ReadNumberOfStreams(GetCodecs, i, NMethodPropID::kPackStreams, info.NumStreams)); in Load()
107 RINOK(ReadNumberOfStreams(GetCodecs, i, NMethodPropID::kUnpackStreams, numUnpackStreams)); in Load()
111RINOK(ReadIsAssignedProp(GetCodecs, i, NMethodPropID::kEncoderIsAssigned, info.EncoderIsAssigned)); in Load()
112RINOK(ReadIsAssignedProp(GetCodecs, i, NMethodPropID::kDecoderIsAssigned, info.DecoderIsAssigned)); in Load()
127 RINOK(GetHashers->GetHasherProp(i, NMethodPropID::kID, &prop)); in Load()
[all …]
/external/lzma/CPP/7zip/Archive/Common/
DCoderMixer2.cpp76 RINOK(getInStreamProcessedSize->GetInStreamProcessedSize(&processed)); in CheckDataAfterEnd()
100 RINOK(getInStreamProcessedSize2->GetInStreamProcessedSize2(i, &processed)); in CheckDataAfterEnd()
397 RINOK(GetInStream(inStreams, /* inSizes, */ startIndex + 0, &seqInStream2)); in GetInStream2()
398 RINOK(setStream->SetInStream(seqInStream2)); in GetInStream2()
413 RINOK(GetInStream(inStreams, /* inSizes, */ startIndex + i, &seqInStream2)); in GetInStream2()
414 RINOK(setStream2->SetInStream2(i, seqInStream2)); in GetInStream2()
453 RINOK(GetInStream2(inStreams, /* inSizes, */ in GetInStream()
538 RINOK(GetOutStream(outStreams, /* outSizes, */ startIndex + 0, &seqOutStream2)); in GetOutStream()
539 RINOK(setOutStream->SetOutStream(seqOutStream2)); in GetOutStream()
727 RINOK(GetInStream(inStreams, /* inSizes, */ startInIndex + i, &seqInStream)); in Code()
[all …]

123