Lines Matching refs:platform

96 import platform;
101 if platform.system() == 'Darwin':
109 if platform.system() == 'Darwin':
249 Base class for the platform specific code.
274 """ Returns the platform type (class name sans 'Platform'). """
288 This is for hiding platform specific differences in attributes
316 modified by the method to pass platform specific parameters. Can
325 raise Exception("No active listeners for this platform")
356 Unitializes the platform specific backend.
938 # the reference to the error exception class for the last platform/style that
964 if sys.platform == 'win32':
969 self.platform = PlatformXPCOM(dPlatformParams)
971 self.platform = PlatformMSCOM(dPlatformParams)
973 self.platform = PlatformWEBSERVICE(dPlatformParams)
977 self.type = self.platform.getType()
978 self.remote = self.platform.isRemote()
983 self.statuses = self.platform.xcptSetupConstants(VirtualBoxManager.Statuses())
988 ## The exception class for the selected platform.
989 self.oXcptClass = self.platform.xcptGetBaseXcpt()
995 self.vbox = self.platform.getVirtualBox()
1028 # Wrappers for self.platform methods.
1032 return self.platform.getVirtualBox()
1036 return self.platform.getSessionObject(oIVBox)
1040 return self.platform.getArray(oInterface, sAttrib)
1044 return self.platform.createListener(oImplClass, dArgs)
1048 return self.platform.waitForEvents(cMsTimeout)
1052 return self.platform.interruptWaitEvents()
1056 return self.platform.queryInterface(oIUnknown, sClassName)
1063 self.platform.initPerThread()
1067 return self.platform.deinitPerThread()
1077 if hasattr(self, "platform"):
1078 self.platform.deinit()
1079 self.platform = None
1140 return self.platform.xcptGetStatus(oXcpt)
1150 return self.platform.xcptIsDeadInterface(oXcpt)
1177 return self.platform.xcptIsEqual(oXcpt, hrStatus)
1223 sRet = self.platform.xcptGetMessage(oXcpt)