/third_party/spirv-tools/source/opt/ |
H A D | ir_builder.h | 334 // Creates an OpILessThan or OpULessThen instruction depending on the sign of 403 // depending on the |sign|. If |sign| is true then the value is added as a 404 // signed constant otherwise as an unsigned constant. If |sign| is false the 408 Instruction* GetIntConstant(T value, bool sign) { in GetIntConstant() argument 411 if (!sign) in GetIntConstant() 415 analysis::Integer int_type{32, sign}; in GetIntConstant()
|
/third_party/vk-gl-cts/framework/common/ |
H A D | tcuVectorUtil.hpp | 68 inline float sign (float f) { return (f < 0.0f) ? -1.0f : ((f > 0.0f) ? +1.0f : 0.0f); } in sign() function 87 inline float normalize (float f) { return sign(f); } in normalize() 477 TCU_DECLARE_VECTOR_UNARY_FUNC(sign, deFloatSign)
|
/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
H A D | napi_cert_utils.cpp | 814 int sign = 0;
in CertGetSerialNumberFromBigIntJSParams() local 815 if (napi_get_value_bigint_words(env, arg, &sign, &wordCount, reinterpret_cast<uint64_t *>(serialBuf)) != napi_ok ||
in CertGetSerialNumberFromBigIntJSParams() 816 sign > 0) {
in CertGetSerialNumberFromBigIntJSParams() 818 LOGE("can not get bigint value, sign = %d", sign); // sign 0 : positive, sign 1 : negative
in CertGetSerialNumberFromBigIntJSParams()
|
/kernel/linux/linux-5.10/arch/m68k/fpsp040/ |
H A D | round.S | 78 | If sign of fp number = 0 (positive), then add 1 to l. 82 tstb LOCAL_SGN(%a0) |check for sign 91 | If sign of fp number = 1 (negative), then add 1 to l. 95 tstb LOCAL_SGN(%a0) |check for sign 422 bsetb #7,LOCAL_EX(%a0) |sign extend if it is so 595 | correct sign.
|
/kernel/linux/linux-6.6/arch/m68k/fpsp040/ |
H A D | round.S | 78 | If sign of fp number = 0 (positive), then add 1 to l. 82 tstb LOCAL_SGN(%a0) |check for sign 91 | If sign of fp number = 1 (negative), then add 1 to l. 95 tstb LOCAL_SGN(%a0) |check for sign 422 bsetb #7,LOCAL_EX(%a0) |sign extend if it is so 595 | correct sign.
|
/kernel/linux/linux-5.10/include/math-emu/ |
H A D | op-4.h | 192 X##_s = _flo.bits.sign; \ 205 X##_s = _flo->bits.sign; \ 216 _flo.bits.sign = X##_s; \ 230 _flo->bits.sign = X##_s; \
|
/kernel/linux/linux-6.6/include/math-emu/ |
H A D | op-4.h | 192 X##_s = _flo.bits.sign; \ 205 X##_s = _flo->bits.sign; \ 216 _flo.bits.sign = X##_s; \ 230 _flo->bits.sign = X##_s; \
|
/kernel/linux/linux-6.6/drivers/net/wireless/ath/ath11k/ |
H A D | spectral.c | 713 u8 sign, tag; in ath11k_spectral_process_data() local 744 sign = FIELD_GET(SPECTRAL_TLV_HDR_SIGN, in ath11k_spectral_process_data() 746 if (sign != ATH11K_SPECTRAL_SIGNATURE) { in ath11k_spectral_process_data() 747 ath11k_warn(ab, "Invalid sign 0x%x at bytes %d\n", in ath11k_spectral_process_data() 748 sign, i); in ath11k_spectral_process_data()
|
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/ |
H A D | Makefile | 107 TEST_GEN_FILES += liburandom_read.so urandom_read sign-file 213 $(OUTPUT)/sign-file: ../../../../scripts/sign-file.c 590 $(OUTPUT)/sign-file \
|
/third_party/node/deps/v8/src/json/ |
H A D | json-parser.cc | 904 int sign = 1; in ParseJsonNumber() local 912 sign = -1; in ParseJsonNumber() 928 } else if (sign > 0) { in ParseJsonNumber() 954 return handle(Smi::FromInt(i * sign), isolate_); in ParseJsonNumber()
|
/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()
|
/kernel/linux/linux-5.10/fs/cifs/ |
H A D | sess.c | 217 vol.sign = ses->sign; in cifs_ses_add_channel() 270 * to sign packets before we generate the channel signing key in cifs_ses_add_channel() 271 * (we sign with the session key) in cifs_ses_add_channel() 337 if (ses->server->sign) in cifs_ssetup_hdr() 592 /* In particular we can examine sign flags */ in decode_ntlmssp_challenge() 636 if (server->sign) in build_ntlmssp_negotiate_blob() 704 if (ses->server->sign) in build_ntlmssp_auth_blob() 915 if (ses->server->sign) { in sess_establish_session() 1015 * can not sign i in sess_auth_lanman() [all...] |
/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()
|