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

1 2 3

  /prebuilts/go/darwin-x86/test/
named.go 27 func asInt(Int) {}
133 asInt(i)
135 asInt(-i)
137 asInt(^i)
139 asInt(+i)
141 asInt(i + 1)
143 asInt(1 + i)
145 asInt(i + i)
149 asInt(i - 1)
151 asInt(1 - i
    [all...]
  /prebuilts/go/linux-x86/test/
named.go 27 func asInt(Int) {}
133 asInt(i)
135 asInt(-i)
137 asInt(^i)
139 asInt(+i)
141 asInt(i + 1)
143 asInt(1 + i)
145 asInt(i + i)
149 asInt(i - 1)
151 asInt(1 - i
    [all...]
  /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/guava/guava-tests/test/com/google/common/hash/
HashCodeTest.java 37 // note: asInt(), asLong() are in little endian
49 0x89abcdef, 0x0123456789abcdefL, // asInt/asLong as above, due to equal eight first bytes
69 HashCode fromInt = HashCode.fromInt(expected.asInt);
98 assertEquals(expectedInt, hashCode.asInt());
103 assertEquals(expectedInt, hashCode.asInt());
111 assertEquals(0x0000abcd, hashCode.asInt());
116 assertEquals(0x0000ab00, hashCode.asInt());
124 assertEquals(0x0000abcd, hashCode.asInt());
129 assertEquals(0x0000ab00, hashCode.asInt());
351 assertEquals(expectedHashCode.asInt, hash.asInt())
    [all...]
ChecksumHashFunctionTest.java 84 assertEquals(expected, func.hashBytes(bytes).asInt());
HashTestUtils.java 262 int hash1 = function.hashInt(key1).asInt();
263 int hash2 = function.hashInt(key2).asInt();
301 int hash1 = function.hashInt(key1).asInt();
302 int hash2 = function.hashInt(key2).asInt();
347 int hash1 = function.hashInt(key1).asInt();
348 int hash2 = function.hashInt(key2).asInt();
391 int hash1 = function.hashInt(key1).asInt();
392 int hash2 = function.hashInt(key2).asInt();
  /external/skia/tests/
PathOpsOpLoopThreadedTest.cpp 12 int asInt = SkScalarRoundToInt(x);
13 if (SkIntToScalar(asInt) == x) {
14 result = sprintf(str, "%d", asInt);
19 asInt = SkScalarRoundToInt(y);
20 if (SkIntToScalar(asInt) == y) {
21 result += sprintf(str + result, "%d", asInt);
  /external/webrtc/webrtc/base/
macconversion.cc 149 int asInt;
150 bool converted = p_convertCFNumberToInt(cfn, &asInt);
152 if (converted && (0 != 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);
rsgVariableValue.hpp 102 int asInt (void) const { DE_STATIC_ASSERT(Stride == 1); return m_value->intVal; }
107 int asInt (int ndx) const { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return m_value[ndx].intVal; }
135 int& asInt (void) { DE_STATIC_ASSERT(Stride == 1); return this->m_value->intVal; }
140 int& asInt (int ndx) { DE_ASSERT(de::inBounds(ndx, 0, Stride)); return this->m_value[ndx].intVal; }
154 StridedValueAccess& operator= (int intVal) { asInt() = intVal; return *this; }
  /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
102 Json::Value::asInt() and Json::Value::asUInt() still returns plain
117 Warning: Json::Value::asInt() and Json::Value::asUInt() now returns
131 int value = array[0].asInt(); // did not compile previously
  /external/xmlrpcpp/src/
XmlRpcValue.h 48 XmlRpcValue(int value) : _type(TypeInt) { _value.asInt = value; }
89 operator int&() { assertTypeOrInvalid(TypeInt); return _value.asInt; }
178 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/guava/guava/src/com/google/common/hash/
HashCode.java 53 public abstract int asInt();
145 public int asInt() {
167 return hash == that.asInt();
209 public int asInt() {
275 public int asInt() {
277 "HashCode#asInt() requires >= 4 bytes (it only has %s bytes).", bytes.length);
372 return asInt();
  /external/deqp/external/vulkancts/modules/vulkan/shaderrender/
vktShaderRenderOperatorTests.cpp 154 template<int Size> inline Vector<deUint32, Size> subOne (const Vector<deUint32, Size>& v) { return (v.asInt() - 1).asUint(); };
161 template<int Size> inline Vector<deUint32, Size> subVecScalar (const Vector<deUint32, Size>& v, deUint32 s) { return (v.asInt() - (int)s).asUint(); };
196 inline IVec2 sequenceSideEffCase2 (bool in0, bool in1, const Vec2& in2) { DE_UNREF(in1); return (in2 + Vec2(1.0f) + Vec2((float)in0)).asInt(); }
198 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(); }
204 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(); }
208 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/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/webrtc/talk/app/webrtc/
androidvideocapturer.cc 153 json_value["width"].asInt(),
154 json_value["height"].asInt(),
155 cricket::VideoFormat::FpsToInterval(json_value["framerate"].asInt()),
  /external/clang/test/CXX/temp/temp.decls/temp.mem/
p5.cpp 47 int 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/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/smali/util/src/main/java/org/jf/util/
NumberUtils.java 81 String asInt = format.format(value);
97 return asFloat.length() < asInt.length();

Completed in 1215 milliseconds

1 2 3