/external/deqp/modules/gles2/functional/ |
H A D | es2fDefaultVertexAttributeTests.cpp | 165 AttributeCase (Context& ctx, const char* name, const char* desc, const char* funcName, bool normalizing, bool useNegative, glu::DataType dataType); 168 static AttributeCase* create (Context& ctx, glu::DataType dataType); 176 glu::DataType getTargetType (void) const; 185 const glu::DataType m_dataType; 198 AttributeCase::AttributeCase (Context& ctx, const char* name, const char* desc, const char* funcName, bool normalizing, bool useNegative, glu::DataType dataType) 213 AttributeCase* AttributeCase::create (Context& ctx, glu::DataType dataType) 490 glu::DataType dataType;
|
H A D | es2fUniformApiTests.cpp | 68 typedef bool (* dataTypePredicate)(glu::DataType); 74 static const glu::DataType s_testDataTypes[] = 126 static inline int getSamplerNumLookupDimensions (const glu::DataType type) 142 template<glu::DataType T> 143 static bool dataTypeEquals (const glu::DataType t) 149 static bool dataTypeIsMatrixWithNRows (const glu::DataType t) 171 static void getDistinctSamplerTypes (vector<glu::DataType>& dst, const glu::VarType& type) 175 const glu::DataType basicType = type.getBasicType(); 225 const glu::DataType basicType = (glu::DataType)s_testDataType [all...] |
/external/deqp/modules/gles3/functional/ |
H A D | es3fDefaultVertexAttributeTests.cpp | 241 AttributeCase (Context& ctx, const char* name, const char* desc, const char* funcName, bool normalizing, bool useNegative, glu::DataType dataType); 244 static AttributeCase* create (Context& ctx, glu::DataType dataType); 252 glu::DataType getTargetType (void) const; 261 const glu::DataType m_dataType; 274 AttributeCase::AttributeCase (Context& ctx, const char* name, const char* desc, const char* funcName, bool normalizing, bool useNegative, glu::DataType dataType) 289 AttributeCase* AttributeCase::create (Context& ctx, glu::DataType dataType) 567 glu::DataType dataType;
|
H A D | es3fShaderDerivateTests.cpp | 186 static inline tcu::BVec4 getDerivateMask (glu::DataType type) 375 glu::DataType dataType, 439 glu::DataType dataType, 574 glu::DataType m_dataType; 577 glu::DataType m_coordDataType; 610 static std::string genVertexSource (glu::DataType coordType, glu::Precision precision) 872 ConstantDerivateCase (Context& context, const char* name, const char* description, DerivateFunc func, glu::DataType type); 884 ConstantDerivateCase::ConstantDerivateCase (Context& context, const char* name, const char* description, DerivateFunc func, glu::DataType type) 939 LinearDerivateCase (Context& context, const char* name, const char* description, DerivateFunc func, glu::DataType type, glu::Precision precision, deUint32 hint, SurfaceType surfaceType, int numSamples, const char* fragmentSrcTmpl); 952 LinearDerivateCase::LinearDerivateCase (Context& context, const char* name, const char* description, DerivateFunc func, glu::DataType typ [all...] |
/external/libmtp/src/ |
H A D | ptp-pack.c | 724 dpd->DataType=dtoh16a(&data[PTP_dpd_DataType]); 729 ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->FactoryDefaultValue, dpd->DataType); 731 if ((dpd->DataType == PTP_DTC_STR) && (offset == dpdlen)) 733 ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->CurrentValue, dpd->DataType); 749 ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->FORM.Range.MinimumValue, dpd->DataType); 751 ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->FORM.Range.MaximumValue, dpd->DataType); 753 ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->FORM.Range.StepSize, dpd->DataType); 767 ret = ptp_unpack_DPV (params, data, &offset, dpdlen, &dpd->FORM.Enum.SupportedValue[i], dpd->DataType); 803 opd->DataType=dtoh16a(&data[PTP_opd_DataType]); 807 ret = ptp_unpack_DPV (params, data, &offset, opdlen, &opd->FactoryDefaultValue, opd->DataType); [all...] |
/external/pdfium/core/include/fxcrt/ |
H A D | fx_basic.h | 764 template <class DataType, int FixedSize>
777 m_pData = FX_Allocator_Alloc(m_pAllocator, DataType, data_size);
779 FXSYS_memset32(m_Data, 0, sizeof(DataType)*FixedSize);
789 m_pData = FX_Allocator_Alloc(m_pAllocator, DataType, data_size);
791 FXSYS_memset32(m_Data, 0, sizeof(DataType)*FixedSize);
800 operator DataType*()
806 DataType m_Data[FixedSize];
807 DataType* m_pData;
809 template <class DataType>
815 m_pData = FX_Allocator_Alloc(m_pAllocator, DataType, siz 666 FXSYS_assert(index < m_nSize); return *(ObjectClass*)CFX_BasicArray::GetDataPtr(index); } ObjectClass* GetDataPtr(int index) { return (ObjectClass*)CFX_BasicArray::GetDataPtr(index); } void RemoveAt(int index) { FXSYS_assert(index < m_nSize); ((ObjectClass*)GetDataPtr(index))->~ObjectClass(); CFX_BasicArray::RemoveAt(index, 1); } void RemoveAll() { for (int i = 0; i < m_nSize; i ++) { ((ObjectClass*)GetDataPtr(i))->~ObjectClass(); } CFX_BasicArray::SetSize(0, -1); } }; typedef CFX_ObjectArray<CFX_ByteString> CFX_ByteStringArray; typedef CFX_ObjectArray<CFX_WideString> CFX_WideStringArray; class CFX_BaseSegmentedArray : public CFX_Object { public: CFX_BaseSegmentedArray(int unit_size = 1, int segment_units = 512, int index_size = 8, IFX_Allocator* pAllocator = NULL); ~CFX_BaseSegmentedArray(); void SetUnitSize(int unit_size, int segment_units, int index_size = 8); void* Add(); void* GetAt(int index) const; void RemoveAll(); void Delete(int index, int count = 1); int GetSize() const { return m_DataSize; } int GetSegmentSize() const { return m_SegmentSize; } int GetUnitSize() const { return m_UnitSize; } void* Iterate(FX_BOOL (*callback)(void* param, void* pData), void* param) const; IFX_Allocator* m_pAllocator; private: int m_UnitSize; short m_SegmentSize; FX_BYTE m_IndexSize; FX_BYTE m_IndexDepth; int m_DataSize; void* m_pIndex; void** GetIndex(int seg_index) const; void* IterateIndex(int level, int& start, void** pIndex, FX_BOOL (*callback)(void* param, void* pData), void* param) const; void* IterateSegment(FX_LPCBYTE pSegment, int count, FX_BOOL (*callback)(void* param, void* pData), void* param) const; }; template <class ElementType> class CFX_SegmentedArray : public CFX_BaseSegmentedArray { public: CFX_SegmentedArray(int segment_units, int index_size = 8, IFX_Allocator* pAllocator = NULL) : CFX_BaseSegmentedArray(sizeof(ElementType), segment_units, index_size, pAllocator) {} void Add(ElementType data) { *(ElementType*)CFX_BaseSegmentedArray::Add() = data; } ElementType& operator [] (int index) { return *(ElementType*)CFX_BaseSegmentedArray::GetAt(index); } }; template <class DataType, int FixedSize> class CFX_FixedBufGrow : public CFX_Object { public: CFX_FixedBufGrow(IFX_Allocator* pAllocator = NULL) : m_pAllocator(pAllocator) , m_pData(NULL) {} CFX_FixedBufGrow(int data_size, IFX_Allocator* pAllocator = NULL) : m_pAllocator(pAllocator) , m_pData(NULL) { if (data_size > FixedSize) argument [all...] |
/external/deqp/modules/gles2/performance/ |
H A D | es2pShaderOperatorTests.cpp | 132 static glu::DataType getDataTypeFloatOrVec (int size) 1099 glu::DataType type, glu::Precision precision, bool useSwizzle, bool isVertex, const InitialCalibrationStorage& initialCalibration); 1122 const glu::DataType m_type; 1128 glu::DataType type, glu::Precision precision, bool useSwizzle, bool isVertex, const InitialCalibrationStorage& initialCalibration) 1362 glu::DataType returnType, 1363 const glu::DataType paramTypes[MAX_PARAMS], 1390 static string sumExpr (const string& aExpr, const string& bExpr, glu::DataType type); 1394 static string incrementExpr (const string& baseExpr, glu::DataType type, bool divide); 1399 const glu::DataType m_returnType; 1400 glu::DataType m_paramType [all...] |
/external/deqp/modules/gles3/performance/ |
H A D | es3pShaderOperatorTests.cpp | 132 static glu::DataType getDataTypeFloatOrVec (int size) 1099 glu::DataType type, glu::Precision precision, bool useSwizzle, bool isVertex, const InitialCalibrationStorage& initialCalibration); 1122 const glu::DataType m_type; 1128 glu::DataType type, glu::Precision precision, bool useSwizzle, bool isVertex, const InitialCalibrationStorage& initialCalibration) 1366 glu::DataType returnType, 1367 const glu::DataType paramTypes[MAX_PARAMS], 1394 static string sumExpr (const string& aExpr, const string& bExpr, glu::DataType type); 1398 static string incrementExpr (const string& baseExpr, glu::DataType type, bool divide); 1403 const glu::DataType m_returnType; 1404 glu::DataType m_paramType [all...] |
/external/deqp/modules/gles31/functional/ |
H A D | es31fUniformBlockTests.cpp | 134 static const glu::DataType basicTypes[] = 206 const glu::DataType type = basicTypes[basicTypeNdx]; 237 const glu::DataType type = basicTypes[basicTypeNdx];
|
H A D | es31fFboTestUtil.cpp | 55 static rr::GenericVecType mapDataTypeToGenericVecType(glu::DataType type) 77 static string genTexFragmentShader (const vector<glu::DataType>& samplerTypes, glu::DataType outputType) 116 static sglr::pdec::ShaderProgramDeclaration genTexture2DShaderDecl (const DataTypes& samplerTypes, glu::DataType outputType) 150 Texture2DShader::Texture2DShader (const DataTypes& samplerTypes, glu::DataType outputType, const Vec4& outScale, const Vec4& outBias) 265 TextureCubeArrayShader::TextureCubeArrayShader (glu::DataType samplerType, glu::DataType outputType) 544 glu::DataType getFragmentOutputType (const tcu::TextureFormat& format)
|
/external/deqp/modules/glshared/ |
H A D | glsRandomUniformBlockCase.cpp | 198 vector<glu::DataType> typeCandidates; 233 glu::DataType type = rnd.choose<glu::DataType>(typeCandidates.begin(), typeCandidates.end());
|
H A D | glsShaderExecUtil.cpp | 100 const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; 137 const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; 175 const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; 217 const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; 300 const glu::DataType uintBasicType = vecSize > 1 ? glu::getDataTypeUintVec(vecSize) : glu::TYPE_UINT; 309 const glu::DataType intBasicType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; 319 const glu::DataType uintBasicType = glu::getDataTypeUintVec(vecSize); 370 const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; 480 const glu::DataType basicType = symbol.varType.getBasicType(); 670 const glu::DataType basicTyp [all...] |
H A D | glsUniformBlockCase.cpp | 128 VarType::VarType (glu::DataType basicType, deUint32 flags) 247 glu::DataType type; 362 int getDataTypeByteSize (glu::DataType type) 367 int getDataTypeByteAlignment (glu::DataType type) 397 int getDataTypeArrayStride (glu::DataType type) 420 glu::DataType basicType = type.getBasicType(); 474 glu::DataType basicType = type.getBasicType(); 517 glu::DataType elemBasicType = elemType.getBasicType(); 536 glu::DataType elemBasicType = elemType.getBasicType(); 626 glu::DataType scalarTyp [all...] |
/external/chromium_org/content/browser/indexed_db/leveldb/ |
H A D | leveldb_transaction.cc | 30 for (DataType::iterator it = data_.begin(); it != data_.end(); ++it) { 42 DataType::iterator it = data_.find(key); 73 DataType::const_iterator it = data_.find(string_key); 101 for (DataType::iterator iterator = data_.begin(); iterator != data_.end();
|
/external/chromium_org/third_party/mesa/src/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_sanity.c | 457 if (imm->Immediate.DataType != TGSI_IMM_FLOAT32 && 458 imm->Immediate.DataType != TGSI_IMM_UINT32 && 459 imm->Immediate.DataType != TGSI_IMM_INT32) { 460 report_error( ctx, "(%u): Invalid immediate data type", imm->Immediate.DataType );
|
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/nv50/codegen/ |
H A D | nv50_ir_print.cpp | 321 int LValue::print(char *buf, size_t size, DataType ty) const 376 int ImmediateValue::print(char *buf, size_t size, DataType ty) const 400 int Symbol::print(char *buf, size_t size, DataType ty) const 406 Value *rel, Value *dimRel, DataType ty) const
|
/external/chromium_org/third_party/mesa/src/src/mesa/program/ |
H A D | prog_parameter.h | 75 GLenum DataType; /**< GL_FLOAT, GL_FLOAT_VEC2, etc */ member in struct:gl_program_parameter
|
/external/chromium_org/third_party/skia/experimental/Networking/ |
H A D | SampleNetPipeReader.cpp | 46 SkSocket::DataType type, void* context) {
|
/external/mesa3d/src/gallium/auxiliary/tgsi/ |
H A D | tgsi_sanity.c | 457 if (imm->Immediate.DataType != TGSI_IMM_FLOAT32 && 458 imm->Immediate.DataType != TGSI_IMM_UINT32 && 459 imm->Immediate.DataType != TGSI_IMM_INT32) { 460 report_error( ctx, "(%u): Invalid immediate data type", imm->Immediate.DataType );
|
/external/mesa3d/src/gallium/drivers/nv50/codegen/ |
H A D | nv50_ir_print.cpp | 321 int LValue::print(char *buf, size_t size, DataType ty) const 376 int ImmediateValue::print(char *buf, size_t size, DataType ty) const 400 int Symbol::print(char *buf, size_t size, DataType ty) const 406 Value *rel, Value *dimRel, DataType ty) const
|
/external/mesa3d/src/mesa/program/ |
H A D | prog_parameter.h | 75 GLenum DataType; /**< GL_FLOAT, GL_FLOAT_VEC2, etc */ member in struct:gl_program_parameter
|
/external/skia/experimental/Networking/ |
H A D | SampleNetPipeReader.cpp | 46 SkSocket::DataType type, void* context) {
|
/external/chromium_org/third_party/mesa/src/src/mesa/main/ |
H A D | formats.c | 55 GLenum DataType; member in struct:gl_format_info 86 GL_NONE, /* DataType */ 95 GL_UNSIGNED_NORMALIZED, /* DataType */ 104 GL_UNSIGNED_NORMALIZED, /* DataType */ 113 GL_UNSIGNED_NORMALIZED, /* DataType */ 122 GL_UNSIGNED_NORMALIZED, /* DataType */ 131 GL_UNSIGNED_NORMALIZED, /* DataType */ 140 GL_UNSIGNED_NORMALIZED, /* DataType */ 149 GL_UNSIGNED_NORMALIZED, /* DataType */ 158 GL_UNSIGNED_NORMALIZED, /* DataType */ [all...] |
/external/mesa3d/src/mesa/main/ |
H A D | formats.c | 55 GLenum DataType; member in struct:gl_format_info 86 GL_NONE, /* DataType */ 95 GL_UNSIGNED_NORMALIZED, /* DataType */ 104 GL_UNSIGNED_NORMALIZED, /* DataType */ 113 GL_UNSIGNED_NORMALIZED, /* DataType */ 122 GL_UNSIGNED_NORMALIZED, /* DataType */ 131 GL_UNSIGNED_NORMALIZED, /* DataType */ 140 GL_UNSIGNED_NORMALIZED, /* DataType */ 149 GL_UNSIGNED_NORMALIZED, /* DataType */ 158 GL_UNSIGNED_NORMALIZED, /* DataType */ [all...] |
/external/chromium_org/third_party/skia/experimental/DrawingBoard/ |
H A D | SampleDrawingServer.cpp | 52 SkSocket::DataType type, void* context) { 57 void onRead(int cid, const void* data, size_t size, SkSocket::DataType type) {
|