/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/ |
D | RemoveArrayLengthMethod.cpp | 60 TConstantUnion *constArray = new TConstantUnion[1]; in visitUnary() local 61 constArray->setIConst(node->getOperand()->getOutermostArraySize()); in visitUnary() 62 queueReplacement(new TIntermConstantUnion(constArray, node->getType()), in visitUnary()
|
/third_party/skia/third_party/externals/angle2/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()
|
/third_party/flutter/skia/third_party/externals/angle2/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() 714 TConstantUnion *constArray = nullptr; in getConstantValue() local 718 constArray = new TConstantUnion[elementSize * getOutermostArraySize()]; in getConstantValue() 727 memcpy(static_cast<void *>(&constArray[elementOffset]), in getConstantValue() 731 return constArray; in getConstantValue() 735 constArray = new TConstantUnion[resultSize]; in getConstantValue() 759 constArray[resultIndex].cast(basicType, argumentConstantValue[0]); in getConstantValue() 763 constArray[resultIndex].setFConst(0.0f); in getConstantValue() [all …]
|
D | Symbol.h | 93 void shareConstPointer(const TConstantUnion *constArray) { unionArray = constArray; } in shareConstPointer() argument
|
D | ParseContext.cpp | 1901 const TConstantUnion *constArray = variable->getConstPointer(); in parseVariableIdentifier() local 1902 node = new TIntermConstantUnion(constArray, variableType); in parseVariableIdentifier() 1909 TConstantUnion *constArray = new TConstantUnion[3]; in parseVariableIdentifier() local 1912 constArray[i].setUConst(static_cast<unsigned int>(workGroupSize[i])); in parseVariableIdentifier() 1920 node = new TIntermConstantUnion(constArray, type); in parseVariableIdentifier() 2027 const TConstantUnion *constArray = initializer->getConstantValue(); in executeInitializer() local 2028 if (constArray) in executeInitializer() 2030 variable->shareConstPointer(constArray); in executeInitializer()
|
D | IntermNode.h | 361 const TConstantUnion *constArray,
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
D | IntermNode.cpp | 100 TIntermTyped *CreateFoldedNode(const TConstantUnion *constArray, const TIntermTyped *originalNode) in CreateFoldedNode() argument 102 ASSERT(constArray != nullptr); in CreateFoldedNode() 105 TIntermTyped *folded = new TIntermConstantUnion(constArray, originalNode->getType()); in CreateFoldedNode() 841 TConstantUnion *constArray = nullptr; in getConstantValue() local 845 constArray = new TConstantUnion[elementSize * getOutermostArraySize()]; in getConstantValue() 854 memcpy(static_cast<void *>(&constArray[elementOffset]), in getConstantValue() 858 return constArray; in getConstantValue() 862 constArray = new TConstantUnion[resultSize]; in getConstantValue() 886 constArray[resultIndex].cast(basicType, argumentConstantValue[0]); in getConstantValue() 890 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 | 2225 const TConstantUnion *constArray = variable->getConstPointer(); in parseVariableIdentifier() local 2226 node = new TIntermConstantUnion(constArray, variableType); in parseVariableIdentifier() 2233 TConstantUnion *constArray = new TConstantUnion[3]; in parseVariableIdentifier() local 2236 constArray[i].setUConst(static_cast<unsigned int>(workGroupSize[i])); in parseVariableIdentifier() 2244 node = new TIntermConstantUnion(constArray, type); in parseVariableIdentifier() 2369 const TConstantUnion *constArray = initializer->getConstantValue(); in executeInitializer() local 2370 if (constArray) in executeInitializer() 2372 variable->shareConstPointer(constArray); in executeInitializer()
|
D | IntermNode.h | 398 const TConstantUnion *constArray,
|
/third_party/glslang/glslang/MachineIndependent/ |
D | SymbolTable.cpp | 356 if (! copyOf.constArray.empty()) { in TVariable() 358 TConstUnionArray newArray(copyOf.constArray, 0, copyOf.constArray.size()); in TVariable() 359 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 | 4878 const TConstUnionArray& constArray = symbol->getAsVariable()->getConstArray(); in limitCheck() local 4879 assert(! constArray.empty()); in limitCheck() 4880 if (value > constArray[0].getIConst()) in limitCheck() 4881 … error(loc, "must be less than or equal to", feature, "%s (%d)", limit, constArray[0].getIConst()); in limitCheck()
|
/third_party/glslang/glslang/Include/ |
D | intermediate.h | 1279 void setConstArray(const TConstUnionArray& c) { constArray = c; } in setConstArray() 1280 const TConstUnionArray& getConstArray() const { return constArray; } in getConstArray() 1298 …TConstUnionArray constArray; // if the symbol is a front-end compile-time constant, this is its va… variable 1304 …TIntermConstantUnion(const TConstUnionArray& ua, const TType& t) : TIntermTyped(t), constArray(ua)… in TIntermConstantUnion() 1305 const TConstUnionArray& getConstArray() const { return constArray; } in getConstArray() 1318 const TConstUnionArray constArray; variable
|
/third_party/skia/third_party/externals/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()
|
/third_party/jsoncpp/src/test_lib_json/ |
D | main.cpp | 316 const Json::Value& constArray = array1_; in JSONTEST_FIXTURE_LOCAL() local 317 JSONTEST_ASSERT_EQUAL(Json::Value(1234), constArray[index0]); in JSONTEST_FIXTURE_LOCAL() 318 JSONTEST_ASSERT_EQUAL(Json::Value(1234), constArray[0]); in JSONTEST_FIXTURE_LOCAL()
|