/frameworks/native/opengl/tools/glgen/src/ |
CType.java | 19 String baseType; 26 public CType(String baseType) { 27 setBaseType(baseType); 30 public CType(String baseType, boolean isConst, boolean isPointer) { 31 setBaseType(baseType); 37 return baseType + (isPointer ? " *" : ""); 57 if(baseType.equals("EGLContext") 58 || baseType.equals("EGLConfig") 59 || baseType.equals("EGLSurface") 60 || baseType.equals("EGLDisplay")) [all...] |
JType.java | 21 String baseType; 149 this.baseType = primitiveTypeName; 155 this.baseType = primitiveTypeName; 161 return baseType; 166 return baseType + (isArray ? "[]" : ""); 178 return baseType.equals("String"); 186 return baseType.equals("void"); 190 return baseType.indexOf("Buffer") != -1; 194 return !baseType.equals("java.nio.Buffer") && 195 (baseType.indexOf("Buffer") != -1) [all...] |
JniCodeEmitter.java | 47 String baseType = jType.getBaseType(); 48 if (baseType.equals("int")) { 50 } else if (baseType.equals("float")) { 52 } else if (baseType.equals("boolean")) { 54 } else if (baseType.equals("short")) { 56 } else if (baseType.equals("long")) { 58 } else if (baseType.equals("byte")) { 60 } else if (baseType.equals("String")) { 62 } else if (baseType.equals("void")) { 65 throw new RuntimeException("Unknown primitive basetype " + baseType) [all...] |
/external/pdfium/xfa/fgas/crt/ |
fgas_utils.h | 32 template <class baseType> 36 : CFX_BaseArray(iGrowSize, sizeof(baseType)) {} 42 baseType* AddSpace() { 43 return (baseType*)CFX_BaseArray::AddSpaceTo(CFX_BaseArray::GetSize()); 45 int32_t Add(const baseType& element) { 47 *(baseType*)CFX_BaseArray::AddSpaceTo(index) = element; 50 baseType* GetBuffer() const { return (baseType*)CFX_BaseArray::GetBuffer(); } 51 baseType& GetAt(int32_t index) const { 52 return *(baseType*)CFX_BaseArray::GetAt(index) [all...] |
/external/deqp/framework/randomshaders/ |
rsgVariableType.hpp | 132 VariableType (Type baseType, int numElements = 0); 133 VariableType (Type baseType, const VariableType& elementType, int numElements); 134 VariableType (Type baseType, const char* typeName); 166 static const VariableType& getScalarType (Type baseType); 186 inline VariableType::VariableType (Type baseType, int numElements) 187 : m_baseType (baseType) 193 DE_ASSERT(baseType != TYPE_ARRAY && baseType != TYPE_STRUCT); 196 inline VariableType::VariableType (Type baseType, const VariableType& elementType, int numElements) 197 : m_baseType (baseType) [all...] |
rsgShaderGenerator.cpp | 139 VariableType::Type baseType = valueRange.getType().getBaseType(); 140 TCU_CHECK(baseType == VariableType::TYPE_FLOAT || 141 baseType == VariableType::TYPE_INT || 142 baseType == VariableType::TYPE_BOOL); 151 switch (baseType)
|
rsgVariableType.cpp | 130 const VariableType& VariableType::getScalarType (Type baseType) 132 switch (baseType)
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
MutableFrameFormat.java | 34 public MutableFrameFormat(int baseType, int target) { 35 super(baseType, target); 38 public void setBaseType(int baseType) { 39 mBaseType = baseType; 40 mBytesPerSample = bytesPerSampleOf(baseType);
|
FrameFormat.java | 67 public FrameFormat(int baseType, int target) { 68 mBaseType = baseType; 309 public static int bytesPerSampleOf(int baseType) { 311 switch (baseType) { 343 public static String baseTypeToString(int baseType) { 344 switch (baseType) {
|
SimpleFrame.java | 50 final int baseType = format.getBaseType(); 51 switch (baseType) {
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/ |
PrimitiveFormat.java | 68 private static MutableFrameFormat createFormat(int baseType, int count, int target) { 69 MutableFrameFormat result = new MutableFrameFormat(baseType, target); 74 private static MutableFrameFormat createFormat(int baseType, int target) { 75 MutableFrameFormat result = new MutableFrameFormat(baseType, target);
|
/external/hamcrest/hamcrest-library/src/main/java/org/hamcrest/object/ |
IsCompatibleType.java | 30 * Creates a matcher of {@link Class} that matches when the specified baseType is 35 * @param baseType 38 public static <T> Matcher<Class<?>> typeCompatibleWith(Class<T> baseType) { 39 return new IsCompatibleType<T>(baseType);
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/impl/ |
SmaliArrayTypeElement.java | 58 PsiTypeElement baseType = findChildByClass(PsiTypeElement.class); 59 assert baseType != null; 61 PsiArrayType arrayType = new PsiArrayType(baseType.getType());
|
/frameworks/rs/ |
spec.l | 24 VarType *baseType = currType; 26 while (curPtrLevel < baseType->ptrLevel) { 34 switch(baseType->ptrLevel - curPtrLevel) { 36 sprintf(currType->name, "%s_length", baseType->name); 39 sprintf(currType->name, "%s_length_length", baseType->name);
|
/external/skia/src/sksl/ir/ |
SkSLVarDeclarations.h | 58 VarDeclarations(Position position, const Type* baseType, 61 , fBaseType(*baseType) {
|
/external/deqp/modules/gles31/functional/ |
es31fShaderCommonFunctionTests.cpp | 492 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) 494 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); 500 AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) 501 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "abs", shaderType) 503 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); 504 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); 582 SignCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) 583 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "sign", shaderType) 585 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); 586 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))) [all...] |
es31fShaderIntegerFunctionTests.cpp | 350 static std::string getIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) 352 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); 358 UaddCarryCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) 359 : IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "uaddCarry", shaderType) 361 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); 362 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); 363 m_spec.outputs.push_back(Symbol("sum", glu::VarType(baseType, precision))); 364 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); 454 UsubBorrowCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) 455 : IntegerFunctionCase(context, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "usubBorrow", shaderType [all...] |
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/ |
vktShaderIntegerFunctionTests.cpp | 224 static std::string getIntegerFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) 226 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); 545 UaddCarryCase (tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) 546 : IntegerFunctionCase (testCtx, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "uaddCarry", shaderType) 548 m_spec.inputs.push_back(Symbol("x", glu::VarType(baseType, precision))); 549 m_spec.inputs.push_back(Symbol("y", glu::VarType(baseType, precision))); 550 m_spec.outputs.push_back(Symbol("sum", glu::VarType(baseType, precision))); 551 m_spec.outputs.push_back(Symbol("carry", glu::VarType(baseType, glu::PRECISION_LOWP))); 653 UsubBorrowCase (tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) 654 : IntegerFunctionCase (testCtx, getIntegerFuncCaseName(baseType, precision, shaderType).c_str(), "usubBorrow", shaderType [all...] |
vktShaderCommonFunctionTests.cpp | 369 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) 371 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); 657 AbsCase (tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) 658 : CommonFunctionCase (testCtx, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "abs", shaderType) 660 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); 661 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); 766 SignCase (tcu::TestContext& testCtx, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) 767 : CommonFunctionCase (testCtx, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "sign", shaderType) 769 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); 770 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))) [all...] |
/external/deqp/modules/gles3/functional/ |
es3fShaderCommonFunctionTests.cpp | 414 static std::string getCommonFuncCaseName (glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) 416 return string(glu::getDataTypeName(baseType)) + getPrecisionPostfix(precision) + getShaderTypePostfix(shaderType); 422 AbsCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) 423 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "abs", shaderType) 425 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); 426 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))); 504 SignCase (Context& context, glu::DataType baseType, glu::Precision precision, glu::ShaderType shaderType) 505 : CommonFunctionCase(context, getCommonFuncCaseName(baseType, precision, shaderType).c_str(), "sign", shaderType) 507 m_spec.inputs.push_back(Symbol("in0", glu::VarType(baseType, precision))); 508 m_spec.outputs.push_back(Symbol("out0", glu::VarType(baseType, precision))) [all...] |
/external/r8/src/main/java/com/android/tools/r8/graph/ |
GraphLense.java | 123 DexType baseType = type.toBaseType(dexItemFactory); 124 DexType newType = lookupType(baseType, context); 125 if (baseType == newType) {
|
/system/tools/hidl/ |
ArrayType.cpp | 151 std::string baseType = mElementType->getCppStackType(); 170 << baseType 188 << baseType 228 std::string baseType = mElementType->getCppStackType(); 257 + baseType 303 std::string baseType = mElementType->getCppStackType(); 331 + baseType
|
RefType.cpp | 127 std::string baseType = getCppStackType(); 154 << baseType
|
VectorType.cpp | 146 std::string baseType = mElementType->getCppStackType(); 294 std::string baseType = getCppStackType(); 309 baseType, 319 baseType = mElementType->getCppStackType(); 347 iteratorName + " * sizeof(" + baseType + ")");
|
/external/pdfium/core/fxcrt/ |
fx_arabic.cpp | 424 template <class baseType> 427 void FX_BidiReverseString(std::vector<baseType>& chars, 436 void FX_BidiSetDeferredRun(std::vector<baseType>& chars, 453 void FX_BidiClassify(std::vector<baseType>& chars, int32_t iCount, bool bWS) { 470 void FX_BidiResolveExplicit(std::vector<baseType>& chars, 479 void FX_BidiResolveWeak(std::vector<baseType>& chars, 487 baseType *pTC, *pTCNext; 551 void FX_BidiResolveNeutrals(std::vector<baseType>& chars, 560 baseType* pTC; 600 void FX_BidiResolveImplicit(std::vector<baseType>& chars, int32_t iCount) [all...] |