/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/test/ |
test_find.py | 7 if sys.platform == "win32": 11 elif sys.platform == "darwin": 58 ##if os.name == "posix" and sys.platform != "darwin":
|
/external/chromium_org/third_party/mesa/src/scons/ |
gallium.py | 38 import platform as _platform 115 platform = env['platform'] 142 env['suncc'] = env['platform'] == 'sunos' and os.path.basename(env['CC']) == 'cc' 152 platform = env['platform'] 176 env['crosscompile'] = platform != host_platform 214 build_subdir = env['platform'] 247 if env['platform'] in ('posix', 'linux', 'freebsd', 'darwin'): 257 if env['platform'] == 'darwin' [all...] |
/external/mesa3d/scons/ |
gallium.py | 38 import platform as _platform 115 platform = env['platform'] 142 env['suncc'] = env['platform'] == 'sunos' and os.path.basename(env['CC']) == 'cc' 152 platform = env['platform'] 176 env['crosscompile'] = platform != host_platform 214 build_subdir = env['platform'] 247 if env['platform'] in ('posix', 'linux', 'freebsd', 'darwin'): 257 if env['platform'] == 'darwin' [all...] |
/external/chromium_org/chrome/test/chromedriver/ |
util.py | 19 """Return a string to be used in paths for the platform.""" 26 raise NotImplementedError('Unknown platform "%s".' % sys.platform) 30 return sys.platform == 'cygwin' or sys.platform.startswith('win') 34 return sys.platform.startswith('linux') 38 return sys.platform.startswith('darwin')
|
/external/chromium_org/webkit/child/ |
websocketstreamhandle_impl.cc | 16 #include "third_party/WebKit/public/platform/WebData.h" 17 #include "third_party/WebKit/public/platform/WebSocketStreamError.h" 18 #include "third_party/WebKit/public/platform/WebSocketStreamHandleClient.h" 19 #include "third_party/WebKit/public/platform/WebURL.h" 45 void Connect(const WebURL& url, WebKitPlatformSupportImpl* platform); 86 WebKitPlatformSupportImpl* platform) { 89 bridge_ = platform->CreateWebSocketBridge(handle_, this); 166 WebKitPlatformSupportImpl* platform) 168 platform_(platform) {
|
/external/clang/tools/scan-view/ |
startfile.py | 1 """Utility for opening a file using the default application in a cross-platform 35 if sys.platform[:3] == 'win': 43 if (os.environ.get('DISPLAY') or sys.platform[:3] == 'win' or 44 sys.platform == 'darwin'): 81 # Platform support for Windows 82 if sys.platform[:3] == 'win': 101 # Platform support for MacOS 102 elif sys.platform == 'darwin': 107 # Platform support for Unix
|
/external/webrtc/test/testsupport/ |
fileutils.cc | 119 std::string platform = "win"; local 121 platform = "linux"; 124 platform = "mac"; 135 std::string resource_file = resources_path + name + "_" + platform + "_" + 141 resource_file = resources_path + name + "_" + platform + "." + extension; 145 // Try without platform. 150 // Fall back on name without architecture or platform.
|
/external/chromium_org/ppapi/native_client/src/untrusted/pnacl_support_extension/ |
pnacl_component_crx_gen.py | 7 normal Chrome installer, for one platform. Once run num-of-arches times, 19 import platform namespace 46 arch = platform.machine() 92 # Normalize the platform name to be the way SCons finds chrome binaries. 93 # This is based on the platform "building" the extension. 96 if sys.platform == 'darwin': 97 platform = 'mac' 98 elif sys.platform.startswith('linux'): 99 platform = 'linux' 100 elif sys.platform in ('cygwin', 'win32') [all...] |
/hardware/invensense/60xx/mlsdk/ |
Android.mk | 11 MLPLATFORM_DIR = $(MLSDK_ROOT)/platform/linux 15 LOCAL_CFLAGS += -I$(LOCAL_PATH)/$(MLSDK_ROOT)/platform/include 16 LOCAL_CFLAGS += -I$(LOCAL_PATH)/$(MLSDK_ROOT)/platform/include/linux 36 MLPLATFORM_DIR = $(MLSDK_ROOT)/platform 47 LOCAL_CFLAGS += -I$(LOCAL_PATH)/$(MLSDK_ROOT)/platform/include/linux
|
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_sysconfig.py | 36 self.platform = sys.platform 56 sys.platform = self.platform 115 sys.platform = 'win32' 122 sys.platform = 'win32' 129 sys.platform = 'win32' 136 sys.platform = 'darwin' 229 sys.platform = 'linux2' 279 @unittest.skipUnless(sys.platform == "darwin", "test only relevant on MacOSX" [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_sysconfig.py | 36 self.platform = sys.platform 56 sys.platform = self.platform 115 sys.platform = 'win32' 122 sys.platform = 'win32' 129 sys.platform = 'win32' 136 sys.platform = 'darwin' 229 sys.platform = 'linux2' 279 @unittest.skipUnless(sys.platform == "darwin", "test only relevant on MacOSX" [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/tool/commands/ |
queries.py | 88 if options.platform: 89 port_names = fnmatch.filter(tool.port_factory.all_port_names(), options.platform) 91 default_port = tool.port_factory.get(options.platform) 95 print "No port names match '%s'" % options.platform 160 help='Print a CSV-style report that includes the port name, test_name, test platform, baseline type, baseline location, and baseline platform'), 165 self._platform_regexp = re.compile('platform/([^\/]+)/(.+)') 173 if options.platform: 174 port_names = fnmatch.filter(tool.port_factory.all_port_names(), options.platform) 176 print "No port names match '%s'" % options.platform [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/ctypes/ |
util.py | 88 if os.name == "posix" and sys.platform == "darwin": 131 if sys.platform == "sunos5": 168 if (sys.platform.startswith("freebsd") 169 or sys.platform.startswith("openbsd") 170 or sys.platform.startswith("dragonfly")): 197 elif sys.platform == "sunos5": 279 if sys.platform == "darwin":
|
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/ctypes/ |
util.py | 88 if os.name == "posix" and sys.platform == "darwin": 131 if sys.platform == "sunos5": 168 if (sys.platform.startswith("freebsd") 169 or sys.platform.startswith("openbsd") 170 or sys.platform.startswith("dragonfly")): 197 elif sys.platform == "sunos5": 279 if sys.platform == "darwin":
|
/external/chromium_org/tools/code_coverage/ |
process_coverage.py | 64 chrome_<platform>_<revision#>.lcov. 85 platform = buffer[len(buffer) - 2] 87 if os.path.exists(os.path.join(dash_root, platform)) == False: 88 os.mkdir(os.path.join(dash_root, platform)) 89 output_dir = os.path.join(dash_root, platform, revision) 295 <project>_<platform>_<cl#>.coverage.lcov 301 (project, platform, cl_string) = project_platform_cl 302 project_name = '%s-%s' % (project, platform) 348 if not sys.platform.startswith('linux'): 355 '--platform', [all...] |
/external/chromium_org/chrome/installer/linux/sysroot_scripts/ |
install-debian.wheezy.sysroot.py | 18 import platform namespace 45 if not sys.platform.startswith('linux'): 69 machine_type = platform.machine()
|
/external/chromium_org/testing/ |
xvfb.py | 13 import platform namespace 33 xvfb_path = os.path.join(server_dir, 'Xvfb.' + platform.architecture()[0]) 98 if sys.platform == 'linux2':
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/system/ |
executive.py | 96 return sys.platform not in ('win32', 'cygwin') 171 if sys.platform == 'win32': 180 if sys.platform == "win32": 192 retries_left = 10 if sys.platform == "cygwin" else 1 210 if e.errno == errno.EACCES and sys.platform == 'cygwin': 257 if sys.platform == 'win32': 272 if sys.platform in ("win32", "cygwin"): 319 # FIXME: The python docs seem to imply that platform == 'win32' may need to use signal.CTRL_C_EVENT 331 if sys.platform in ("win32", "cygwin"): 442 if sys.platform == 'win32' and sys.version < '3' [all...] |
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/ |
win.py | 54 assert host.platform.is_win() 56 if host.platform.os_version in ('vista', '7sp0', '7sp1', 'future'): 59 version = host.platform.os_version
|
/device/lge/mako/camera/QCamera/stack/mm-camera-test/ |
Android.mk | 5 ifeq ($(call is-board-platform,msm8960),true) 47 ifeq ($(call is-board-platform,msm8960),true)
|
/external/chromium_org/build/ |
gyp_chromium | 46 if sys.platform == 'win32': 95 if sys.platform == 'cygwin': 137 if sys.platform not in ('darwin',): 144 if sys.platform.startswith('linux') and not os.environ.get('GYP_GENERATORS'):
|
/external/chromium_org/remoting/tools/build/ |
remoting_copy_locales.py | 25 # The target platform. If it is not defined, sys.platform will be used. 131 if sys.platform == 'darwin': 133 elif sys.platform.startswith('linux'): 135 elif sys.platform in ('cygwin', 'win32'): 138 OS = sys.platform
|
/external/chromium_org/third_party/WebKit/Source/bindings/ |
PRESUBMIT.py | 45 if input_api.platform == 'win32':
|
/external/chromium_org/third_party/WebKit/Tools/Scripts/webkitpy/common/ |
checksvnconfigfile.py | 53 if host.platform.is_win():
|
find_files_unittest.py | 57 # This tests the actual windows platform, to ensure we get the same 59 if sys.platform != 'win32':
|