Lines Matching refs:EV
646 const RSExportVar *EV = *I; in genScriptClassConstructor() local
647 if (!EV->getInit().isUninit()) { in genScriptClassConstructor()
648 genInitExportVariable(EV->getType(), EV->getName(), EV->getInit()); in genScriptClassConstructor()
649 } else if (EV->getArraySize()) { in genScriptClassConstructor()
651 mOut.indent() << RS_EXPORT_VAR_PREFIX << EV->getName() << " = new " in genScriptClassConstructor()
652 … << GetTypeName(EV->getType(), TypeNameDefault & ~TypeNameWithConstantArrayBrackets) << "[" in genScriptClassConstructor()
653 << EV->getArraySize() << "];\n"; in genScriptClassConstructor()
654 size_t NumInits = EV->getNumInits(); in genScriptClassConstructor()
656 static_cast<const RSExportConstantArrayType *>(EV->getType()); in genScriptClassConstructor()
660 Name << EV->getName() << "[" << i << "]"; in genScriptClassConstructor()
661 genInitExportVariable(ET, Name.str(), EV->getInitArray(i)); in genScriptClassConstructor()
665 genTypeInstance(EV->getType()); in genScriptClassConstructor()
667 genFieldPackerInstance(EV->getType()); in genScriptClassConstructor()
860 void RSReflectionJava::genExportVariable(const RSExportVar *EV) { in genExportVariable() argument
861 const RSExportType *ET = EV->getType(); in genExportVariable()
864 AllocSize32 = mState->declareVariable(EV); in genExportVariable()
870 << EV->getName() << " = " << getNextExportVarSlot() << ";\n"; in genExportVariable()
874 genPrimitiveTypeExportVariable(EV); in genExportVariable()
878 genPointerTypeExportVariable(EV); in genExportVariable()
882 genVectorTypeExportVariable(EV); in genExportVariable()
886 genMatrixTypeExportVariable(EV); in genExportVariable()
890 genConstantArrayTypeExportVariable(EV, AllocSize32); in genExportVariable()
894 genRecordTypeExportVariable(EV, AllocSize32); in genExportVariable()
1855 void RSReflectionJava::genPrimitiveTypeExportVariable(const RSExportVar *EV) { in genPrimitiveTypeExportVariable() argument
1857 (EV->getType()->getClass() == RSExportType::ExportClassPrimitive) && in genPrimitiveTypeExportVariable()
1861 static_cast<const RSExportPrimitiveType *>(EV->getType()); in genPrimitiveTypeExportVariable()
1863 const std::string &VarName = EV->getName(); in genPrimitiveTypeExportVariable()
1865 genPrivateExportVariable(TypeName, EV->getName()); in genPrimitiveTypeExportVariable()
1867 if (EV->isConst()) { in genPrimitiveTypeExportVariable()
1870 const clang::APValue &Val = EV->getInit(); in genPrimitiveTypeExportVariable()
1879 if ((EPT->getElementSizeInBytes() < 4) || EV->isUnsigned()) { in genPrimitiveTypeExportVariable()
1961 void RSReflectionJava::genPointerTypeExportVariable(const RSExportVar *EV) { in genPointerTypeExportVariable() argument
1962 const RSExportType *ET = EV->getType(); in genPointerTypeExportVariable()
1970 const std::string &VarName = EV->getName(); in genPointerTypeExportVariable()
1995 void RSReflectionJava::genVectorTypeExportVariable(const RSExportVar *EV) { in genVectorTypeExportVariable() argument
1996 slangAssert((EV->getType()->getClass() == RSExportType::ExportClassVector) && in genVectorTypeExportVariable()
1999 std::string TypeName = GetTypeName(EV->getType()); in genVectorTypeExportVariable()
2000 std::string VarName = EV->getName(); in genVectorTypeExportVariable()
2003 genSetExportVariable(TypeName, EV, 1); in genVectorTypeExportVariable()
2008 void RSReflectionJava::genMatrixTypeExportVariable(const RSExportVar *EV) { in genMatrixTypeExportVariable() argument
2009 slangAssert((EV->getType()->getClass() == RSExportType::ExportClassMatrix) && in genMatrixTypeExportVariable()
2012 const RSExportType *ET = EV->getType(); in genMatrixTypeExportVariable()
2014 const std::string &VarName = EV->getName(); in genMatrixTypeExportVariable()
2019 if (!EV->isConst()) { in genMatrixTypeExportVariable()
2038 RSReflectionJava::genConstantArrayTypeExportVariable(const RSExportVar *EV, in genConstantArrayTypeExportVariable() argument
2040 const RSExportType *const ET = EV->getType(); in genConstantArrayTypeExportVariable()
2045 std::string TypeName = GetTypeName(EV->getType()); in genConstantArrayTypeExportVariable()
2046 std::string VarName = EV->getName(); in genConstantArrayTypeExportVariable()
2049 genSetExportVariable(TypeName, EV, in genConstantArrayTypeExportVariable()
2056 void RSReflectionJava::genRecordTypeExportVariable(const RSExportVar *EV, in genRecordTypeExportVariable() argument
2058 slangAssert((EV->getType()->getClass() == RSExportType::ExportClassRecord) && in genRecordTypeExportVariable()
2061 std::string TypeName = GetTypeName(EV->getType()); in genRecordTypeExportVariable()
2062 std::string VarName = EV->getName(); in genRecordTypeExportVariable()
2065 genSetExportVariable(TypeName, EV, 1, AllocSize32); in genRecordTypeExportVariable()
2078 const RSExportVar *EV, in genSetExportVariable() argument
2081 if (!EV->isConst()) { in genSetExportVariable()
2083 const std::string &VarName = EV->getName(); in genSetExportVariable()
2084 const RSExportType *ET = EV->getType(); in genSetExportVariable()