Lines Matching refs:EF
541 const RSExportForEach *EF = *I; in genScriptClassConstructor() local
543 const RSExportForEach::InTypeVec &InTypes = EF->getInTypes(); in genScriptClassConstructor()
551 const RSExportType *OET = EF->getOutType(); in genScriptClassConstructor()
757 void RSReflectionJava::genExportFunction(const RSExportFunc *EF) { in genExportFunction() argument
759 << EF->getName() << " = " << getNextExportFuncSlot() << ";\n"; in genExportFunction()
764 if (EF->hasParam()) { in genExportFunction()
765 for (RSExportFunc::const_param_iterator I = EF->params_begin(), in genExportFunction()
766 E = EF->params_end(); in genExportFunction()
775 "getInvokeID_" + EF->getName(), 0); in genExportFunction()
778 << EF->getName() << ");\n"; in genExportFunction()
784 "invoke_" + EF->getName(/*Mangle=*/false), in genExportFunction()
789 if (!EF->hasParam()) { in genExportFunction()
790 mOut.indent() << "invoke(" << RS_EXPORT_FUNC_INDEX_PREFIX << EF->getName() in genExportFunction()
793 const RSExportRecordType *ERT = EF->getParamPacketType(); in genExportFunction()
794 std::string FieldPackerName = EF->getName() + "_fp"; in genExportFunction()
799 mOut.indent() << "invoke(" << RS_EXPORT_FUNC_INDEX_PREFIX << EF->getName() in genExportFunction()
843 void RSReflectionJava::genExportForEach(const RSExportForEach *EF) { in genExportForEach() argument
844 if (EF->isDummyRoot()) { in genExportForEach()
848 << RS_EXPORT_FOREACH_INDEX_PREFIX << EF->getName() << " = " in genExportForEach()
854 << EF->getName() << " = " << getNextExportForEachSlot() in genExportForEach()
861 const RSExportForEach::InVec &Ins = EF->getIns(); in genExportForEach()
862 const RSExportForEach::InTypeVec &InTypes = EF->getInTypes(); in genExportForEach()
863 const RSExportType *OET = EF->getOutType(); in genExportForEach()
879 if (EF->hasOut() || EF->hasReturn()) { in genExportForEach()
884 const RSExportRecordType *ERT = EF->getParamPacketType(); in genExportForEach()
886 for (RSExportForEach::const_param_iterator I = EF->params_begin(), in genExportForEach()
887 E = EF->params_end(); in genExportForEach()
896 "getKernelID_" + EF->getName(), 0); in genExportForEach()
900 << EF->getName() << ", " << EF->getSignatureMetadata() in genExportForEach()
908 startFunction(AM_Public, false, "void", "forEach_" + EF->getName(), Args); in genExportForEach()
910 mOut.indent() << "forEach_" << EF->getName(); in genExportForEach()
924 if (EF->hasOut() || EF->hasReturn()) { in genExportForEach()
928 if (EF->hasUsrData()) { in genExportForEach()
942 startFunction(AM_Public, false, "void", "forEach_" + EF->getName(), Args); in genExportForEach()
964 if (Ins.size() == 1 && (EF->hasOut() || EF->hasReturn())) { in genExportForEach()
977 if (EF->hasOut() || EF->hasReturn()) { in genExportForEach()
982 std::string FieldPackerName = EF->getName() + "_fp"; in genExportForEach()
989 << EF->getName(); in genExportForEach()
1006 if (EF->hasOut() || EF->hasReturn()) in genExportForEach()
1011 if (EF->hasUsrData()) in genExportForEach()