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

1 2 3 4 5 6 7 8 91011>>

  /libcore/luni/src/test/java/libcore/java/lang/invoke/
MethodHandleAccessorsTest.java 55 private static enum PrimitiveType {
433 static boolean resultFor(PrimitiveType actualType, PrimitiveType expectedType,
441 PrimitiveType primitive,
447 resultFor(primitive, PrimitiveType.Boolean, accessor, AccessorType.IPUT));
449 resultFor(primitive, PrimitiveType.Boolean, accessor, AccessorType.SPUT));
451 resultFor(primitive, PrimitiveType.Boolean, accessor, AccessorType.IGET));
453 resultFor(primitive, PrimitiveType.Boolean, accessor, AccessorType.SGET));
457 resultFor(primitive, PrimitiveType.Byte, accessor, AccessorType.IPUT));
459 resultFor(primitive, PrimitiveType.Byte, accessor, AccessorType.SPUT))
    [all...]
  /art/test/959-invoke-polymorphic-accessors/src/
Main.java 67 private enum PrimitiveType {
445 static boolean resultFor(PrimitiveType actualType, PrimitiveType expectedType,
453 PrimitiveType primitive,
459 resultFor(primitive, PrimitiveType.Boolean, accessor, AccessorType.IPUT));
461 resultFor(primitive, PrimitiveType.Boolean, accessor, AccessorType.SPUT));
463 resultFor(primitive, PrimitiveType.Boolean, accessor, AccessorType.IGET));
465 resultFor(primitive, PrimitiveType.Boolean, accessor, AccessorType.SGET));
469 resultFor(primitive, PrimitiveType.Byte, accessor, AccessorType.IPUT));
471 resultFor(primitive, PrimitiveType.Byte, accessor, AccessorType.SPUT))
    [all...]
  /frameworks/layoutlib/bridge/src/android/text/
OptimizingLineBreaker.java 20 import android.text.Primitive.PrimitiveType;
27 import static android.text.Primitive.PrimitiveType.PENALTY_INFINITY;
50 assert p.type == PrimitiveType.PENALTY;
65 if (p.type == PrimitiveType.PENALTY) {
160 if (p.type == PrimitiveType.BOX || p.type == PrimitiveType.GLUE) {
162 if (p.type == PrimitiveType.BOX) {
165 } else if (p.type == PrimitiveType.VARIABLE) {
191 if (p.type == PrimitiveType.BOX || p.type == PrimitiveType.GLUE)
    [all...]
Primitive.java 24 public final @NonNull PrimitiveType type;
34 * Use {@code PrimitiveType#getNewPrimitive()}
36 private Primitive(@NonNull PrimitiveType type, int location, float width, float penalty) {
43 public static enum PrimitiveType {
GreedyLineBreaker.java 20 import android.text.Primitive.PrimitiveType;
26 import static android.text.Primitive.PrimitiveType.PENALTY_INFINITY;
58 if (p.type == PrimitiveType.BOX || p.type == PrimitiveType.GLUE) {
60 if (p.type == PrimitiveType.BOX) {
63 } else if (p.type == PrimitiveType.VARIABLE) {
106 if (p.type == PrimitiveType.PENALTY &&
133 } else if (p.type == PrimitiveType.WORD_BREAK) {
StaticLayout_Delegate.java 13 import android.text.Primitive.PrimitiveType;
191 primitives.add(PrimitiveType.GLUE.getNewPrimitive(i, widths[i]));
193 primitives.add(PrimitiveType.VARIABLE.getNewPrimitive(i));
201 p = PrimitiveType.PENALTY.getNewPrimitive(i, 0, 0);
203 p = PrimitiveType.WORD_BREAK.getNewPrimitive(i, 0);
208 primitives.add(PrimitiveType.BOX.getNewPrimitive(i, widths[i]));
213 PrimitiveType.PENALTY.getNewPrimitive(length, 0, -PrimitiveType.PENALTY_INFINITY));
  /external/swiftshader/src/OpenGL/libGL/
Device.hpp 25 enum PrimitiveType
62 void drawIndexedPrimitive(PrimitiveType type, unsigned int indexOffset, unsigned int primitiveCount, int indexSize);
63 void drawPrimitive(PrimitiveType primitiveType, unsigned int primiveCount);
  /art/runtime/entrypoints/quick/
quick_field_entrypoints.cc 71 #define ART_GET_FIELD_FROM_CODE(Kind, PrimitiveType, RetType, SetType, \
80 sizeof(PrimitiveType)); \
85 field_idx, referrer, self, sizeof(PrimitiveType)); \
101 sizeof(PrimitiveType)); \
106 field_idx, referrer, self, sizeof(PrimitiveType), &obj); \
122 sizeof(PrimitiveType)); \
132 field_idx, referrer, self, sizeof(PrimitiveType)); \
135 field_idx, referrer, self, sizeof(PrimitiveType)); \
153 sizeof(PrimitiveType)); \
166 sizeof(PrimitiveType), \
    [all...]
  /external/spirv-llvm/lib/SPIRV/Mangler/
ParameterType.cpp 23 PrimitiveType::PrimitiveType(TypePrimitiveEnum primitive) :
28 MangleError PrimitiveType::accept(TypeVisitor* visitor) const {
35 std::string PrimitiveType::toString() const {
43 bool PrimitiveType::equals(const ParamType* type) const {
44 const PrimitiveType* p = SPIR::dyn_cast<PrimitiveType>(type);
236 const TypeEnum PrimitiveType::enumTy = TYPE_ID_PRIMITIVE;
  /external/deqp/external/vulkancts/modules/vulkan/tessellation/
vktTessellationMiscDrawTests.cpp 59 TessPrimitiveType primitiveType;
64 inline CaseDefinition makeCaseDefinition (const TessPrimitiveType primitiveType,
69 caseDef.primitiveType = primitiveType;
100 std::vector<tcu::Vec2> genVertexPositions (const TessPrimitiveType primitiveType)
105 if (primitiveType == TESSPRIMITIVETYPE_TRIANGLES)
111 else if (primitiveType == TESSPRIMITIVETYPE_QUADS || primitiveType == TESSPRIMITIVETYPE_ISOLINES)
136 const std::vector<tcu::Vec2> vertexData = genVertexPositions(caseDef.primitiveType);
137 const deUint32 inPatchSize = (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? 3 : 4)
    [all...]
vktTessellationGeometryPassthroughTests.cpp 89 std::string generateTessellationEvaluationShader (const TessPrimitiveType primitiveType, const std::string& colorOutputName)
94 << "layout(" << getTessPrimitiveTypeShaderName(primitiveType) << ") in;\n"
103 if (primitiveType == TESSPRIMITIVETYPE_TRIANGLES)
108 else if (primitiveType == TESSPRIMITIVETYPE_QUADS || primitiveType == TESSPRIMITIVETYPE_ISOLINES)
129 IdentityGeometryShaderTestCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description, const TessPrimitiveType primitiveType)
131 , m_primitiveType (primitiveType)
218 IdentityTessellationShaderTestCase (tcu::TestContext& testCtx, const std::string& name, const std::string& description, const TessPrimitiveType primitiveType)
220 , m_primitiveType (primitiveType)
229 std::string generateGeometryShader (const TessPrimitiveType primitiveType, const std::string& colorSourceName
    [all...]
vktTessellationCoordinatesTests.cpp 62 std::string getCaseName (const TessPrimitiveType primitiveType, const SpacingMode spacingMode)
65 str << getTessPrimitiveTypeShaderName(primitiveType) << "_" << getSpacingModeShaderName(spacingMode);
69 std::vector<TessLevels> genTessLevelCases (const TessPrimitiveType primitiveType,
102 if (primitiveType == TESSPRIMITIVETYPE_TRIANGLES)
110 else if (primitiveType == TESSPRIMITIVETYPE_QUADS)
127 std::vector<tcu::Vec3> generateReferenceTessCoords (const TessPrimitiveType primitiveType,
132 if (isPatchDiscarded(primitiveType, outerLevels))
135 switch (primitiveType)
212 void drawTessCoordPoint (tcu::Surface& dst, const TessPrimitiveType primitiveType, const tcu::Vec3& pt, const tcu::RGBA& color, const int size)
228 const tcu::Vec2 dstPos = primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? pt.x()*triangleCorners[0
    [all...]
vktTessellationInvarianceTests.cpp 234 const TessPrimitiveType primitiveType,
289 switch (primitiveType)
338 << "layout(" << getTessPrimitiveTypeShaderName(primitiveType) << ", "
359 const int numVertices = numVerticesPerPrimitive(primitiveType, *usePointModeIter); // Primitives that the tessellated patch comprises of.
365 << "layout(" << getGeometryShaderInputPrimitiveTypeShaderName(primitiveType, *usePointModeIter) << ") in;\n"
366 << "layout(" << getGeometryShaderOutputPrimitiveTypeShaderName(primitiveType, *usePointModeIter) << ", max_vertices = " << numVertices << ") out;\n"
468 TessPrimitiveType primitiveType;
500 int multiplePatchReferencePrimitiveCount (const TessPrimitiveType primitiveType, const SpacingMode spacingMode, const bool usePointMode, const float* levels, int numPatches)
504 result += referencePrimitiveCount(primitiveType, spacingMode, usePointMode, &levels[NUM_TESS_LEVELS*patchNdx + 0], &levels[NUM_TESS_LEVELS*patchNdx + 2]);
509 int computeMaxPrimitiveCount (const int numPatchesToDraw, const TessPrimitiveType primitiveType, const SpacingMode spacingMode, const bool usePointMode, const float (&singleOuterEdgeLevels)[N]
    [all...]
vktTessellationCommonEdgeTests.cpp 65 TessPrimitiveType primitiveType;
100 DE_ASSERT(caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES || caseDef.primitiveType == TESSPRIMITIVETYPE_QUADS);
124 const int numVertices = (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? 3 : 4);
146 << (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES ?
150 : caseDef.primitiveType == TESSPRIMITIVETYPE_QUADS ?
164 if (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES)
170 else if (caseDef.primitiveType == TESSPRIMITIVETYPE_QUADS)
193 << "layout(" << getTessPrimitiveTypeShaderName(caseDef.primitiveType) << ", "
240 DE_ASSERT(caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES || caseDef.primitiveType == TESSPRIMITIVETYPE_QUADS)
    [all...]
vktTessellationWindingTests.cpp 53 std::string getCaseName (const TessPrimitiveType primitiveType, const Winding winding, bool yFlip)
56 str << getTessPrimitiveTypeShaderName(primitiveType) << "_" << getWindingShaderName(winding);
77 const TessPrimitiveType primitiveType,
118 if (primitiveType == TESSPRIMITIVETYPE_TRIANGLES)
120 const int badPixelTolerance = (primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? 5*de::max(image.getWidth(), image.getHeight()) : 0);
163 else if (primitiveType == TESSPRIMITIVETYPE_QUADS)
192 const TessPrimitiveType primitiveType,
208 const TessPrimitiveType primitiveType,
212 : TestCase (testCtx, getCaseName(primitiveType, winding, yFlip), "")
213 , m_primitiveType (primitiveType)
    [all...]
  /dalvik/dexgen/src/com/android/dexgen/rop/cst/
CstFieldRef.java 32 * @param primitiveType {@code non-null;} the primitive type
35 public static CstFieldRef forPrimitiveType(Type primitiveType) {
36 return new CstFieldRef(CstType.forBoxedPrimitiveType(primitiveType),
  /dalvik/dx/src/com/android/dx/rop/cst/
CstFieldRef.java 32 * @param primitiveType {@code non-null;} the primitive type
35 public static CstFieldRef forPrimitiveType(Type primitiveType) {
36 return new CstFieldRef(CstType.forBoxedPrimitiveType(primitiveType),
  /external/easymock/src/org/easymock/internal/
MethodSerializationWrapper.java 68 Class<?> primitiveType = primitiveTypes.get(parameterTypeNames[i]);
69 if (primitiveType != null) {
70 parameterTypes[i] = primitiveType;
  /external/deqp/framework/referencerenderer/
rrRenderer.hpp 91 PrimitiveList (PrimitiveType primitiveType, int numElements, const int firstElement); // !< primitive list for drawArrays-like call
92 PrimitiveList (PrimitiveType primitiveType, int numElements, const DrawIndices& indices); // !< primitive list for drawElements-like call
98 inline PrimitiveType getPrimitiveType (void) const { return m_primitiveType; }
102 const PrimitiveType m_primitiveType;
  /external/deqp/modules/gles3/functional/
es3fTransformFeedbackTests.cpp 422 static glu::ShaderProgram* createVertexCaptureProgram (const glu::RenderContext& context, const ProgramSpec& spec, deUint32 bufferMode, deUint32 primitiveType)
426 genShaderSources(spec, vertSource, fragSource, primitiveType == GL_POINTS /* Is point size required? */);
625 static deUint32 getTransformFeedbackOutputCount (deUint32 primitiveType, int numElements)
627 switch (primitiveType)
643 static deUint32 getTransformFeedbackPrimitiveCount (deUint32 primitiveType, int numElements)
645 switch (primitiveType)
661 static deUint32 getTransformFeedbackPrimitiveMode (deUint32 primitiveType)
663 switch (primitiveType)
684 static int getAttributeIndex (deUint32 primitiveType, int numInputs, int outNdx)
686 switch (primitiveType)
    [all...]
  /external/skia/src/gpu/vk/
GrVkPipelineStateCache.cpp 79 GrPrimitiveType primitiveType,
96 primitiveType, *fGpu->caps()->shaderCaps())) {
119 primitiveType,
  /external/v8/src/builtins/
builtins-symbol.cc 80 assembler.ToThisValue(context, receiver, PrimitiveType::kSymbol,
94 Node* value = assembler.ToThisValue(context, receiver, PrimitiveType::kSymbol,
111 context, receiver, PrimitiveType::kSymbol, "Symbol.prototype.valueOf");
  /system/tools/aidl/
type_cpp.cpp 129 class PrimitiveType : public Type {
131 PrimitiveType(const std::string& aidl_type,
145 virtual ~PrimitiveType() = default;
149 DISALLOW_COPY_AND_ASSIGN(PrimitiveType);
150 }; // class PrimitiveType
170 }; // class PrimitiveType
415 Add(new PrimitiveType(
419 Add(new PrimitiveType(
423 Add(new PrimitiveType(
427 Add(new PrimitiveType(
    [all...]
  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/writer/
PrimitiveName.java 22 import javax.lang.model.type.PrimitiveType;
42 static PrimitiveName forTypeMirror(PrimitiveType mirror) {
  /external/skia/src/gpu/ops/
GrMeshDrawOp.h 35 PatternHelper(GrPrimitiveType primitiveType) : fMesh(primitiveType) {}

Completed in 1487 milliseconds

1 2 3 4 5 6 7 8 91011>>