Lines Matching refs:VarName
592 const std::string &VarName = EV->getName(); in genPointerTypeExportVariable() local
599 mOut.indent() << "void bind_" << VarName << "(" << TypeName << " v)"; in genPointerTypeExportVariable()
602 mOut.indent() << RS_EXPORT_VAR_PREFIX << VarName << " = v;\n"; in genPointerTypeExportVariable()
605 mOut.indent() << TypeName << " get_" << VarName << "() const"; in genPointerTypeExportVariable()
614 mOut.indent() << "return " << RS_EXPORT_VAR_PREFIX << VarName << ";\n"; in genPointerTypeExportVariable()
766 const char *VarName, in genPackVarOfType() argument
773 mOut.indent() << FieldPackerName << ".add(" << VarName << ");\n"; in genPackVarOfType()
823 if (VarName != nullptr) in genPackVarOfType()
824 FieldName = VarName + ("." + F->getName()); in genPackVarOfType()
856 const char *VarName) { in genTypeCheck() argument
857 mOut.indent() << "// Type check for " << VarName << "\n"; in genTypeCheck()
879 mOut.indent() << "if (!" << VarName in genTypeCheck()
919 const std::string &VarName, in genInitExportVariable() argument
928 genInitBoolExportVariable(VarName, Val); in genInitExportVariable()
930 genInitPrimitiveExportVariable(VarName, Val); in genInitExportVariable()
946 std::string Name = VarName + "." + getVectorAccessor(i); in genInitExportVariable()
956 std::string Name = VarName + "." + getVectorAccessor(i); in genInitExportVariable()
999 void RSReflectionCpp::genZeroInitExportVariable(const std::string &VarName) { in genZeroInitExportVariable() argument
1000 mOut.indent() << "memset(&" << RS_EXPORT_VAR_PREFIX << VarName in genZeroInitExportVariable()
1001 << ", 0, sizeof(" << RS_EXPORT_VAR_PREFIX << VarName << "));\n"; in genZeroInitExportVariable()
1005 RSReflectionCpp::genInitPrimitiveExportVariable(const std::string &VarName, in genInitPrimitiveExportVariable() argument
1009 mOut.indent() << RS_EXPORT_VAR_PREFIX << VarName << " = "; in genInitPrimitiveExportVariable()
1057 void RSReflectionCpp::genInitBoolExportVariable(const std::string &VarName, in genInitBoolExportVariable() argument
1063 mOut.indent() << RS_EXPORT_VAR_PREFIX << VarName << " = " in genInitBoolExportVariable()