/external/guice/core/src/com/google/inject/ |
H A D | 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}. 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 45 * scope. 48 * scope 50 public <T> Provider<T> scope(Key<T> key, Provider<T> unscoped); method in interface:Scope 53 * A short but useful description of this scope [all...] |
H A D | Scopes.java | 28 * Built-in scope implementations. 42 * No scope; the same as not applying any scope at all. Each time the 43 * Injector obtains an instance of an object with "no scope", it injects this 47 * <p>This exists only in case a class has been annotated with a scope 49 * this to "no scope" in your binding. 54 public <T> Provider<T> scope(Key<T> key, Provider<T> unscoped) { 73 public Boolean visitScope(Scope scope) { 74 return scope == Scopes.SINGLETON; 119 * Returns true if {@code binding} has the given scope 129 isScoped(Binding<?> binding, final Scope scope, final Class<? extends Annotation> scopeAnnotation) argument [all...] |
/external/guice/core/src/com/google/inject/binder/ |
H A D | ScopedBindingBuilder.java | 38 void in(Scope scope); argument
|
/external/smali/smalidea/src/main/java/org/jf/smalidea/psi/index/ |
H A D | SmaliClassFinder.java | 44 public PsiClass findClass(@NotNull String qualifiedName, @NotNull GlobalSearchScope scope) { argument 45 Collection<SmaliClass> classes = SmaliClassNameIndex.INSTANCE.get(qualifiedName, scope.getProject(), scope); 54 public PsiClass[] findClasses(@NotNull String qualifiedName, @NotNull GlobalSearchScope scope) { argument 55 PsiClass cls = findClass(qualifiedName, scope);
|
/external/guice/core/src/com/google/inject/internal/ |
H A D | SingletonScope.java | 35 * Anyway, why is it so complex? Singleton scope does not seem to be that unique. 39 * scope is The exception. 42 * it is expected to be done by Guice. Singleton scope needs to be 44 * therefore Singleton scope needs to be able to create these proxies. 67 * @see #scope(Key, Provider) 91 * Provides singleton scope with the following properties: 102 public <T> Provider<T> scope(final Key<T> key, final Provider<T> creator) { method in class:SingletonScope 105 * - volatile instance: double-checked locking for quick exit when scope is initialized, 148 // scope called recursively can initialize instance as a side effect 185 // InjectorImpl.callInContext() sets this context when scope i [all...] |
/external/guice/core/src/com/google/inject/spi/ |
H A D | BindingScopingVisitor.java | 24 * Visits each of the strategies used to scope an injection. 33 * Visit an eager singleton or single instance. This scope strategy is found on both module and 39 * Visit a scope instance. This scope strategy is found on both module and injector bindings. 41 V visitScope(Scope scope); argument 44 * Visit a scope annotation. This scope strategy is found only on module bindings. The instance 45 * that implements this scope is registered by {@link com.google.inject.Binder#bindScope(Class, 52 * injector should use scoping annotations to find a scope. On an injector, it indicates that 53 * no scope i [all...] |
H A D | DefaultBindingScopingVisitor.java | 46 public V visitScope(Scope scope) { argument
|
H A D | ScopeBinding.java | 27 * Registration of a scope annotation with the scope that implements it. Instances are created 40 private final Scope scope; field in class:ScopeBinding 42 ScopeBinding(Object source, Class<? extends Annotation> annotationType, Scope scope) { argument 45 this.scope = checkNotNull(scope, "scope"); 57 return scope; 65 binder.withSource(getSource()).bindScope(annotationType, scope);
|
/external/guice/core/test/com/google/inject/spi/ |
H A D | FailingBindingScopingVisitor.java | 31 public Void visitScope(Scope scope) { argument
|
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/ |
H A D | TestScope.java | 31 * A simple scope that can be explicitly reset. 42 public <T> Provider<T> scope( method in class:TestScope
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getscope/ |
H A D | 1-1.c | 15 * NOTE: The contension scope value is a may requirement. 34 int scope; local 36 rc = pthread_attr_getscope(attr, &scope); 43 if (scope != SYSTEMSCOPE) { 44 perror(ERROR_PREFIX "got wrong scope param"); 49 if (scope != PROCESSSCOPE) { 50 perror(ERROR_PREFIX "got wrong scope param");
|
/external/selinux/libsepol/tests/ |
H A D | helpers.c | 68 scope_datum_t *scope = (scope_datum_t *) hashtab_search(p->scope[symtab].table, sym); local 70 if (scope == NULL) { 73 if (scope->scope != SCOPE_DECL) { 76 if (scope->decl_ids_len != 1) { 80 return p->decl_val_to_struct[scope->decl_ids[0] - 1];
|
/external/v8/src/ast/ |
H A D | variables.cc | 16 Variable::Variable(Scope* scope, const AstRawString* name, VariableMode mode, argument 19 : scope_(scope),
|
/external/v8/src/parsing/ |
H A D | parse-info.cc | 86 DeclarationScope* ParseInfo::scope() const { return literal()->scope(); } function in class:v8::internal::ParseInfo
|
/external/valgrind/none/tests/s390x/ |
H A D | ecag.c | 41 char *type, *scope; local 52 case 1: scope = "private"; break; 53 case 2: scope = "shared"; break; 54 case 3: scope = "reserved"; break; 57 printf("L%u topology: %s; %s\n", level+1, type, scope);
|
/external/vixl/test/ |
H A D | test-code-generation-scopes.cc | 57 CodeBufferCheckScope scope(&masm, aarch32::kA32InstructionSizeInBytes); 71 CodeBufferCheckScope scope(&masm, aarch64::kInstructionSize); 85 CodeBufferCheckScope scope(&masm, 2 * aarch32::kA32InstructionSizeInBytes); 100 CodeBufferCheckScope scope(&masm, 2 * aarch64::kInstructionSize); 115 CodeBufferCheckScope scope; local 117 scope.Open(&masm, aarch32::kA32InstructionSizeInBytes); 131 CodeBufferCheckScope scope; local 133 scope.Open(&masm, aarch64::kInstructionSize); 147 CodeBufferCheckScope scope(&masm, aarch32::kA32InstructionSizeInBytes); 149 scope 179 CodeBufferCheckScope scope; local 197 CodeBufferCheckScope scope; local 243 EmissionCheckScope scope; local 259 EmissionCheckScope scope; local 307 EmissionCheckScope scope; local 325 EmissionCheckScope scope; local 470 EmissionCheckScope scope; local 479 EmissionCheckScope scope; local 524 ExactAssemblyScope scope; local 540 ExactAssemblyScope scope; local 588 ExactAssemblyScope scope; local 606 ExactAssemblyScope scope; local [all...] |
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/tool/ |
H A D | NameSpaceChecker.java | 58 // walk rule scope attributes for Rule r 72 AttributeScope scope = (AttributeScope) it.next(); 73 checkForGlobalScopeTokenConflict(scope); 121 * Give error if you cannot find the scope override on a rule reference. 187 protected void checkForGlobalScopeTokenConflict(AttributeScope scope) { argument 188 if ( grammar.getTokenType(scope.getName())!=Label.INVALID ) { 190 grammar, null, scope.getName()); 194 /** Check for collision of a rule-scope dynamic attribute with: 217 * Labels must not conflict with: rules, tokens, scope names, 218 * return values, parameters, and rule-scope dynami [all...] |
/external/clang/test/CXX/expr/expr.prim/expr.prim.general/ |
H A D | p8-0x.cpp | 32 void scope() { function in namespace:PR10127
|
/external/iproute2/tipc/ |
H A D | nametable.c | 34 const char *scope[] = { "", "zone", "cluster", "node" }; local 67 printf("%s\n", scope[mnl_attr_get_u32(publ[TIPC_NLA_PUBL_SCOPE])]);
|
/external/libnl/src/ |
H A D | nl-fib-lookup.c | 21 " -s, --scope <scope> Routing scope\n" 36 int table = RT_TABLE_UNSPEC, scope = RT_SCOPE_UNIVERSE; local 44 {"scope", 1, 0, 's'}, 63 scope = strtoul(optarg, NULL, 0); 92 flnl_request_set_scope(request, scope);
|
/external/protobuf/src/google/protobuf/compiler/cpp/ |
H A D | cpp_extension.cc | 126 // If this is a class member, it needs to be declared in its class scope. 127 string scope = (descriptor_->extension_scope() == NULL) ? "" : local 129 string name = scope + descriptor_->name(); 139 vars["scope" ] = scope; 143 // We cannot declare it at class scope because that would require exposing 159 "const int $scope$$constant_name$;\n"
|
/external/antlr/antlr-3.4/tool/src/main/java/org/antlr/codegen/ |
H A D | CTarget.java | 81 /** Is scope in @scope::name {action} valid for this kind of grammar? 88 public boolean isValidActionScope(int grammarType, String scope) { argument 91 if (scope.equals("lexer")) { 94 if (scope.equals("header")) { 97 if (scope.equals("includes")) { 100 if (scope.equals("preincludes")) { 103 if (scope.equals("overrides")) { 108 if (scope.equals("parser")) { 111 if (scope [all...] |
/external/clang/test/CodeGenCXX/ |
H A D | blocks.cpp | 49 struct scope { int x; ~scope(); }; struct in namespace:test1 51 const scope obj = { 5 };
|
/external/curl/lib/ |
H A D | if2ip.c | 63 /* Return the scope of the given address. */ 138 char scope[12] = ""; local 147 scope matches the remote address we want to 157 /* Include the scope of this interface as part of the address */ 161 /* If given, scope id should match. */ 170 snprintf(scope, sizeof(scope), "%%%u", scopeid); 178 snprintf(buf, buf_size, "%s%s", ip, scope);
|
/external/libnl/lib/route/ |
H A D | rtnl.c | 100 char *rtnl_scope2str(int scope, char *buf, size_t size) argument 102 return __type2str(scope, buf, size, scopes, ARRAY_SIZE(scopes));
|