Home
last modified time | relevance | path

Searched refs:sign (Results 126 - 150 of 1081) sorted by relevance

12345678910>>...44

/third_party/node/test/parallel/
H A Dtest-crypto-binary-default.js435 .sign(keyPem, 'base64');
444 .sign(keyPem); // binary
453 .sign(keyPem, 'buffer');
627 const rsaSignature = rsaSign.sign(rsaKeyPem, 'hex');
652 const sign = crypto.createSign('SHA256');
653 sign.update(input);
655 const output = sign.sign(privateKey, 'hex');
676 const sign = crypto.createSign('SHA1');
677 sign
[all...]
/third_party/musl/src/math/
H A Dtanh.c11 int sign; in tanh() local
15 sign = u.i >> 63; in tanh()
44 return sign ? -t : t; in tanh()
H A Dtanhf.c7 int sign; in tanhf() local
11 sign = u.i >> 31; in tanhf()
38 return sign ? -t : t; in tanhf()
/third_party/musl/src/stdlib/
H A Dfcvt.c6 char *fcvt(double x, int n, int *dp, int *sign) in fcvt() argument
18 *sign = i; in fcvt()
24 return ecvt(x, n-lz, dp, sign); in fcvt()
/third_party/musl/porting/liteos_a/kernel/src/math/
H A Dtanh.c11 int sign; in tanh() local
15 sign = u.i >> 63; in tanh()
44 return sign ? -t : t; in tanh()
H A Dtanhf.c7 int sign; in tanhf() local
11 sign = u.i >> 31; in tanhf()
38 return sign ? -t : t; in tanhf()
/third_party/python/Modules/_decimal/libmpdec/
H A Dnumbertheory.h50 mpd_uint_t _mpd_getkernel(mpd_uint_t n, int sign, int modnum);
51 struct fnt_params *_mpd_init_fnt_params(mpd_size_t n, int sign, int modnum);
52 void _mpd_init_w3table(mpd_uint_t w3table[3], int sign, int modnum);
/third_party/python/Modules/_decimal/tests/
H A Dbignum.py21 sign = 1
23 sign = -1
30 ans = hash_ if sign == 1 else -hash_
/third_party/ffmpeg/libavcodec/
H A Dget_bits.h101 * Will return the next num bits and do sign extension.
317 * Read MPEG-1 dc-style VLC (sign bit + mantissa with no MSB).
325 int sign = ~cache >> 31; in get_xbits() local
328 return ((((uint32_t)(sign ^ cache)) >> (32 - n)) ^ sign) - sign; in get_xbits()
330 register int sign; in get_xbits()
336 sign = ~cache >> 31; in get_xbits()
339 return (NEG_USR32(sign ^ cache, n) ^ sign) in get_xbits()
346 register int sign; get_xbits_le() local
[all...]
H A Dg726.c45 uint8_t sign; /**< 1 bit sign */ member
52 f->sign = (i < 0); in i2f()
53 if (f->sign) in i2f()
67 return (f1->sign ^ f2->sign) ? -res : res; in mult()
164 int sign, exp, i, dln; in quant() local
166 sign = i = 0; in quant()
168 sign = 1; in quant()
177 if (sign) in quant()
[all...]
H A Daacdec.c112 unsigned sign, const float *scale) in VMUL2S()
117 s0.i ^= sign >> 1 << 31; in VMUL2S()
118 s1.i ^= sign << 31; in VMUL2S()
129 unsigned sign, const float *scale) in VMUL4S()
135 t.i = s.i ^ (sign & 1U<<31); in VMUL4S()
138 sign <<= nz & 1; nz >>= 1; in VMUL4S()
139 t.i = s.i ^ (sign & 1U<<31); in VMUL4S()
142 sign <<= nz & 1; nz >>= 1; in VMUL4S()
143 t.i = s.i ^ (sign & 1U<<31); in VMUL4S()
146 sign << in VMUL4S()
111 VMUL2S(float *dst, const float *v, unsigned idx, unsigned sign, const float *scale) VMUL2S() argument
128 VMUL4S(float *dst, const float *v, unsigned idx, unsigned sign, const float *scale) VMUL4S() argument
[all...]
H A Daacdec_fixed.c127 static inline int *DEC_UPAIR(int *dst, unsigned idx, unsigned sign) in DEC_UPAIR() argument
129 dst[0] = (idx & 15) * (1 - (sign & 0xFFFFFFFE)); in DEC_UPAIR()
130 dst[1] = (idx >> 4 & 15) * (1 - ((sign & 1) * 2)); in DEC_UPAIR()
135 static inline int *DEC_UQUAD(int *dst, unsigned idx, unsigned sign) in DEC_UQUAD() argument
139 dst[0] = (idx & 3) * (1 + (((int)sign >> 31) * 2)); in DEC_UQUAD()
140 sign <<= nz & 1; in DEC_UQUAD()
142 dst[1] = (idx >> 2 & 3) * (1 + (((int)sign >> 31) * 2)); in DEC_UQUAD()
143 sign <<= nz & 1; in DEC_UQUAD()
145 dst[2] = (idx >> 4 & 3) * (1 + (((int)sign >> 31) * 2)); in DEC_UQUAD()
146 sign << in DEC_UQUAD()
[all...]
H A Dapedec.c867 /** Get inverse sign of integer (-1 for positive, 1 for negative and 0 for zero) */
903 int32_t predictionA, predictionB, sign; in filter_3800() local
925 sign = APESIGN(decoded); in filter_3800()
926 p->coeffsA[filter][0] += (((d0 >> 30) & 2) - 1) * sign; in filter_3800()
927 p->coeffsA[filter][1] += (((d1 >> 28) & 8) - 4) * sign; in filter_3800()
928 p->coeffsA[filter][2] += (((d2 >> 28) & 8) - 4) * sign; in filter_3800()
933 sign = APESIGN(p->lastA[filter]); in filter_3800()
934 p->coeffsB[filter][0] += (((d3 >> 29) & 4) - 2) * sign; in filter_3800()
935 p->coeffsB[filter][1] -= (((d4 >> 30) & 2) - 1) * sign; in filter_3800()
946 int32_t dotprod, sign; in long_filter_high_3800() local
972 int32_t dotprod, sign; long_filter_ehigh_3830() local
1094 int32_t predictionA, sign; predictor_update_3930() local
1177 int32_t sign; predictor_update_filter() local
1260 int32_t predictionA, currentA, A, sign; predictor_decode_mono_3950() local
[all...]
H A Dbink.c358 int t, sign, v; in read_motion_values() local
372 sign = -get_bits1(gb); in read_motion_values()
373 v = (v ^ sign) - sign; in read_motion_values()
381 sign = -get_bits1(gb); in read_motion_values()
382 v = (v ^ sign) - sign; in read_motion_values()
461 int t, sign, v; in read_colors() local
477 sign = ((int8_t) v) >> 7; in read_colors()
478 v = ((v & 0x7F) ^ sign) in read_colors()
507 int i, j, len, len2, bsize, sign, v, v2; read_dcs() local
648 int i, t, bits, ccoef, mode, sign; read_dct_coeffs() local
762 int i, sign, mask, ccoef, mode; read_residue() local
[all...]
/third_party/optimized-routines/math/test/rtest/
H A Ddotest.c75 int sign = (hl >> 63) ? -1 : +1; in set_mpfr_d() local
78 mpfr_set_inf(x, sign); in set_mpfr_d()
83 mpfr_setsign(x, x, sign < 0, GMP_RNDN); in set_mpfr_d()
89 mpfr_set_sj_2exp(x, mantissa * sign, (int)exp - 0x3ff - 52, GMP_RNDN); in set_mpfr_d()
96 int sign = (f >> 31) ? -1 : +1; in set_mpfr_f() local
99 mpfr_set_inf(x, sign); in set_mpfr_f()
104 mpfr_setsign(x, x, sign < 0, GMP_RNDN); in set_mpfr_f()
110 mpfr_set_sj_2exp(x, mantissa * sign, (int)exp - 0x7f - 23, GMP_RNDN); in set_mpfr_f()
137 uint32_t sign, expfield, mantfield; in get_mpfr_d() local
148 sign in get_mpfr_d()
201 uint32_t sign, expfield, mantfield; get_mpfr_f() local
336 int sign; test_lgamma() local
835 int sign, eptr; float32_case() local
963 int sign, eptr; float64_case() local
1249 uint32 sign = random_sign; log1p_cases() local
1260 uint32 sign = random_sign; log1p_cases_float() local
[all...]
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_test_main.c50 type.sign ? (type.floating || type.fixed ? "" : "s") : "u", in dump_type()
78 if(type.sign) { in read_elem()
125 if(!type.sign && value < 0.0) in write_elem()
146 if(type.sign) { in write_elem()
205 else if (type.sign) in random_elem()
210 if (!type.fixed && !type.sign && type.width == 32) { in random_elem()
220 if(type.sign) in random_elem()
314 if(type.sign && !type.norm) { in dump_vec()
/third_party/optimized-routines/math/
H A Derf.c37 /* Get top word and sign. */ in erf()
40 uint32_t sign = ix >> 31; in erf() local
106 if (sign) in erf()
136 if (sign) in erf()
168 if (sign) in erf()
196 if (sign) in erf()
228 if (sign) in erf()
237 return (double) (1.0 - (sign << 1)) + 1.0 / x; in erf()
239 if (sign) in erf()
/third_party/ffmpeg/libavcodec/mips/
H A Dvp3dsp_idct_msa.c28 v8i16 r0, r1, r2, r3, r4, r5, r6, r7, sign; in idct_msa() local
53 sign = __msa_clti_s_h(r0, 0); in idct_msa()
54 r0_r = (v4i32) __msa_ilvr_h(sign, r0); in idct_msa()
55 r0_l = (v4i32) __msa_ilvl_h(sign, r0); in idct_msa()
56 sign = __msa_clti_s_h(r1, 0); in idct_msa()
57 r1_r = (v4i32) __msa_ilvr_h(sign, r1); in idct_msa()
58 r1_l = (v4i32) __msa_ilvl_h(sign, r1); in idct_msa()
59 sign = __msa_clti_s_h(r2, 0); in idct_msa()
60 r2_r = (v4i32) __msa_ilvr_h(sign, r2); in idct_msa()
61 r2_l = (v4i32) __msa_ilvl_h(sign, r in idct_msa()
[all...]
/third_party/alsa-lib/src/pcm/
H A Dpcm_linear.c55 int src_endian, dst_endian, sign, src_width, dst_width; in snd_pcm_linear_convert_index() local
57 sign = (snd_pcm_format_signed(src_format) != in snd_pcm_linear_convert_index()
75 return src_width * 32 + src_endian * 16 + sign * 8 + dst_width * 2 + dst_endian; in snd_pcm_linear_convert_index()
80 int sign, width, pwidth, endian; in snd_pcm_linear_get_index() local
81 sign = (snd_pcm_format_signed(src_format) != in snd_pcm_linear_get_index()
102 return width * 4 + endian * 2 + sign + 20; in snd_pcm_linear_get_index()
108 return width * 4 + endian * 2 + sign; in snd_pcm_linear_get_index()
114 int sign, width, pwidth, endian; in snd_pcm_linear_put_index() local
115 sign = (snd_pcm_format_signed(src_format) != in snd_pcm_linear_put_index()
136 return width * 4 + endian * 2 + sign in snd_pcm_linear_put_index()
[all...]
/third_party/node/deps/v8/src/bigint/
H A Dtostring.cc121 ToStringFormatter(Digits X, int radix, bool sign, char* out, in ToStringFormatter() argument
125 sign_(sign), in ToStringFormatter()
550 bool sign) {
552 ToStringImpl(out, out_length, X, radix, sign, use_fast_algorithm);
557 int radix, bool sign, bool fast) {
561 ToStringFormatter formatter(X, radix, sign, out, *out_length, this);
581 bool sign) {
583 impl->ToString(out, out_length, X, radix, sign);
587 int ToStringResultLength(Digits X, int radix, bool sign) {
592 result = DIV_CEIL(bit_length, bits_per_char) + sign;
[all...]
/third_party/node/deps/openssl/openssl/crypto/ec/
H A Decp_nistp521.c944 limb is_p, is_greater, sign; in felem_contract() local
1036 sign = -(out[0] >> 63); in felem_contract()
1037 out[0] += (two58 & sign); in felem_contract()
1038 out[1] -= (1 & sign); in felem_contract()
1039 sign = -(out[1] >> 63); in felem_contract()
1040 out[1] += (two58 & sign); in felem_contract()
1041 out[2] -= (1 & sign); in felem_contract()
1042 sign = -(out[2] >> 63); in felem_contract()
1043 out[2] += (two58 & sign); in felem_contract()
1044 out[3] -= (1 & sign); in felem_contract()
1592 u8 sign, digit; batch_mul() local
[all...]
/third_party/openssl/crypto/ec/
H A Decp_nistp521.c944 limb is_p, is_greater, sign; in felem_contract() local
1036 sign = -(out[0] >> 63); in felem_contract()
1037 out[0] += (two58 & sign); in felem_contract()
1038 out[1] -= (1 & sign); in felem_contract()
1039 sign = -(out[1] >> 63); in felem_contract()
1040 out[1] += (two58 & sign); in felem_contract()
1041 out[2] -= (1 & sign); in felem_contract()
1042 sign = -(out[2] >> 63); in felem_contract()
1043 out[2] += (two58 & sign); in felem_contract()
1044 out[3] -= (1 & sign); in felem_contract()
1592 u8 sign, digit; batch_mul() local
[all...]
/third_party/musl/src/locale/
H A Dstrtod_l.c137 int sign = 1; in strtod_l() local
147 sign -= 2 * (*tmp_s == '-'); in strtod_l()
155 if (!p) return sign * INFINITY; in strtod_l()
161 return sign * INFINITY; in strtod_l()
167 return sign * res; in strtod_l()
/third_party/node/deps/v8/src/numbers/
H A Dconversions.cc352 Sign sign() { return sign_; } in sign() function
402 // Ignore leading sign; skip following spaces. in DetectRadixInternal()
516 // GetResult() will take care of the sign bit, so ignore it for now. in HandlePowerOfTwoCase()
676 Sign sign = Sign::kNone; in InternalStringToDouble() local
679 // Ignore leading sign. in InternalStringToDouble()
682 sign = Sign::kPositive; in InternalStringToDouble()
686 sign = Sign::kNegative; in InternalStringToDouble()
700 return (sign == Sign::kNegative) ? -V8_INFINITY : V8_INFINITY; in InternalStringToDouble()
706 if (current == end) return SignedZero(sign == Sign::kNegative); in InternalStringToDouble()
713 if (current == end || !isDigit(*current, 16) || sign ! in InternalStringToDouble()
1062 int sign; DoubleToCString() local
1150 int sign; DoubleToFixedCString() local
1239 int sign; DoubleToExponentialCString() local
1283 int sign; DoubleToPrecisionCString() local
[all...]
/third_party/mesa3d/src/gallium/auxiliary/gallivm/
H A Dlp_bld_pack.c423 if(dst_type.sign && src_type.sign) { in lp_build_unpack2()
424 /* Replicate the sign bit in the most significant bits */ in lp_build_unpack2()
476 if(dst_type.sign && src_type.sign) { in lp_build_unpack2_native()
477 /* Replicate the sign bit in the most significant bits */ in lp_build_unpack2_native()
596 if (dst_type.sign) { in lp_build_pack2()
604 if (dst_type.sign) { in lp_build_pack2()
615 if (dst_type.sign) { in lp_build_pack2()
746 if (dst_type.sign) { in lp_build_pack2_native()
[all...]

Completed in 21 milliseconds

12345678910>>...44