• Home
  • Raw
  • Download

Lines Matching refs:VarName

549   std::string VarName = EV->getName();  in genPointerTypeExportVariable()  local
556 write(string("void bind_") + VarName + "(" + TypeName + in genPointerTypeExportVariable()
561 write(string(" " RS_EXPORT_VAR_PREFIX) + VarName + " = v;"); in genPointerTypeExportVariable()
564 write(TypeName + " get_" + VarName + "() const {"); in genPointerTypeExportVariable()
570 write(string(" return " RS_EXPORT_VAR_PREFIX) + VarName + ";"); in genPointerTypeExportVariable()
691 const char *VarName, in genPackVarOfType() argument
699 ss << " " << FieldPackerName << ".add(" << VarName << ");"; in genPackVarOfType()
751 if (VarName != NULL) in genPackVarOfType()
752 FieldName = VarName + ("." + F->getName()); in genPackVarOfType()
793 const char *VarName) { in genTypeCheck() argument
795 tmp << "// Type check for " << VarName; in genTypeCheck()
820 tmp << "if (!" << VarName in genTypeCheck()
865 const std::string &VarName, in genInitExportVariable() argument
874 genInitBoolExportVariable(VarName, Val); in genInitExportVariable()
876 genInitPrimitiveExportVariable(VarName, Val); in genInitExportVariable()
893 std::string Name = VarName + "." + getVectorAccessor(i); in genInitExportVariable()
904 std::string Name = VarName + "." + getVectorAccessor(i); in genInitExportVariable()
937 void RSReflectionCpp::genZeroInitExportVariable(const std::string &VarName) { in genZeroInitExportVariable() argument
939 ss << "memset(&" RS_EXPORT_VAR_PREFIX << VarName << ", 0, sizeof(" in genZeroInitExportVariable()
940 << RS_EXPORT_VAR_PREFIX << VarName << "));"; in genZeroInitExportVariable()
945 const std::string &VarName, in genInitPrimitiveExportVariable() argument
950 ss << RS_EXPORT_VAR_PREFIX << VarName << " = " in genInitPrimitiveExportVariable()
955 void RSReflectionCpp::genInitBoolExportVariable(const std::string &VarName, in genInitBoolExportVariable() argument
962 ss << RS_EXPORT_VAR_PREFIX << VarName << " = " in genInitBoolExportVariable()