Searched refs:asInt (Results 1 – 9 of 9) sorted by relevance
50 HashCode fromInt = HashCodes.fromInt(expected.asInt); in testFromInt()78 assertEquals(expected.asInt, hash.asInt()); in assertExpectedHashCode()114 final int asInt; field in HashCodesTest.ExpectedHashCode117 ExpectedHashCode(byte[] bytes, int asInt, Long asLong, String toString) { in ExpectedHashCode() argument119 this.asInt = asInt; in ExpectedHashCode()
30 assertEquals(0xDeadBeef, sink.makeHash().asInt()); in testSanity()
52 @Override public int asInt() { in asInt() method in HashCodes.IntHashCode92 @Override public int asInt() { in asInt() method in HashCodes.LongHashCode125 @Override public int asInt() { in asInt() method in HashCodes.BytesHashCode
37 public abstract int asInt(); in asInt() method in HashCode97 return asInt(); in hashCode()
155 return (hashCode.bits() < 64) ? UnsignedInts.toLong(hashCode.asInt()) : hashCode.asLong(); in padToLong()
166 int asInt; in p_isCFNumberTrue() local167 bool converted = p_convertCFNumberToInt(cfn, &asInt); in p_isCFNumberTrue()169 if (converted && (0 != asInt)) { in p_isCFNumberTrue()
132 public static int asInt(String value) { in asInt() method in BaseCompiledTemplate136 public static int asInt(int value) { in asInt() method in BaseCompiledTemplate140 public static int asInt(boolean value) { in asInt() method in BaseCompiledTemplate144 public static int asInt(Value value) { in asInt() method in BaseCompiledTemplate148 public static int asInt(Data data) { in asInt() method in BaseCompiledTemplate
453 LLAssert(llong((int32_t)0).asInt() == (int32_t)0);454 LLAssert(llong((int32_t)1).asInt() == (int32_t)1);455 LLAssert(llong((int32_t)-1).asInt() == (int32_t)-1);456 LLAssert(llong((int32_t)0x7fffffff).asInt() == (int32_t)0x7fffffff);457 LLAssert(llong((int32_t)0xffffffff).asInt() == (int32_t)-1);458 LLAssert(llong((int32_t)0x80000000).asInt() == (int32_t)0x80000000);461 LLAssert(llong((int16_t)0).asInt() == (int16_t)0);462 LLAssert(llong((int16_t)1).asInt() == (int16_t)1);463 LLAssert(llong((int16_t)-1).asInt() == (int16_t)-1);464 LLAssert(llong((int16_t)0x7fff).asInt() == (int16_t)0x7fff);[all …]
187 int16_t asInt; member207 int32_t asInt; member241 m_value.asInt = 0; in ARMThumbImmediate()258 m_value.asInt = value; in ARMThumbImmediate()265 encoding.asInt = 0; in makeEncodedImm()292 bytes.asInt = value; in makeEncodedImm()344 bool isUInt3() { return !(m_value.asInt & 0xfff8); } in isUInt3()345 bool isUInt4() { return !(m_value.asInt & 0xfff0); } in isUInt4()346 bool isUInt5() { return !(m_value.asInt & 0xffe0); } in isUInt5()347 bool isUInt6() { return !(m_value.asInt & 0xffc0); } in isUInt6()[all …]