Home | History | Annotate | Download | only in slang

Lines Matching refs:EF

422     const RSExportForEach *EF = *I;
424 const RSExportForEach::InTypeVec &InTypes = EF->getInTypes();
433 const RSExportType *OET = EF->getOutType();
613 void RSReflectionJava::genExportFunction(const RSExportFunc *EF) {
615 << EF->getName() << " = " << getNextExportFuncSlot() << ";\n";
620 if (EF->hasParam()) {
621 for (RSExportFunc::const_param_iterator I = EF->params_begin(),
622 E = EF->params_end();
630 "invoke_" + EF->getName(/*Mangle=*/false),
635 if (!EF->hasParam()) {
636 mOut.indent() << "invoke(" << RS_EXPORT_FUNC_INDEX_PREFIX << EF->getName()
639 const RSExportRecordType *ERT = EF->getParamPacketType();
640 std::string FieldPackerName = EF->getName() + "_fp";
645 mOut.indent() << "invoke(" << RS_EXPORT_FUNC_INDEX_PREFIX << EF->getName()
670 void RSReflectionJava::genExportForEach(const RSExportForEach *EF) {
671 if (EF->isDummyRoot()) {
675 << RS_EXPORT_FOREACH_INDEX_PREFIX << EF->getName() << " = "
681 << EF->getName() << " = " << getNextExportForEachSlot()
687 slangAssert(EF->getNumParameters() > 0 || EF->hasReturn());
689 const RSExportForEach::InVec &Ins = EF->getIns();
690 const RSExportForEach::InTypeVec &InTypes = EF->getInTypes();
691 const RSExportType *OET = EF->getOutType();
705 if (EF->hasOut() || EF->hasReturn())
708 const RSExportRecordType *ERT = EF->getParamPacketType();
710 for (RSExportForEach::const_param_iterator I = EF->params_begin(),
711 E = EF->params_end();
720 "getKernelID_" + EF->getName(), 0);
724 << EF->getName() << ", " << EF->getSignatureMetadata()
731 startFunction(AM_Public, false, "void", "forEach_" + EF->getName(), Args);
733 mOut.indent() << "forEach_" << EF->getName();
747 if (EF->hasOut() || EF->hasReturn()) {
751 if (EF->hasUsrData()) {
764 startFunction(AM_Public, false, "void", "forEach_" + EF->getName(), Args);
786 if (Ins.size() == 1 && (EF->hasOut() || EF->hasReturn())) {
799 if (EF->hasOut() || EF->hasReturn()) {
804 std::string FieldPackerName = EF->getName() + "_fp";
811 << EF->getName();
828 if (EF->hasOut() || EF->hasReturn())
833 if (EF->hasUsrData())