Home
last modified time | relevance | path

Searched refs:constArray (Results 1 – 11 of 11) sorted by relevance

/external/deqp-deps/glslang/glslang/MachineIndependent/
DSymbolTable.cpp295 if (! copyOf.constArray.empty()) { in TVariable()
297 TConstUnionArray newArray(copyOf.constArray, 0, copyOf.constArray.size()); in TVariable()
298 constArray = newArray; in TVariable()
DSymbolTable.h167 virtual const TConstUnionArray& getConstArray() const { return constArray; } in getConstArray()
168 virtual TConstUnionArray& getWritableConstArray() { assert(writable); return constArray; } in getWritableConstArray()
169 virtual void setConstArray(const TConstUnionArray& array) { constArray = array; } in setConstArray()
189 TConstUnionArray constArray; // for compile-time constant value variable
DConstant.cpp1384 TConstUnionArray constArray(selectors.size()); in foldSwizzle() local
1387 constArray[i] = unionArray[selectors[i]]; in foldSwizzle()
1389 TIntermTyped* result = addConstantUnion(constArray, node->getType(), loc); in foldSwizzle()
DIntermediate.cpp68 …iate::addSymbol(int id, const TString& name, const TType& type, const TConstUnionArray& constArray, in addSymbol() argument
73 node->setConstArray(constArray); in addSymbol()
DParseHelper.cpp4553 const TConstUnionArray& constArray = symbol->getAsVariable()->getConstArray(); in limitCheck() local
4554 assert(! constArray.empty()); in limitCheck()
4555 if (value > constArray[0].getIConst()) in limitCheck()
4556 … error(loc, "must be less than or equal to", feature, "%s (%d)", limit, constArray[0].getIConst()); in limitCheck()
/external/deqp-deps/glslang/glslang/Include/
Dintermediate.h1199 void setConstArray(const TConstUnionArray& c) { constArray = c; } in setConstArray()
1200 const TConstUnionArray& getConstArray() const { return constArray; } in getConstArray()
1218 …TConstUnionArray constArray; // if the symbol is a front-end compile-time constant, this is its va… variable
1224 …TIntermConstantUnion(const TConstUnionArray& ua, const TType& t) : TIntermTyped(t), constArray(ua)… in TIntermConstantUnion()
1225 const TConstUnionArray& getConstArray() const { return constArray; } in getConstArray()
1238 const TConstUnionArray constArray; variable
/external/swiftshader/src/OpenGL/compiler/
DSymbolTable.h108 void shareConstPointer( ConstantUnion *constArray) in shareConstPointer() argument
110 if (unionArray == constArray) in shareConstPointer()
114 unionArray = constArray; in shareConstPointer()
DParseHelper.cpp1303 ConstantUnion* constArray = tVar->getConstPointer(); in executeInitializer() local
1304 variable->shareConstPointer(constArray); in executeInitializer()
2202 ConstantUnion* constArray = new ConstantUnion[fields.num]; in addConstVectorNode() local
2215 constArray[i] = unionArray[fields.offsets[i]]; in addConstVectorNode()
2220 typedNode = intermediate.addConstantUnion(constArray, type, line); in addConstVectorNode()
2318 ConstantUnion* constArray = tempConstantNode->getUnionArrayPointer(); in addConstStruct() local
2320 …typedNode = intermediate.addConstantUnion(constArray+instanceSize, tempConstantNode->getType(), li… in addConstStruct()
Dglslang.y237 ConstantUnion *constArray = variable->getConstPointer(); variable
238 if (constArray && variable->getType().getArraySize() <= 1) {
240 $$ = context->intermediate.addConstantUnion(constArray, t, @1);
Dglslang_tab.cpp2379 ConstantUnion *constArray = variable->getConstPointer(); in yyparse() local
2380 if (constArray && variable->getType().getArraySize() <= 1) { in yyparse()
2382 …(yyval.interm.intermTypedNode) = context->intermediate.addConstantUnion(constArray, t, (yylsp[0])); in yyparse()
/external/jsoncpp/src/test_lib_json/
Dmain.cpp232 const Json::Value& constArray = array1_; in JSONTEST_FIXTURE() local
233 JSONTEST_ASSERT_EQUAL(Json::Value(1234), constArray[index0]); in JSONTEST_FIXTURE()
234 JSONTEST_ASSERT_EQUAL(Json::Value(1234), constArray[0]); in JSONTEST_FIXTURE()