void $$OBJECTS() {
   pkgP = (Proto.Obj) om.bind("ti.sdo.ce.utils.rtcfg.osal.Package", new Proto.Obj());
   pkgV =
       (Value.Obj)
           om.bind(
               "ti.sdo.ce.utils.rtcfg.osal", new Value.Obj("ti.sdo.ce.utils.rtcfg.osal", pkgP));
 }
 void $$OBJECTS() {
   pkgP = (Proto.Obj) om.bind("ti.sdo.codecs.mpeg4vdec.ce.Package", new Proto.Obj());
   pkgV =
       (Value.Obj)
           om.bind(
               "ti.sdo.codecs.mpeg4vdec.ce", new Value.Obj("ti.sdo.codecs.mpeg4vdec.ce", pkgP));
 }
 void $$OBJECTS() {
   pkgP = (Proto.Obj) om.bind("ti.sdo.ce.examples.codecs.g711.Package", new Proto.Obj());
   pkgV =
       (Value.Obj)
           om.bind(
               "ti.sdo.ce.examples.codecs.g711",
               new Value.Obj("ti.sdo.ce.examples.codecs.g711", pkgP));
 }
 void $$OBJECTS() {
   pkgP = (Proto.Obj) om.bind("ti.sdo.fc.rman.examples.hdvicp.Package", new Proto.Obj());
   pkgV =
       (Value.Obj)
           om.bind(
               "ti.sdo.fc.rman.examples.hdvicp",
               new Value.Obj("ti.sdo.fc.rman.examples.hdvicp", pkgP));
 }
 void $$OBJECTS() {
   pkgP = (Proto.Obj) om.bind("ti.sdo.ce.examples.extensions.Package", new Proto.Obj());
   pkgV =
       (Value.Obj)
           om.bind(
               "ti.sdo.ce.examples.extensions",
               new Value.Obj("ti.sdo.ce.examples.extensions", pkgP));
 }
  void Main$$OBJECTS() {
    Proto.Obj po, spo;
    Value.Obj vo;

    po = (Proto.Obj) om.bind("xdc.tools.cdoc.sg.Main.Module", new Proto.Obj());
    vo = (Value.Obj) om.bind("xdc.tools.cdoc.sg.Main", new Value.Obj("xdc.tools.cdoc.sg.Main", po));
    pkgV.bind("Main", vo);
    // decls
  }
示例#7
0
  void Agent$$OBJECTS() {
    Proto.Obj po, spo;
    Value.Obj vo;

    po = (Proto.Obj) om.bind("ti.sysbios.rta.Agent.Module", new Proto.Obj());
    vo = (Value.Obj) om.bind("ti.sysbios.rta.Agent", new Value.Obj("ti.sysbios.rta.Agent", po));
    pkgV.bind("Agent", vo);
    // decls
    om.bind("ti.sysbios.rta.Agent.Transport", new Proto.Enm("ti.sysbios.rta.Agent.Transport"));
  }
示例#8
0
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn(
        "module$meta$init",
        (Scriptable) om.findStrict("ti.sdo.ipc.examples.Examples", "ti.sdo.ipc.examples"));
    Global.callFxn("init", pkgV);
    ((Value.Obj) om.getv("ti.sdo.ipc.examples.Examples")).bless();
    ((Value.Arr) om.findStrict("$packages", "ti.sdo.ipc.examples")).add(pkgV);
  }
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn(
        "module$meta$init",
        (Scriptable) om.findStrict("xdc.tools.cdoc.sg.Main", "xdc.tools.cdoc.sg"));
    Global.callFxn("init", pkgV);
    ((Value.Obj) om.getv("xdc.tools.cdoc.sg.Main")).bless();
    ((Value.Arr) om.findStrict("$packages", "xdc.tools.cdoc.sg")).add(pkgV);
  }
示例#10
0
  void IProductView$$OBJECTS() {
    Proto.Obj po, spo;
    Value.Obj vo;

    po = (Proto.Obj) om.bind("xdc.tools.IProductView.Module", new Proto.Obj());
    vo = (Value.Obj) om.bind("xdc.tools.IProductView", new Value.Obj("xdc.tools.IProductView", po));
    pkgV.bind("IProductView", vo);
    // decls
    spo = (Proto.Obj) om.bind("xdc.tools.IProductView$$ProductElemDesc", new Proto.Obj());
    om.bind("xdc.tools.IProductView.ProductElemDesc", new Proto.Str(spo, true));
  }
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn(
        "module$meta$init",
        (Scriptable) om.findStrict("google.targets.arm.Bionic", "google.targets.arm"));
    Global.callFxn("init", pkgV);
    ((Value.Obj) om.getv("google.targets.arm.Bionic")).bless();
    ((Value.Arr) om.findStrict("$packages", "google.targets.arm")).add(pkgV);
  }
示例#12
0
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn(
        "module$meta$init",
        (Scriptable) om.findStrict("ti.platforms.evm6424.Platform", "ti.platforms.evm6424"));
    Global.callFxn("init", pkgV);
    ((Value.Obj) om.getv("ti.platforms.evm6424.Platform")).bless();
    ((Value.Arr) om.findStrict("$packages", "ti.platforms.evm6424")).add(pkgV);
  }
示例#13
0
  void SupportLogger$$OBJECTS() {
    Proto.Obj po, spo;
    Value.Obj vo;

    po = (Proto.Obj) om.bind("ti.sysbios.rta.SupportLogger.Module", new Proto.Obj());
    vo =
        (Value.Obj)
            om.bind(
                "ti.sysbios.rta.SupportLogger", new Value.Obj("ti.sysbios.rta.SupportLogger", po));
    pkgV.bind("SupportLogger", vo);
    // decls
  }
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn(
        "module$meta$init",
        (Scriptable)
            om.findStrict("ti.sdo.codecs.mpeg4vdec.ce.MPEG4VDEC", "ti.sdo.codecs.mpeg4vdec.ce"));
    Global.callFxn("init", pkgV);
    ((Value.Obj) om.getv("ti.sdo.codecs.mpeg4vdec.ce.MPEG4VDEC")).bless();
    ((Value.Arr) om.findStrict("$packages", "ti.sdo.codecs.mpeg4vdec.ce")).add(pkgV);
  }
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn(
        "module$meta$init",
        (Scriptable) om.findStrict("ti.sdo.ce.universal.UNIVERSALConfig", "ti.sdo.ce.universal"));
    Global.callFxn("init", pkgV);
    ((Value.Obj) om.getv("ti.sdo.ce.universal.UNIVERSALConfig")).bless();
    ((Value.Obj) om.getv("ti.sdo.ce.universal.IUNIVERSAL")).bless();
    ((Value.Arr) om.findStrict("$packages", "ti.sdo.ce.universal")).add(pkgV);
  }
  void IUNIVERSAL$$OBJECTS() {
    Proto.Obj po, spo;
    Value.Obj vo;

    po = (Proto.Obj) om.bind("ti.sdo.ce.universal.IUNIVERSAL.Module", new Proto.Obj());
    vo =
        (Value.Obj)
            om.bind(
                "ti.sdo.ce.universal.IUNIVERSAL",
                new Value.Obj("ti.sdo.ce.universal.IUNIVERSAL", po));
    pkgV.bind("IUNIVERSAL", vo);
    // decls
  }
  void G711DEC$$OBJECTS() {
    Proto.Obj po, spo;
    Value.Obj vo;

    po = (Proto.Obj) om.bind("ti.sdo.ce.examples.codecs.g711.G711DEC.Module", new Proto.Obj());
    vo =
        (Value.Obj)
            om.bind(
                "ti.sdo.ce.examples.codecs.g711.G711DEC",
                new Value.Obj("ti.sdo.ce.examples.codecs.g711.G711DEC", po));
    pkgV.bind("G711DEC", vo);
    // decls
  }
  void MPEG4VDEC$$OBJECTS() {
    Proto.Obj po, spo;
    Value.Obj vo;

    po = (Proto.Obj) om.bind("ti.sdo.codecs.mpeg4vdec.ce.MPEG4VDEC.Module", new Proto.Obj());
    vo =
        (Value.Obj)
            om.bind(
                "ti.sdo.codecs.mpeg4vdec.ce.MPEG4VDEC",
                new Value.Obj("ti.sdo.codecs.mpeg4vdec.ce.MPEG4VDEC", po));
    pkgV.bind("MPEG4VDEC", vo);
    // decls
  }
示例#19
0
 void $$SINGLETONS() {
   pkgP.init(
       "ti.platforms.evm6424.Package",
       (Proto.Obj) om.findStrict("xdc.IPackage.Module", "ti.platforms.evm6424"));
   pkgP.bind("$capsule", $$UNDEF);
   pkgV.init2(pkgP, "ti.platforms.evm6424", Value.DEFAULT, false);
   pkgV.bind("$name", "ti.platforms.evm6424");
   pkgV.bind("$category", "Package");
   pkgV.bind("$$qn", "ti.platforms.evm6424.");
   pkgV.bind("$vers", Global.newArray("1, 0, 0, 0"));
   Value.Map atmap = (Value.Map) pkgV.getv("$attr");
   atmap.seal("length");
   imports.clear();
   imports.add(Global.newArray("ti.catalog.c6000", Global.newArray()));
   imports.add(Global.newArray("xdc.platform", Global.newArray(1, 0, 1)));
   pkgV.bind("$imports", imports);
   StringBuilder sb = new StringBuilder();
   sb.append("var pkg = xdc.om['ti.platforms.evm6424'];\n");
   sb.append("if (pkg.$vers.length >= 3) {\n");
   sb.append("pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));\n");
   sb.append("}\n");
   sb.append("pkg.build.libraries = [\n");
   sb.append("];\n");
   sb.append("pkg.build.libDesc = [\n");
   sb.append("];\n");
   sb.append("if('suffix' in xdc.om['xdc.IPackage$$LibDesc']) {\n");
   sb.append("}\n");
   Global.eval(sb.toString());
 }
 void $$SINGLETONS() {
   pkgP.init(
       "ti.sdo.ce.utils.rtcfg.osal.Package",
       (Proto.Obj) om.findStrict("xdc.IPackage.Module", "ti.sdo.ce.utils.rtcfg.osal"));
   pkgP.bind("$capsule", $$UNDEF);
   pkgV.init2(pkgP, "ti.sdo.ce.utils.rtcfg.osal", Value.DEFAULT, false);
   pkgV.bind("$name", "ti.sdo.ce.utils.rtcfg.osal");
   pkgV.bind("$category", "Package");
   pkgV.bind("$$qn", "ti.sdo.ce.utils.rtcfg.osal.");
   pkgV.bind("$vers", Global.newArray("1, 0, 0"));
   Value.Map atmap = (Value.Map) pkgV.getv("$attr");
   atmap.seal("length");
   imports.clear();
   pkgV.bind("$imports", imports);
   StringBuilder sb = new StringBuilder();
   sb.append("var pkg = xdc.om['ti.sdo.ce.utils.rtcfg.osal'];\n");
   sb.append("if (pkg.$vers.length >= 3) {\n");
   sb.append("pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));\n");
   sb.append("}\n");
   sb.append("pkg.build.libraries = [\n");
   sb.append("];\n");
   sb.append("pkg.build.libDesc = [\n");
   sb.append("];\n");
   Global.eval(sb.toString());
 }
示例#21
0
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn(
        "module$meta$init", (Scriptable) om.findStrict("ti.sysbios.rta.Agent", "ti.sysbios.rta"));
    Global.callFxn(
        "module$meta$init",
        (Scriptable) om.findStrict("ti.sysbios.rta.SupportLogger", "ti.sysbios.rta"));
    Global.callFxn("init", pkgV);
    ((Value.Obj) om.getv("ti.sysbios.rta.Agent")).bless();
    ((Value.Obj) om.getv("ti.sysbios.rta.SupportLogger")).bless();
    ((Value.Arr) om.findStrict("$packages", "ti.sysbios.rta")).add(pkgV);
  }
 void $$SINGLETONS() {
   pkgP.init(
       "xdc.services.mapping.Package",
       (Proto.Obj) om.findStrict("xdc.IPackage.Module", "xdc.services.mapping"));
   pkgP.bind("$capsule", $$UNDEF);
   pkgV.init2(pkgP, "xdc.services.mapping", Value.DEFAULT, false);
   pkgV.bind("$name", "xdc.services.mapping");
   pkgV.bind("$category", "Package");
   pkgV.bind("$$qn", "xdc.services.mapping.");
   pkgV.bind("$vers", Global.newArray(1, 0, 0));
   Value.Map atmap = (Value.Map) pkgV.getv("$attr");
   atmap.seal("length");
   imports.clear();
   pkgV.bind("$imports", imports);
   StringBuilder sb = new StringBuilder();
   sb.append("var pkg = xdc.om['xdc.services.mapping'];\n");
   sb.append("if (pkg.$vers.length >= 3) {\n");
   sb.append("pkg.$vers.push(Packages.xdc.services.global.Vers.getDate(xdc.csd() + '/..'));\n");
   sb.append("}\n");
   sb.append("if ('xdc.services.mapping$$stat$base' in xdc.om) {\n");
   sb.append("pkg.packageBase = xdc.om['xdc.services.mapping$$stat$base'];\n");
   sb.append("pkg.packageRepository = xdc.om['xdc.services.mapping$$stat$root'];\n");
   sb.append("}\n");
   sb.append("pkg.build.libraries = [\n");
   sb.append("];\n");
   sb.append("pkg.build.libDesc = [\n");
   sb.append("];\n");
   Global.eval(sb.toString());
 }
示例#23
0
  void IProductView$$FUNCTIONS() {
    Proto.Fxn fxn;

    // fxn IProductView.getProductDescriptor
    fxn =
        (Proto.Fxn)
            om.bind(
                "xdc.tools.IProductView$$getProductDescriptor",
                new Proto.Fxn(
                    om.findStrict("xdc.tools.IProductView.Module", "xdc.tools"),
                    (Proto) om.findStrict("xdc.tools.IProductView.ProductElemDesc", "xdc.tools"),
                    0,
                    0,
                    false));
  }
示例#24
0
 void Cmdr$$CONSTS() {
   // module Cmdr
   om.bind(
       "xdc.tools.Cmdr.SHELL",
       xdc.services.intern.xsr.Enum.make(
           (Proto.Enm) om.findStrict("xdc.tools.Cmdr.Context", "xdc.tools"),
           "xdc.tools.Cmdr.SHELL",
           0));
   om.bind(
       "xdc.tools.Cmdr.SCRIPT",
       xdc.services.intern.xsr.Enum.make(
           (Proto.Enm) om.findStrict("xdc.tools.Cmdr.Context", "xdc.tools"),
           "xdc.tools.Cmdr.SCRIPT",
           1));
 }
示例#25
0
  void IRtscProductTemplate$$OBJECTS() {
    Proto.Obj po, spo;
    Value.Obj vo;

    po = (Proto.Obj) om.bind("xdc.tools.IRtscProductTemplate.Module", new Proto.Obj());
    vo =
        (Value.Obj)
            om.bind(
                "xdc.tools.IRtscProductTemplate",
                new Value.Obj("xdc.tools.IRtscProductTemplate", po));
    pkgV.bind("IRtscProductTemplate", vo);
    // decls
    spo = (Proto.Obj) om.bind("xdc.tools.IRtscProductTemplate$$TemplateInfo", new Proto.Obj());
    om.bind("xdc.tools.IRtscProductTemplate.TemplateInfo", new Proto.Str(spo, true));
  }
示例#26
0
  void Main$$FUNCTIONS() {
    Proto.Fxn fxn;

    // fxn Main.main
    fxn =
        (Proto.Fxn)
            om.bind(
                "xdc.tools.cdoc.sg.Main$$main",
                new Proto.Fxn(
                    om.findStrict("xdc.tools.cdoc.sg.Main.Module", "xdc.tools.cdoc.sg"),
                    null,
                    0,
                    -1,
                    false));
  }
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn("init", pkgV);
    ((Value.Arr) om.findStrict("$packages", "ti.sdo.ce.utils.rtcfg.osal")).add(pkgV);
  }
示例#28
0
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn("init", pkgV);
    ((Value.Arr) om.findStrict("$packages", "ti.platforms.sdbTitan")).add(pkgV);
  }
示例#29
0
  public void exec(Scriptable xdcO, Session ses) {
    this.xdcO = xdcO;
    this.ses = ses;
    om = (Value.Obj) xdcO.get("om", null);

    Object o = om.geto("$name");
    String s = o instanceof String ? (String) o : null;
    isCFG = s != null && s.equals("cfg");
    isROV = s != null && s.equals("rov");

    $$IMPORTS();
    $$OBJECTS();
    Platform$$OBJECTS();
    SunSparc7$$OBJECTS();
    Platform$$CONSTS();
    SunSparc7$$CONSTS();
    Platform$$CREATES();
    SunSparc7$$CREATES();
    Platform$$FUNCTIONS();
    SunSparc7$$FUNCTIONS();
    Platform$$SIZES();
    SunSparc7$$SIZES();
    Platform$$TYPES();
    SunSparc7$$TYPES();
    if (isROV) {
      Platform$$ROV();
      SunSparc7$$ROV();
    } // isROV
    $$SINGLETONS();
    Platform$$SINGLETONS();
    SunSparc7$$SINGLETONS();
    $$INITIALIZATION();
  }
  void $$INITIALIZATION() {
    Value.Obj vo;

    if (isCFG) {} // isCFG
    Global.callFxn("init", pkgV);
    ((Value.Arr) om.findStrict("$packages", "ti.sdo.ce.examples.extensions")).add(pkgV);
  }