/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/ |
H A D | vktShaderCommonFunctionTests.cpp | 106 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); in getUlpDiffIgnoreZeroSign() 108 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); in getUlpDiffIgnoreZeroSign() 624 m_spec.source = "out0 = sign(in0);"; in SignCase() 657 const deUint64 sign = static_cast<deUint64>(rnd.getUint32() & 0x1u); in infNanRandomFloats() local 661 const deUint64 value = (sign << (numMantissaBits + exponentBits)) | (exp << numMantissaBits) | static_cast<deUint32>(mantissa); in infNanRandomFloats() 1032 addFunctionCases<SignCase> (this, "sign", kIntOnly); in init()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/ |
H A D | ProgramPrelude.cpp | 168 void sign(); 543 sign()) 647 PROGRAM_PRELUDE_DECLARE(sign, 654 return metal::sign(x); 3550 sign(); in visitOperator()
|
/third_party/skia/third_party/externals/angle2/src/common/ |
H A D | mathutil.h | 197 unsigned int sign = (fp32i & 0x80000000) >> 16; in float32ToFloat16() local 206 return static_cast<uint16_t>(sign | 0x7C00); in float32ToFloat16() 222 return static_cast<unsigned short>(sign | (abs + 0x00000FFF + ((abs >> 13) & 1)) >> 13); in float32ToFloat16() 227 sign | (abs + 0xC8000000 + 0x00000FFF + ((abs >> 13) & 1)) >> 13); in float32ToFloat16()
|
/third_party/skia/third_party/externals/swiftshader/src/Pipeline/ |
H A D | SpirvShaderArithmetic.cpp | 182 auto sign = out & NthBit32(count - one); in EmitUnaryOp() local 183 auto sext = ~(sign - one); in EmitUnaryOp() 289 auto sign = src.Int(i) & SIMD::Int(0x80000000); in EmitUnaryOp() local 296 v = sign | (isInfOrNan & SIMD::Int(0x7F800000)) | (~isInfOrNan & v); in EmitUnaryOp() 362 // the sign from a but OpSMod is supposed to take the sign of b. in EmitBinaryOp() 363 // Adding b will ensure that the result has the correct sign and in EmitBinaryOp()
|
H A D | ShaderCore.cpp | 584 SIMD::UInt sign = floatBits & SIMD::UInt(0x80000000); in floatToHalfBits() local 604 return storeInUpperBits ? (sign | (fp16u << 16)) : ((sign >> 16) | fp16u); in floatToHalfBits() 647 // Both whole and frac will have the same sign as val. 652 auto sign = Sign(val); in Modf() local 653 auto whole = Floor(abs) * sign; in Modf() 654 auto frac = Frac(abs) * sign; in Modf()
|
/third_party/tzdata/ |
H A D | zdump.c | 999 char sign = ((off < 0 in format_utc_offset() local 1015 ? my_snprintf(buf, size, "%c%02ld%02d%02d", sign, hh, mm, ss) in format_utc_offset() 1017 ? my_snprintf(buf, size, "%c%02ld%02d", sign, hh, mm) in format_utc_offset() 1018 : my_snprintf(buf, size, "%c%02ld", sign, hh)); in format_utc_offset()
|
/third_party/protobuf/src/google/protobuf/util/internal/ |
H A D | protostream_objectsource.cc | 376 std::string sign = ""; in RenderDuration() local 385 sign = "-"; in RenderDuration() 389 sign = "-"; in RenderDuration() 393 "%s%lld%ss", sign.c_str(), static_cast<long long>(seconds), // NOLINT in RenderDuration()
|
H A D | protostream_objectwriter.cc | 1059 int sign = 1; in RenderDuration() local 1061 sign = -1; in RenderDuration() 1080 nanos = sign * nanos; in RenderDuration() 1082 int64 seconds = sign * unsigned_seconds; in RenderDuration()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/shaderexecutor/ |
H A D | vktShaderCommonFunctionTests.cpp | 106 return getUlpDiff(tcu::Float32::construct(tcu::Float32(b).sign(), 0, 0).asFloat(), b); in getUlpDiffIgnoreZeroSign() 108 return getUlpDiff(a, tcu::Float32::construct(tcu::Float32(a).sign(), 0, 0).asFloat()); in getUlpDiffIgnoreZeroSign() 620 : CommonFunctionCase (testCtx, getCommonFuncCaseName(baseType, precision).c_str(), "sign") in SignCase() 624 m_spec.source = "out0 = sign(in0);"; in SignCase() 657 const deUint64 sign = static_cast<deUint64>(rnd.getUint32() & 0x1u); in infNanRandomFloats() local 661 const deUint64 value = (sign << (numMantissaBits + exponentBits)) | (exp << numMantissaBits) | static_cast<deUint32>(mantissa); in infNanRandomFloats() 1028 addFunctionCases<SignCase> (this, "sign", kIntOnly); in init()
|
/third_party/ffmpeg/libavcodec/ |
H A D | ituh263dec.c | 274 int code, val, sign, shift; in ff_h263_decode_motion() local 282 sign = get_bits1(&s->gb); in ff_h263_decode_motion() 290 if (sign) in ff_h263_decode_motion() 312 int code = 0, sign; in h263p_decode_umotion() local 328 sign = code & 1; in h263p_decode_umotion() 331 code = (sign) ? (pred - code) : (pred + code); in h263p_decode_umotion()
|
/third_party/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/calendar/ |
H A D | CompatibilityTest.java | 150 for (int sign=0; sign<2; ++sign) { in TestMapping() 152 if (sign==0) julian = -julian; in TestMapping() 154 ms[sign] = millis; in TestMapping() 156 lim[sign] = fmt.format(cal.getTime()); in TestMapping()
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/calendar/ |
H A D | CompatibilityTest.java | 153 for (int sign=0; sign<2; ++sign) { in TestMapping() 155 if (sign==0) julian = -julian; in TestMapping() 157 ms[sign] = millis; in TestMapping() 159 lim[sign] = fmt.format(cal.getTime()); in TestMapping()
|
/third_party/icu/icu4c/source/test/intltest/ |
H A D | tztest.cpp | 1062 UChar sign = 0x002B; in formatOffset() local 1064 sign = 0x002D; in formatOffset() 1073 rv += (UChar)(sign); in formatOffset() 1107 UChar sign = 0x002B; in formatTZID() local 1109 sign = 0x002D; in formatTZID() 1119 rv += (UChar)(sign); in formatTZID()
|
/third_party/python/Modules/ |
H A D | _zoneinfo.c | 1609 // portable character set in the current locale, the plus-sign ( in parse_abbr() 1610 // '+' ) character, or the minus-sign ( '-' ) character. The std in parse_abbr() 1660 long sign = -1; in parse_tz_delta() local 1674 sign = 1; in parse_tz_delta() 1721 *total_seconds = sign * ((hours * 3600) + (minutes * 60) + seconds); in parse_tz_delta() 1856 // The time has the same format as offset except that no leading sign in parse_transition_time() 1869 int8_t sign = 1; in parse_transition_time() local 1873 sign = -1; in parse_transition_time() 1900 *(components[i]) = sign * buff; in parse_transition_time()
|
/third_party/python/Lib/test/ |
H A D | test_long.py | 121 # The sign of the number is also random. 145 # BASE). The sign bit is also random. 295 sign = 0 297 sign, x = 1, -x 303 return '-'[:sign] + \ 331 for sign in "", "+", "-": 333 ss = prefix + sign + s 335 if sign == "-" and v is not ValueError: 632 # sign and aligning are interdependent 695 self.assertRaises(ValueError, format, 3, "+c") # sign no [all...] |
/base/security/device_auth/deps_adapter/key_management_adapter/interfaces/ |
H A D | alg_defs.h | 173 SignFunc sign; member
|
/base/security/huks/interfaces/inner_api/huks_standard/main/include/ |
H A D | hks_type.h | 246 uint8_t sign[SHA256_SIGN_LEN]; member 258 * @brief hks secure sign auth info
|
/third_party/icu/icu4c/source/i18n/unicode/ |
H A D | timezone.h | 975 * @param sign Receives parsed sign, 1 for positive, -1 for negative. 981 static UBool parseCustomID(const UnicodeString& id, int32_t& sign, int32_t& hour, 1002 * @param negative sign of the offset, true for negative offset.
|
/third_party/icu/icu4j/main/tests/collate/src/com/ibm/icu/dev/test/collator/ |
H A D | CollationThaiTest.java | 113 int sign(int i ) { in sign() method in CollationThaiTest
|
/third_party/icu/ohos_icu4j/src/main/tests/ohos/global/icu/dev/test/collator/ |
H A D | CollationThaiTest.java | 116 int sign(int i ) { in sign() method in CollationThaiTest
|
/third_party/node/lib/ |
H A D | crypto.js | 219 sign: signOneShot,
|
/third_party/node/deps/icu-small/source/i18n/unicode/ |
H A D | timezone.h | 1006 * @param sign Receives parsed sign, 1 for positive, -1 for negative. 1012 static UBool parseCustomID(const UnicodeString& id, int32_t& sign, int32_t& hour, 1033 * @param negative sign of the offset, true for negative offset.
|
/third_party/node/deps/openssl/openssl/apps/ |
H A D | crl2pkcs7.c | 132 p7->d.sign = p7s; in crl2pkcs7_main()
|
/third_party/openssl/apps/ |
H A D | crl2pkcs7.c | 132 p7->d.sign = p7s; in crl2pkcs7_main()
|
/third_party/skia/third_party/externals/icu/source/i18n/unicode/ |
H A D | timezone.h | 926 * @param sign Receves parsed sign, 1 for positive, -1 for negative. 932 static UBool parseCustomID(const UnicodeString& id, int32_t& sign, int32_t& hour, 953 * @param negative sign of the offset, true for negative offset.
|