Searched refs:constArray (Results 1 – 11 of 11) sorted by relevance
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | SymbolTable.cpp | 295 if (! copyOf.constArray.empty()) { in TVariable() 297 TConstUnionArray newArray(copyOf.constArray, 0, copyOf.constArray.size()); in TVariable() 298 constArray = newArray; in TVariable()
|
D | SymbolTable.h | 167 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
|
D | Constant.cpp | 1384 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()
|
D | Intermediate.cpp | 68 …iate::addSymbol(int id, const TString& name, const TType& type, const TConstUnionArray& constArray, in addSymbol() argument 73 node->setConstArray(constArray); in addSymbol()
|
D | ParseHelper.cpp | 4553 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/ |
D | intermediate.h | 1199 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/ |
D | SymbolTable.h | 108 void shareConstPointer( ConstantUnion *constArray) in shareConstPointer() argument 110 if (unionArray == constArray) in shareConstPointer() 114 unionArray = constArray; in shareConstPointer()
|
D | ParseHelper.cpp | 1303 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()
|
D | glslang.y | 237 ConstantUnion *constArray = variable->getConstPointer(); variable 238 if (constArray && variable->getType().getArraySize() <= 1) { 240 $$ = context->intermediate.addConstantUnion(constArray, t, @1);
|
D | glslang_tab.cpp | 2379 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/ |
D | main.cpp | 232 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()
|