Home
last modified time | relevance | path

Searched refs:TYPE_BOOL (Results 1 – 25 of 71) sorted by relevance

123

/external/deqp/modules/gles2/functional/
Des2fShaderConstExprTests.cpp183 …{"lessThan", "lessThan(${T} (1.0), ${T} (2.0))", glu::TYPE_FLOAT, 2, 4, glu::TYPE_BOOL, 1.0… in init()
184 …{"lessThan", "lessThan(${T} (1), ${T} (2))", glu::TYPE_INT, 2, 4, glu::TYPE_BOOL, 1.0f … in init()
185 …", "lessThanEqual(${T} (1.0), ${T} (1.0))", glu::TYPE_FLOAT, 2, 4, glu::TYPE_BOOL, 1.0f }, in init()
186 …{"lessThanEqual", "lessThanEqual(${T} (1), ${T} (1))", glu::TYPE_INT, 2, 4, glu::TYPE_BOOL, … in init()
187 …", "greaterThan(${T} (1.0), ${T} (2.0))", glu::TYPE_FLOAT, 2, 4, glu::TYPE_BOOL, 0.0f }, in init()
188 …{"greaterThan", "greaterThan(${T} (1), ${T} (2))", glu::TYPE_INT, 2, 4, glu::TYPE_BOOL, 0… in init()
189 …"greaterThanEqual(${T} (1.0), ${T} (2.0))", glu::TYPE_FLOAT, 2, 4, glu::TYPE_BOOL, 0.0f }, in init()
190 …l","greaterThanEqual(${T} (1), ${T} (2))", glu::TYPE_INT, 2, 4, glu::TYPE_BOOL, 0.0f }, in init()
191 …{"equal", "equal(${T} (1.0), ${T} (1.2))", glu::TYPE_FLOAT, 2, 4, glu::TYPE_BOOL, 0.0f … in init()
192 …{"equal", "equal(${T} (1), ${T} (2))", glu::TYPE_INT, 2, 4, glu::TYPE_BOOL, 0.0f }, in init()
[all …]
Des2fShaderOperatorTests.cpp435 bool isBoolVal = de::inRange<int>(spec.inputs[i].type, TYPE_BOOL, TYPE_BOOL_VEC4); in ShaderOperatorCase()
477 bool isBool = de::inRange<int>(inType, TYPE_BOOL, TYPE_BOOL_VEC4); in ShaderOperatorCase()
510 bool isBoolOut = de::inRange<int>(spec.output, TYPE_BOOL, TYPE_BOOL_VEC4); in ShaderOperatorCase()
1218 TYPE_BOOL, in init()
1403 { TYPE_BOOL, eval_selection_bool }, in init()
1450 shaderSpec.inputs[0] = ShaderValue(TYPE_BOOL, -1.0f, 1.0f); in init()
1482 …{ false, "bool_vec2", "in0 && in1, in0, ivec2(vec2(in0) + in2)", 3, { TYPE_BOOL, TYPE_BOOL, … in init()
1487 …2", "in1 = in0, in2++, in2 = in2 + vec2(in1), ivec2(in2)", 3, { TYPE_BOOL, TYPE_BOOL, TYPE_FL… in init()
/external/deqp/modules/gles3/functional/
Des3fShaderConstExprTests.cpp143 {"isnan", "isnan(${T} (1.3))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_BOOL, 0.0f }, in init()
144 {"isinf", "isinf(${T} (1.3))", glu::TYPE_FLOAT, 1, 4, glu::TYPE_BOOL, 0.0f }, in init()
254 …{"lessThan", "lessThan(${T} (1.0), ${T} (2.0))", glu::TYPE_FLOAT, 2, 4, glu::TYPE_BOOL, 1.0… in init()
255 …{"lessThan", "lessThan(${T} (-1), ${T} (2))", glu::TYPE_INT, 2, 4, glu::TYPE_BOOL, 1.0f … in init()
256 …{"lessThan", "lessThan(${T} (1), ${T} (2))", glu::TYPE_UINT, 2, 4, glu::TYPE_BOOL, 1.0f … in init()
257 …", "lessThanEqual(${T} (1.0), ${T} (1.0))", glu::TYPE_FLOAT, 2, 4, glu::TYPE_BOOL, 1.0f }, in init()
258 …l", "lessThanEqual(${T} (-1), ${T} (-1))", glu::TYPE_INT, 2, 4, glu::TYPE_BOOL, 1.0f }, in init()
259 …{"lessThanEqual", "lessThanEqual(${T} (1), ${T} (1))", glu::TYPE_UINT, 2, 4, glu::TYPE_BOOL, … in init()
260 …", "greaterThan(${T} (1.0), ${T} (2.0))", glu::TYPE_FLOAT, 2, 4, glu::TYPE_BOOL, 0.0f }, in init()
261 …{"greaterThan", "greaterThan(${T} (-1), ${T} (2))", glu::TYPE_INT, 2, 4, glu::TYPE_BOOL, … in init()
[all …]
/external/v8/src/
Dflags.cc31 enum FlagType { TYPE_BOOL, TYPE_MAYBE_BOOL, TYPE_INT, TYPE_FLOAT, enumerator
48 DCHECK(type_ == TYPE_BOOL); in bool_variable()
86 DCHECK(type_ == TYPE_BOOL); in bool_default()
113 case TYPE_BOOL: in IsDefault()
138 case TYPE_BOOL: in Reset()
172 case Flag::TYPE_BOOL: return "bool"; in Type2String()
186 case Flag::TYPE_BOOL: in operator <<()
233 bool disabled = f->type() == Flag::TYPE_BOOL && !*f->bool_variable(); in argv()
238 if (f->type() != Flag::TYPE_BOOL) { in argv()
369 if (flag->type() != Flag::TYPE_BOOL && in SetFlagsFromCommandLine()
[all …]
/external/deqp/framework/opengl/
DgluShaderUtil.hpp123 TYPE_BOOL, enumerator
198 inline bool isDataTypeBoolOrBVec (DataType dataType) { return (dataType >= TYPE_BOOL) && (d… in isDataTypeBoolOrBVec()
199 …e == TYPE_FLOAT) || (dataType == TYPE_INT) || (dataType == TYPE_UINT) || (dataType == TYPE_BOOL); } in isDataTypeScalar()
201 …InRange32(dataType, TYPE_UINT, TYPE_UINT_VEC4) || deInRange32(dataType, TYPE_BOOL, TYPE_BOOL_VEC4)… in isDataTypeScalarOrVector()
217 template <> struct DataTypeTraits<bool> { enum { DATATYPE = TYPE_BOOL }; };
236 DE_STATIC_ASSERT(TYPE_BOOL_VEC4 == TYPE_BOOL + 3);
DgluShaderUtil.cpp353 TYPE_BOOL, // bool in getDataTypeScalarType()
354 TYPE_BOOL, // bvec2 in getDataTypeScalarType()
355 TYPE_BOOL, // bvec3 in getDataTypeScalarType()
356 TYPE_BOOL, // bvec4 in getDataTypeScalarType()
493 case TYPE_BOOL: in getDataTypeVector()
517 return getDataTypeVector(TYPE_BOOL, vecSize); in getDataTypeBoolVec()
617 case GL_BOOL: return TYPE_BOOL; in getDataTypeFromGLType()
/external/deqp/framework/randomshaders/
DrsgVariableType.cpp88 case TYPE_BOOL: in getScalarSize()
153 case TYPE_BOOL: in getScalarType()
157 VariableType(TYPE_BOOL, 1) in getScalarType()
187 case TYPE_BOOL: in getElementType()
242 case TYPE_BOOL: in tokenizeShortType()
DrsgUtils.cpp73 case VariableType::TYPE_BOOL: in computeRandomValue()
145 case VariableType::TYPE_BOOL: in isUndefinedValueRange()
159 VariableType::TYPE_BOOL, in computeRandomType()
170 case VariableType::TYPE_BOOL: in computeRandomType()
192 case VariableType::TYPE_BOOL: in computeRandomValueRange()
260 case VariableType::TYPE_BOOL: in getTypeConstructorDepth()
276 case VariableType::TYPE_BOOL: in getTypeConstructorDepth()
310 case VariableType::TYPE_BOOL: in computeRangeLengthSum()
DrsgExecutionContext.cpp37 return ExecValueAccess(VariableType::getScalarType(VariableType::TYPE_BOOL), m_data); in getValue()
42 return ExecConstValueAccess(VariableType::getScalarType(VariableType::TYPE_BOOL), m_data); in getValue()
147 case VariableType::TYPE_BOOL: in assignMasked()
DrsgVariableType.hpp44 TYPE_BOOL, enumerator
162 bool isBoolOrVec (void) const { return m_baseType == TYPE_BOOL; } in isBoolOrVec()
DrsgBinaryOps.cpp126 if (Bool) baseTypes.push_back(VariableType::TYPE_BOOL); in BinaryVecOp()
172 DE_ASSERT(baseType == VariableType::TYPE_BOOL); in BinaryVecOp()
404 valueRange = ValueRange(VariableType(VariableType::TYPE_BOOL, 1)); in RelationalOp()
471 …(valueRange.getType().getBaseType() == VariableType::TYPE_BOOL && valueRange.getType().getNumEleme… in getWeight()
699 valueRange = ValueRange(VariableType(VariableType::TYPE_BOOL, 1)); in EqualityComparisonOp()
736 DE_ASSERT(inBaseType == VariableType::TYPE_BOOL); in EqualityComparisonOp()
753 …(valueRange.getType().getBaseType() == VariableType::TYPE_BOOL && valueRange.getType().getNumEleme… in getWeight()
818 case VariableType::TYPE_BOOL: in evaluate()
DrsgExpression.cpp171 case VariableType::TYPE_BOOL: in computeRandomValueRangeForInfElements()
229 case VariableType::TYPE_BOOL: in setInfiniteRange()
472 : m_value(VariableType::getScalarType(VariableType::TYPE_BOOL)) in BoolLiteral()
477 if (valueRange.getType() == VariableType(VariableType::TYPE_BOOL, 1)) in BoolLiteral()
484 ExecValueAccess access = m_value.getValue(VariableType::getScalarType(VariableType::TYPE_BOOL)); in BoolLiteral()
494 if (type == VariableType(VariableType::TYPE_BOOL, 1)) in getWeight()
505 str << Token(m_value.getValue(VariableType::getScalarType(VariableType::TYPE_BOOL)).asBool(0)); in tokenize()
629 case VariableType::TYPE_BOOL: return 2; in getBaseTypeConvNdx()
709 …if (isConversionOk(VariableType::TYPE_BOOL, baseType, comp)) inTypes[numInTypes++] = VariableType:… in ConstructorOp()
1063 case VariableType::TYPE_BOOL: in computeEntryReadWeight()
DrsgVariableValue.cpp88 case VariableType::TYPE_BOOL: in compareValueRangesAllTrue()
250 case VariableType::TYPE_BOOL: in computeIntersection()
DrsgShaderGenerator.cpp142 baseType == VariableType::TYPE_BOOL); in fillUndefinedComponents()
155 case VariableType::TYPE_BOOL: min = false; max = true; break; in fillUndefinedComponents()
/external/nanopb-c/generator/google/protobuf/internal/
Dtype_checkers.py181 _FieldDescriptor.TYPE_BOOL: wire_format.BoolByteSize,
204 _FieldDescriptor.TYPE_BOOL: encoder.BoolEncoder,
227 _FieldDescriptor.TYPE_BOOL: encoder.BoolSizer,
250 _FieldDescriptor.TYPE_BOOL: decoder.BoolDecoder,
272 _FieldDescriptor.TYPE_BOOL: wire_format.WIRETYPE_VARINT,
/external/deqp/modules/glshared/
DglsShaderConstExprTests.cpp65 DE_STATIC_ASSERT(glu::TYPE_BOOL+1 == glu::TYPE_BOOL_VEC2); in createTests()
66 DE_STATIC_ASSERT(glu::TYPE_BOOL+2 == glu::TYPE_BOOL_VEC3); in createTests()
67 DE_STATIC_ASSERT(glu::TYPE_BOOL+3 == glu::TYPE_BOOL_VEC4); in createTests()
117 case glu::TYPE_BOOL: in createTests()
DglsRandomShaderCase.cpp390 case rsg::VariableType::TYPE_BOOL: in setUniformValue()
417 case rsg::VariableType::TYPE_BOOL: scalarType = "bool"; vecType = "bvec"; break; in operator <<()
439 …case rsg::VariableType::TYPE_BOOL: message << (value.component(elementNdx).asBool() ? "true" : "… in operator <<()
/external/protobuf/python/google/protobuf/internal/
Dtype_checkers.py223 _FieldDescriptor.TYPE_BOOL: wire_format.BoolByteSize,
246 _FieldDescriptor.TYPE_BOOL: encoder.BoolEncoder,
269 _FieldDescriptor.TYPE_BOOL: encoder.BoolSizer,
292 _FieldDescriptor.TYPE_BOOL: decoder.BoolDecoder,
314 _FieldDescriptor.TYPE_BOOL: wire_format.WIRETYPE_VARINT,
/external/protobuf/java/src/main/java/com/google/protobuf/nano/
DExtension.java65 public static final int TYPE_BOOL = 8; field in Extension
375 case TYPE_BOOL: in readData()
454 case TYPE_BOOL: in writeSingularData()
514 case TYPE_BOOL: in writeRepeatedData()
602 case TYPE_BOOL: in computePackedDataSize()
707 case TYPE_BOOL: in computeSingularSerializedSize()
/external/protobuf/src/google/protobuf/compiler/java/
Djava_helpers.cc285 case FieldDescriptor::TYPE_BOOL: in GetJavaType()
343 case FieldDescriptor::TYPE_BOOL : return "BOOL"; in FieldTypeName()
616 case FieldDescriptor::TYPE_BOOL : return "Bool"; in GetCapitalizedType()
650 case FieldDescriptor::TYPE_BOOL : return WireFormatLite::kBoolSize; in FixedSize()
/external/protobuf/src/google/protobuf/compiler/javamicro/
Djavamicro_primitive_field.cc109 case FieldDescriptor::TYPE_BOOL : return "Bool" ; in GetCapitalizedType()
141 case FieldDescriptor::TYPE_BOOL : return WireFormatLite::kBoolSize; in FixedSize()
/external/protobuf/src/google/protobuf/compiler/javanano/
Djavanano_primitive_field.cc111 case FieldDescriptor::TYPE_BOOL : return "Bool" ; in GetCapitalizedType()
143 case FieldDescriptor::TYPE_BOOL : return WireFormatLite::kBoolSize; in FixedSize()
777 if (descriptor_->type() == FieldDescriptor::TYPE_BOOL in GenerateMergingCodeFromPacked()
Djavanano_extension.cc63 case FieldDescriptor::TYPE_BOOL : return "TYPE_BOOL" ; in GetTypeConstantName()
/external/nanopb-c/generator/google/protobuf/
Ddescriptor.py369 TYPE_BOOL = 8 variable in FieldDescriptor
414 TYPE_BOOL: CPPTYPE_BOOL,
/external/protobuf/python/google/protobuf/
Ddescriptor.py390 TYPE_BOOL = 8 variable in FieldDescriptor
435 TYPE_BOOL: CPPTYPE_BOOL,

123