Home
last modified time | relevance | path

Searched +full:helper +full:- +full:module +full:- +full:imports (Results 1 – 25 of 797) sorted by relevance

12345678910>>...32

/aosp_15_r20/system/tools/aidl/build/
Daidl_test.go7 // http://www.apache.org/licenses/LICENSE-2.0
79 t.Helper()
95 name: "aidl-java-module-defaults",
98 name: "aidl-cpp-module-defaults",
101 name: "aidl-rust-module-defaults",
108 name: "aidl-analyzer-main",
190 ctx.RegisterModuleType("rust_defaults", func() android.Module {
204 t.Helper()
211 t.Helper()
218 // asserts that there are expected module regardless of variants
[all …]
Daidl_interface_backends.go7 // http://www.apache.org/licenses/LICENSE-2.0
45 cppSourceGen := i.versionedName(version) + "-" + lang + "-source"
46 cppModuleGen := i.versionedName(version) + "-" + lang
52 // Don't create a library for the yet-to-be-frozen version.
72 Imports: i.getImportsForVersion(version),
107 Cflags: []string{"-DBINDER_STABILITY_SUPPORT"},
136 // helper should be used by both libbinder vendor things using /dev/vndbinder as well
148 langProps.Aidl_internal_props.Imports = i.getImportsForVersion(version)
162 Defaults: []string{"aidl-cpp-module-defaults"},
173 Cflags: append(addCflags, "-Wextra", "-Wall", "-Werror", "-Wextra-semi"),
[all …]
/aosp_15_r20/frameworks/base/packages/SystemUI/scripts/token_alignment/
H A Dtsconfig.json10 …// "disableSolutionSearching": true, /* Opt a project out of multi-project referen…
18 …// "emitDecoratorMetadata": true, /* Emit design-type metadata for decorated de…
21 … /* Specify module specifier used to import the JSX factory functions when…
24 …// "useDefineForClassFields": true, /* Emit ECMAScript-standard-compliant class f…
25 … "auto", /* Control what method is used to detect module-format JS files. */
28 … "module": "commonjs", /* Specify what module code is generated. */
30 …, /* Specify how TypeScript looks up a file from a given module specifier. */
31 … /* Specify the base directory to resolve non-relative module names. */
32 … /* Specify a set of entries that re-map imports to additional l…
37 …[], /* List of file name suffixes to search when resolving a module. */
[all …]
/aosp_15_r20/development/scripts/
H A Dupdate_crate_tests.py9 # http://www.apache.org/licenses/LICENSE-2.0
24 $ lunch aosp_arm64-eng
53 "ring_test_tests_digest_tests": [{"test-timeout": "600000"}],
54 "ring_test_src_lib": [{"test-timeout": "100000"}],
58 # "presubmit-rust" runs arm64 device tests on physical devices.
61 "presubmit-rust",
73 # These are helper binaries for aidl_integration_test
79 # This is a helper binary for AuthFsHostTest and shouldn't
87 "libtrusty-rs-tests",
88 "terminal-size_test_src_lib",
[all …]
/aosp_15_r20/external/kotlinpoet/docs/
H A Dchangelog.md8 Thanks to [@mitasov-ra][mitasov-ra] for contributing to this release.
10 _2024-07-15_
12 …* Fix: Workaround for [KT-18706][kt-18706]: KotlinPoet now generates import aliases without backti…
15 // before, doesn't compile due to KT-18706
28 _2024-07-05_
31 * New: KSP 2.0.0-1.0.22.
32 * New: Promote `kotlinpoet-metadata` out of preview to stable.
33 …* New: Migrate `kotlinpoet-metadata` to stable `org.jetbrains.kotlin:kotlin-metadata-jvm` artifact…
44 _2024-05-24_
46 * Change: kotlinx-metadata 0.9.0. Note that the `KotlinClassMetadata.read` is deprecated in 0.9.0 a…
[all …]
/aosp_15_r20/external/tensorflow/tensorflow/compiler/mlir/xla/
H A Dhlo_function_importer.h7 http://www.apache.org/licenses/LICENSE-2.0
22 #include "mlir/Dialect/Arithmetic/IR/Arithmetic.h" // from @llvm-project
23 #include "mlir/Dialect/Func/IR/FuncOps.h" // from @llvm-project
24 #include "mlir/IR/Attributes.h" // from @llvm-project
25 #include "mlir/IR/Builders.h" // from @llvm-project
26 #include "mlir/IR/BuiltinOps.h" // from @llvm-project
27 #include "mlir/IR/BuiltinTypes.h" // from @llvm-project
28 #include "mlir/IR/MLIRContext.h" // from @llvm-project
31 #include "tensorflow/compiler/xla/mlir_hlo/include/mlir-hlo/Dialect/mhlo/IR/hlo_ops.h"
49 // Helper class for importing HloComputations.
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/go/build/
Dbuild_test.go2 // Use of this source code is governed by a BSD-style
28 t.Helper()
38 t.Helper()
66 if len(p.Imports) != 1 || p.Imports[0] != "./file" {
67 t.Fatalf("testdata/other: Imports=%v, want [./file]", p.Imports)
263 content: "//go:binary-only-package\n" +
272 content: "//go:binary-only-package\n" +
446 {"-L ${SRCDIR}/libs -ladd", "-L /projects/src/add/libs -ladd"},
447 …{"${SRCDIR}/add_linux_386.a -pthread -lstdc++", "/projects/src/add/add_linux_386.a -pthread -lstdc…
474 …{"-I${SRCDIR}/../include", "/projects/src/issue 11868", "-I/projects/src/issue 11868/../include", …
[all …]
/aosp_15_r20/external/python/cpython3/Lib/test/test_importlib/
Dtest_threaded_import.py3 # trying to import the same module "at the same time".
4 # There are no pleasant failure modes -- most likely is that Python
5 # complains several times about module random having no attribute
22 threading_helper.requires_working_threading(module=True)
45 # bpo-30599: Mock os.register_at_fork() when importing the random module,
50 # Create a circular import structure: A -> C -> B -> D -> A
80 # Simulate some thread-unsafe behaviour. If calls to find_spec()
104 # If the `random` module was already initialized, we restore the
105 # old module at the end so that pickling tests don't fail.
135 dt = time.monotonic() - t0
[all …]
Dthreaded_import_hangers.py1 # This is a helper module for test_threaded_import. The test imports this
2 # module, and this module tries to run various Python library functions in
5 # is appended to the module-global `errors` list. That list remains empty
18 # this module holds the import lock, so if the function called by T tries
19 # to do its own imports it will block waiting for this module's import
/aosp_15_r20/tools/asuite/atest/
H A Dcli_translator.py7 # http://www.apache.org/licenses/LICENSE-2.0
17 # pylint: disable=too-many-lines
53 MAINLINE_LOCAL_DOC = 'go/mainline-local-build'
72 helper methods. The atest tool can call the translate() method with a list
79 whether it could be referencing a Module, Class, Package, etc.
97 mod_info: ModuleInfo class that has cached module-info.json.
118 'run, if test info needs to be updated, please add -c '
125 def _wait_for_index_if_needed(self) -> None:
134 print('Waiting for the module indexing to complete.')
138 result=int(round((time.time() - start_wait_for_indexing) * 1000)),
[all …]
/aosp_15_r20/external/skia/modules/pathkit/
H A Dpackage-lock.json2 "name": "pathkit-local",
7 "@babel/code-frame": {
9 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.10.4.tgz",
10 …"integrity": "sha512-vG6SvB6oYEhvgisZNFRmRCUkLz11c7rp+tbNTynGqc6mS1d5ATd/sGyV6W0KZZnXRKMTzZDRgQT3O…
18 "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.12.10.tgz",
19 …"integrity": "sha512-eTAlQKq65zHfkHZV0sIVODCPGVgoo1HdBlbSLi9CqOzuZanMv2ihzY+4paiKr1mH+XmYESMAmJ/dp…
22 "@babel/code-frame": "^7.10.4",
24 "@babel/helper-module-transforms": "^7.12.1",
30 "convert-source-map": "^1.7.0",
32 "gensync": "^1.0.0-beta.1",
[all …]
/aosp_15_r20/external/skia/modules/canvaskit/
H A Dpackage-lock.json2 "name": "canvaskit-local",
8 "name": "canvaskit-local",
10 "license": "BSD-3-Clause",
12 "is-docker": "~1.1.0",
13 "jasmine-core": "~3.6.0",
15 "karma-chrome-launcher": "~3.1.0",
16 "karma-coverage": "~2.0.3",
17 "karma-jasmine": "~4.0.1",
21 "node_modules/@babel/code-frame": {
23 "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.22.13.tgz",
[all …]
/aosp_15_r20/external/python/cpython2/Lib/test/
Dthreaded_import_hangers.py1 # This is a helper module for test_threaded_import. The test imports this
2 # module, and this module tries to run various Python library functions in
5 # is appended to the module-global `errors` list. That list remains empty
18 # this module holds the import lock, so if the function called by T tries
19 # to do its own imports it will block waiting for this module's import
/aosp_15_r20/build/soong/java/
H A Dapp_test.go7 // http://www.apache.org/licenses/LICENSE-2.0
38 t.Helper()
47 "res/values-en-rUS/strings.xml",
53 "aapt2/res/values-en-rUS_strings.arsc.flat",
79 frameworkRes := result.ModuleForTests("framework-res", "android_common")
81 frameworkRes.Output("package-res.apk").Output.String())
96 res := result.ModuleForTests("foo", "android_common").Output("package-res.apk")
143 …testJavaError(t, "This module has conflicting settings. sdk_version is empty, which means that thi…
150 …testJavaError(t, "This module has conflicting settings. sdk_version is not empty, which means this…
296 name: "Current module SDK",
[all …]
/aosp_15_r20/external/python/cpython3/Doc/library/
Dunittest.mock-examples.rst1 :mod:`unittest.mock` --- getting started
10 .. _getting-started:
27 ----------
119 ... instance = module.Foo()
122 >>> with patch('module.Foo') as mock:
148 to child attributes of the mock - and also to their children.
176 >>> m.mock_calls[-1] == call.factory(important=False).deliver()
284 :ref:`async-iterators` through ``__aiter__``. The :attr:`~Mock.return_value`
301 :ref:`async-context-managers` through ``__aenter__`` and ``__aexit__``.
328 you refactor the first class, so that it no longer has ``some_method`` - then
[all …]
/aosp_15_r20/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_searchengine.py12 # With mock replacements, the module does not use any gui widgets.
16 # The tkinter imports are used to restore searchengine.
19 # Replace s-e module tkinter imports other than non-gui TclError.
38 se.SearchEngine = Mock # monkey-patch class
46 se.SearchEngine = saved_Engine # restore class to module
49 # Test simple text-independent helper function
58 # Test text-dependent helper function.
93 # Test helper function that searches backwards within a line.
189 pat = '[a-z'
194 expected_message = ("Error: " + msg + "\nPattern: [a-z")
[all …]
/aosp_15_r20/tools/tradefederation/core/src/com/android/tradefed/util/testmapping/
DTestMapping.java8 * http://www.apache.org/licenses/LICENSE-2.0
70 private static final String IMPORTS = "imports"; field in TestMapping
79 // A file containing module names that are disabled in presubmit test runs.
80 private static final String DISABLED_PRESUBMIT_TESTS_FILE = "disabled-presubmit-tests";
99 * @param ignoreTestMappingImports The {@link boolean} to ignore imports.
107 * Helper to get the {@link Map} test collection from a path to TEST_MAPPING file.
141 if (group.equals(IMPORTS)) { in getTestCollection()
235 * Helper to check whether the given matched-pattern-paths matches the file patterns.
273 * Helper to remove comments in a TEST_MAPPING file to valid format. Only "//" and "#" are
293 * Helper to list all test mapping files, look for all parent directories and related import
[all …]
/aosp_15_r20/external/bazelbuild-rules_go/third_party/
H A Dorg_golang_x_tools-deletegopls.patch1 diff -urN a/gopls/api-diff/api_diff.go b/gopls/api-diff/api_diff.go
2 --- a/gopls/api-diff/api_diff.go 2000-01-01 00:00:00.000000000 -0000
3 +++ b/gopls/api-diff/api_diff.go 1970-01-01 00:00:00.000000000 +0000
4 @@ -1,89 +0,0 @@
5 -// Copyright 2021 The Go Authors. All rights reserved.
6 -// Use of this source code is governed by a BSD-style
7 -// license that can be found in the LICENSE file.
8 -
9 -//go:build go1.18
10 -// +build go1.18
[all …]
/aosp_15_r20/external/bazel-skylib/
H A DCHANGELOG.md4 * Fix distribution tarballs to include directory rules. (https://github.com/bazelbuild/bazel-skylib…
6 **Full Changelog**: https://github.com/bazelbuild/bazel-skylib/compare/1.7.0...1.7.1
11 * Implement `directory` rules by @matts1 in https://github.com/bazelbuild/bazel-skylib/pull/510
12 … Add `is_normalized` and `starts_with` to paths module by @comius in https://github.com/bazelbuild…
15 * @matts1 made their first contribution in https://github.com/bazelbuild/bazel-skylib/pull/510
17 **Full Changelog**: https://github.com/bazelbuild/bazel-skylib/compare/1.6.1...1.7.0
23 * Fix `modules` Bazel 6 compatibility by @phst in https://github.com/bazelbuild/bazel-skylib/pull/4…
26 * @phst made their first contribution in https://github.com/bazelbuild/bazel-skylib/pull/499
28 **Full Changelog**: https://github.com/bazelbuild/bazel-skylib/compare/1.6.0...1.6.1
33 * Add helper functions for module extensions as `modules` by @fmeum in https://github.com/bazelbuil…
[all …]
/aosp_15_r20/external/llvm/tools/llvm-link/
H A Dllvm-link.cpp1 //===- llvm-link.cpp - Low-level LLVM linker ------------------------------===//
8 //===----------------------------------------------------------------------===//
11 // llvm-link a.bc b.bc c.bc -o x.bc
13 //===----------------------------------------------------------------------===//
21 #include "llvm/IR/Module.h"
52 // llvm-link to simulate ThinLTO backend processes.
53 static cl::list<std::string> Imports( variable
58 // Option to support testing of function importing. The module summary
59 // must be specified in the case were we request imports via the -import
60 // option, as well as when compiling any module with functions that may be
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/grpcio-sys/grpc/tools/run_tests/xds_k8s_test_driver/bin/
Disort.sh8 # http://www.apache.org/licenses/LICENSE-2.0
16 set -eo pipefail
20 A helper to run isort import sorter.
22 USAGE: $0 [--diff]
23 --diff: Do not apply changes, only show the diff
30 $0 --diff
35 if [[ "$1" == "-h" || "$1" == "--help" ]]; then
39 SCRIPT_DIR="$( cd -- "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
49 if [[ "$1" == "--diff" ]]; then
50 readonly MODE="--diff"
[all …]
/aosp_15_r20/external/python/absl-py/absl/flags/
D__init__.py7 # http://www.apache.org/licenses/LICENSE-2.0
16 This package defines a *distributed* flag-definition policy: rather than
18 module defines flags that are useful to it. When one Python module
19 imports another, it gains access to the other's flags. (This is
25 and optionally type-converted, when it's seen on the command line.
78 # Module exceptions.
110 # Helper functions.
123 # Add current module to disclaimed module ids.
126 # DEFINE functions. They are explained in more details in the module doc string.
127 # pylint: disable=invalid-name
[all …]
/aosp_15_r20/tools/repohooks/rh/
H A Dconfig_unittest.py8 # http://www.apache.org/licenses/LICENSE-2.0
16 """Unittests for the config module."""
30 # relative imports because this is an executable program, not a module.
31 # pylint: disable=wrong-import-position
40 """Instantiating a non-existent config file should be fine."""
45 """Helper class for tests cases to setup configuration files."""
54 """Helper to write out a config file for testing.
60 with open(path, 'w', encoding='utf-8') as fp:
65 """Helper to write out a local config file for testing."""
70 """Helper to write out a global config file for testing."""
[all …]
/aosp_15_r20/external/python/cpython2/Lib/
Dwarnings.py3 # Note: function level imports should *not* be used
4 # in this module as it may cause import lock deadlock.
18 Warnings are omitted unless Python is started with the -3 option.
30 # sys.stderr is None - warnings get lost
35 pass # the file (probably stderr) is invalid - this warning gets lost.
67 def filterwarnings(action, message="", category=Warning, module="", lineno=0, argument
71 'action' -- one of "error", "ignore", "always", "default", "module",
73 'message' -- a regex that the warning message must match
74 'category' -- a class that the warning must be a subclass of
75 'module' -- a regex that the module name must match
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/cmd/cgo/internal/testshared/
Dshared_test.go2 // Use of this source code is governed by a BSD-style
40 var soname = "libruntime,sync-atomic.so"
42 var testX = flag.Bool("testx", false, "if true, pass -x to 'go' subcommands invoked by the test")
66 newargs = append(newargs, "-x", "-ldflags=-v")
81 t.Helper()
123 fmt.Printf("+ mkdir -p %s\n", workDir)
129 // -buildmode=shared fundamentally does not work in module mode.
130 // (It tries to share package dependencies across builds, but in module mode
131 // each module has its own distinct set of dependency versions.)
134 // of use-cases where -buildmode=shared still works today.
[all …]

12345678910>>...32