Home | History | Annotate | Download | only in serial

Lines Matching defs:plat

32 plat = sys.platform.lower()
34 if plat[:5] == 'linux': # Linux (confirmed)
95 elif plat == 'cygwin': # cygwin/win32 (confirmed)
117 elif plat[:7] == 'openbsd': # OpenBSD
127 elif plat[:3] == 'bsd' or \
128 plat[:7] == 'freebsd':
138 elif plat[:6] == 'darwin': # OS X
159 elif plat[:6] == 'netbsd': # NetBSD 1.6 testing by Erk
169 elif plat[:4] == 'irix': # IRIX (partially tested)
179 elif plat[:2] == 'hp': # HP-UX (not tested)
189 elif plat[:5] == 'sunos': # Solaris/SunOS (confirmed)
199 elif plat[:3] == 'aix': # AIX