Home
last modified time | relevance | path

Searched refs:platform (Results 1 – 25 of 4505) sorted by relevance

12345678910>>...181

/external/python/cpython2/Lib/test/
Dtest_platform.py4 import platform
11 res = platform.architecture()
31 res = platform.platform(aliased, terse)
34 res = platform.system()
37 res = platform.node()
40 res = platform.release()
43 res = platform.version()
46 res = platform.machine()
49 res = platform.processor()
54 self.save_platform = sys.platform
[all …]
/external/llvm/tools/msbuild/
DCMakeLists.txt6 foreach (platform "Win32" "x64")
8 set(prop_file_v100 "Microsoft.Cpp.${platform}.LLVM-vs2010.props")
9 set(prop_file_v110 "Microsoft.Cpp.${platform}.LLVM-vs2012.props")
10 set(prop_file_v110_xp "Microsoft.Cpp.${platform}.LLVM-vs2012_xp.props")
16 if (platform STREQUAL "Win32")
23 configure_file(${prop_file_in} ${platform}/${prop_file_v100})
26 configure_file(${prop_file_in} ${platform}/${prop_file_v110})
28 configure_file(${prop_file_in} ${platform}/${prop_file_v110_xp})
31 configure_file(${prop_file_in} ${platform}/${prop_file_v120})
33 configure_file(${prop_file_in} ${platform}/${prop_file_v120_xp})
[all …]
/external/tensorflow/tensorflow/compiler/xla/service/
Dplatform_util.cc70 for (se::Platform* platform : all_platforms) { in GetSupportedPlatforms()
71 auto compiler_status = Compiler::GetForPlatform(platform); in GetSupportedPlatforms()
73 if (!platform->Initialized()) { in GetSupportedPlatforms()
74 TF_RETURN_IF_ERROR(platform->Initialize({})); in GetSupportedPlatforms()
76 platforms.push_back(platform); in GetSupportedPlatforms()
78 LOG(INFO) << "platform " << platform->Name() << " present but no " in GetSupportedPlatforms()
91 se::Platform* platform = platforms[0]; in GetSolePlatform() local
92 if (!platform->Initialized()) { in GetSolePlatform()
93 TF_RETURN_IF_ERROR(platform->Initialize({})); in GetSolePlatform()
95 return platform; in GetSolePlatform()
[all …]
/external/grpc-grpc/tools/run_tests/artifacts/
Ddistribtest_targets.py84 def __init__(self, platform, arch, docker_suffix=None, argument
86 self.name = 'csharp_%s_%s' % (platform, arch)
87 self.platform = platform
90 self.labels = ['distribtest', 'csharp', platform, arch]
106 if self.platform == 'linux':
114 elif self.platform == 'macos':
122 elif self.platform == 'windows':
149 def __init__(self, platform, arch, docker_suffix, source=False): argument
152 self.name = 'python_dev_%s_%s_%s' % (platform, arch, docker_suffix)
154 self.name = 'python_%s_%s_%s' % (platform, arch, docker_suffix)
[all …]
Dartifact_targets.py107 def __init__(self, platform, arch, py_version): argument
108 self.name = 'python_%s_%s_%s' % (platform, arch, py_version)
109 self.platform = platform
111 self.labels = ['artifact', 'python', platform, arch, py_version]
119 if self.platform == 'linux_extra':
136 elif self.platform == 'linux':
160 elif self.platform == 'windows':
194 def __init__(self, platform, arch): argument
195 self.name = 'ruby_native_gem_%s_%s' % (platform, arch)
196 self.platform = platform
[all …]
/external/python/cpython3/Lib/test/
Dtest_platform.py3 import platform
15 res = platform.architecture()
22 if sys.platform == "win32":
54 res = platform.platform(aliased, terse)
57 res = platform.system()
60 res = platform.node()
63 res = platform.release()
66 res = platform.version()
69 res = platform.machine()
72 res = platform.processor()
[all …]
/external/chromium-trace/catapult/dependency_manager/dependency_manager/
Dmanager.py54 def FetchPathWithVersion(self, dependency, platform): argument
87 dependency_info = self._GetDependencyInfo(dependency, platform)
89 raise exceptions.NoPathFoundError(dependency, platform)
95 raise exceptions.NoPathFoundError(dependency, platform)
99 def FetchPath(self, dependency, platform): argument
130 path, _ = self.FetchPathWithVersion(dependency, platform)
133 def LocalPath(self, dependency, platform): argument
152 dependency_info = self._GetDependencyInfo(dependency, platform)
154 raise exceptions.NoPathFoundError(dependency, platform)
157 raise exceptions.NoPathFoundError(dependency, platform)
[all …]
Dbase_config.py132 for platform in platforms_dict:
133 platform_info = platforms_dict.get(platform)
157 'missing a cloud storage hash.', dependency, platform)
167 '%s_%s_%s' % (dependency, platform, cs_hash)))
170 '%s_%s_%s' % (dependency, platform,
181 dependency, platform, self._config_path,
204 def SetDownloadPath(self, dependency, platform, download_path): argument
209 if platform not in platform_dicts:
210 platform_dicts[platform] = {}
211 platform_dicts[platform]['download_path'] = download_path
[all …]
/external/caliper/caliper/src/main/java/com/google/caliper/config/
DVmConfig.java22 import com.google.caliper.platform.Platform;
42 private final Platform platform; field in VmConfig
50 this.platform = builder.platform; in VmConfig()
56 public VmConfig(File vmHome, Iterable<String> options, File vmExecutable, Platform platform) { in VmConfig() argument
57 this.platform = platform; in VmConfig()
69 vmExecutable = platform.vmExecutable(vmHome); in vmExecutable()
79 return platform.name(); in platformName()
83 return platform.workerClassPathArgs(); in workerClassPathArgs()
87 return platform.workerProcessArgs(); in workerProcessArgs()
91 return platform.commonInstrumentVmArgs(); in commonInstrumentVmArgs()
[all …]
/external/capstone/bindings/java/
DTest.java7 public static class platform { class in Test
14 public platform(int a, int m, int syt, byte[] c, String s) { in platform() method in Test.platform
22 public platform(int a, int m, byte[] c, String s) { in platform() method in Test.platform
48 platform[] platforms = { in main()
49 new platform( in main()
56 new platform( in main()
63 new platform( in main()
69 new platform( in main()
75 new platform( in main()
81 new platform( in main()
[all …]
/external/libese/libese-hw/nxp/pn80t/
Dcommon.c55 const struct Pn80tPlatform *platform; in nxp_pn80t_open() local
58 platform = ese->ops->opts; in nxp_pn80t_open()
61 if (!platform->initialize || !platform->release || !platform->toggle_reset || in nxp_pn80t_open()
62 !platform->wait) { in nxp_pn80t_open()
70 ns->handle = platform->initialize(board); in nxp_pn80t_open()
82 if (platform->toggle_ven) { in nxp_pn80t_open()
83 platform->toggle_ven(ns->handle, 1); in nxp_pn80t_open()
85 if (platform->toggle_power_req) { in nxp_pn80t_open()
86 platform->toggle_power_req(ns->handle, 1); in nxp_pn80t_open()
89 platform->toggle_reset(ns->handle, 1); in nxp_pn80t_open()
[all …]
/external/tensorflow/tensorflow/compiler/xla/client/
Dclient_library.cc28 se::Platform* platform, int number_of_replicas, in LocalClientOptions() argument
31 : platform_(platform), in LocalClientOptions()
36 LocalClientOptions& LocalClientOptions::set_platform(se::Platform* platform) { in set_platform() argument
37 platform_ = platform; in set_platform()
41 se::Platform* LocalClientOptions::platform() const { return platform_; } in platform() function in xla::LocalClientOptions
83 se::Platform* platform, const absl::optional<std::set<int>>& device_set) { in GetOrCreateLocalClient() argument
85 default_options.set_platform(platform); in GetOrCreateLocalClient()
92 se::Platform* platform = options.platform(); in GetOrCreateLocalClient() local
97 if (platform == nullptr) { in GetOrCreateLocalClient()
98 TF_ASSIGN_OR_RETURN(platform, PlatformUtil::GetDefaultPlatform()); in GetOrCreateLocalClient()
[all …]
/external/chromium-trace/catapult/common/py_trace_event/py_trace_event/
Dtrace_time_unittest.py7 import platform
19 old_proc = platform.processor
20 platform.processor = f
23 platform.processor = old_proc
40 if not (sys.platform.startswith(trace_time._PLATFORMS['windows'])
41 or sys.platform.startswith(trace_time._PLATFORMS['cygwin'])):
43 trace_time.InitializeNowFunction(sys.platform)
48 if not sys.platform.startswith(trace_time._PLATFORMS['linux']):
50 trace_time.InitializeNowFunction(sys.platform)
54 if not sys.platform.startswith(trace_time._PLATFORMS['mac']):
[all …]
/external/python/cpython2/Doc/library/
Dcarbon.rst37 :platform: Mac
47 :platform: Mac
57 :platform: Mac
65 :platform: Mac
75 :platform: Mac
88 :platform: Mac
98 :platform: Mac
106 :platform: Mac
116 :platform: Mac
124 :platform: Mac
[all …]
/external/tensorflow/tensorflow/stream_executor/
DBUILD1 # GPU executor library for data-parallel kernel launches and cross-platform
10 load("//tensorflow/core:platform/default/build_config.bzl", "tf_proto_library")
11 load("//tensorflow/core:platform/default/build_config_root.bzl", "if_static")
39 "//tensorflow/stream_executor/platform",
51 "//tensorflow/stream_executor/platform",
82 "platform.h",
93 "//tensorflow/stream_executor/platform",
123 "platform.h",
140 "//tensorflow/stream_executor/platform",
153 "//tensorflow/stream_executor/platform",
[all …]
Dmulti_platform_manager.cc32 port::Status RegisterPlatform(std::unique_ptr<Platform> platform)
72 std::unique_ptr<Platform> platform) { in RegisterPlatform() argument
73 CHECK(platform != nullptr); in RegisterPlatform()
74 string key = port::Lowercase(platform->Name()); in RegisterPlatform()
79 platform->Name() + "\""); in RegisterPlatform()
81 Platform* platform_ptr = platform.get(); in RegisterPlatform()
82 CHECK(id_map_.emplace(platform->id(), platform_ptr).second); in RegisterPlatform()
88 name_map_[key] = platform.release(); in RegisterPlatform()
99 SE_ASSIGN_OR_RETURN(Platform * platform, LookupByNameLocked(target)); in PlatformWithName()
100 if (!platform->Initialized()) { in PlatformWithName()
[all …]
/external/python/cpython2/Modules/_ctypes/libffi/
Dgenerate-darwin-source-and-headers.py130 def copy_src_platform_files(platform): argument
131 src_dir = os.path.join('src', platform.src_dir)
132 dst_dir = os.path.join(platform.directory, 'src', platform.src_dir)
133 …files(src_dir, dst_dir, filelist=platform.src_files, file_suffix=platform.arch, prefix=platform.pr…
136 def build_target(platform, platform_headers): argument
138 return 'xcrun -sdk %s %s -arch %s' % (platform.sdk, cmd, platform.arch)
140 tag='%s-%s' % (platform.sdk, platform.arch)
145 CFLAGS='%s' % (platform.version_min))
149 subprocess.check_call(['../configure', '-host', platform.triple], env=env)
155 os.path.join(platform.directory, 'include'),
[all …]
/external/libffi/
Dgenerate-darwin-source-and-headers.py130 def copy_src_platform_files(platform): argument
131 src_dir = os.path.join('src', platform.src_dir)
132 dst_dir = os.path.join(platform.directory, 'src', platform.src_dir)
133 …files(src_dir, dst_dir, filelist=platform.src_files, file_suffix=platform.arch, prefix=platform.pr…
136 def build_target(platform, platform_headers): argument
138 return 'xcrun -sdk %s %s -arch %s' % (platform.sdk, cmd, platform.arch)
140 tag='%s-%s' % (platform.sdk, platform.arch)
145 CFLAGS='%s' % (platform.version_min))
149 subprocess.check_call(['../configure', '-host', platform.triple], env=env)
155 os.path.join(platform.directory, 'include'),
[all …]
/external/compiler-rt/cmake/
Dbuiltin-config-ix.cmake108 foreach(platform ${DARWIN_EMBEDDED_PLATFORMS})
109 if(DARWIN_${platform}sim_SYSROOT)
110 set(DARWIN_${platform}sim_BUILTIN_MIN_VER
111 ${DARWIN_${platform}_BUILTIN_MIN_VER})
112 set(DARWIN_${platform}sim_BUILTIN_MIN_VER_FLAG
113 ${DARWIN_${platform}_BUILTIN_MIN_VER_FLAG})
115 set(DARWIN_${platform}sim_SKIP_CC_KEXT On)
118 if(DARWIN_${platform}sim_ARCHS)
119 set(test_arches DARWIN_${platform}sim_ARCHS)
122 darwin_test_archs(${platform}sim
[all …]
/external/tensorflow/tensorflow/contrib/makefile/
Dproto_text_cc_files.txt40 tensorflow/core/platform/cpu_info.cc
41 tensorflow/core/platform/default/logging.cc
42 tensorflow/core/platform/default/mutex.cc
43 tensorflow/core/platform/default/tracing.cc
44 tensorflow/core/platform/denormal.cc
45 tensorflow/core/platform/env.cc
46 tensorflow/core/platform/env_time.cc
47 tensorflow/core/platform/file_system.cc
48 tensorflow/core/platform/file_system_helper.cc
49 tensorflow/core/platform/posix/env.cc
[all …]
/external/v8/tools/clang/scripts/
Dpackage.py45 proc = subprocess.Popen(cmd, bufsize=1, shell=sys.platform == 'win32',
89 def GsutilArchiveExists(archive_name, platform): argument
92 (platform, archive_name)]
96 def MaybeUpload(args, archive_name, platform): argument
100 (platform, archive_name)]
113 assert sys.platform == 'win32'
178 if sys.platform == 'darwin':
179 platform = 'Mac'
180 elif sys.platform == 'win32':
181 platform = 'Win'
[all …]
/external/grpc-grpc/
Dsetup.py22 import platform
44 if 'darwin' in sys.platform:
46 if 'freebsd' in sys.platform:
48 if 'linux' in sys.platform:
50 if 'openbsd' in sys.platform:
127 if 'win32' in sys.platform and sys.version_info < (3, 5):
133 if '32' in platform.architecture()[0]:
137 elif "linux" in sys.platform:
139 elif "darwin" in sys.platform:
145 if "linux" in sys.platform or "darwin" in sys.platform:
[all …]
/external/cldr/tools/java/org/unicode/cldr/draft/keyboard/
DKeyboardId.java36 private final Platform platform; field in KeyboardId
39 private KeyboardId(ULocale locale, Platform platform, ImmutableList<String> attributes) { in KeyboardId() argument
41 this.platform = checkNotNull(platform); in KeyboardId()
46 … public static KeyboardId of(ULocale locale, Platform platform, ImmutableList<String> attributes) { in of() argument
47 return new KeyboardId(locale, platform, attributes); in of()
61 Platform platform = Platform.fromString(attributeStrings[0]); in fromString() local
65 return new KeyboardId(locale, platform, attributes); in fromString()
74 public Platform platform() { in platform() method in KeyboardId
75 return platform; in platform()
91 components.add(platform.toString()); in toString()
[all …]
/external/v8/
DAndroid.base.bp18 "src/base/platform/condition-variable.cc",
19 "src/base/platform/mutex.cc",
20 "src/base/platform/platform-posix-time.cc",
21 "src/base/platform/platform-posix.cc",
22 "src/base/platform/semaphore.cc",
23 "src/base/platform/time.cc",
33 srcs: ["src/base/platform/platform-linux.cc"],
40 srcs: ["src/base/platform/platform-macos.cc"],
/external/python/cpython3/Lib/
Dplatform.py128 if sys.platform in ('dos', 'win32', 'win16'):
469 if sys.platform not in supported_platforms:
728 platform = '-'.join(x.strip() for x in filter(len, args))
731 platform = platform.replace(' ', '_')
732 platform = platform.replace('/', '-')
733 platform = platform.replace('\\', '-')
734 platform = platform.replace(':', '-')
735 platform = platform.replace(';', '-')
736 platform = platform.replace('"', '-')
737 platform = platform.replace('(', '-')
[all …]

12345678910>>...181