HomeSort by relevance Sort by last modified time
    Searched refs:Primitive (Results 1 - 25 of 89) sorted by null

1 2 3 4

  /art/runtime/
primitive.cc 17 #include "primitive.h"
33 std::ostream& operator<<(std::ostream& os, const Primitive::Type& type) {
35 if (type >= Primitive::kPrimNot && type <= Primitive::kPrimVoid) {
reflection.cc 122 Primitive::Type srcType, Primitive::Type dstType,
124 CHECK(srcType != Primitive::kPrimNot && dstType != Primitive::kPrimNot);
126 case Primitive::kPrimBoolean:
127 if (srcType == Primitive::kPrimBoolean) {
132 case Primitive::kPrimChar:
133 if (srcType == Primitive::kPrimChar) {
138 case Primitive::kPrimByte:
139 if (srcType == Primitive::kPrimByte)
    [all...]
primitive.h 30 class Primitive {
113 LOG(FATAL) << "Primitive char conversion on invalid type " << static_cast<int>(type);
119 DISALLOW_IMPLICIT_CONSTRUCTORS(Primitive);
122 std::ostream& operator<<(std::ostream& os, const Primitive::Type& state);
reflection.h 21 #include "primitive.h"
34 mirror::Object* BoxPrimitive(Primitive::Type src_class, const JValue& value)
47 Primitive::Type src_class, Primitive::Type dst_class,
  /frameworks/base/graphics/java/android/renderscript/
Path.java 28 public enum Primitive {
33 Primitive(int id) {
40 Primitive mPrimitive;
44 Path(int id, RenderScript rs, Primitive p, Allocation vtx, Allocation loop, float q) {
60 public Primitive getPrimitive() {
69 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx) {
75 public static Path createStaticPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) {
79 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx) {
83 public static Path createDynamicPath(RenderScript rs, Primitive p, float quality, Allocation vtx, Allocation loops) {
Mesh.java 39 * index sets or primitive types.
49 public enum Primitive {
85 Primitive(int id) {
92 Primitive[] mPrimitives;
144 * @return index set primitive type
147 public Primitive getPrimitive(int slot) {
166 mPrimitives = new Primitive[idxCount];
180 mPrimitives[i] = Primitive.values()[primitives[i]];
199 Primitive prim;
288 * @param p primitive typ
    [all...]
  /art/runtime/mirror/
art_field.cc 47 Primitive::Type type = fh.GetTypeAsPrimitiveType();
48 if (type == Primitive::kPrimDouble || type == Primitive::kPrimLong) {
art_field-inl.h 27 #include "primitive.h"
95 DCHECK_EQ(Primitive::kPrimBoolean, FieldHelper(this).GetTypeAsPrimitiveType())
101 DCHECK_EQ(Primitive::kPrimBoolean, FieldHelper(this).GetTypeAsPrimitiveType())
107 DCHECK_EQ(Primitive::kPrimByte, FieldHelper(this).GetTypeAsPrimitiveType())
113 DCHECK_EQ(Primitive::kPrimByte, FieldHelper(this).GetTypeAsPrimitiveType())
119 DCHECK_EQ(Primitive::kPrimChar, FieldHelper(this).GetTypeAsPrimitiveType())
125 DCHECK_EQ(Primitive::kPrimChar, FieldHelper(this).GetTypeAsPrimitiveType())
131 DCHECK_EQ(Primitive::kPrimShort, FieldHelper(this).GetTypeAsPrimitiveType())
137 DCHECK_EQ(Primitive::kPrimShort, FieldHelper(this).GetTypeAsPrimitiveType())
144 Primitive::Type type = FieldHelper(this).GetTypeAsPrimitiveType()
    [all...]
class.h 22 #include "primitive.h"
269 Primitive::Type GetPrimitiveType() const {
270 DCHECK_EQ(sizeof(Primitive::Type), sizeof(int32_t));
271 return static_cast<Primitive::Type>(
275 void SetPrimitiveType(Primitive::Type new_type) {
276 DCHECK_EQ(sizeof(Primitive::Type), sizeof(int32_t));
280 // Returns true if the class is a primitive type.
282 return GetPrimitiveType() != Primitive::kPrimNot;
286 return GetPrimitiveType() == Primitive::kPrimBoolean;
290 return GetPrimitiveType() == Primitive::kPrimByte
    [all...]
  /cts/tests/tests/rsg/src/android/renderscriptgraphics/cts/
MeshTest.java 23 import android.renderscript.Mesh.Primitive;
53 for(Primitive prim : Primitive.values()) {
80 for(Primitive prim : Primitive.values()) {
191 assertEquals(Mesh.Primitive.POINT, Mesh.Primitive.valueOf("POINT"));
192 assertEquals(Mesh.Primitive.LINE, Mesh.Primitive.valueOf("LINE"));
193 assertEquals(Mesh.Primitive.LINE_STRIP, Mesh.Primitive.valueOf("LINE_STRIP"))
    [all...]
  /frameworks/native/services/surfaceflinger/RenderEngine/
Mesh.h 26 enum Primitive {
32 Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordsSize = 0);
59 Primitive getPrimitive() const;
94 Primitive mPrimitive;
Mesh.cpp 21 Mesh::Mesh(Primitive primitive, size_t vertexCount, size_t vertexSize, size_t texCoordSize)
23 mPrimitive(primitive)
33 Mesh::Primitive Mesh::getPrimitive() const {
  /art/runtime/entrypoints/portable/
portable_trampoline_entrypoints.cc 82 Primitive::Type GetParamPrimitiveType() const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
149 Primitive::Type type = GetParamPrimitiveType();
151 case Primitive::kPrimLong: // Fall-through.
152 case Primitive::kPrimDouble:
156 case Primitive::kPrimNot:
159 case Primitive::kPrimBoolean: // Fall-through.
160 case Primitive::kPrimByte: // Fall-through.
161 case Primitive::kPrimChar: // Fall-through.
162 case Primitive::kPrimShort: // Fall-through.
163 case Primitive::kPrimInt: // Fall-through
    [all...]
  /external/clang/test/SemaTemplate/
temp_arg_template.cpp 59 template <typename Primitive, template <Primitive...> class F> // expected-warning {{variadic templates are a C++11 extension}}
61 typedef typename Primitive::template call<F> x;
  /art/runtime/entrypoints/quick/
quick_trampoline_entrypoints.cc 139 Primitive::Type GetParamPrimitiveType() const SHARED_LOCKS_REQUIRED(Locks::mutator_lock_) {
144 return Primitive::kPrimNot;
147 return Primitive::GetType(shorty_[index]);
159 return GetParamPrimitiveType() == Primitive::kPrimNot;
163 Primitive::Type type = GetParamPrimitiveType();
164 return type == Primitive::kPrimLong || type == Primitive::kPrimDouble;
233 Primitive::Type type = GetParamPrimitiveType();
235 case Primitive::kPrimLong: // Fall-through.
236 case Primitive::kPrimDouble
    [all...]
  /art/runtime/native/
java_lang_reflect_Field.cc 39 case Primitive::kPrimBoolean:
42 case Primitive::kPrimByte:
45 case Primitive::kPrimChar:
48 case Primitive::kPrimDouble:
51 case Primitive::kPrimFloat:
54 case Primitive::kPrimInt:
57 case Primitive::kPrimLong:
60 case Primitive::kPrimShort:
63 case Primitive::kPrimNot:
70 case Primitive::kPrimVoid
    [all...]
  /art/compiler/jni/quick/
calling_convention.h 32 Primitive::Type GetReturnType() const {
33 return Primitive::GetType(shorty_[0]);
37 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[0]));
125 size_t result = Primitive::ComponentSize(Primitive::GetType(shorty_[param]));
  /frameworks/rs/java/tests/RsTest/src/com/android/rs/test/
UT_mesh.java 45 mBuilder.addIndexSetAllocation(iAlloc0, Primitive.POINT);
46 mBuilder.addIndexSetType(Primitive.LINE);
47 mBuilder.addIndexSetAllocation(iAlloc2, Primitive.TRIANGLE);
  /external/chromium_org/third_party/mesa/src/src/mesa/drivers/dri/i915/
intel_render.c 188 GLuint prim = VB->Primitive[i].mode;
189 GLuint length = VB->Primitive[i].count;
203 /* One point for each generated primitive:
246 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]);
247 GLuint start = VB->Primitive[i].start;
248 GLuint length = VB->Primitive[i].count;
  /external/mesa3d/src/mesa/drivers/dri/i915/
intel_render.c 188 GLuint prim = VB->Primitive[i].mode;
189 GLuint length = VB->Primitive[i].count;
203 /* One point for each generated primitive:
246 GLuint prim = _tnl_translate_prim(&VB->Primitive[i]);
247 GLuint start = VB->Primitive[i].start;
248 GLuint length = VB->Primitive[i].count;
  /external/chromium_org/third_party/WebKit/Source/testing/runner/
TestPlugin.h 43 // It uses WebGraphicsContext3D to paint a scene consisiting of a primitive
44 // over a background. The primitive and background can be customized using
46 // primitive: none (default), triangle.
48 // primitive-color: black (default), red, green, blue.
88 enum Primitive {
94 Primitive primitive; member in struct:WebTestRunner::TestPlugin::Scene
105 : primitive(PrimitiveNone)
118 Primitive parsePrimitive(const WebKit::WebString&);
  /art/runtime/interpreter/
interpreter.cc 625 template<FindFieldType find_type, Primitive::Type field_type, bool do_access_check>
630 template<FindFieldType find_type, Primitive::Type field_type, bool do_access_check>
636 find_type, Primitive::FieldSize(field_type),
654 case Primitive::kPrimBoolean:
657 case Primitive::kPrimByte:
660 case Primitive::kPrimChar:
663 case Primitive::kPrimShort:
666 case Primitive::kPrimInt:
669 case Primitive::kPrimLong:
672 case Primitive::kPrimNot
    [all...]
  /frameworks/base/tests/RenderScriptTests/Fountain/src/com/example/android/rs/fountain/
FountainRS.java 46 smb.addIndexSetType(Mesh.Primitive.POINT);
  /frameworks/base/tests/RenderScriptTests/Fountain_v11/src/com/android/fountain/
FountainRS.java 46 smb.addIndexSetType(Mesh.Primitive.POINT);
  /art/runtime/verifier/
reg_type_cache.cc 95 const RegType& RegTypeCache::RegTypeFromPrimitiveType(Primitive::Type prim_type) const {
98 case Primitive::kPrimBoolean:
100 case Primitive::kPrimByte:
102 case Primitive::kPrimShort:
104 case Primitive::kPrimChar:
106 case Primitive::kPrimInt:
108 case Primitive::kPrimLong:
110 case Primitive::kPrimFloat:
112 case Primitive::kPrimDouble:
114 case Primitive::kPrimVoid
    [all...]

Completed in 5375 milliseconds

1 2 3 4