/external/jsr330/src/javax/inject/ |
Scope.java | 26 * Identifies scope annotations. A scope annotation applies to a class 28 * instances of the type. By default, if no scope annotation is present, the 30 * the instance for one injection, and then forgets it. If a scope annotation 33 * implementation should be thread safe. The implementation of the scope 36 * <p>In the following example, the scope annotation {@code @Singleton} ensures 45 * <p>The injector generates an error if it encounters more than one scope 46 * annotation on the same class or a scope annotation it doesn't support. 48 * <p>A scope annotation: 50 * <li>is annotated with {@code @Scope}, {@code @Retention(RUNTIME)} [all...] |
/system/tools/hidl/c2hal/ |
Scope.h | 32 struct Scope { 33 Scope() {} 34 ~Scope() {} 44 DISALLOW_COPY_AND_ASSIGN(Scope); 48 void Scope<T>::enter(std::string name, T item) { 52 LOG(WARNING) << "Redeclaring variable in scope: " << name; 60 void Scope<T>::leave(std::string name) { 64 LOG(WARNING) << "Tried to undefined already undefined value in scope: " << name; 72 T Scope<T>::lookup(std::string name) const {
|
/prebuilts/go/darwin-x86/test/fixedbugs/ |
bug066.go | 9 type Scope struct { 15 scope *Scope; 24 func Lookup(scope *Scope) *Object { 25 return scope.entries["foo"];
|
/prebuilts/go/linux-x86/test/fixedbugs/ |
bug066.go | 9 type Scope struct { 15 scope *Scope; 24 func Lookup(scope *Scope) *Object { 25 return scope.entries["foo"];
|
/external/guice/core/src/com/google/inject/ |
Scope.java | 20 * A scope is a level of visibility that instances provided by Guice may have. 21 * By default, an instance created by the {@link Injector} has <i>no scope</i>, 24 * and then immediately forgets it. Associating a scope with a particular 28 * <p>An example of a scope is {@link Scopes#SINGLETON}. 32 public interface Scope { 35 * Scopes a provider. The returned provider returns objects from this scope. 36 * If an object does not exist in this scope, the provider can use the given 39 * <p>Scope implementations are strongly encouraged to override 45 * scope. 48 * scope 50 public <T> Provider<T> scope(Key<T> key, Provider<T> unscoped); method in interface:Scope [all...] |
/external/testng/src/test/java/test/sample/ |
Scope.java | 10 public class Scope {
|
/external/turbine/java/com/google/turbine/binder/lookup/ |
Scope.java | 21 /** A scope that defines types, and supports qualified name resolution. */ 22 public interface Scope {
|
/external/v8/src/compiler/ |
compiler-source-position-table.h | 20 class Scope final { 22 Scope(SourcePositionTable* source_positions, SourcePosition position) 27 Scope(SourcePositionTable* source_positions, Node* node) 32 ~Scope() { source_positions_->current_position_ = prev_position_; } 41 DISALLOW_COPY_AND_ASSIGN(Scope);
|
zone-stats.h | 21 class Scope final { 23 explicit Scope(ZoneStats* zone_stats, const char* zone_name) 25 ~Scope() { Destroy(); } 40 DISALLOW_COPY_AND_ASSIGN(Scope);
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Headers/ |
ANTLRHashMap.h | 42 NSInteger Scope; 51 @property (getter=getScope, setter=setScope:) NSInteger Scope; 72 - (id)lookup:(NSString *)s Scope:(int)scope; 74 - (id)install:(ANTLRMapElement *)sym Scope:(int)scope;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/A/Headers/ |
ANTLRHashMap.h | 42 NSInteger Scope; 51 @property (getter=getScope, setter=setScope:) NSInteger Scope; 72 - (id)lookup:(NSString *)s Scope:(int)scope; 74 - (id)install:(ANTLRMapElement *)sym Scope:(int)scope;
|
/external/antlr/antlr-3.4/runtime/ObjC/ANTLR.framework/Versions/Current/Headers/ |
ANTLRHashMap.h | 42 NSInteger Scope; 51 @property (getter=getScope, setter=setScope:) NSInteger Scope; 72 - (id)lookup:(NSString *)s Scope:(int)scope; 74 - (id)install:(ANTLRMapElement *)sym Scope:(int)scope;
|
/external/tensorflow/tensorflow/cc/framework/ |
scope.h | 39 /// A `Scope` object represents a set of related TensorFlow ops that have the 42 /// A Scope object is a container for TensorFlow Op properties. Op constructors 43 /// get a Scope object as a mandatory first argument and the constructed op 49 /// Scope root = Scope::NewRootScope(); 56 /// Scope hierarchy: 58 /// The Scope class provides various With<> functions that create a new scope. 59 /// The new scope typically has one property changed while other properties are 60 /// inherited from the parent scope [all...] |
/external/tensorflow/tensorflow/java/src/main/java/org/tensorflow/op/ |
Scope.java | 24 * <p>A {@code Scope} is a container for common properties applied to TensorFlow Ops. Normal user 25 * code initializes a {@code Scope} and provides it to Operation building classes. For example: 28 * Scope scope = new Scope(graph); 29 * Constant c = Constant.create(scope, 42); 32 * <p>An Operation building class acquires a Scope, and uses it to set properties on the underlying 38 * public static Constant create(Scope scope, ...) { 39 * scope.graph().opBuilder [all...] |
/system/tools/hidl/ |
Scope.h | 35 struct Scope : public NamedType { 36 Scope(const char* localName, const FQName& fullName, const Location& location, Scope* parent); 37 virtual ~Scope(); 91 DISALLOW_COPY_AND_ASSIGN(Scope); 94 struct RootScope : public Scope { 96 Scope* parent);
|
/build/soong/androidmk/parser/ |
scope.go | 21 type Scope interface { 28 type scope struct { type 31 parent Scope 34 func (s *scope) Get(name string) string { 46 func (s *scope) Set(name, value string) { 50 func (s *scope) Call(name string, args []string) string { 58 func (s *scope) SetFunc(name string, f func([]string) string) { 62 func NewScope(parent Scope) Scope { 63 return &scope{ [all...] |
/external/antlr/antlr-3.4/runtime/ObjC/Framework/ |
ANTLRHashMap.h | 41 NSInteger Scope; 69 - (id)lookup:(NSString *)s Scope:(int)scope; 71 - (id)install:(ANTLRMapElement *)sym Scope:(int)scope; 101 @property (getter=getScope, setter=setScope:) NSInteger Scope;
|
/external/llvm/lib/IR/ |
DebugLoc.cpp | 51 const MDNode *Scope = getInlinedAtScope(); 52 if (auto *SP = getDISubprogram(Scope)) 58 DebugLoc DebugLoc::get(unsigned Line, unsigned Col, const MDNode *Scope, 60 // If no scope is available, this is an unknown location. 61 if (!Scope) 64 return DILocation::get(Scope->getContext(), Line, Col, 65 const_cast<MDNode *>(Scope), 90 auto *Scope = cast<DIScope>(getScope()); 91 OS << Scope->getFilename();
|
/external/tensorflow/tensorflow/go/op/ |
scope.go | 26 // Scope encapsulates common operation properties when building a Graph. 28 // A Scope object (and its derivates, e.g., obtained from Scope.SubScope) 33 // A Scope object and all its derivates (e.g., obtained from Scope.SubScope) 35 type Scope struct { 43 // scopeErr is used to share errors between all derivatives of a root scope. 48 // NewScope creates a Scope initialized with an empty Graph. 49 func NewScope() *Scope { 50 return &Scope{graph: tf.NewGraph(), namemap: make(map[string]int), err: new(scopeErr) [all...] |
/frameworks/support/annotations/src/main/java/androidx/annotation/ |
RestrictTo.java | 31 * specific scope (as defined by {@link Scope}). 54 * The scope to which usage should be restricted. 56 Scope[] value(); 58 enum Scope { 88 * <strong>Note:</strong> This scope should not be used to annotate
|
/frameworks/support/recyclerview-selection/src/main/java/androidx/recyclerview/selection/ |
ItemKeyProvider.java | 57 public @interface Scope {} 59 private final @Scope int mScope; 62 * Creates a new provider with the given scope. 64 * @param scope Scope can't be changed at runtime. 66 protected ItemKeyProvider(@Scope int scope) { 67 checkArgument(scope == SCOPE_MAPPED || scope == SCOPE_CACHED); 69 mScope = scope; [all...] |
/prebuilts/go/darwin-x86/src/go/types/ |
package.go | 16 scope *Scope 19 fake bool // scope lookup errors are silently dropped if package is fake (internal use only) 25 scope := NewScope(Universe, token.NoPos, token.NoPos, fmt.Sprintf("package %q", path)) 26 return &Package{path: path, name: name, scope: scope} 38 // Scope returns the (complete or incomplete) package scope 41 func (pkg *Package) Scope() *Scope { return pkg.scope [all...] |
/prebuilts/go/linux-x86/src/go/types/ |
package.go | 16 scope *Scope 19 fake bool // scope lookup errors are silently dropped if package is fake (internal use only) 25 scope := NewScope(Universe, token.NoPos, token.NoPos, fmt.Sprintf("package %q", path)) 26 return &Package{path: path, name: name, scope: scope} 38 // Scope returns the (complete or incomplete) package scope 41 func (pkg *Package) Scope() *Scope { return pkg.scope [all...] |
/tools/metalava/stub-annotations/src/main/java/androidx/annotation/ |
RestrictTo.java | 34 /** The scope to which usage should be restricted. */ 35 Scope[] value(); 37 enum Scope { 65 * <p><strong>Note:</strong> This scope should not be used to annotate packages.
|
/external/v8/src/compiler-dispatcher/ |
compiler-dispatcher-tracer.cc | 24 CompilerDispatcherTracer::Scope::Scope(CompilerDispatcherTracer* tracer, 30 CompilerDispatcherTracer::Scope::~Scope() { 58 const char* CompilerDispatcherTracer::Scope::Name(ScopeID scope_id) {
|