Home
last modified time | relevance | path

Searched refs:asInt (Results 1 – 16 of 16) sorted by relevance

/external/guava/guava-tests/test/com/google/common/hash/
DHashCodesTest.java50 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()
DAbstractStreamingHasherTest.java30 assertEquals(0xDeadBeef, sink.makeHash().asInt()); in testSanity()
/external/guava/guava/src/com/google/common/hash/
DHashCodes.java52 @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
DHashCode.java37 public abstract int asInt(); in asInt() method in HashCode
97 return asInt(); in hashCode()
DHashing.java155 return (hashCode.bits() < 64) ? UnsignedInts.toLong(hashCode.asInt()) : hashCode.asLong(); in padToLong()
/external/chromium_org/third_party/libjingle/source/talk/base/
Dmacconversion.cc166 int asInt; in p_isCFNumberTrue() local
167 bool converted = p_convertCFNumberToInt(cfn, &asInt); in p_isCFNumberTrue()
169 if (converted && (0 != asInt)) { in p_isCFNumberTrue()
Djson.cc42 s << in.asInt(); in GetStringFromJson()
62 *out = in.asInt(); in GetIntFromJson()
Djson_unittest.cc221 EXPECT_EQ(in[i], out[i].asInt()); in TEST()
/external/chromium/third_party/libjingle/source/talk/base/
Dmacconversion.cc166 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/
DBaseCompiledTemplate.java132 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/
Ditrbnf.cpp454 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/
Ditrbnf.cpp453 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/
DTraceEventDispatcher.h94 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/
Djson_manifest.cc365 int32_t opt_raw = url_spec[kOptLevelKey].asInt(); in GrabUrlAndPnaclOptions()
/external/chromium_org/third_party/jsoncpp/overrides/include/json/
Dvalue.h268 Int asInt() const;
/external/chromium_org/third_party/jsoncpp/overrides/src/lib_json/
Djson_value.cpp739 Value::asInt() const in asInt() function in Json::Value
843 return asInt(); in asLargestInt()