• Home
  • Raw
  • Download

Lines Matching refs:mRs

78     GeneratedFile* mRs;  member in PermutationWriter
180 mRs(rsFile), in PermutationWriter()
926 *mRs << "\n"; in writeRsSection()
930 *mRs << mReturnParam->rsType; in writeRsSection()
932 *mRs << "void"; in writeRsSection()
934 *mRs << " __attribute__((kernel)) " << mRsKernelName; in writeRsSection()
935 *mRs << "("; in writeRsSection()
938 *mRs << mFirstInputParam->rsType << " " << mFirstInputParam->variableName; in writeRsSection()
943 *mRs << ", "; in writeRsSection()
945 *mRs << "unsigned int x"; in writeRsSection()
947 *mRs << ")"; in writeRsSection()
948 mRs->startBlock(); in writeRsSection()
955 mRs->indent() << p->rsType << " " << p->variableName; in writeRsSection()
957 *mRs << " = 0;\n"; in writeRsSection()
959 *mRs << " = rsGetElementAt_" << p->rsType << "(" << p->rsAllocName << ", x);\n"; in writeRsSection()
966 mRs->indent() << mReturnParam->rsType << " " << mReturnParam->variableName << " = "; in writeRsSection()
968 mRs->indent() << "return "; in writeRsSection()
971 *mRs << mPermutation.getName() << "("; in writeRsSection()
975 *mRs << ", "; in writeRsSection()
978 *mRs << "&"; in writeRsSection()
980 *mRs << p->variableName; in writeRsSection()
983 *mRs << ");\n"; in writeRsSection()
989 mRs->indent() << "rsSetElementAt_" << p->rsType << "(" << p->rsAllocName << ", "; in writeRsSection()
993 *mRs << "&"; in writeRsSection()
995 *mRs << p->variableName << ", x);\n"; in writeRsSection()
999 mRs->indent() << "return " << mReturnParam->variableName << ";\n"; in writeRsSection()
1002 mRs->endBlock(); in writeRsSection()
1008 *mRs << "rs_allocation " << param.rsAllocName << ";\n"; in writeRsAllocationDefinition()