Home
last modified time | relevance | path

Searched refs:plat_name (Results 1 – 12 of 12) sorted by relevance

/third_party/python/Lib/distutils/command/
Dbdist.py81 self.plat_name = None
90 if self.plat_name is None:
92 self.plat_name = get_platform()
94 self.plat_name = self.get_finalized_command('build').plat_name
102 'bdist.' + self.plat_name)
Dbuild.py66 self.plat_name = None
73 if self.plat_name is None:
74 self.plat_name = get_platform()
84 plat_specifier = ".%s-%d.%d" % (self.plat_name, *sys.version_info[:2])
Dbdist_dumb.py52 self.plat_name = None
94 self.plat_name)
Dbuild_ext.py109 self.plat_name = None
209 if self.plat_name == 'win32':
213 suffix = self.plat_name[4:]
314 if os.name == 'nt' and self.plat_name != get_platform():
315 self.compiler.initialize(self.plat_name)
Dbdist_msi.py133 self.plat_name = None
209 plat_specifier = ".%s-%s" % (self.plat_name, target_version)
742 base_name = "%s.%s-py%s.msi" % (fullname, self.plat_name,
745 base_name = "%s.%s.msi" % (fullname, self.plat_name)
Dinstall.py570 build_plat = self.distribution.get_command_obj('build').plat_name
/third_party/mesa3d/src/egl/main/
Degldisplay.c99 const char *plat_name; in _eglGetNativePlatformFromEnv() local
105 plat_name = getenv("EGL_PLATFORM"); in _eglGetNativePlatformFromEnv()
107 if (!plat_name || !plat_name[0]) in _eglGetNativePlatformFromEnv()
108 plat_name = getenv("EGL_DISPLAY"); in _eglGetNativePlatformFromEnv()
109 if (!plat_name || !plat_name[0]) in _eglGetNativePlatformFromEnv()
113 if (strcmp(egl_platforms[i].name, plat_name) == 0) { in _eglGetNativePlatformFromEnv()
/third_party/python/Lib/distutils/
Dmsvc9compiler.py335 self.plat_name = None
339 def initialize(self, plat_name=None): argument
342 if plat_name is None:
343 plat_name = get_platform()
346 if plat_name not in ok_plats:
363 if plat_name == get_platform() or plat_name == 'win32':
365 plat_spec = PLAT_TO_VCVARS[plat_name]
369 PLAT_TO_VCVARS[plat_name]
D_msvccompiler.py204 self.plat_name = None
207 def initialize(self, plat_name=None): argument
210 if plat_name is None:
211 plat_name = get_platform()
213 if plat_name not in PLAT_TO_VCVARS:
218 plat_spec = PLAT_TO_VCVARS[plat_name]
/third_party/python/Lib/distutils/tests/
Dtest_build.py21 self.assertEqual(cmd.plat_name, get_platform())
30 plat_spec = '.%s-%d.%d' % (cmd.plat_name, *sys.version_info[:2])
Dtest_bdist_dumb.py76 base = "%s.%s.zip" % (dist.get_fullname(), cmd.plat_name)
/third_party/python/patches/
Dcpython_mingw_v3.10.2.patch693 + if os.name == 'nt' and not self.plat_name.startswith(('mingw')):
703 + if sys.platform[:6] == 'cygwin' or self.plat_name.startswith(('mingw')):
719 + # Use self.plat_name as it works even in case of
721 + if self.plat_name.startswith('mingw'):