/external/angle/src/compiler/translator/tree_ops/ |
D | RemoveArrayLengthMethod.cpp | 57 TConstantUnion *constArray = new TConstantUnion[1]; in visitUnary() local 58 constArray->setIConst(node->getOperand()->getOutermostArraySize()); in visitUnary() 59 queueReplacement(new TIntermConstantUnion(constArray, node->getType()), in visitUnary()
|
/external/angle/src/compiler/translator/ |
D | IntermNode.cpp | 99 TIntermTyped *CreateFoldedNode(const TConstantUnion *constArray, const TIntermTyped *originalNode) in CreateFoldedNode() argument 101 ASSERT(constArray != nullptr); in CreateFoldedNode() 104 TIntermTyped *folded = new TIntermConstantUnion(constArray, originalNode->getType()); in CreateFoldedNode() 797 TConstantUnion *constArray = nullptr; in getConstantValue() local 801 constArray = new TConstantUnion[elementSize * getOutermostArraySize()]; in getConstantValue() 810 memcpy(static_cast<void *>(&constArray[elementOffset]), in getConstantValue() 814 return constArray; in getConstantValue() 818 constArray = new TConstantUnion[resultSize]; in getConstantValue() 842 constArray[resultIndex].cast(basicType, argumentConstantValue[0]); in getConstantValue() 846 constArray[resultIndex].setFConst(0.0f); in getConstantValue() [all …]
|
D | Symbol.h | 129 void shareConstPointer(const TConstantUnion *constArray) { unionArray = constArray; } in shareConstPointer() argument
|
D | ParseContext.cpp | 2209 const TConstantUnion *constArray = variable->getConstPointer(); in parseVariableIdentifier() local 2210 node = new TIntermConstantUnion(constArray, variableType); in parseVariableIdentifier() 2217 TConstantUnion *constArray = new TConstantUnion[3]; in parseVariableIdentifier() local 2220 constArray[i].setUConst(static_cast<unsigned int>(workGroupSize[i])); in parseVariableIdentifier() 2228 node = new TIntermConstantUnion(constArray, type); in parseVariableIdentifier() 2337 const TConstantUnion *constArray = initializer->getConstantValue(); in executeInitializer() local 2338 if (constArray) in executeInitializer() 2340 variable->shareConstPointer(constArray); in executeInitializer()
|
D | IntermNode.h | 380 const TConstantUnion *constArray,
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/MachineIndependent/ |
D | SymbolTable.cpp | 361 if (! copyOf.constArray.empty()) { in TVariable() 363 TConstUnionArray newArray(copyOf.constArray, 0, copyOf.constArray.size()); in TVariable() 364 constArray = newArray; in TVariable()
|
D | SymbolTable.h | 173 virtual const TConstUnionArray& getConstArray() const { return constArray; } in getConstArray() 174 virtual TConstUnionArray& getWritableConstArray() { assert(writable); return constArray; } in getWritableConstArray() 175 virtual void setConstArray(const TConstUnionArray& array) { constArray = array; } in setConstArray() 213 TConstUnionArray constArray; // for compile-time constant value variable
|
D | Constant.cpp | 1412 TConstUnionArray constArray(selectors.size()); in foldSwizzle() local 1415 constArray[i] = unionArray[selectors[i]]; in foldSwizzle() 1417 TIntermTyped* result = addConstantUnion(constArray, node->getType(), loc); in foldSwizzle()
|
D | Intermediate.cpp | 68 …addSymbol(long long id, const TString& name, const TType& type, const TConstUnionArray& constArray, in addSymbol() argument 73 node->setConstArray(constArray); in addSymbol()
|
D | ParseHelper.cpp | 5205 const TConstUnionArray& constArray = symbol->getAsVariable()->getConstArray(); in limitCheck() local 5206 assert(! constArray.empty()); in limitCheck() 5207 if (value > constArray[0].getIConst()) in limitCheck() 5208 … error(loc, "must be less than or equal to", feature, "%s (%d)", limit, constArray[0].getIConst()); in limitCheck()
|
/external/deqp-deps/glslang/glslang/MachineIndependent/ |
D | SymbolTable.cpp | 360 if (! copyOf.constArray.empty()) { in TVariable() 362 TConstUnionArray newArray(copyOf.constArray, 0, copyOf.constArray.size()); in TVariable() 363 constArray = newArray; in TVariable()
|
D | SymbolTable.h | 173 virtual const TConstUnionArray& getConstArray() const { return constArray; } in getConstArray() 174 virtual TConstUnionArray& getWritableConstArray() { assert(writable); return constArray; } in getWritableConstArray() 175 virtual void setConstArray(const TConstUnionArray& array) { constArray = array; } in setConstArray() 213 TConstUnionArray constArray; // for compile-time constant value variable
|
D | Constant.cpp | 1413 TConstUnionArray constArray(selectors.size()); in foldSwizzle() local 1416 constArray[i] = unionArray[selectors[i]]; in foldSwizzle() 1418 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 | 4921 const TConstUnionArray& constArray = symbol->getAsVariable()->getConstArray(); in limitCheck() local 4922 assert(! constArray.empty()); in limitCheck() 4923 if (value > constArray[0].getIConst()) in limitCheck() 4924 … error(loc, "must be less than or equal to", feature, "%s (%d)", limit, constArray[0].getIConst()); in limitCheck()
|
/external/angle/third_party/vulkan-deps/glslang/src/glslang/Include/ |
D | intermediate.h | 1297 void setConstArray(const TConstUnionArray& c) { constArray = c; } in setConstArray() 1298 const TConstUnionArray& getConstArray() const { return constArray; } in getConstArray() 1318 …TConstUnionArray constArray; // if the symbol is a front-end compile-time constant, this is its va… variable 1324 …TIntermConstantUnion(const TConstUnionArray& ua, const TType& t) : TIntermTyped(t), constArray(ua)… in TIntermConstantUnion() 1325 const TConstUnionArray& getConstArray() const { return constArray; } in getConstArray() 1338 const TConstUnionArray constArray; variable
|
/external/deqp-deps/glslang/glslang/Include/ |
D | intermediate.h | 1291 void setConstArray(const TConstUnionArray& c) { constArray = c; } in setConstArray() 1292 const TConstUnionArray& getConstArray() const { return constArray; } in getConstArray() 1312 …TConstUnionArray constArray; // if the symbol is a front-end compile-time constant, this is its va… variable 1318 …TIntermConstantUnion(const TConstUnionArray& ua, const TType& t) : TIntermTyped(t), constArray(ua)… in TIntermConstantUnion() 1319 const TConstUnionArray& getConstArray() const { return constArray; } in getConstArray() 1332 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/llvm-project/flang/lib/Evaluate/ |
D | shape.cpp | 56 if (const auto *constArray{UnwrapConstantValue<ExtentType>(arrayExpr)}) { in AsShape() local 57 return AsShape(*constArray); in AsShape()
|
/external/llvm-project/clang-tools-extra/test/clang-tidy/checkers/ |
D | modernize-loop-convert-basic.cpp | 100 const int *constArray() { in constArray() function
|
/external/jsoncpp/src/test_lib_json/ |
D | main.cpp | 308 const Json::Value& constArray = array1_; in JSONTEST_FIXTURE_LOCAL() local 309 JSONTEST_ASSERT_EQUAL(Json::Value(1234), constArray[index0]); in JSONTEST_FIXTURE_LOCAL() 310 JSONTEST_ASSERT_EQUAL(Json::Value(1234), constArray[0]); in JSONTEST_FIXTURE_LOCAL()
|