Home
last modified time | relevance | path

Searched full:platform (Results 1 – 25 of 15695) sorted by relevance

12345678910>>...628

/external/chromium-crossbench/tests/crossbench/plt/
Dtest_native_platform.py23 self.platform: plt.Platform = plt.PLATFORM
26 self.platform.sleep(0)
27 self.platform.sleep(0.01)
28 self.platform.sleep(dt.timedelta())
29 self.platform.sleep(dt.timedelta(seconds=0.1))
32 details = self.platform.cpu_details()
36 self.assertGreater(self.platform.get_relative_cpu_speed(), 0)
39 self.assertIsInstance(self.platform.is_thermal_throttled(), bool)
42 self.assertIsInstance(self.platform.is_battery_powered, bool)
44 self.platform.is_battery_powered,
[all …]
Dtest_bin.py14 from crossbench.plt import PLATFORM
33 self._all_platforms = (PLATFORM,) + self._all_mock_platforms
63 platform = WinMockPlatform()
64 path = platform.local_path("C:/Users/user-name/AppData/Local/Programs/"
67 with platform.override_binary(binary, path):
68 self.assertEqual(binary.resolve(platform), path)
72 with platform.override_binary(binary, path):
73 self.assertEqual(binary.resolve(platform), path)
74 self.assertEqual(binary.resolve_cached(platform), path)
78 self.assertEqual(binary.resolve_cached(platform), path)
[all …]
/external/tensorflow/tensorflow/tsl/platform/default/
DBUILD1 # Tensorflow default + linux implementations of tensorflow/core/platform libraries.
5 load("//tensorflow/core/platform:rules_cc.bzl", "cc_library")
9 "//tensorflow/core/platform:__pkg__",
26 hdrs = ["//tensorflow/core/platform:context.h"],
33 deps = ["//tensorflow/core/platform"],
50 hdrs = ["//tensorflow/core/platform:cuda_libdevice_path.h"],
58 "//tensorflow/core/platform:logging",
59 "//tensorflow/core/platform:path",
60 "//tensorflow/core/platform:types",
79 "//tensorflow/core/platform:env.cc",
[all …]
/external/chromium-crossbench/tests/crossbench/
Dmock_browser.py58 def mock_app_path(cls, platform: plt.Platform) -> pathlib.Path: argument
62 def setup_fs(cls, fs, platform: plt.Platform = plt.PLATFORM) -> None: argument
63 app_path = cls.mock_app_path(platform)
67 cls.setup_bin(fs, app_path, macos_bin_name, platform)
74 platform: plt.Platform = plt.PLATFORM) -> None: argument
75 if platform.is_macos:
78 elif platform.is_win:
92 platform = settings.platform
93 path = path or self.mock_app_path(platform)
207 def app_root(platform: plt.Platform) -> pathlib.Path: argument
[all …]
/external/tensorflow/tensorflow/tsl/platform/windows/
DBUILD3 # Tensorflow windows-specific implementations of tensorflow/core/platform libraries.
9 "//tensorflow/core/platform:rules_cc.bzl",
15 "//tensorflow/core/platform:__pkg__",
25 "//tensorflow/core/platform:env.cc",
26 "//tensorflow/core/platform:file_system.cc",
27 "//tensorflow/core/platform:file_system_helper.cc",
28 "//tensorflow/core/platform:ram_file_system.h",
29 "//tensorflow/core/platform:threadpool.cc",
32 "//tensorflow/core/platform:env.h",
33 "//tensorflow/core/platform:file_system.h",
[all …]
/external/autotest/metadata/tests/
Dplatform.star13 'platform/AccurateTime',
18 'platform/ActivateDate',
23 'platform/AesThroughput',
28 'platform/BootLockbox',
33 'platform/BootLockboxServer',
38 'platform/BootPerf',
43 'platform/CheckErrorsInLog',
48 'platform/ChromeCgroups',
53 'platform/CleanShutdown',
58 'platform/CloseOpenLid',
[all …]
/external/tensorflow/tensorflow/compiler/xla/stream_executor/
Dmulti_platform_manager.cc29 #include "tensorflow/core/platform/errors.h"
36 port::Status RegisterPlatform(std::unique_ptr<Platform> platform)
39 port::StatusOr<Platform*> PlatformWithName(absl::string_view target)
42 port::StatusOr<Platform*> PlatformWithId(const Platform::Id& id)
45 port::StatusOr<Platform*> PlatformWithName(absl::string_view target,
49 port::StatusOr<Platform*> PlatformWithId(const Platform::Id& id,
53 port::StatusOr<Platform*> InitializePlatformWithName(
57 port::StatusOr<Platform*> InitializePlatformWithId(
58 const Platform::Id& id, const std::map<std::string, std::string>& options)
61 port::StatusOr<std::vector<Platform*>> PlatformsWithFilter(
[all …]
/external/chromium-crossbench/tests/crossbench/browsers/chrome/
Dtest_downloader.py25 ChromeDownloader.load("", self.platform)
27 ChromeDownloader.load("M", self.platform)
29 ChromeDownloader.load("M-100", self.platform)
31 ChromeDownloader.load("M100.1.2.3.4.5", self.platform)
33 ChromeDownloader.load("100.1.2.3.4.5", self.platform)
37 ChromeDownloader.load(pathlib.Path("custom"), self.platform)
40 self.platform.which = lambda x: None
42 ChromeDownloader.load("chrome-111.0.5563.110", self.platform)
45 self.assertFalse(ChromeDownloader.is_valid("", self.platform))
46 self.assertFalse(ChromeDownloader.is_valid("mM45", self.platform))
[all …]
/external/tensorflow/tensorflow/core/platform/
Dbuild_test.cc16 #include "tensorflow/core/platform/abi.h"
17 #include "tensorflow/core/platform/byte_order.h"
18 #include "tensorflow/core/platform/cord.h"
19 #include "tensorflow/core/platform/cpu_feature_guard.h"
20 #include "tensorflow/core/platform/cpu_info.h"
21 #include "tensorflow/core/platform/demangle.h"
22 #include "tensorflow/core/platform/denormal.h"
23 #include "tensorflow/core/platform/dynamic_annotations.h"
24 #include "tensorflow/core/platform/env_time.h"
25 #include "tensorflow/core/platform/file_statistics.h"
[all …]
/external/bazelbuild-rules_rust/examples/crate_universe/vendor_local_manifests/crates/
Ddefs.bzl40 # on the host platform.
367 "aarch64-apple-darwin": ["@rules_rust//rust/platform:aarch64-apple-darwin"],
368 "aarch64-apple-ios": ["@rules_rust//rust/platform:aarch64-apple-ios"],
369 "aarch64-apple-ios-sim": ["@rules_rust//rust/platform:aarch64-apple-ios-sim"],
370 "aarch64-fuchsia": ["@rules_rust//rust/platform:aarch64-fuchsia"],
371 "aarch64-linux-android": ["@rules_rust//rust/platform:aarch64-linux-android"],
373 "aarch64-pc-windows-msvc": ["@rules_rust//rust/platform:aarch64-pc-windows-msvc"],
374 …h64-unknown-linux-gnu": ["@rules_rust//rust/platform:aarch64-unknown-linux-gnu", "@rules_rust//rus…
375 "aarch64-unknown-nixos-gnu": ["@rules_rust//rust/platform:aarch64-unknown-nixos-gnu"],
376 "aarch64-unknown-nto-qnx710": ["@rules_rust//rust/platform:aarch64-unknown-nto-qnx710"],
[all …]
/external/bazelbuild-rules_python/tests/pypi/whl_installer/
Dplatform_test.py4 from python.private.pypi.whl_installer.platform import (
7 Platform,
20 host = Platform.host()
22 self.assertEqual(1, len(Platform.from_string("host")))
23 self.assertEqual(host, Platform.from_string("host"))
26 got = Platform.from_string("linux_x86_64")
27 want = Platform(os=OS.linux, arch=Arch.x86_64)
31 got = Platform.from_string("cp33_linux_x86_64")
32 want = Platform(os=OS.linux, arch=Arch.x86_64, minor_version=3)
36 cp39 = Platform.all(minor_version=9)
[all …]
/external/bazelbuild-rules_rust/proto/protobuf/3rdparty/crates/
DBUILD.protobuf-codegen-2.8.2.bazel48 "@rules_rust//rust/platform:aarch64-apple-darwin": [],
49 "@rules_rust//rust/platform:aarch64-apple-ios": [],
50 "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
51 "@rules_rust//rust/platform:aarch64-fuchsia": [],
52 "@rules_rust//rust/platform:aarch64-linux-android": [],
53 "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
54 "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
55 "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [],
56 "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
57 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
[all …]
DBUILD.log-0.4.17.bazel33 "@rules_rust//rust/platform:aarch64-apple-darwin": [
36 "@rules_rust//rust/platform:aarch64-apple-ios": [
39 "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
42 "@rules_rust//rust/platform:aarch64-fuchsia": [
45 "@rules_rust//rust/platform:aarch64-linux-android": [
48 "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
51 "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
54 "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
57 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
60 "@rules_rust//rust/platform:armv7-linux-androideabi": [
[all …]
DBUILD.grpc-compiler-0.6.2.bazel48 "@rules_rust//rust/platform:aarch64-apple-darwin": [],
49 "@rules_rust//rust/platform:aarch64-apple-ios": [],
50 "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
51 "@rules_rust//rust/platform:aarch64-fuchsia": [],
52 "@rules_rust//rust/platform:aarch64-linux-android": [],
53 "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
54 "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
55 "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [],
56 "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
57 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
[all …]
/external/bazelbuild-rules_rust/proto/prost/private/3rdparty/crates/
DBUILD.libc-0.2.146.bazel36 "@rules_rust//rust/platform:aarch64-apple-darwin": [
39 "@rules_rust//rust/platform:aarch64-apple-ios": [
42 "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
45 "@rules_rust//rust/platform:aarch64-fuchsia": [
48 "@rules_rust//rust/platform:aarch64-linux-android": [
51 "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
54 "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
57 "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
60 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
63 "@rules_rust//rust/platform:armv7-linux-androideabi": [
[all …]
DBUILD.protoc-gen-prost-0.2.2.bazel48 "@rules_rust//rust/platform:aarch64-apple-darwin": [],
49 "@rules_rust//rust/platform:aarch64-apple-ios": [],
50 "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
51 "@rules_rust//rust/platform:aarch64-fuchsia": [],
52 "@rules_rust//rust/platform:aarch64-linux-android": [],
53 "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
54 "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
55 "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [],
56 "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
57 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
[all …]
DBUILD.protoc-gen-tonic-0.2.2.bazel48 "@rules_rust//rust/platform:aarch64-apple-darwin": [],
49 "@rules_rust//rust/platform:aarch64-apple-ios": [],
50 "@rules_rust//rust/platform:aarch64-apple-ios-sim": [],
51 "@rules_rust//rust/platform:aarch64-fuchsia": [],
52 "@rules_rust//rust/platform:aarch64-linux-android": [],
53 "@rules_rust//rust/platform:aarch64-pc-windows-msvc": [],
54 "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [],
55 "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [],
56 "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [],
57 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [],
[all …]
/external/openthread/tests/gtest/
Dradio_spinel_rcp_test.cpp32 #include <openthread/platform/radio.h>
55 MockPlatform platform; in TEST() local
85 EXPECT_CALL(platform, Transmit(Truly([](otRadioFrame *aFrame) -> bool { in TEST()
91 ASSERT_EQ(platform.mRadioSpinel.Enable(FakePlatform::CurrentInstance()), kErrorNone); in TEST()
92 ASSERT_EQ(platform.mRadioSpinel.Transmit(txFrame), kErrorNone); in TEST()
94 platform.GoInMs(1000); in TEST()
99 FakeCoprocessorPlatform platform; in TEST() local
130 ASSERT_EQ(platform.mRadioSpinel.Enable(FakePlatform::CurrentInstance()), kErrorNone); in TEST()
131 ASSERT_EQ(platform.mRadioSpinel.Transmit(txFrame), kErrorNone); in TEST()
132 platform.GoInMs(1000); in TEST()
[all …]
/external/bazelbuild-rules_rust/crate_universe/3rdparty/crates/
DBUILD.libc-0.2.149.bazel36 "@rules_rust//rust/platform:aarch64-apple-darwin": [
39 "@rules_rust//rust/platform:aarch64-apple-ios": [
42 "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
45 "@rules_rust//rust/platform:aarch64-fuchsia": [
48 "@rules_rust//rust/platform:aarch64-linux-android": [
51 "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
54 "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
57 "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
60 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
63 "@rules_rust//rust/platform:armv7-linux-androideabi": [
[all …]
DBUILD.errno-0.3.1.bazel32 "@rules_rust//rust/platform:aarch64-apple-darwin": [
35 "@rules_rust//rust/platform:aarch64-apple-ios": [
38 "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
41 "@rules_rust//rust/platform:aarch64-fuchsia": [
44 "@rules_rust//rust/platform:aarch64-linux-android": [
47 "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
50 "@rules_rust//rust/platform:armv7-linux-androideabi": [
53 "@rules_rust//rust/platform:i686-apple-darwin": [
56 "@rules_rust//rust/platform:i686-linux-android": [
59 "@rules_rust//rust/platform:i686-unknown-freebsd": [
[all …]
DBUILD.bitflags-2.4.1.bazel32 "@rules_rust//rust/platform:aarch64-apple-darwin": [
35 "@rules_rust//rust/platform:aarch64-apple-ios": [
38 "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
41 "@rules_rust//rust/platform:aarch64-fuchsia": [
44 "@rules_rust//rust/platform:aarch64-linux-android": [
47 "@rules_rust//rust/platform:aarch64-unknown-linux-gnu": [
50 "@rules_rust//rust/platform:aarch64-unknown-nixos-gnu": [
53 "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
56 "@rules_rust//rust/platform:arm-unknown-linux-gnueabi": [
59 "@rules_rust//rust/platform:armv7-linux-androideabi": [
[all …]
/external/tensorflow/tensorflow/core/kernels/mlir_generated/
Dbase_op.h24 #include "tensorflow/core/platform/errors.h"
140 #define MLIR_FUNCTION(tf_op, platform, input_type, output_type) \ argument
141 _mlir_ciface_##tf_op##_##platform##_##input_type##_##output_type
143 #define MLIR_OP(tf_op, platform, input_type, output_type) \ argument
144 Mlir##tf_op##platform##input_type##output_type##Op
148 #define REGISTER_ALIASED_KERNEL(tf_op, mlir_op, platform, input_type, \ argument
152 .Device(DEVICE_##platform) \
155 MLIR_OP(mlir_op, platform, input_type, output_type));
157 #define REGISTER_KERNEL(tf_op, platform, input_type, output_type, \ argument
159 REGISTER_ALIASED_KERNEL(tf_op, tf_op, platform, input_type, output_type, \
[all …]
/external/bazelbuild-rules_rust/examples/crate_universe/vendor_local_manifests/crates/libc-0.2.155/
DBUILD.bazel36 "@rules_rust//rust/platform:aarch64-apple-darwin": [
39 "@rules_rust//rust/platform:aarch64-apple-ios": [
42 "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
45 "@rules_rust//rust/platform:aarch64-fuchsia": [
48 "@rules_rust//rust/platform:aarch64-linux-android": [
51 "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
54 "@rules_rust//rust/platform:armv7-linux-androideabi": [
57 "@rules_rust//rust/platform:i686-apple-darwin": [
60 "@rules_rust//rust/platform:i686-linux-android": [
63 "@rules_rust//rust/platform:i686-unknown-freebsd": [
[all …]
/external/bazelbuild-rules_rust/examples/crate_universe_unnamed/vendor_remote_manifests/crates/
DBUILD.libc-0.2.155.bazel36 "@rules_rust//rust/platform:aarch64-apple-darwin": [
39 "@rules_rust//rust/platform:aarch64-apple-ios": [
42 "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
45 "@rules_rust//rust/platform:aarch64-fuchsia": [
48 "@rules_rust//rust/platform:aarch64-linux-android": [
51 "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
54 "@rules_rust//rust/platform:armv7-linux-androideabi": [
57 "@rules_rust//rust/platform:i686-apple-darwin": [
60 "@rules_rust//rust/platform:i686-linux-android": [
63 "@rules_rust//rust/platform:i686-unknown-freebsd": [
[all …]
/external/bazelbuild-rules_rust/examples/crate_universe/vendor_remote_manifests/crates/
DBUILD.libc-0.2.155.bazel36 "@rules_rust//rust/platform:aarch64-apple-darwin": [
39 "@rules_rust//rust/platform:aarch64-apple-ios": [
42 "@rules_rust//rust/platform:aarch64-apple-ios-sim": [
45 "@rules_rust//rust/platform:aarch64-fuchsia": [
48 "@rules_rust//rust/platform:aarch64-linux-android": [
51 "@rules_rust//rust/platform:aarch64-unknown-nto-qnx710": [
54 "@rules_rust//rust/platform:armv7-linux-androideabi": [
57 "@rules_rust//rust/platform:i686-apple-darwin": [
60 "@rules_rust//rust/platform:i686-linux-android": [
63 "@rules_rust//rust/platform:i686-unknown-freebsd": [
[all …]

12345678910>>...628