コード例 #1
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));
 }
コード例 #2
0
  void IUNIVERSAL$$TYPES() {
    Scriptable cap;
    Proto.Obj po;
    Proto.Str ps;
    Proto.Typedef pt;
    Object fxn;

    po = (Proto.Obj) om.findStrict("ti.sdo.ce.universal.IUNIVERSAL.Module", "ti.sdo.ce.universal");
    po.init(
        "ti.sdo.ce.universal.IUNIVERSAL.Module",
        om.findStrict("ti.sdo.ce.ICodec.Module", "ti.sdo.ce.universal"));
    po.addFld("$hostonly", $$T_Num, 1, "r");
    po.addFld("serverFxns", $$T_Str, "UNIVERSAL_SKEL", "wh");
    po.addFld("stubFxns", $$T_Str, "UNIVERSAL_STUBS", "wh");
    po.addFld("rpcProtocolVersion", Proto.Elm.newCNum("(xdc_Int)"), 1L, "rh");
    po.addFld("codecClassConfigurable", $$T_Bool, true, "rh");
    po.addFld(
        "manageInBufsCache",
        new Proto.Arr($$T_Bool, false, xdc.services.intern.xsr.Enum.intValue(16L)),
        Global.newArray(
            new Object[] {
              true, true, true, true, true, true, true, true, true, true, true, true, true, true,
              true, true
            }),
        "wh");
    po.addFld(
        "manageInOutBufsCache",
        new Proto.Arr($$T_Bool, false, xdc.services.intern.xsr.Enum.intValue(16L)),
        Global.newArray(
            new Object[] {
              true, true, true, true, true, true, true, true, true, true, true, true, true, true,
              true, true
            }),
        "wh");
    po.addFld(
        "manageOutBufsCache",
        new Proto.Arr($$T_Bool, false, xdc.services.intern.xsr.Enum.intValue(16L)),
        Global.newArray(
            new Object[] {
              true, true, true, true, true, true, true, true, true, true, true, true, true, true,
              true, true
            }),
        "wh");
  }
コード例 #3
0
ファイル: ti_sysbios_rta.java プロジェクト: skitlab/ti-bios
 void Agent$$CONSTS() {
   // module Agent
   om.bind(
       "ti.sysbios.rta.Agent.Transport_RTDX",
       xdc.services.intern.xsr.Enum.make(
           (Proto.Enm) om.findStrict("ti.sysbios.rta.Agent.Transport", "ti.sysbios.rta"),
           "ti.sysbios.rta.Agent.Transport_RTDX",
           0));
   om.bind(
       "ti.sysbios.rta.Agent.Transport_STOP_MODE_ONLY",
       xdc.services.intern.xsr.Enum.make(
           (Proto.Enm) om.findStrict("ti.sysbios.rta.Agent.Transport", "ti.sysbios.rta"),
           "ti.sysbios.rta.Agent.Transport_STOP_MODE_ONLY",
           1));
   om.bind(
       "ti.sysbios.rta.Agent.Transport_USER",
       xdc.services.intern.xsr.Enum.make(
           (Proto.Enm) om.findStrict("ti.sysbios.rta.Agent.Transport", "ti.sysbios.rta"),
           "ti.sysbios.rta.Agent.Transport_USER",
           2));
 }