Lines Matching refs:VarName
590 std::string VarName = EV->getName(); in genPointerTypeExportVariable() local
597 mOut.indent() << "void bind_" << VarName << "(" << TypeName << " v)"; in genPointerTypeExportVariable()
600 mOut.indent() << RS_EXPORT_VAR_PREFIX << VarName << " = v;\n"; in genPointerTypeExportVariable()
603 mOut.indent() << TypeName << " get_" << VarName << "() const"; in genPointerTypeExportVariable()
612 mOut.indent() << "return " << RS_EXPORT_VAR_PREFIX << VarName << ";\n"; in genPointerTypeExportVariable()
764 const char *VarName, in genPackVarOfType() argument
771 mOut.indent() << FieldPackerName << ".add(" << VarName << ");\n"; in genPackVarOfType()
821 if (VarName != nullptr) in genPackVarOfType()
822 FieldName = VarName + ("." + F->getName()); in genPackVarOfType()
854 const char *VarName) { in genTypeCheck() argument
855 mOut.indent() << "// Type check for " << VarName << "\n"; in genTypeCheck()
877 mOut.indent() << "if (!" << VarName in genTypeCheck()
917 const std::string &VarName, in genInitExportVariable() argument
926 genInitBoolExportVariable(VarName, Val); in genInitExportVariable()
928 genInitPrimitiveExportVariable(VarName, Val); in genInitExportVariable()
944 std::string Name = VarName + "." + getVectorAccessor(i); in genInitExportVariable()
954 std::string Name = VarName + "." + getVectorAccessor(i); in genInitExportVariable()
997 void RSReflectionCpp::genZeroInitExportVariable(const std::string &VarName) { in genZeroInitExportVariable() argument
998 mOut.indent() << "memset(&" << RS_EXPORT_VAR_PREFIX << VarName in genZeroInitExportVariable()
999 << ", 0, sizeof(" << RS_EXPORT_VAR_PREFIX << VarName << "));\n"; in genZeroInitExportVariable()
1003 RSReflectionCpp::genInitPrimitiveExportVariable(const std::string &VarName, in genInitPrimitiveExportVariable() argument
1007 mOut.indent() << RS_EXPORT_VAR_PREFIX << VarName << " = "; in genInitPrimitiveExportVariable()
1055 void RSReflectionCpp::genInitBoolExportVariable(const std::string &VarName, in genInitBoolExportVariable() argument
1061 mOut.indent() << RS_EXPORT_VAR_PREFIX << VarName << " = " in genInitBoolExportVariable()