| /external/linux-kselftest/tools/testing/selftests/ |
| D | Makefile | 2 TARGETS += alsa 3 TARGETS += amd-pstate 4 TARGETS += arm64 5 TARGETS += bpf 6 TARGETS += breakpoints 7 TARGETS += capabilities 8 TARGETS += cgroup 9 TARGETS += clone3 10 TARGETS += core 11 TARGETS += cpufreq [all …]
|
| /external/bazelbuild-rules_cc/tests/rule_based_toolchain/toolchain_config/ |
| D | toolchain_config_test.bzl | 68 def _empty_toolchain_valid_test(env, targets): 71 tool_map = targets.empty_tool_map, # tool_map is always required. 74 def _duplicate_feature_names_invalid_test(env, targets): 77 known_features = [targets.simple_feature, targets.same_feature_name], 78 tool_map = targets.empty_tool_map, 82 targets.same_feature_name.label, 83 targets.simple_feature.label, 89 known_features = [targets.builtin_feature, targets.overrides_feature], 90 tool_map = targets.empty_tool_map, 94 def _feature_config_implies_missing_feature_invalid_test(env, targets): [all …]
|
| /external/bazelbuild-rules_cc/tests/rule_based_toolchain/features/ |
| D | features_test.bzl | 43 def _sentinel_feature_test(env, targets): 44 sentinel_feature = env.expect.that_target(targets.sentinel_feature).provider(FeatureInfo) 48 def _simple_feature_test(env, targets): 49 simple = env.expect.that_target(targets.simple).provider(FeatureInfo) 51 simple.args().args().contains_exactly([targets.c_compile_args.label]) 58 targets.c_compile_args[ArgsInfo].actions.to_list()[0], 61 c_compile_action.args().contains_exactly([targets.c_compile_args[ArgsInfo]]) 74 def _feature_collects_requirements_test(env, targets): 75 ft = env.expect.that_target(targets.requires).provider(FeatureInfo) 77 targets.feature_set.label, [all …]
|
| /external/libwebm/webm_parser/tests/ |
| D | targets_parser_test.cc | 17 using webm::Targets; 28 const Targets targets = parser_.value(); in TEST_F() local 30 EXPECT_FALSE(targets.type_value.is_present()); in TEST_F() 31 EXPECT_EQ(static_cast<std::uint64_t>(50), targets.type_value.value()); in TEST_F() 33 EXPECT_FALSE(targets.type.is_present()); in TEST_F() 34 EXPECT_EQ("", targets.type.value()); in TEST_F() 36 EXPECT_EQ(static_cast<std::size_t>(0), targets.track_uids.size()); in TEST_F() 53 const Targets targets = parser_.value(); in TEST_F() local 55 EXPECT_TRUE(targets.type_value.is_present()); in TEST_F() 56 EXPECT_EQ(static_cast<std::uint64_t>(50), targets.type_value.value()); in TEST_F() [all …]
|
| /external/llvm/unittests/Transforms/IPO/ |
| D | WholeProgramDevirt.cpp | 30 VirtualCallTarget Targets[] = { in TEST() local 35 EXPECT_EQ(2ull, findLowestOffset(Targets, /*IsAfter=*/false, 1)); in TEST() 36 EXPECT_EQ(66ull, findLowestOffset(Targets, /*IsAfter=*/true, 1)); in TEST() 38 EXPECT_EQ(8ull, findLowestOffset(Targets, /*IsAfter=*/false, 8)); in TEST() 39 EXPECT_EQ(72ull, findLowestOffset(Targets, /*IsAfter=*/true, 8)); in TEST() 42 EXPECT_EQ(33ull, findLowestOffset(Targets, /*IsAfter=*/false, 1)); in TEST() 43 EXPECT_EQ(65ull, findLowestOffset(Targets, /*IsAfter=*/true, 1)); in TEST() 45 EXPECT_EQ(40ull, findLowestOffset(Targets, /*IsAfter=*/false, 8)); in TEST() 46 EXPECT_EQ(72ull, findLowestOffset(Targets, /*IsAfter=*/true, 8)); in TEST() 50 EXPECT_EQ(66ull, findLowestOffset(Targets, /*IsAfter=*/false, 1)); in TEST() [all …]
|
| /external/bazelbuild-rules_cc/tests/rule_based_toolchain/variables/ |
| D | variables_test.bzl | 37 def _types_represent_correctly_test(env, targets): 38 env.expect.that_str(_type(targets.str_list)["repr"]).equals("List[string]") 39 env.expect.that_str(_type(targets.str_option)["repr"]).equals("Option[string]") 40 …env.expect.that_str(_type(targets.struct)["repr"]).equals("struct(nested_str=string, nested_str_li… 41 …env.expect.that_str(_type(targets.struct_list)["repr"]).equals("List[struct(nested_str=string, nes… 43 def _get_types_test(env, targets): 44 c_compile = targets.c_compile[ActionTypeInfo] 45 cpp_compile = targets.cpp_compile[ActionTypeInfo] 46 variables = targets.variables[BuiltinVariablesInfo].variables 81 expect_type("struct").ok().equals(_type(targets.struct)) [all …]
|
| /external/pigweed/docs/showcases/sense/tutorial/ |
| D | explore.rst | 4 2. Explore build targets 6 .. _targets: https://bazel.build/concepts/build-ref#targets target 10 Each ``BUILD.bazel`` file contains one or more `targets`_. These targets 19 Query targets 22 your own Bazel targets. When you're ramping up on an existing Bazel 23 codebase, these targets are a good way to get an overview of how the 24 project works. Explore Sense's Bazel targets now: 34 #. Within the **Explorer** list, expand the **Bazel Targets** 41 the **Bazel Targets** section gets pushed down to the far bottom. 43 Targets** section easier to find. [all …]
|
| /external/tensorflow/tensorflow/python/ops/ |
| D | nn_xent_test.py | 36 def _SigmoidCrossEntropyWithLogits(self, logits, targets): argument 37 assert len(logits) == len(targets) 41 return [-z * log(y) - (1 - z) * log(1 - y) for y, z in zip(pred, targets)] 49 targets = constant_op.constant(y, shape=sizes, dtype=dtype, name="targets") 51 return logits, targets, losses 56 logits, targets, _ = self._Inputs() 58 labels=targets, logits=logits, name="mylogistic") 65 logits, targets, losses = self._Inputs(dtype=dtype) 67 labels=targets, logits=logits) 76 logits, targets, losses = self._Inputs(dtype=dtype, sizes=[2, 2, 2]) [all …]
|
| /external/llvm/lib/Support/ |
| D | TargetRegistry.cpp | 21 iterator_range<TargetRegistry::iterator> TargetRegistry::targets() { in targets() function in TargetRegistry 34 std::find_if(targets().begin(), targets().end(), in lookupTarget() 37 if (I == targets().end()) { in lookupTarget() 66 // Provide special warning when no targets are initialized. in lookupTarget() 67 if (targets().begin() == targets().end()) { in lookupTarget() 68 Error = "Unable to find target for this triple (no targets are registered)"; in lookupTarget() 73 auto I = std::find_if(targets().begin(), targets().end(), ArchMatch); in lookupTarget() 75 if (I == targets().end()) { in lookupTarget() 76 Error = "No available targets are compatible with this triple."; in lookupTarget() 80 auto J = std::find_if(std::next(I), targets().end(), ArchMatch); in lookupTarget() [all …]
|
| /external/OpenCL-CTS/test_conformance/gl/ |
| D | test_images_1D.cpp | 54 GLenum targets[] = { GL_TEXTURE_1D }; in test_images_read_1D() local 55 size_t ntargets = sizeof(targets) / sizeof(targets[0]); in test_images_read_1D() 62 nformats, targets, ntargets, sizes, nsizes); in test_images_read_1D() 68 GLenum targets[] = { GL_TEXTURE_1D }; in test_images_write_1D() local 69 size_t ntargets = sizeof(targets) / sizeof(targets[0]); in test_images_write_1D() 77 nformats, targets, ntargets, sizes, nsizes); in test_images_write_1D() 85 GLenum targets[] = { GL_TEXTURE_1D }; in test_images_1D_getinfo() local 86 size_t ntargets = sizeof(targets) / sizeof(targets[0]); in test_images_1D_getinfo() 93 nformats, targets, ntargets, sizes, in test_images_1D_getinfo() 102 GLenum targets[] = { GL_TEXTURE_BUFFER }; in test_images_read_texturebuffer() local [all …]
|
| D | test_images_2D.cpp | 74 GLenum targets[] = { GL_TEXTURE_2D, GL_TEXTURE_RECTANGLE_EXT }; in test_images_read_2D() local 75 size_t ntargets = sizeof(targets) / sizeof(targets[0]); in test_images_read_2D() 84 nformats, targets, ntargets, sizes, nsizes); in test_images_read_2D() 90 GLenum targets[] = { in test_images_read_cube() local 96 size_t ntargets = sizeof(targets) / sizeof(targets[0]); in test_images_read_cube() 104 nformats, targets, ntargets, sizes, nsizes); in test_images_read_cube() 115 GLenum targets[] = { GL_TEXTURE_2D, GL_TEXTURE_RECTANGLE_EXT }; in test_images_write() local 116 size_t ntargets = sizeof(targets) / sizeof(targets[0]); in test_images_write() 124 nformats, targets, ntargets, sizes, nsizes); in test_images_write() 132 GLenum targets[] = { in test_images_write_cube() local [all …]
|
| /external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/ |
| D | TargetRegistry.cpp | 20 iterator_range<TargetRegistry::iterator> TargetRegistry::targets() { in targets() function in TargetRegistry 32 auto I = find_if(targets(), in lookupTarget() 35 if (I == targets().end()) { in lookupTarget() 64 // Provide special warning when no targets are initialized. in lookupTarget() 65 if (targets().begin() == targets().end()) { in lookupTarget() 66 Error = "Unable to find target for this triple (no targets are registered)"; in lookupTarget() 71 auto I = find_if(targets(), ArchMatch); in lookupTarget() 73 if (I == targets().end()) { in lookupTarget() 74 Error = "No available targets are compatible with triple \"" + TT + "\""; in lookupTarget() 78 auto J = std::find_if(std::next(I), targets().end(), ArchMatch); in lookupTarget() [all …]
|
| /external/rust/android-crates-io/crates/tracing-subscriber/src/filter/ |
| D | targets.rs | 3 //! See [`Targets`] for details. 29 /// Targets are typically equal to the Rust module path of the code where the 38 /// # Filtering With `Targets` 40 /// A `Targets` filter consists of one or more [target] prefixes, paired with 48 /// The [`EnvFilter`] type also provided by this crate is very similar to `Targets`, 51 /// `Targets` can be thought of as a lighter-weight form of [`EnvFilter`] that 56 /// A `Targets` filter can be constructed by programmatically adding targets and 63 /// let filter = filter::Targets::new() 69 /// // Build a new subscriber with the `fmt` layer using the `Targets` 79 /// use tracing_subscriber::filter::{Targets, LevelFilter}; [all …]
|
| /external/pigweed/targets/ |
| D | BUILD.bazel | 28 "//targets/android:docs", 29 "//targets/apollo4:docs", 30 "//targets/apollo4_pw_system:docs", 31 "//targets/arduino:docs", 32 "//targets/docs", 33 "//targets/emcraft_sf2_som:docs", 34 "//targets/host:docs", 35 "//targets/host_device_simulator:docs", 36 "//targets/lm3s6965evb_qemu:docs", 37 "//targets/mimxrt595_evk:docs", [all …]
|
| /external/bazelbuild-rules_cc/cc/toolchains/impl/ |
| D | collect.bzl | 29 def collect_provider(targets, provider): 33 targets: (List[Target]) An attribute from attr.label_list 38 return [target[provider] for target in targets] 40 def collect_defaultinfo(targets): 44 targets: (List[Target]) An attribute from attr.label_list 48 return collect_provider(targets, DefaultInfo) 51 def collector(targets, direct = [], transitive = []): 54 for value in collect_provider(targets, provider): 64 def collect_data(ctx, targets): 72 targets: (List[Target]) A list of files or executables [all …]
|
| /external/bazelbuild-rules_cc/tests/rule_based_toolchain/tool/ |
| D | tool_test.bzl | 52 def _wrapped_tool_includes_runfiles_test(env, targets): 53 tool = env.expect.that_target(targets.wrapped_tool).provider(ToolInfo) 60 def _tool_with_allowlist_include_directories_test(env, targets): 61 … tool = env.expect.that_target(targets.tool_with_allowlist_include_directories).provider(ToolInfo) 68 def _collect_tools_collects_tools_test(env, targets): 70 value = collect_tools(env.ctx, [targets.tool, targets.wrapped_tool]), 73 [targets.tool[ToolInfo], targets.wrapped_tool[ToolInfo]], 76 def _collect_tools_collects_binaries_test(env, targets): 78 value = collect_tool(env.ctx, targets.bin_wrapper), 81 tool_wrapper.label().equals(targets.bin_wrapper.label) [all …]
|
| /external/bazelbuild-rules_cc/tests/rule_based_toolchain/args_list/ |
| D | args_list_test.bzl | 43 def _collect_args_lists_test(env, targets): 44 args = env.expect.that_target(targets.args_list).provider(ArgsListInfo) 46 targets.c_compile_args.label, 47 targets.cpp_compile_args.label, 48 targets.all_compile_args.label, 56 c_compile_action = args.by_action().get(targets.c_compile[ActionTypeInfo]) 57 cpp_compile_action = args.by_action().get(targets.cpp_compile[ActionTypeInfo]) 61 targets.c_compile_args[ArgsInfo], 62 targets.all_compile_args[ArgsInfo], 66 targets.cpp_compile_args[ArgsInfo], [all …]
|
| /external/swiftshader/third_party/llvm-16.0/llvm/lib/MC/ |
| D | TargetRegistry.cpp | 20 iterator_range<TargetRegistry::iterator> TargetRegistry::targets() { in targets() function in TargetRegistry 32 auto I = find_if(targets(), in lookupTarget() 35 if (I == targets().end()) { in lookupTarget() 64 // Provide special warning when no targets are initialized. in lookupTarget() 65 if (targets().begin() == targets().end()) { in lookupTarget() 66 Error = "Unable to find target for this triple (no targets are registered)"; in lookupTarget() 71 auto I = find_if(targets(), ArchMatch); in lookupTarget() 73 if (I == targets().end()) { in lookupTarget() 74 Error = "No available targets are compatible with triple \"" + TT + "\""; in lookupTarget() 78 auto J = std::find_if(std::next(I), targets().end(), ArchMatch); in lookupTarget() [all …]
|
| /external/bazelbuild-rules_cc/tests/rule_based_toolchain/args/ |
| D | args_test.bzl | 49 def _simple_test(env, targets): 50 simple = env.expect.that_target(targets.simple).provider(ArgsInfo) 52 targets.c_compile.label, 53 targets.cpp_compile.label, 58 c_compile = env.expect.that_target(targets.simple).provider(ArgsListInfo).by_action().get( 59 targets.c_compile[ActionTypeInfo], 61 c_compile.args().contains_exactly([targets.simple[ArgsInfo]]) 65 convert_args(targets.simple[ArgsInfo]), 78 def _env_only_test(env, targets): 79 env_only = env.expect.that_target(targets.env_only).provider(ArgsInfo) [all …]
|
| /external/pigweed/pw_software_update/py/pw_software_update/ |
| D | update_bundle.py | 38 root_dir: Directory to crawl for targets. 39 exclude: Paths relative to root_dir to exclude as targets. 40 remap_paths: Custom target names to use for targets. 46 as targets file names, but remapping can be used to change a target file 53 f'Cannot generate TUF targets from {root_dir}; not a directory.' 55 targets = {} 68 targets[target_name] = path 72 if new_target_file_name not in targets: 78 return targets 104 targets_metadata=dict(targets=unsigned_targets_metadata), [all …]
|
| /external/executorch/shim/xplat/executorch/build/ |
| D | runtime_wrapper.bzl | 1 """Common macros to build Executorch runtime targets in both fbcode and xplat. 6 - A `targets.bzl` file that uses the macros in this file 8 This function should define all of the build targets in terms of rules in the 11 The `targets.bzl` file must load this file from xplat (not fbcode), like 15 - A TARGETS file and a BUILD file which both contain: 17 load(":targets.bzl", "define_common_targets") 21 as the common targets, it should define that rule directly in the TARGETS file 23 targets and BUCK files. 26 use TARGETS files normally. Same for xplat-only directories and BUCK files. 41 def _patch_executorch_references(targets, use_static_deps = False): [all …]
|
| /external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/run_tests/ |
| D | task_runner.py | 30 _TARGETS += artifact_targets.targets() 31 _TARGETS += distribtest_targets.targets() 32 _TARGETS += package_targets.targets() 42 label_build_map['all'] = [t for t in _TARGETS] # to build all targets 57 argp = argparse.ArgumentParser(description='Runs build/test targets.') 69 help='Filter targets to build with AND semantics.') 91 # Figure out which targets to build 92 targets = [] variable 94 targets += _BUILD_MAP[label] 96 # Among targets selected by -b, filter out those that don't match the filter [all …]
|
| /external/grpc-grpc/tools/run_tests/ |
| D | task_runner.py | 30 _TARGETS += artifact_targets.targets() 31 _TARGETS += distribtest_targets.targets() 32 _TARGETS += package_targets.targets() 42 label_build_map["all"] = [t for t in _TARGETS] # to build all targets 57 argp = argparse.ArgumentParser(description="Runs build/test targets.") 72 help="Filter targets to build with AND semantics.", 101 # Figure out which targets to build 102 targets = [] variable 104 targets += _BUILD_MAP[label] 106 # Among targets selected by -b, filter out those that don't match the filter [all …]
|
| /external/tensorflow/tensorflow/python/keras/engine/ |
| D | training_eager_v1.py | 32 def _eager_loss_fn(outputs, targets, loss_fn, output_name): argument 34 loss = loss_fn(targets, outputs) 38 def _eager_metrics_fn(model, outputs, targets, sample_weights=None, masks=None): argument 44 targets: The predictions or targets of the given model. 52 targets = nest.flatten(targets) 55 if targets: 56 # Insert None values corresponding to the targets that need to be skipped 58 if len(model._targets) != len(targets): 60 None if t is None else targets.pop(0) for t in model._targets 62 targets = new_targets [all …]
|
| /external/zucchini/ |
| D | target_pool.h | 21 // Ordered container of distinct targets that have the same semantics, along 28 // Initializes the object with given sorted and unique |targets|. 29 explicit TargetPool(std::deque<offset_t>&& targets); 34 // Insert new targets from various sources. These invalidate all previous key 36 // - From a list of targets, useful for adding extra targets in Zucchini-gen: 37 void InsertTargets(const std::vector<offset_t>& targets); 38 // - From TargetSource, useful for adding extra targets in Zucchini-apply: 39 void InsertTargets(TargetSource* targets); 40 // - From list of References, useful for listing targets in Zucchini-gen: 42 // - From ReferenceReader, useful for listing targets in Zucchini-apply: [all …]
|