Home
last modified time | relevance | path

Searched refs:sign (Results 1176 - 1200 of 1887) sorted by relevance

1...<<41424344454647484950>>...76

/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_test_blend.c85 type.floating ? "f" : (type.fixed ? "h" : (type.sign ? "s" : "u")), in write_tsv_row()
115 type.floating ? "f" : (type.fixed ? "h" : (type.sign ? "s" : "u")), in dump_blend_type()
628 /* float, fixed, sign, norm, width, len */
/third_party/node/deps/v8/src/bigint/
H A Dbigint.h242 // sign+magnitude. Their behavior depends on the sign of the inputs: negative
299 Status ToString(char* out, int* out_length, Digits X, int radix, bool sign);
342 int ToStringResultLength(Digits X, int radix, bool sign);
/third_party/python/Tools/scripts/
H A Ddeepfreeze.py321 sign = -1 if i < 0 else 0 if i == 0 else +1
333 self.object_var_head("PyLong_Type", sign*len(digits))
/third_party/protobuf/src/google/protobuf/
H A Dparse_context.cc395 // Protect against sign integer overflow in PushLimit. Limits are relative in ReadSizeFallback()
431 template <typename T, bool sign>
435 if (sign) { in VarintParser()
/third_party/skia/src/opts/
H A DSkRasterPipeline_opts.h1008 // Remember, a half is 1-5-10 (sign-exponent-mantissa) with 15 exponent bias. in from_half()
1029 // Remember, a float is 1-8-23 (sign-exponent-mantissa) with 127 exponent bias. in to_half()
1846 SI F strip_sign(F x, U32* sign) {
1848 *sign = bits & 0x80000000;
1849 return sk_bit_cast<F>(bits ^ *sign);
1852 SI F apply_sign(F x, U32 sign) {
1853 return sk_bit_cast<F>(sign | sk_bit_cast<U32>(x));
1858 U32 sign;
1859 v = strip_sign(v, &sign);
1863 return apply_sign(r, sign);
[all...]
/third_party/python/Lib/test/
H A Dtest_statistics.py31 def sign(x): function
112 approximately equal if they have the same sign (both positive or both
123 # This includes the case of two infinities with the same sign.
126 # This includes the case of two infinities of opposite sign, or
298 """Test that the helper function sign() works correctly."""
300 # Test that signed zeroes report their sign correctly.
301 self.assertEqual(sign(0.0), +1)
302 self.assertEqual(sign(-0.0), -1)
802 # Test sign is calculated correctly.
1280 """Check x is an infinity of the same type and sign a
[all...]
/third_party/node/deps/v8/src/execution/s390/
H A Dsimulator-s390.cc1920 // operands have the same sign in OverflowFromSigned()
1922 // and operands and result have different sign in OverflowFromSigned()
2404 // Test src1 and src2 have opposite sign,
2405 // (1) No overflow if they have opposite sign
2406 // (2) Test the result and one of the operands have opposite sign
2407 // (a) No overflow if they don't have opposite sign
3362 #define VECTOR_MULTIPLY_EVEN_ODD(r1, r2, r3, is_odd, sign) \
3365 VECTOR_MULTIPLY_EVEN_ODD_TYPE(r1, r2, r3, sign##int8_t, sign##int16_t, \
3370 VECTOR_MULTIPLY_EVEN_ODD_TYPE(r1, r2, r3, sign##int16_
[all...]
/third_party/vixl/src/aarch64/
H A Dlogic-aarch64.cc987 // If the signs of the operands are different, and the sign of the first in sub()
1944 // Simulate sign-extension.
4568 // Work around broken fma implementations for exact zero results: The sign of
4578 // 0.0, the sign of the result is the sign of op1 * op2 before rounding.
4634 // a and b are zero, and the sign differs: return +0.0.
4661 // a and b are zero, and the sign differs: return -0.0.
6208 uint32_t sign;
6211 sign = Float16Sign(op);
6213 sign
[all...]
/kernel/linux/linux-5.10/drivers/iio/adc/
H A Dat91-sama5d2_adc.c267 .sign = 'u', \
288 .sign = 's', \
308 .sign = 'u', \
323 .sign = 'u', \
1407 if (chan->scan_type.sign == 's') in at91_adc_read_info_raw()
/kernel/linux/linux-6.6/fs/smb/client/
H A Dsess.c576 ctx->sign = ses->sign; in cifs_ses_add_channel()
637 * to sign packets before we generate the channel signing key in cifs_ses_add_channel()
638 * (we sign with the session key) in cifs_ses_add_channel()
705 if (server->sign) in cifs_ssetup_hdr()
967 if (ses->server->sign && !(server_flags & NTLMSSP_NEGOTIATE_SIGN)) { in decode_ntlmssp_challenge()
980 /* In particular we can examine sign flags */ in decode_ntlmssp_challenge()
1412 if (server->sign) { in sess_establish_session()
/kernel/linux/linux-6.6/drivers/iio/adc/
H A Dat91-sama5d2_adc.c339 .sign = 'u', \
362 .sign = 's', \
384 .sign = 'u', \
401 .sign = 'u', \
1793 if (chan->scan_type.sign == 's') in at91_adc_read_info_raw()
/kernel/linux/linux-6.6/tools/lib/bpf/
H A Dbtf_dump.c1867 bool sign = encoding & BTF_INT_SIGNED; in btf_dump_int_data() local
1909 if (sign) in btf_dump_int_data()
1915 if (sign) in btf_dump_int_data()
1921 if (sign) in btf_dump_int_data()
1940 if (sign) in btf_dump_int_data()
/kernel/linux/linux-6.6/drivers/s390/crypto/
H A Dap_bus.c1102 char *np, sign; in modify_bitmap() local
1109 sign = *str++; in modify_bitmap()
1110 if (sign != '+' && sign != '-') in modify_bitmap()
1123 if (sign == '+') in modify_bitmap()
/third_party/ffmpeg/libavcodec/
H A Dwmavoice.c1189 if (s->aw_pulse_range == 24) { // 3 pulses, 1:sign + 3:index each in aw_pulse_set1()
1194 } else { // 4 pulses, 1:sign + 2:index each in aw_pulse_set1()
1352 float sign; in synth_block_fcb_acb() local
1355 sign = get_bits1(gb) ? 1.0 : -1.0; in synth_block_fcb_acb()
1358 fcb.y[fcb.n++] = sign; in synth_block_fcb_acb()
1362 fcb.y[fcb.n++] = (pos1 < pos2) ? -sign : sign; in synth_block_fcb_acb()
H A Don2avc.c231 int i, val, val1, val2, sign; in on2avc_decode_pairs() local
240 sign = 1 - (val1 < 0) * 2; in on2avc_decode_pairs()
241 val1 = sign * get_egolomb(gb); in on2avc_decode_pairs()
244 sign = 1 - (val2 < 0) * 2; in on2avc_decode_pairs()
245 val2 = sign * get_egolomb(gb); in on2avc_decode_pairs()
/third_party/libbpf/src/
H A Dbtf_dump.c1867 bool sign = encoding & BTF_INT_SIGNED; in btf_dump_int_data() local
1909 if (sign) in btf_dump_int_data()
1915 if (sign) in btf_dump_int_data()
1921 if (sign) in btf_dump_int_data()
1940 if (sign) in btf_dump_int_data()
/third_party/node/deps/v8/src/base/
H A Dieee754.cc440 * it also indicates the *sign* of the result.
1060 * asinh(x) = sign(x) * log [ |x| + sqrt(x*x+1) ]
1063 * := sign(x)*(log(x)+ln2)) for large |x|, else
1064 * := sign(x)*log(2|x|+1/(|x|+sqrt(x*x+1))) if|x|>2, else
1065 * := sign(x)*log1p(|x| + x^2/(1 + sqrt(1+x^2)))
1253 m = ((hy >> 31) & 1) | ((hx >> 30) & 2); /* 2*sign(x)+sign(y) */ in atan2()
1471 xsb = (hx >> 31) & 1; /* sign bit of x */ in exp()
2232 xsb = hx & 0x80000000; /* sign bit of x */ in expm1()
2343 uint32_t sign; in cbrt() local
[all...]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/binding_model/
H A DvktBindingDescriptorUpdateTests.cpp836 float sign = 1.0f; in iterate() local
860 bufferContents[b][offset++] = sign * counter; in iterate()
872 // All three channels have been filled in. Switch a sign or increase the counter. in iterate()
876 if (sign == 1.0f) in iterate()
878 sign = -1.0f; in iterate()
882 sign = 1.0f; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/clipping/
H A DvktClippingTests.cpp1545 // Two sets of identical primitives, but with a different ClipDistance sign. in testComplementarity()
1548 const float sign = (setNdx == 0 ? 1.0f : -1.0f); in testComplementarity() local
1555 const Vec4 p0 = Vec4(x, -1.0f, 0.0f, sign * clipDistances[ndxBase + 0]); in testComplementarity()
1556 const Vec4 p1 = Vec4(x, 1.0f, 0.0f, sign * clipDistances[ndxBase + 1]); in testComplementarity()
1557 const Vec4 p2 = Vec4(x + dx, 1.0f, 0.0f, sign * clipDistances[ndxBase + 2]); in testComplementarity()
1558 const Vec4 p3 = Vec4(x + dx, -1.0f, 0.0f, sign * clipDistances[ndxBase + 3]); in testComplementarity()
1573 log << tcu::TestLog::Message << "Draw two sets of primitives with blending, differing only with ClipDistance sign." << tcu::TestLog::EndMessage in testComplementarity()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/binding_model/
H A DvktBindingDescriptorUpdateTests.cpp836 float sign = 1.0f; in iterate() local
860 bufferContents[b][offset++] = sign * counter; in iterate()
872 // All three channels have been filled in. Switch a sign or increase the counter. in iterate()
876 if (sign == 1.0f) in iterate()
878 sign = -1.0f; in iterate()
882 sign = 1.0f; in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/clipping/
H A DvktClippingTests.cpp1545 // Two sets of identical primitives, but with a different ClipDistance sign. in testComplementarity()
1548 const float sign = (setNdx == 0 ? 1.0f : -1.0f); in testComplementarity() local
1555 const Vec4 p0 = Vec4(x, -1.0f, 0.0f, sign * clipDistances[ndxBase + 0]); in testComplementarity()
1556 const Vec4 p1 = Vec4(x, 1.0f, 0.0f, sign * clipDistances[ndxBase + 1]); in testComplementarity()
1557 const Vec4 p2 = Vec4(x + dx, 1.0f, 0.0f, sign * clipDistances[ndxBase + 2]); in testComplementarity()
1558 const Vec4 p3 = Vec4(x + dx, -1.0f, 0.0f, sign * clipDistances[ndxBase + 3]); in testComplementarity()
1573 log << tcu::TestLog::Message << "Draw two sets of primitives with blending, differing only with ClipDistance sign." << tcu::TestLog::EndMessage in testComplementarity()
/third_party/toybox/porting/liteos_a/toys/posix/
H A Dps.c598 int pad, len, width = TT.width, abslen, sign, olen, extra = 0; in show_ps() local
616 sign = field->len<0 ? -1 : 1; in show_ps()
632 pad *= sign; in show_ps()
635 if (!field->next && sign<0) { in show_ps()
641 if (olen>len && len>1 && sign<0) { in show_ps()
/third_party/toybox/toys/posix/
H A Dps.c641 int pad, len, width = TT.width, abslen, sign, olen, extra = 0; in show_ps() local
659 sign = field->len<0 ? -1 : 1; in show_ps()
675 pad *= sign; in show_ps()
678 if (!field->next && sign<0) { in show_ps()
684 if (olen>len && len>1 && sign<0) { in show_ps()
/third_party/python/Modules/
H A D_datetimemodule.c153 /* k = i+j overflows iff k differs in sign from both inputs,
154 * iff k^i has sign bit set and k^j has sign bit set,
155 * iff (k^i)&(k^j) has sign bit set.
1457 * sign HH sep MM [sep SS [. UUUUUU]]
1467 char sign; in format_utcoffset() local
1481 sign = '-'; in format_utcoffset()
1487 sign = '+'; in format_utcoffset()
1496 PyOS_snprintf(buf, buflen, "%c%02d%s%02d%s%02d.%06d", sign, in format_utcoffset()
1501 PyOS_snprintf(buf, buflen, "%c%02d%s%02d%s%02d", sign, hour in format_utcoffset()
3984 char sign; timezone_str() local
[all...]
/base/security/device_auth/test/unittest/tdd_framework/unit_test/services/frameworks/os_account_adapter/
H A Dos_account_adapter_test.cpp191 ret = GetLoaderInstance()->sign(&keyAliasParams, &messageBuff, P256, &signature); in GetAsyCredentialJson()

Completed in 74 milliseconds

1...<<41424344454647484950>>...76