Searched refs:Sign (Results 1 - 25 of 63) sorted by relevance

123

/external/llvm/lib/Support/
H A DLEB128.cpp32 int Sign = Value >> (8 * sizeof(Value) - 1); local
38 IsMore = Value != Sign || ((Byte ^ Sign) & 0x40) != 0;
/external/llvm/lib/Transforms/Utils/
H A DCmpInstAnalysis.cpp72 Value *llvm::getICmpValue(bool Sign, unsigned Code, Value *LHS, Value *RHS, argument
78 case 1: NewICmpPred = Sign ? ICmpInst::ICMP_SGT : ICmpInst::ICMP_UGT; break;
80 case 3: NewICmpPred = Sign ? ICmpInst::ICMP_SGE : ICmpInst::ICMP_UGE; break;
81 case 4: NewICmpPred = Sign ? ICmpInst::ICMP_SLT : ICmpInst::ICMP_ULT; break;
83 case 6: NewICmpPred = Sign ? ICmpInst::ICMP_SLE : ICmpInst::ICMP_ULE; break;
/external/llvm/include/llvm/Transforms/Utils/
H A DCmpInstAnalysis.h56 Value *getICmpValue(bool Sign, unsigned Code, Value *LHS, Value *RHS,
/external/libchrome/crypto/
H A Dec_signature_creator_impl.h21 bool Sign(const uint8_t* data,
H A Dhmac.cc52 if (!Sign(data, computed_digest.get(), digest_length))
H A Dhmac.h67 bool Sign(const base::StringPiece& data, unsigned char* digest,
73 // over using Sign() with a manual comparison (such as memcmp), as such
H A Dsignature_creator.h48 static bool Sign(RSAPrivateKey* key,
H A Dhmac_unittest.cc84 EXPECT_TRUE(hmac.Sign(message_data, calculated_hmac, kSHA1DigestSize));
154 EXPECT_TRUE(hmac.Sign(data_string, digest, kSHA1DigestSize));
180 EXPECT_TRUE(hmac.Sign(data, calculated_hmac, kSHA256DigestSize));
221 EXPECT_TRUE(hmac.Sign(message_data, calculated_hmac, kSHA1DigestSize));
236 EXPECT_TRUE(hmac2.Sign(message_data, calculated_hmac2, kSHA256DigestSize));
249 EXPECT_TRUE(hmac.Sign(data_string, digest, kSHA1DigestSize));
293 EXPECT_TRUE(hmac.Sign(data, digest, kSHA1DigestSize));
H A Dhmac_openssl.cc45 bool HMAC::Sign(const base::StringPiece& data, function in class:crypto::HMAC
48 DCHECK(plat_); // Init must be called before Sign.
H A Dsignature_creator_unittest.cc82 // Sign sha1 of the input data.
84 ASSERT_TRUE(crypto::SignatureCreator::Sign(
117 // Sign sha256 of the input data.
119 ASSERT_TRUE(crypto::SignatureCreator::Sign(
H A Dhmac_nss.cc77 bool HMAC::Sign(const base::StringPiece& data, function in class:crypto::HMAC
81 // Init has not been called before Sign.
H A Dsignature_creator_openssl.cc62 bool SignatureCreator::Sign(RSAPrivateKey* key, function in class:crypto::SignatureCreator
106 // Sign it.
/external/pdfium/third_party/bigint/
H A DBigInteger.hh30 enum Sign { negative = -1, zero = 0, positive = 1 }; enum in class:BigInteger
33 Sign sign;
47 BigInteger(const Blk *b, Index blen, Sign s);
55 BigInteger(const BigUnsigned &x, Sign s);
86 Sign getSign() const { return sign; }
222 sign = Sign(-sign);
H A DBigIntegerUtils.hh26 BigInteger dataToBigInteger(const T* data, BigInteger::Index length, BigInteger::Sign sign);
51 BigInteger dataToBigInteger(const T* data, BigInteger::Index length, BigInteger::Sign sign) {
H A DBigInteger.cc19 BigInteger::BigInteger(const Blk *b, Index blen, Sign s) : mag(b, blen) {
38 BigInteger::BigInteger(const BigUnsigned &x, Sign s) : mag(x) {
76 BigInteger::Sign signOf(X x) {
216 sign = Sign(-b.sign);
240 sign = Sign(-b.sign);
353 // Sign of the remainder is always the sign of the divisor b.
371 sign = Sign(-a.sign);
/external/v8/src/
H A Ddouble.h37 DCHECK(Sign() > 0);
67 if (Sign() < 0 && Significand() == 0) {
71 if (Sign() < 0) {
116 int Sign() const { function in class:v8::internal::Double
124 DCHECK(Sign() > 0);
H A Ddtoa.cc37 if (Double(v).Sign() < 0) {
/external/v8/test/cctest/
H A Dtest-double.cc141 TEST(Sign) {
142 CHECK_EQ(1, Double(1.0).Sign());
143 CHECK_EQ(1, Double(V8_INFINITY).Sign());
144 CHECK_EQ(-1, Double(-V8_INFINITY).Sign());
145 CHECK_EQ(1, Double(0.0).Sign());
146 CHECK_EQ(-1, Double(-0.0).Sign());
148 CHECK_EQ(1, Double(min_double64).Sign());
/external/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAddressingModes.h635 uint8_t Sign = (Imm >> 7) & 0x1; local
645 FPUnion.I |= Sign << 31;
657 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1; local
674 return ((int)Sign << 7) | (Exp << 4) | Mantissa;
685 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1; local
702 return ((int)Sign << 7) | (Exp << 4) | Mantissa;
/external/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64AddressingModes.h349 uint8_t Sign = (Imm >> 7) & 0x1; local
359 FPUnion.I |= Sign << 31;
371 uint32_t Sign = Imm.lshr(15).getZExtValue() & 1; local
386 return ((int)Sign << 7) | (Exp << 4) | Mantissa;
397 uint32_t Sign = Imm.lshr(31).getZExtValue() & 1; local
414 return ((int)Sign << 7) | (Exp << 4) | Mantissa;
425 uint64_t Sign = Imm.lshr(63).getZExtValue() & 1; local
442 return ((int)Sign << 7) | (Exp << 4) | Mantissa;
/external/clang/include/clang/Basic/
H A DSpecifiers.h78 /*DeclSpec::TSS*/ unsigned Sign : 2; member in struct:clang::WrittenBuiltinSpecs
/external/libchrome/base/numerics/
H A Dsafe_conversions_impl.h61 template <typename Dst, typename Src, IntegerRepresentation Sign>
62 struct StaticDstRangeRelationToSrcRange<Dst, Src, Sign, Sign> {
/external/libweave/third_party/chromium/base/numerics/
H A Dsafe_conversions_impl.h59 template <typename Dst, typename Src, IntegerRepresentation Sign>
60 struct StaticDstRangeRelationToSrcRange<Dst, Src, Sign, Sign> {
/external/pdfium/third_party/base/numerics/
H A Dsafe_conversions_impl.h60 template <typename Dst, typename Src, IntegerRepresentation Sign>
61 struct StaticDstRangeRelationToSrcRange<Dst, Src, Sign, Sign> {
/external/v8/src/base/
H A Dsafe_conversions_impl.h63 template <typename Dst, typename Src, IntegerRepresentation Sign>
64 struct StaticDstRangeRelationToSrcRange<Dst, Src, Sign, Sign> {

Completed in 487 milliseconds

123