Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/p/y/pymsasid-0.3.1/pymsasid/decode.py   pymsasid(Download)
# -----------------------------------------------------------------------------
 
from common import DecodeException, VENDOR_INTEL, VENDOR_AMD
from inst import Inst, Operand, Ptr, ie_invalid, ie_pause, ie_nop
 
 
        elif e.operator ==  'grp_vendor':
            if u.vendor == VENDOR_INTEL: 
                index = ITAB__VENDOR_INDX__INTEL
            elif u.vendor == VENDOR_AMD:

src/p/y/pymsasid-0.3.1/pymsasid/pymsasid.py   pymsasid(Download)
 
from inst import Inst
from common import DecodeException, VENDOR_INTEL, VENDOR_AMD
import decode as dec
import syn_intel as intel
    def set_vendor(self, vendor):
        if vendor in [VENDOR_INTEL, VENDOR_AMD]:
            self.vendor = vendor
        else:
            raise Exception('call to Pymsasid.set_vendor() with unknown vendor:' + str(vendor))