Home
last modified time | relevance | path

Searched refs:srcBits (Results 1 – 13 of 13) sorted by relevance

/external/compiler-rt/lib/builtins/
Dfp_trunc_impl.inc45 const int srcBits = sizeof(src_t)*CHAR_BIT;
46 const int srcExpBits = srcBits - srcSigBits - 1;
119 const bool sticky = significand << (srcBits - shift);
133 const dst_rep_t result = absResult | sign >> (srcBits - dstBits);
Dfp_extend_impl.inc44 const int srcBits = sizeof(src_t)*CHAR_BIT;
45 const int srcExpBits = srcBits - srcSigBits - 1;
106 const dst_rep_t result = absResult | (dst_rep_t)sign << (dstBits - srcBits);
/external/deqp/modules/gles3/functional/
Des3fFboTestUtil.cpp1040 static int calculateU8ConversionError (int srcBits) in calculateU8ConversionError() argument
1042 if (srcBits > 0) in calculateU8ConversionError()
1044 const int clampedBits = de::clamp<int>(srcBits, 0, 8); in calculateU8ConversionError()
1071 static int getToSRGB8ConversionError (int srcBits) in getToSRGB8ConversionError() argument
1092 DE_ASSERT(srcBits >= 0); in getToSRGB8ConversionError()
1093 if (srcBits < DE_LENGTH_OF_ARRAY(errors)) in getToSRGB8ConversionError()
1094 return errors[srcBits]; in getToSRGB8ConversionError()
/external/mesa3d/src/gallium/drivers/radeon/
DAMDILISelLowering.cpp428 unsigned srcBits = DVT.isSimple() ? DVT.getScalarType().getSizeInBits() : 1; in LowerSIGN_EXTEND_INREG() local
429 unsigned shiftBits = srcBits - baseBits; in LowerSIGN_EXTEND_INREG()
430 if (srcBits < 32) { in LowerSIGN_EXTEND_INREG()
443 if (srcBits < 32) { in LowerSIGN_EXTEND_INREG()
/external/deqp/modules/gles31/functional/
Des31fFboTestUtil.cpp588 static int calculateU8ConversionError (int srcBits) in calculateU8ConversionError() argument
590 if (srcBits > 0) in calculateU8ConversionError()
592 const int clampedBits = de::clamp<int>(srcBits, 0, 8); in calculateU8ConversionError()
Des31fDrawBuffersIndexedTests.cpp446 const tcu::IVec4 srcBits = tcu::getTextureFormatBitDepth(sourceFormat); in getFixedPointFormatThreshold() local
449 …return Vec4(3.0f) / ((tcu::Vector<deUint64, 4>(1) << (tcu::min(srcBits, readBits).cast<deUint64>()… in getFixedPointFormatThreshold()
Des31fCopyImageTests.cpp1654 const tcu::IVec4 srcBits = tcu::getTextureFormatBitDepth(sourceFormat); in calculateThreshold() local
1657 …return Vec4(1.0f) / ((tcu::IVec4(1) << (tcu::min(srcBits, readBits))) - tcu::IVec4(1)).cast<float>… in calculateThreshold()
/external/llvm/lib/Support/
DAPInt.cpp2444 unsigned int srcBits, unsigned int srcLSB) in tcExtract() argument
2448 dstParts = (srcBits + integerPartWidth - 1) / integerPartWidth; in tcExtract()
2461 if (n < srcBits) { in tcExtract()
2462 integerPart mask = lowBitMask (srcBits - n); in tcExtract()
2465 } else if (n > srcBits) { in tcExtract()
2466 if (srcBits % integerPartWidth) in tcExtract()
2467 dst[dstParts - 1] &= lowBitMask (srcBits % integerPartWidth); in tcExtract()
/external/swiftshader/third_party/LLVM/lib/Support/
DAPInt.cpp2512 unsigned int srcBits, unsigned int srcLSB) in tcExtract() argument
2516 dstParts = (srcBits + integerPartWidth - 1) / integerPartWidth; in tcExtract()
2529 if (n < srcBits) { in tcExtract()
2530 integerPart mask = lowBitMask (srcBits - n); in tcExtract()
2533 } else if (n > srcBits) { in tcExtract()
2534 if (srcBits % integerPartWidth) in tcExtract()
2535 dst[dstParts - 1] &= lowBitMask (srcBits % integerPartWidth); in tcExtract()
/external/lz4/tests/
Dframetest.c596 … unsigned const srcBits = (FUZ_rand(&randState) % (FUZ_highbit((U32)(srcDataLength-1)) - 1)) + 1; in fuzzerTests() local
597 size_t const srcSize = (FUZ_rand(&randState) & ((1<<srcBits)-1)) + 1; in fuzzerTests()
/external/swiftshader/third_party/LLVM/include/llvm/ADT/
DAPInt.h1421 unsigned int srcBits, unsigned int srcLSB);
/external/llvm/include/llvm/ADT/
DAPInt.h1630 const integerPart *, unsigned int srcBits,
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp1804 static float calculateFloatConversionError (int srcBits) in calculateFloatConversionError() argument
1806 if (srcBits > 0) in calculateFloatConversionError()
1808 const int clampedBits = de::clamp<int>(srcBits, 0, 32); in calculateFloatConversionError()