/external/guava/guava-tests/test/com/google/common/hash/ |
D | HashCodesTest.java | 50 HashCode fromInt = HashCodes.fromInt(expected.asInt); in testFromInt() 78 assertEquals(expected.asInt, hash.asInt()); in assertExpectedHashCode() 114 final int asInt; field in HashCodesTest.ExpectedHashCode 117 ExpectedHashCode(byte[] bytes, int asInt, Long asLong, String toString) { in ExpectedHashCode() argument 119 this.asInt = asInt; in ExpectedHashCode()
|
D | AbstractStreamingHasherTest.java | 30 assertEquals(0xDeadBeef, sink.makeHash().asInt()); in testSanity()
|
/external/guava/guava/src/com/google/common/hash/ |
D | HashCodes.java | 52 @Override public int asInt() { in asInt() method in HashCodes.IntHashCode 92 @Override public int asInt() { in asInt() method in HashCodes.LongHashCode 125 @Override public int asInt() { in asInt() method in HashCodes.BytesHashCode
|
D | HashCode.java | 37 public abstract int asInt(); in asInt() method in HashCode 97 return asInt(); in hashCode()
|
D | Hashing.java | 155 return (hashCode.bits() < 64) ? UnsignedInts.toLong(hashCode.asInt()) : hashCode.asLong(); in padToLong()
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
D | macconversion.cc | 166 int asInt; in p_isCFNumberTrue() local 167 bool converted = p_convertCFNumberToInt(cfn, &asInt); in p_isCFNumberTrue() 169 if (converted && (0 != asInt)) { in p_isCFNumberTrue()
|
D | json.cc | 42 s << in.asInt(); in GetStringFromJson() 62 *out = in.asInt(); in GetIntFromJson()
|
D | json_unittest.cc | 221 EXPECT_EQ(in[i], out[i].asInt()); in TEST()
|
/external/chromium/third_party/libjingle/source/talk/base/ |
D | macconversion.cc | 166 int asInt; in p_isCFNumberTrue() local 167 bool converted = p_convertCFNumberToInt(cfn, &asInt); in p_isCFNumberTrue() 169 if (converted && (0 != asInt)) { in p_isCFNumberTrue()
|
/external/jsilver/src/com/google/clearsilver/jsilver/compiler/ |
D | BaseCompiledTemplate.java | 132 public static int asInt(String value) { in asInt() method in BaseCompiledTemplate 136 public static int asInt(int value) { in asInt() method in BaseCompiledTemplate 140 public static int asInt(boolean value) { in asInt() method in BaseCompiledTemplate 144 public static int asInt(Value value) { in asInt() method in BaseCompiledTemplate 148 public static int asInt(Data data) { in asInt() method in BaseCompiledTemplate
|
/external/icu4c/test/intltest/ |
D | itrbnf.cpp | 454 LLAssert(llong((int32_t)0).asInt() == (int32_t)0); 455 LLAssert(llong((int32_t)1).asInt() == (int32_t)1); 456 LLAssert(llong((int32_t)-1).asInt() == (int32_t)-1); 457 LLAssert(llong((int32_t)0x7fffffff).asInt() == (int32_t)0x7fffffff); 458 LLAssert(llong((int32_t)0xffffffff).asInt() == (int32_t)-1); 459 LLAssert(llong((int32_t)0x80000000).asInt() == (int32_t)0x80000000); 462 LLAssert(llong((int16_t)0).asInt() == (int16_t)0); 463 LLAssert(llong((int16_t)1).asInt() == (int16_t)1); 464 LLAssert(llong((int16_t)-1).asInt() == (int16_t)-1); 465 LLAssert(llong((int16_t)0x7fff).asInt() == (int16_t)0x7fff); [all …]
|
/external/chromium_org/third_party/icu/source/test/intltest/ |
D | itrbnf.cpp | 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 …]
|
/external/chromium_org/third_party/WebKit/Source/core/inspector/ |
D | TraceEventDispatcher.h | 94 long long asInt(const char* name) const in asInt() function 105 return asInt(name); in asUInt()
|
/external/chromium_org/ppapi/native_client/src/trusted/plugin/ |
D | json_manifest.cc | 365 int32_t opt_raw = url_spec[kOptLevelKey].asInt(); in GrabUrlAndPnaclOptions()
|
/external/chromium_org/third_party/jsoncpp/overrides/include/json/ |
D | value.h | 268 Int asInt() const;
|
/external/chromium_org/third_party/jsoncpp/overrides/src/lib_json/ |
D | json_value.cpp | 739 Value::asInt() const in asInt() function in Json::Value 843 return asInt(); in asLargestInt()
|