Searched refs:sign (Results 1 - 25 of 672) sorted by relevance

1234567891011>>

/external/vboot_reference/tests/
H A Dexternal_rsa_signer.sh5 echo "Reads data to sign from stdin, encrypted data is output to stdout"
9 openssl rsautl -sign -inkey $1
/external/eigen/doc/snippets/
H A DCwise_sign.cpp2 cout << v.sign() << endl;
/external/pdfium/third_party/bigint/
H A DBigInteger.cc13 // Copy sign
14 sign = x.sign;
24 sign = zero;
28 // If the magnitude is zero, force the sign to zero.
29 sign = mag.isZero() ? zero : s;
33 * that the sign is a valid member of the enumeration. Oh well. */
43 sign = zero;
47 // If the magnitude is zero, force the sign to zero.
48 sign
[all...]
H A DBigInteger.hh16 * A BigInteger is just an aggregate of a BigUnsigned and a sign. (It is no
29 // Enumeration for the sign of a BigInteger.
33 Sign sign; member in class:BigInteger
38 BigInteger() : sign(zero), mag() {}
41 BigInteger(const BigInteger &x) : sign(x.sign), mag(x.mag) {};
46 // Constructor that copies from a given array of blocks with a sign.
51 sign = mag.isZero() ? zero : positive;
54 // Constructor from a BigUnsigned and a sign
59 sign
[all...]
/external/crcalc/src/com/hp/creals/
H A DStringFloatRep.java42 sign = s;
48 * The sign associated with this approximation. May be -1, _1, or zero.
50 public int sign; field in class:StringFloatRep
66 * Produce a textual representation including the sign and exponent.
70 (sign < 0? "-" : "") + mantissa + "E" + Integer.toString(exponent)
/external/deqp/framework/delibs/debase/
H A DdeFloat16.c30 deUint32 sign; local
40 sign = (x.u >> 16u) & 0x00008000u;
49 return (deFloat16) sign;
64 return (deFloat16) (sign | mantissa);
71 return (deFloat16) (sign | 0x7c00u);
77 return (deFloat16) (sign | 0x7c00u | mantissa | (mantissa == 0u));
95 return (deFloat16) (sign | 0x7c00u);
98 return (deFloat16) (sign | ((deUint32)expotent << 10u) | (mantissa >> 13u));
145 deUint32 sign; /* sign local
261 deUint32 sign; local
[all...]
H A DdeMathTest.c76 int sign; local
84 for (sign = -1; sign < 1; ++sign)
88 const deInt64 x = (deInt64)(sign == -1 ? (-1) : (+1)) * (1LL << (deInt64)numBits) + (deInt64)delta;
/external/nanopb-c/examples/using_double_on_avr/
H A Ddouble_conversion.c12 * Single precision: sign, 8-bit exp, 23-bit frac.
13 * Double precision: sign, 11-bit exp, 52-bit frac.
20 uint8_t sign; local
25 sign = (in.i >> 31) & 1;
57 mantissa |= (uint64_t)sign << 63;
64 uint8_t sign; local
70 sign = (value >> 63) & 1;
83 if (sign)
91 if (sign)
118 out.i |= (uint32_t)sign << 3
[all...]
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/
H A DAbstractECMultiplier.java9 int sign = k.signum();
10 if (sign == 0 || p.isInfinity())
16 ECPoint result = sign > 0 ? positive : positive.negate();
/external/compiler-rt/lib/builtins/
H A Dfloatditf.c28 // All other cases begin by extracting the sign and absolute value of a
29 rep_t sign = 0;
32 sign = signBit;
46 // Insert the sign bit and return
47 return fromRep(result | sign);
H A Dfloatsidf.c32 // All other cases begin by extracting the sign and absolute value of a
33 rep_t sign = 0;
35 sign = signBit;
51 // Insert the sign bit and return
52 return fromRep(result | sign);
H A Dfloatsitf.c28 // All other cases begin by extracting the sign and absolute value of a
29 rep_t sign = 0;
32 sign = signBit;
46 // Insert the sign bit and return
47 return fromRep(result | sign);
H A Dfloatsisf.c32 // All other cases begin by extracting the sign and absolute value of a
33 rep_t sign = 0;
35 sign = signBit;
57 // Insert the sign bit and return
58 return fromRep(result | sign);
/external/python/cpython2/Python/
H A Datof.c26 int sign = 1; local
33 sign = -1;
39 e += i*sign;
H A Dstrtod.c7 with bugfix for "123000.0" and acceptance of space after 'e' sign nuked.
67 int sign, scale, dotseen; local
77 sign = 1;
78 if (*sp == '-') sign -= 2, sp++;
140 /* Now the number is sign*0.fraction*10**expt */
143 return HUGE*sign;
146 if (strcmp(buforg, MDMAXFRAC) > 0) return HUGE*sign;
149 return ZERO*sign;
152 if (strcmp(buforg, MDMINFRAC) < 0) return ZERO*sign;
158 return atof(buffer)*sign;
[all...]
/external/mesa3d/src/mesa/drivers/dri/i965/
H A Dbrw_packed_float.c31 unsigned sign:1; member in struct:fu::__anon15875
42 return fu.s.sign << 7;
46 unsigned vf = (fu.s.sign << 7) | (exponent << 4) | mantissa;
70 fu.s.sign = vf >> 7;
/external/fdlibm/
H A De_sqrt.c99 int sign = (int)0x80000000; local
113 if(((ix0&(~sign))|ix1)==0) return x;/* ieee_sqrt(+-0) = +-0 */
132 ix0 += ix0 + ((ix1&sign)>>31);
138 ix0 += ix0 + ((ix1&sign)>>31);
150 ix0 += ix0 + ((ix1&sign)>>31);
155 r = sign;
161 if(((t1&sign)==sign)&&(s1&sign)==0) s0 += 1;
167 ix0 += ix0 + ((ix1&sign)>>3
[all...]
H A Ds_cbrt.c48 unsigned sign; local
52 sign=hx&0x80000000; /* sign= sign(x) */
53 hx ^=sign;
84 /* retore the sign bit */
85 __HI(t) |= sign;
/external/boringssl/src/crypto/fipsmodule/ec/
H A Dutil-64.c59 * "sign-alternating {+-1}-representation".
81 * The sign-alternating property implies that the resulting digit values are
90 * recoded digit to *sign (0 for positive, 1 for negative) and *digit (absolute
95 void ec_GFp_nistp_recode_scalar_bits(uint8_t *sign, uint8_t *digit, argument
105 *sign = s & 1;
/external/python/cpython2/Include/
H A Ddtoa.h8 int *decpt, int *sign, char **rve);
/external/skia/src/core/
H A DSkHalf.h15 // format is 1 bit sign, 5 bits exponent, 10 bits mantissa
51 sign = bits & 0x00008000, // Save the sign bit for later...
52 positive = bits ^ sign, // ...but strip it off for now.
59 Sk4i merged = (sign << 16) | (norm & is_norm);
72 sign = bits & 0x80000000, // Save the sign bit for later...
73 positive = bits ^ sign, // ...but strip it off for now.
80 Sk4i merged = (sign >> 16) | (will_be_norm & norm);
/external/deqp/framework/common/
H A DtcuFloat.hpp73 * \param sign Sign. Must be +1/-1
88 static inline Float construct (int sign, int exponent, StorageType mantissa);
92 * \param sign Sign. Must be +1/-1
99 * The sign is turned into a sign bit and the exponent bias is added.
103 static Float constructBits (int sign, int exponent, StorageType mantissaBits);
113 inline int sign (void) const { return signBit() ? -1 : 1; } function in class:tcu::Float
122 static Float zero (int sign);
123 static Float inf (int sign);
184 inline Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags> Float<StorageType, ExponentBits, MantissaBits, ExponentBias, Flags>::zero (int sign) argument
191 inf(int sign) argument
205 construct(int sign, int exponent, StorageType mantissa) argument
226 constructBits(int sign, int exponent, StorageType mantissaBits) argument
[all...]
/external/libhevc/common/
H A Dihevc_trans_macros.h40 WORD32 sign; \
51 sign = (inp)<0 ? -1:1; \
58 tmp = tmp * sign; \
65 WORD32 sign; \
76 sign = (inp)<0 ? -1:1; \
83 tmp = tmp * sign; \
90 WORD32 sign; \
101 sign = (inp)<0 ? -1:1; \
108 tmp = tmp * sign; \
115 WORD32 sign; \
[all...]
/external/iptables/libiptc/
H A DAndroid.mk14 LOCAL_CFLAGS += -Wno-pointer-arith -Wno-unused-parameter -Wno-sign-compare -Wno-pointer-sign
38 LOCAL_CFLAGS += -Wno-pointer-arith -Wno-unused-parameter -Wno-sign-compare -Wno-pointer-sign
/external/fio/lib/
H A Dieee754.c15 long long sign, exp, significand; local
16 unsigned significandbits = bits - expbits - 1; // -1 for sign bit
22 // check sign and begin normalization
24 sign = 1;
27 sign = 0;
50 return (sign << (bits - 1)) | (exp << (bits-expbits - 1)) | significand;
58 unsigned significandbits = bits - expbits - 1; // -1 for sign bit
80 // sign it

Completed in 651 milliseconds

1234567891011>>