Home | History | Annotate | Download | only in slang

Lines Matching defs:VarName

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