HomeSort by relevance Sort by last modified time
    Searched full:asint (Results 1 - 25 of 100) sorted by null

1 2 3 4

  /external/guava/guava-tests/test/com/google/common/hash/
HashCodesTest.java 18 // note: asInt(), asLong() are in little endian
30 0x89abcdef, 0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes
50 HashCode fromInt = HashCodes.fromInt(expected.asInt);
78 assertEquals(expected.asInt, hash.asInt());
114 final int asInt;
117 ExpectedHashCode(byte[] bytes, int asInt, Long asLong, String toString) {
119 this.asInt = asInt;
  /external/clang/test/PCH/
types.h 4 typedef __attribute__((address_space(1))) int ASInt;
types.c 14 ASInt *as_int_ptr1 = &int_value; // expected-error{{changes address space of pointer}}
15 ASInt *as_int_ptr2 = &int_as_one;
  /external/chromium_org/third_party/webrtc/base/
macconversion.cc 149 int asInt;
150 bool converted = p_convertCFNumberToInt(cfn, &asInt);
152 if (converted && (0 != asInt)) {
  /external/guava/guava/src/com/google/common/hash/
HashCodes.java 52 @Override public int asInt() {
92 @Override public int asInt() {
125 @Override public int asInt() {
HashCode.java 37 public abstract int asInt();
97 return asInt();
  /external/deqp/framework/randomshaders/
rsgVariableValue.cpp 78 int aMin = a.component(ndx).getMin().asInt();
79 int aMax = a.component(ndx).getMax().asInt();
80 int bMin = b.component(ndx).getMin().asInt();
81 int bMax = b.component(ndx).getMax().asInt();
240 int aMin = a.component(ndx).getMin().asInt();
241 int aMax = a.component(ndx).getMax().asInt();
242 int bMin = b.component(ndx).getMin().asInt();
243 int bMax = b.component(ndx).getMax().asInt();
rsgBinaryOps.cpp 167 ComputeValueRange()(state.getRandom(), dst.getMin().asInt(), dst.getMax().asInt(),
168 a.getMin().asInt(), a.getMax().asInt(),
169 b.getMin().asInt(), b.getMax().asInt());
204 dst.component(elemNdx).asInt(compNdx) = EvaluateComp()(a.component(elemNdx).asInt(compNdx), b.component(elemNdx).asInt(compNdx));
433 a.getMin().asInt(), a.getMax().asInt()
    [all...]
rsgUtils.cpp 87 int minVal = valueRange.component(ndx).getMin().asInt();
88 int maxVal = valueRange.component(ndx).getMax().asInt();
89 dst.component(ndx).asInt() = rnd.getInt(minVal, maxVal);
213 valueRange.getMin().component(ndx).asInt() = minVal;
214 valueRange.getMax().component(ndx).asInt() = maxVal;
324 int minVal = valueRange.component(ndx).getMin().asInt();
325 int maxVal = valueRange.component(ndx).getMax().asInt();
rsgExecutionContext.cpp 78 int samplerNdx = samplerVal->getValue(sampler->getType()).asInt(0);
87 int samplerNdx = samplerVal->getValue(sampler->getType()).asInt(0);
  /external/chromium_org/third_party/webrtc/modules/video_capture/android/
device_info_android.cc 128 info.orientation = camera["orientation"].asInt();
133 size["width"].asInt(), size["height"].asInt()));
138 info.mfpsRanges.push_back(std::make_pair(mfpsRange["min_mfps"].asInt(),
139 mfpsRange["max_mfps"].asInt()));
  /external/jsoncpp/
NEWS.txt 24 For example, a double value may be truncated when asInt is called.
29 and calling asInt() would cause an exception. If you're writing new
70 Json::Value::asInt() and Json::Value::asUInt() still returns plain
85 Warning: Json::Value::asInt() and Json::Value::asUInt() now returns
99 int value = array[0].asInt(); // did not compile previously
  /external/chromium_org/ppapi/tests/
test_flash.cc 93 ASSERT_TRUE(num_cores.is_int() && num_cores.AsInt() > 0);
98 int32_t lso_restrictions_int = lso_restrictions.AsInt();
  /external/chromium_org/ppapi/cpp/
var.cc 207 return AsInt() == other.AsInt();
232 int32_t Var::AsInt() const {
292 snprintf(buf, sizeof(buf), "Var(%d)", static_cast<int>(AsInt()));
  /external/clang/test/CXX/temp/temp.decls/temp.mem/
p5.cpp 47 int AsInt() {
  /external/jsilver/src/com/google/clearsilver/jsilver/compiler/
BaseCompiledTemplate.java 132 public static int asInt(String value) {
136 public static int asInt(int value) {
140 public static int asInt(boolean value) {
144 public static int asInt(Value value) {
148 public static int asInt(Data data) {
  /external/jsoncpp/src/test_lib_json/
main.cpp 274 JSONTEST_ASSERT_EQUAL(Json::Int(0), null_.asInt());
342 JSONTEST_ASSERT_EQUAL(1, true_.asInt());
350 JSONTEST_ASSERT_EQUAL(0, false_.asInt());
402 JSONTEST_ASSERT_EQUAL(0, val.asInt());
430 JSONTEST_ASSERT_EQUAL(0, val.asInt());
458 JSONTEST_ASSERT_EQUAL(0, val.asInt());
486 JSONTEST_ASSERT_EQUAL(0, val.asInt());
514 JSONTEST_ASSERT_EQUAL(0, val.asInt());
542 JSONTEST_ASSERT_EQUAL(0, val.asInt());
569 JSONTEST_ASSERT_EQUAL((1 << 20), val.asInt());
    [all...]
  /external/deqp/modules/gles3/functional/
es3fShaderOperatorTests.cpp 171 template<int Size> inline Vector<deUint32, Size> subOne (const Vector<deUint32, Size>& v) { return (v.asInt() - 1).asUint(); };
178 template<int Size> inline Vector<deUint32, Size> subVecScalar (const Vector<deUint32, Size>& v, deUint32 s) { return (v.asInt() - (int)s).asUint(); };
213 inline IVec2 sequenceSideEffCase2 (bool in0, bool in1, const Vec2& in2) { DE_UNREF(in1); return (in2 + Vec2(1.0f) + Vec2((float)in0)).asInt(); }
215 inline IVec4 sequenceSideEffCase3 (const Vec4& in0, const IVec4& in1, const BVec4& in2) { return in1 + (in0 + Vec4((float)in2.x(), (float)in2.y(), (float)in2.z(), (float)in2.w())).asInt(); }
221 void evalSequenceNoSideEffCase3 (ShaderEvalContext& ctx) { ctx.color = sequenceNoSideEffCase3 (ctx.in[0].swizzle(1, 2, 3, 0), ctx.in[1].swizzle(3, 2, 1, 0).asInt(), greaterThan(ctx.in[2].swizzle(0, 3, 2, 1), Vec4(0.0f, 0.0f, 0.0f, 0.0f))).asFloat(); }
225 void evalSequenceSideEffCase3 (ShaderEvalContext& ctx) { ctx.color = sequenceSideEffCase3 (ctx.in[0].swizzle(1, 2, 3, 0), ctx.in[1].swizzle(3, 2, 1, 0).asInt(), greaterThan(ctx.in[2].swizzle(0, 3, 2, 1), Vec4(0.0f, 0.0f, 0.0f, 0.0f))).asFloat(); }
    [all...]
  /external/chromium_org/native_client_sdk/src/examples/api/core/
core.cc 37 int32_t delay = var_message.AsInt();
  /external/deqp/modules/gles2/functional/
es2fShaderOperatorTests.cpp 170 inline IVec2 sequenceSideEffCase2 (bool in0, bool in1, const Vec2& in2) { DE_UNREF(in1); return (in2 + Vec2(1.0f) + Vec2((float)in0)).asInt(); }
172 inline IVec4 sequenceSideEffCase3 (const Vec4& in0, const IVec4& in1, const BVec4& in2) { return in1 + (in0 + Vec4((float)in2.x(), (float)in2.y(), (float)in2.z(), (float)in2.w())).asInt(); }
178 void evalSequenceNoSideEffCase3 (ShaderEvalContext& ctx) { ctx.color = sequenceNoSideEffCase3(ctx.in[0].swizzle(1, 2, 3, 0), ctx.in[1].swizzle(3, 2, 1, 0).asInt(), greaterThan(ctx.in[2].swizzle(0, 3, 2, 1), Vec4(0.0f, 0.0f, 0.0f, 0.0f))).asFloat(); }
182 void evalSequenceSideEffCase3 (ShaderEvalContext& ctx) { ctx.color = sequenceSideEffCase3(ctx.in[0].swizzle(1, 2, 3, 0), ctx.in[1].swizzle(3, 2, 1, 0).asInt(), greaterThan(ctx.in[2].swizzle(0, 3, 2, 1), Vec4(0.0f, 0.0f, 0.0f, 0.0f))).asFloat(); }
666 void eval_##FUNC_NAME##_ivec2 (ShaderEvalContext& c) { c.color.yz() = FUNC_NAME(c.in[0].swizzle(3, 1).asInt()).asFloat(); } \
667 void eval_##FUNC_NAME##_ivec3 (ShaderEvalContext& c) { c.color.xyz() = FUNC_NAME(c.in[0].swizzle(2, 0, 1).asInt()).asFloat(); } \
668 void eval_##FUNC_NAME##_ivec4 (ShaderEvalContext& c) { c.color = FUNC_NAME(c.in[0].swizzle(1, 2, 3, 0).asInt()).asFloat(); }
672 void eval_##FUNC_NAME##_ivec2 (ShaderEvalContext& c) { c.color.yz() = FUNC_NAME(c.in[0].swizzle(3, 1).asInt(), c.in[1].swizzle(1, 0).asInt()).asFloat(); } \
673 void eval_##FUNC_NAME##_ivec3 (ShaderEvalContext& c) { c.color.xyz() = FUNC_NAME(c.in[0].swizzle(2, 0, 1).asInt(), c.in[1].swizzle(1, 2, 0).asInt()).asFloat(); }
    [all...]
  /external/chromium_org/third_party/icu/source/test/intltest/
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/icu/icu4c/source/test/intltest/
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/WebKit/Source/core/inspector/
TraceEventDispatcher.h 96 long long asInt(const char* name) const
107 return asInt(name);
  /external/chromium_org/third_party/sfntly/cpp/src/sfntly/table/core/
font_header_table.h 134 int32_t FontDirectionHint(); // Note: no AsInt() form, already int
135 int32_t IndexToLocFormat(); // Note: no AsInt() form, already int
  /external/sfntly/cpp/src/sfntly/table/core/
font_header_table.h 134 int32_t FontDirectionHint(); // Note: no AsInt() form, already int
135 int32_t IndexToLocFormat(); // Note: no AsInt() form, already int

Completed in 2245 milliseconds

1 2 3 4