Ejemplo n.º 1
0
Archivo: audit.cs Proyecto: kwanboy/mcs
 public audit_record(string name, media_type type)
 {
     m_next          = null;
     m_type          = type;
     m_status        = audit_status.STATUS_ERROR;
     m_substatus     = audit_substatus.SUBSTATUS_ERROR;
     m_name          = name;
     m_explength     = 0;
     m_length        = 0;
     m_shared_device = null;
 }
Ejemplo n.º 2
0
 public audit_record(string name, media_type type)
 {
     m_next          = null;
     m_type          = type;
     m_status        = audit_status.UNVERIFIED;
     m_substatus     = audit_substatus.UNVERIFIED;
     m_name          = name;
     m_explength     = 0;
     m_length        = 0;
     m_exphashes     = new util.hash_collection();
     m_hashes        = new util.hash_collection();
     m_shared_device = null;
 }
Ejemplo n.º 3
0
            device_type m_shared_device; /* device that shares the rom */  //std::add_pointer_t<device_type> m_shared_device;    // device that shares the ROM


            // construction/destruction
            //-------------------------------------------------
            //  audit_record - constructor
            //-------------------------------------------------
            public audit_record(Pointer <rom_entry> media, media_type type)
            {
                m_next          = null;
                m_type          = type;
                m_status        = audit_status.UNVERIFIED;
                m_substatus     = audit_substatus.UNVERIFIED;
                m_name          = media.op.name();
                m_explength     = rom_file_size(media);
                m_length        = 0;
                m_exphashes     = new util.hash_collection(media.op.hashdata());
                m_hashes        = new util.hash_collection();
                m_shared_device = null;
            }
Ejemplo n.º 4
0
Archivo: audit.cs Proyecto: kwanboy/mcs
        device_t m_shared_device;                                      /* device that shares the rom */


        // construction/destruction
        //-------------------------------------------------
        //  audit_record - constructor
        //-------------------------------------------------
        public audit_record(ListPointer <rom_entry> media, media_type type)
        {
            m_next          = null;
            m_type          = type;
            m_status        = audit_status.STATUS_ERROR;
            m_substatus     = audit_substatus.SUBSTATUS_ERROR;
            m_name          = romload_global.ROM_GETNAME(media[0]);
            m_explength     = romload_global.rom_file_size(media);
            m_length        = 0;
            m_shared_device = null;


            m_exphashes.from_internal_string(romload_global.ROM_GETHASHDATA(media[0]));
        }
Ejemplo n.º 5
0
Archivo: audit.cs Proyecto: kwanboy/mcs
        // setters

        public void set_status(audit_status status, audit_substatus substatus)
        {
            m_status    = status;
            m_substatus = substatus;
        }