/aosp_15_r20/external/clang/docs/ |
H A D | Modules.rst | 10 …is built using a number of software libraries, including libraries supplied by the platform, inter… 12 .. code-block:: c 16 The implementation is handled separately by linking against the appropriate library. For example, b… 18 Modules provide an alternative, simpler way to use software libraries that provides better compile-… 21 ------------------------------- 22 The ``#include`` mechanism provided by the C preprocessor is a very poor way to access the API of a… 24 * **Compile-time scalability**: Each time a header is included, the 29 and *M* headers included in each translation unit, the compiler is 31 shared among multiple translation units. C++ is particularly bad, 42 library header: the result is a horrific cascade of failures in the [all …]
|
/aosp_15_r20/build/soong/etc/ |
H A D | prebuilt_etc.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 10 // distributed under the License is distributed on an "AS IS" BASIS, 17 // This file implements module types that install prebuilt artifacts. 25 // The second class is described in this file. Unlike `android.Prebuilt` based module types, 26 // `prebuilt_etc` exist only as prebuilts and cannot have a same-named source module counterpart. 96 // Source file of this prebuilt. Can reference a genrule type module with the ":module" syntax. 100 // Source files of this prebuilt. Can reference a genrule type module with the ":module" syntax. 101 // Mutually exclusive with src. When used, filename_from_src is set to true unless dsts is also 111 // Optional name for the installed file. If unspecified, name of the module is used as the file 115 // When set to true, and filename property is not set, the name for the installed file [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/Basic/ |
D | Module.h | 1 //===- Module.h - Describe a module -----------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 /// Defines the clang::Module class, which describes a module in the 13 //===----------------------------------------------------------------------===// 53 /// Describes the name of a module. 56 /// The signature of a module, which is a hash of the AST content. 102 /// Describes a module or submodule. 104 /// Aligned to 8 bytes to allow for llvm::PointerIntPair<Module *, 3>. 105 class alignas(8) Module { [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/Basic/ |
D | Module.h | 1 //===- Module.h - Describe a module -----------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 /// Defines the clang::Module class, which describes a module in the 13 //===----------------------------------------------------------------------===// 53 /// Describes the name of a module. 56 /// The signature of a module, which is a hash of the AST content. 102 /// Describes a module or submodule. 104 /// Aligned to 8 bytes to allow for llvm::PointerIntPair<Module *, 3>. 105 class alignas(8) Module { [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/Basic/ |
D | Module.h | 1 //===- Module.h - Describe a module -----------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 /// Defines the clang::Module class, which describes a module in the 13 //===----------------------------------------------------------------------===// 53 /// Describes the name of a module. 56 /// The signature of a module, which is a hash of the AST content. 102 /// Describes a module or submodule. 104 /// Aligned to 8 bytes to allow for llvm::PointerIntPair<Module *, 3>. 105 class alignas(8) Module { [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/Basic/ |
D | Module.h | 1 //===- Module.h - Describe a module -----------------------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 /// Defines the clang::Module class, which describes a module in the 13 //===----------------------------------------------------------------------===// 53 /// Describes the name of a module. 56 /// The signature of a module, which is a hash of the AST content. 102 /// Describes a module or submodule. 104 /// Aligned to 8 bytes to allow for llvm::PointerIntPair<Module *, 3>. 105 class alignas(8) Module { [all …]
|
/aosp_15_r20/external/python/cpython3/Doc/c-api/ |
D | module.rst | 5 Module Objects 6 -------------- 8 .. index:: pair: object; module 13 .. index:: single: ModuleType (in module types) 15 This instance of :c:type:`PyTypeObject` represents the Python module type. This 16 is exposed to Python programs as ``types.ModuleType``. 21 Return true if *p* is a module object, or a subtype of a module object. 27 Return true if *p* is a module object, but not a subtype of 34 single: __name__ (module attribute) 35 single: __doc__ (module attribute) [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/Lex/ |
D | ModuleMap.h | 1 //===- ModuleMap.h - Describe the layout of modules -------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // module as it relates to headers. 12 //===----------------------------------------------------------------------===// 19 #include "clang/Basic/Module.h" 46 /// A mechanism to observe the actions of the module map parser as it 47 /// reads module map files. 54 /// Called when a module map file has been read. 59 /// \param IsSystem Whether this is a module map from a system include path. [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/Lex/ |
D | ModuleMap.h | 1 //===- ModuleMap.h - Describe the layout of modules -------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // module as it relates to headers. 12 //===----------------------------------------------------------------------===// 19 #include "clang/Basic/Module.h" 46 /// A mechanism to observe the actions of the module map parser as it 47 /// reads module map files. 54 /// Called when a module map file has been read. 59 /// \param IsSystem Whether this is a module map from a system include path. [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/Lex/ |
D | ModuleMap.h | 1 //===- ModuleMap.h - Describe the layout of modules -------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // module as it relates to headers. 12 //===----------------------------------------------------------------------===// 19 #include "clang/Basic/Module.h" 46 /// A mechanism to observe the actions of the module map parser as it 47 /// reads module map files. 54 /// Called when a module map file has been read. 59 /// \param IsSystem Whether this is a module map from a system include path. [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/Lex/ |
D | ModuleMap.h | 1 //===- ModuleMap.h - Describe the layout of modules -------------*- C++ -*-===// 5 // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception 7 //===----------------------------------------------------------------------===// 10 // module as it relates to headers. 12 //===----------------------------------------------------------------------===// 19 #include "clang/Basic/Module.h" 46 /// A mechanism to observe the actions of the module map parser as it 47 /// reads module map files. 54 /// Called when a module map file has been read. 59 /// \param IsSystem Whether this is a module map from a system include path. [all …]
|
/aosp_15_r20/prebuilts/build-tools/common/py3-stdlib/importlib/ |
H A D | _bootstrap.py | 3 This module is NOT meant to be directly imported! It has been designed such 6 work. One should use importlib as the public-facing version of this module. 10 # IMPORTANT: Whenever making changes to this module, be sure to run a top-level 11 # `make regen-importlib` followed by `make` in order to get the frozen version 12 # of the module updated. Not doing so will result in the Makefile to fail for 13 # all others who don't have a ./python around to freeze the module 17 # See importlib._setup() for what is injected into the global namespace. 29 # Bootstrap-related code ###################################################### 52 # Module-level locking ######################################################## 54 # A dict mapping module names to weakrefs of _ModuleLock instances [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/python3/lib/python3.11/importlib/ |
D | _bootstrap.py | 3 This module is NOT meant to be directly imported! It has been designed such 6 work. One should use importlib as the public-facing version of this module. 10 # IMPORTANT: Whenever making changes to this module, be sure to run a top-level 11 # `make regen-importlib` followed by `make` in order to get the frozen version 12 # of the module updated. Not doing so will result in the Makefile to fail for 13 # all others who don't have a ./python around to freeze the module 17 # See importlib._setup() for what is injected into the global namespace. 29 # Bootstrap-related code ###################################################### 52 # Module-level locking ######################################################## 54 # A dict mapping module names to weakrefs of _ModuleLock instances [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/python3/lib/python3.11/importlib/ |
D | _bootstrap.py | 3 This module is NOT meant to be directly imported! It has been designed such 6 work. One should use importlib as the public-facing version of this module. 10 # IMPORTANT: Whenever making changes to this module, be sure to run a top-level 11 # `make regen-importlib` followed by `make` in order to get the frozen version 12 # of the module updated. Not doing so will result in the Makefile to fail for 13 # all others who don't have a ./python around to freeze the module 17 # See importlib._setup() for what is injected into the global namespace. 29 # Bootstrap-related code ###################################################### 52 # Module-level locking ######################################################## 54 # A dict mapping module names to weakrefs of _ModuleLock instances [all …]
|
/aosp_15_r20/external/python/cpython3/Lib/importlib/ |
D | _bootstrap.py | 3 This module is NOT meant to be directly imported! It has been designed such 6 work. One should use importlib as the public-facing version of this module. 10 # IMPORTANT: Whenever making changes to this module, be sure to run a top-level 11 # `make regen-importlib` followed by `make` in order to get the frozen version 12 # of the module updated. Not doing so will result in the Makefile to fail for 13 # all others who don't have a ./python around to freeze the module 17 # See importlib._setup() for what is injected into the global namespace. 29 # Bootstrap-related code ###################################################### 52 # Module-level locking ######################################################## 54 # A dict mapping module names to weakrefs of _ModuleLock instances [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/python3/lib/python3.11/importlib/ |
D | _bootstrap.py | 3 This module is NOT meant to be directly imported! It has been designed such 6 work. One should use importlib as the public-facing version of this module. 10 # IMPORTANT: Whenever making changes to this module, be sure to run a top-level 11 # `make regen-importlib` followed by `make` in order to get the frozen version 12 # of the module updated. Not doing so will result in the Makefile to fail for 13 # all others who don't have a ./python around to freeze the module 17 # See importlib._setup() for what is injected into the global namespace. 29 # Bootstrap-related code ###################################################### 52 # Module-level locking ######################################################## 54 # A dict mapping module names to weakrefs of _ModuleLock instances [all …]
|
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/python3/lib/python3.11/importlib/ |
D | _bootstrap.py | 3 This module is NOT meant to be directly imported! It has been designed such 6 work. One should use importlib as the public-facing version of this module. 10 # IMPORTANT: Whenever making changes to this module, be sure to run a top-level 11 # `make regen-importlib` followed by `make` in order to get the frozen version 12 # of the module updated. Not doing so will result in the Makefile to fail for 13 # all others who don't have a ./python around to freeze the module 17 # See importlib._setup() for what is injected into the global namespace. 29 # Bootstrap-related code ###################################################### 52 # Module-level locking ######################################################## 54 # A dict mapping module names to weakrefs of _ModuleLock instances [all …]
|
/aosp_15_r20/external/python/cpython3/Doc/reference/ |
D | import.rst | 10 Python code in one :term:`module` gains access to the code in another module 11 by the process of :term:`importing` it. The :keyword:`import` statement is 12 the most common way of invoking the import machinery, but it is not the only 13 way. Functions such as :func:`importlib.import_module` and built-in 17 named module, then it binds the results of that search to a name in the local 18 scope. The search operation of the :keyword:`!import` statement is defined as 20 The return value of :func:`__import__` is used to perform the name 25 A direct call to :func:`__import__` performs only the module search and, if 26 found, the module creation operation. While certain side-effects may occur, 31 When an :keyword:`import` statement is executed, the standard builtin [all …]
|
/aosp_15_r20/prebuilts/sdk/current/androidx/m2repository/androidx/compose/ui/ui-android/1.8.0-beta01/ |
H A D | ui-android-1.8.0-beta01.module | 4 "url": "../../ui/1.8.0-beta01/ui-1.8.0-beta01.module", 6 "module": "ui", 7 "version": "1.8.0-beta01", 20 "name": "releaseApiElements-published", 24 "org.gradle.usage": "java-api", 30 "module": "annotation", 37 "module": "annotation-experimental", 44 "module": "runtime-saveable", 46 "requires": "1.8.0-beta01" 51 "module": "ui-geometry", [all …]
|
/aosp_15_r20/external/pytorch/torch/csrc/api/include/torch/nn/ |
H A D | module.h | 26 /// The design and implementation of this class is largely based on the Python 28 /// :py:class:`pytorch:torch.nn.Module` for further clarification on certain 32 /// A `Module` is an abstraction over the implementation of some function or 33 /// algorithm, possibly associated with some persistent data. A `Module` may 34 /// contain further `Module`s ("submodules"), each with their own 35 /// implementation, persistent data and further submodules. `Module`s can thus 36 /// be said to form a recursive tree structure. A `Module` is registered as a 37 /// submodule to another `Module` by calling `register_module()`, typically from 38 /// within a parent module's constructor. 40 /// A distinction is made between three kinds of persistent data that may be [all …]
|
/aosp_15_r20/external/python/cpython3/Doc/library/ |
D | importlib.rst | 1 :mod:`!importlib` --- The implementation of :keyword:`!import` 4 .. module:: importlib 14 -------------- 18 ------------ 20 The purpose of the :mod:`importlib` package is three-fold. 22 One is to provide the 25 implementation of :keyword:`!import` which is portable to any Python 26 interpreter. This also provides an implementation which is easier to 36 * :mod:`importlib.metadata` presents access to metadata from third-party 38 * :mod:`importlib.resources` provides routines for accessing non-code [all …]
|
/aosp_15_r20/prebuilts/sdk/current/androidx/m2repository/androidx/compose/ui/ui-test-android/1.8.0-beta01/ |
H A D | ui-test-android-1.8.0-beta01.module | 4 "url": "../../ui-test/1.8.0-beta01/ui-test-1.8.0-beta01.module", 6 "module": "ui-test", 7 "version": "1.8.0-beta01", 20 "name": "releaseApiElements-published", 24 "org.gradle.usage": "java-api", 30 "module": "runtime", 32 "requires": "1.8.0-beta01" 37 "module": "ui", 39 "requires": "1.8.0-beta01" 44 "module": "ui-graphics", [all …]
|
/aosp_15_r20/external/pytorch/torch/nn/modules/ |
H A D | module.py | 1 # mypy: allow-untyped-defs 42 "Module", 46 # See https://mypy.readthedocs.io/en/latest/generics.html#generic-methods-and-generic-self for the … 47 # of `T` to annotate `self`. Many methods of `Module` return `self` and we want those return values… 48 # the type of the subclass, not the looser type of `Module`. 49 T = TypeVar("T", bound="Module") 65 # don't do anything for single-line stuff 76 .registering the buffer/module/parameter""" 83 def __init__(self, hook: Callable, module: Optional["Module"] = None): argument 89 if module is not None: [all …]
|
/aosp_15_r20/build/soong/java/ |
H A D | sdk_library.go | 7 // http://www.apache.org/licenses/LICENSE-2.0 10 // distributed under the License is distributed on an "AS IS" BASIS, 41 depInfoExtractor func(paths *scopePaths, ctx android.ModuleContext, dep android.Module) error 45 func (tag scopeDependencyTag) extractDepInfo(ctx android.ModuleContext, dep android.Module, paths *… 48 …ctx.ModuleErrorf("has an invalid {scopeDependencyTag: %s} dependency on module %s: %s", tag.name, … 78 // A module that sets sdk_version: "<scope>_current" should have access to the <scope> API of 82 // If this is not set then it defaults to the scope set in extends. 86 // properties that have been specified on the library so it is provided by 88 legacyEnabledStatus func(module *SdkLibrary) bool 90 // The default enabled status for non-legacy behavior, which is triggered by [all …]
|
/aosp_15_r20/external/clang/include/clang/Basic/ |
H A D | Module.h | 1 //===--- Module.h - Describe a module ---------------------------*- C++ -*-===// 5 // This file is distributed under the University of Illinois Open Source 8 //===----------------------------------------------------------------------===// 11 /// \brief Defines the clang::Module class, which describes a module in the 14 //===----------------------------------------------------------------------===// 43 /// \brief Describes the name of a module. 46 /// \brief Describes a module or submodule. 47 class Module { 49 /// \brief The name of this module. 52 /// \brief The location of the module definition. [all …]
|