Home
last modified time | relevance | path

Searched refs:srcBits (Results 1 – 21 of 21) 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/skia/docs/
Dillustrations.bmh596 SkBitmap srcBits;
597 srcBits.allocN32Pixels(80, 84);
598 SkCanvas srcCanvas(srcBits);
603 srcBits.eraseColor(0);
614 canvas->drawBitmap(srcBits, 0, 0, &srcPaint);
769 SkBitmap srcBits;
770 srcBits.allocN32Pixels(80, 84);
771 SkCanvas srcCanvas(srcBits);
776 srcBits.eraseColor(0);
784 canvas->drawBitmap(srcBits, 0, 0, &srcPaint);
/external/skqp/docs/
Dillustrations.bmh596 SkBitmap srcBits;
597 srcBits.allocN32Pixels(80, 84);
598 SkCanvas srcCanvas(srcBits);
603 srcBits.eraseColor(0);
614 canvas->drawBitmap(srcBits, 0, 0, &srcPaint);
769 SkBitmap srcBits;
770 srcBits.allocN32Pixels(80, 84);
771 SkCanvas srcCanvas(srcBits);
776 srcBits.eraseColor(0);
784 canvas->drawBitmap(srcBits, 0, 0, &srcPaint);
/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/deqp/modules/gles31/functional/
Des31fFboTestUtil.cpp594 static int calculateU8ConversionError (int srcBits) in calculateU8ConversionError() argument
596 if (srcBits > 0) in calculateU8ConversionError()
598 const int clampedBits = de::clamp<int>(srcBits, 0, 8); in calculateU8ConversionError()
Des31fShaderFramebufferFetchTests.cpp156 const tcu::IVec4 srcBits = tcu::getTextureFormatBitDepth(sourceFormat); in getFixedPointFormatThreshold() local
159 …return tcu::Vec4(3.0f) / ((tcu::Vector<deUint64, 4>(1) << (tcu::min(srcBits, readBits).cast<deUint… in getFixedPointFormatThreshold()
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-7.0/llvm/lib/Support/
DAPInt.cpp2267 unsigned srcBits, unsigned srcLSB) { in tcExtract() argument
2268 unsigned dstParts = (srcBits + APINT_BITS_PER_WORD - 1) / APINT_BITS_PER_WORD; in tcExtract()
2281 if (n < srcBits) { in tcExtract()
2282 WordType mask = lowBitMask (srcBits - n); in tcExtract()
2285 } else if (n > srcBits) { in tcExtract()
2286 if (srcBits % APINT_BITS_PER_WORD) in tcExtract()
2287 dst[dstParts - 1] &= lowBitMask (srcBits % APINT_BITS_PER_WORD); 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/swiftshader/third_party/llvm-subzero/lib/Support/
DAPInt.cpp2418 unsigned int srcBits, unsigned int srcLSB) in tcExtract() argument
2422 dstParts = (srcBits + integerPartWidth - 1) / integerPartWidth; in tcExtract()
2435 if (n < srcBits) { in tcExtract()
2436 integerPart mask = lowBitMask (srcBits - n); in tcExtract()
2439 } else if (n > srcBits) { in tcExtract()
2440 if (srcBits % integerPartWidth) in tcExtract()
2441 dst[dstParts - 1] &= lowBitMask (srcBits % integerPartWidth); in tcExtract()
/external/python/cpython2/Mac/Modules/qd/
D_Qdmodule.c3200 BitMapPtr srcBits; in Qd_CopyBits() local
3210 BMObj_Convert, &srcBits, in Qd_CopyBits()
3217 CopyBits(srcBits, in Qd_CopyBits()
3231 BitMapPtr srcBits; in Qd_CopyMask() local
3241 BMObj_Convert, &srcBits, in Qd_CopyMask()
3248 CopyMask(srcBits, in Qd_CopyMask()
3705 BitMapPtr srcBits; in Qd_StdBits() local
3714 BMObj_Convert, &srcBits, in Qd_StdBits()
3720 StdBits(srcBits, in Qd_StdBits()
4806 BitMapPtr srcBits; in Qd_CopyDeepMask() local
[all …]
/external/lz4/tests/
Dframetest.c794 … unsigned const srcBits = (FUZ_rand(&randState) % (FUZ_highbit((U32)(srcDataLength-1)) - 1)) + 1; in fuzzerTests() local
795 size_t const srcSize = (FUZ_rand(&randState) & ((1<<srcBits)-1)) + 1; in fuzzerTests()
/external/deqp/framework/common/
DtcuCompressedTexture.cpp1408 inline deInt32 signExtend (deInt32 value, deInt32 srcBits, deInt32 dstBits) in signExtend() argument
1410 deUint32 sign = value & (1 << (srcBits - 1)); in signExtend()
1415 deInt32 extendedBits = 0xffffffff << srcBits; in signExtend()
/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/swiftshader/third_party/llvm-subzero/include/llvm/ADT/
DAPInt.h1608 const integerPart *, unsigned int srcBits,
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ADT/
DAPInt.h1842 const WordType *, unsigned srcBits,
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCopiesAndBlittingTests.cpp1918 static float calculateFloatConversionError (int srcBits) in calculateFloatConversionError() argument
1920 if (srcBits > 0) in calculateFloatConversionError()
1922 const int clampedBits = de::clamp<int>(srcBits, 0, 32); in calculateFloatConversionError()