Lines Matching refs:res
288 static void ParseUInt32(const CParser &parser, unsigned index, UInt32 &res)
291 res = GetNumber(parser[index].PostStrings[0]);
295 static int Error_HRESULT(const char *s, HRESULT res)
297 if (res == E_ABORT)
305 if (res == E_OUTOFMEMORY)
310 if (res == E_INVALIDARG)
317 ConvertUInt32ToHex((UInt32)res, temp);
446 HRESULT res = BenchCon(props2, numIterations, stdout);
448 if (res == S_OK)
450 return Error_HRESULT("Benchmark error", res);
583 int res = Lzma86_Encode(outBuffer, &outSize, inBuffer, inSize,
586 if (res != 0)
588 PrintError_int("Encode error", (int)res);
609 int res = Lzma86_Decode(outBuffer, &outSize, inBuffer, &inSize);
613 if (res != 0)
615 PrintError_int("Decode error", (int)res);
707 HRESULT res = encoderSpec->SetCoderProperties(propIDs, props, numProps);
708 if (res != S_OK)
709 return Error_HRESULT("incorrect encoder properties", res);
729 res = encoder->Code(inStream, outStream, NULL, NULL, progress);
733 if (res != S_OK)
734 return Error_HRESULT("Encoding error", res);
763 HRESULT res = decoder->Code(inStream, outStream, NULL, unpackSizeDefined ? &unpackSize : NULL, progress);
767 if (res != S_OK)
769 if (res == S_FALSE)
774 return Error_HRESULT("Decoding error", res);