/external/selinux/libsepol/tests/ |
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/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...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/guice/ |
InvocationScopeTest.java | 70 /** Test that the injection and seed object are available in the scope. */ 76 InvocationScope scope = new InvocationScope(); local 77 scope.enter(); 79 scope.seedConfiguration(mConfiguration); 84 scope.exit();
|
/device/linaro/bootloader/edk2/BaseTools/Source/C/VfrCompile/Pccts/support/sym/ |
template.h | 11 struct _sym *next, *prev, **head, *scope;
member in struct:_sym
|
/external/guice/extensions/throwingproviders/test/com/google/inject/throwingproviders/ |
TestScope.java | 23 import com.google.inject.Scope; 31 * A simple scope that can be explicitly reset. 35 class TestScope implements Scope { 42 public <T> Provider<T> scope( method in class:TestScope
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_attr_getscope/ |
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/valgrind/none/tests/s390x/ |
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);
|
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
IdentityScopeTest.java | 75 * check that void IdentityScope(String, IdentityScope) creates instance with given name and within given scope 78 IdentityScope scope = new IdentityScopeStub("my scope"); local 79 is = new IdentityScopeStub("Aleksei Semenov", scope); 82 assertEquals(scope.getName(), is.getScope().getName()); 89 // There is no default system scope installed. 90 String name = Security.getProperty("system.scope"); 92 IdentityScope scope = IdentityScope.getSystemScope(); local 93 assertNull(scope); 102 // default implementation is specified by security property system.scope [all...] |
/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/guice/core/src/com/google/inject/internal/ |
ScopeBindingProcessor.java | 21 import com.google.inject.Scope; 39 Scope scope = checkNotNull(command.getScope(), "scope"); local 54 if (!scope.equals(existing.getScope())) { 55 errors.duplicateScopes(existing, annotationType, scope);
|
/external/guice/core/src/com/google/inject/spi/ |
ScopeBinding.java | 22 import com.google.inject.Scope; 27 * Registration of a scope annotation with the scope that implements it. Instances are created 28 * explicitly in a module using {@link com.google.inject.Binder#bindScope(Class, Scope) bindScope()} 31 * Scope recordScope = new RecordScope(); 40 private final Scope scope; field in class:ScopeBinding 42 ScopeBinding(Object source, Class<? extends Annotation> annotationType, Scope scope) { 45 this.scope = checkNotNull(scope, "scope") [all...] |
/external/iproute2/tipc/ |
nametable.c | 34 const char *scope[] = { "", "zone", "cluster", "node" }; local 51 "Publication Scope"); 67 printf("%s\n", scope[mnl_attr_get_u32(publ[TIPC_NLA_PUBL_SCOPE])]);
|
/external/libnl/src/ |
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/ |
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/smali/smalidea/src/test/java/org/jf/smalidea/findUsages/ |
HighlightLocalClassUsagesTest.java | 69 final LocalSearchScope scope = new LocalSearchScope(file); local 71 List<PsiReference> refs = Lists.newArrayList(ReferencesSearch.search(target, scope).findAll());
|
/external/tensorflow/tensorflow/cc/framework/ |
gradient_checker_test.cc | 40 Scope scope = Scope::NewRootScope(); local 42 auto x = Placeholder(scope, DT_FLOAT, Placeholder::Shape(shape)); 43 auto y = Square(scope, x); 46 scope, {x}, {shape}, {y}, {shape}, &max_error))); 51 Scope scope = Scope::NewRootScope(); local 53 auto x = Placeholder(scope, DT_DOUBLE, Placeholder::Shape(shape)) 62 Scope scope = Scope::NewRootScope(); local 73 Scope scope = Scope::NewRootScope(); local 85 Scope scope = Scope::NewRootScope(); local 97 Scope scope = Scope::NewRootScope(); local 108 Scope scope = Scope::NewRootScope(); local 125 Scope scope = Scope::NewRootScope(); local 140 Scope scope = Scope::NewRootScope(); local 156 Scope scope = Scope::NewRootScope(); local [all...] |
/external/turbine/java/com/google/turbine/binder/bound/ |
PackageSourceBoundClass.java | 30 private final ImportScope scope; field in class:PackageSourceBoundClass 36 ImportScope scope, 40 this.scope = scope; 69 public ImportScope scope() { method in class:PackageSourceBoundClass 70 return scope;
|
/external/turbine/java/com/google/turbine/binder/lookup/ |
CompoundScope.java | 23 /** A {@link Scope} that chains other scopes together. */ 24 public class CompoundScope implements Scope { 26 private final Scope scope; field in class:CompoundScope 27 @Nullable private final Scope base; 29 private CompoundScope(Scope scope, Scope base) { 30 this.scope = checkNotNull(scope); [all...] |
/external/v8/src/parsing/ |
parse-info.cc | 12 #include "src/objects/scope-info.h" 144 DeclarationScope* ParseInfo::scope() const { return literal()->scope(); } function in class:v8::internal::ParseInfo
|
/external/vixl/test/ |
test-code-generation-scopes.cc | 58 CodeBufferCheckScope scope(&masm, aarch32::kA32InstructionSizeInBytes); 72 CodeBufferCheckScope scope(&masm, aarch64::kInstructionSize); 86 CodeBufferCheckScope scope(&masm, 2 * aarch32::kA32InstructionSizeInBytes); 101 CodeBufferCheckScope scope(&masm, 2 * aarch64::kInstructionSize); 116 CodeBufferCheckScope scope; local 118 scope.Open(&masm, aarch32::kA32InstructionSizeInBytes); 132 CodeBufferCheckScope scope; local 134 scope.Open(&masm, aarch64::kInstructionSize); 148 CodeBufferCheckScope scope(&masm, aarch32::kA32InstructionSizeInBytes); 150 scope.Close() 180 CodeBufferCheckScope scope; local 198 CodeBufferCheckScope scope; local 244 EmissionCheckScope scope; local 260 EmissionCheckScope scope; local 308 EmissionCheckScope scope; local 326 EmissionCheckScope scope; local 474 EmissionCheckScope scope; local 483 EmissionCheckScope scope; local 528 ExactAssemblyScope scope; local 544 ExactAssemblyScope scope; local 592 ExactAssemblyScope scope; local 610 ExactAssemblyScope scope; local [all...] |
/libcore/ojluni/src/main/java/java/security/ |
Identity.java | 40 * specified to have a particular scope, then the name and public 41 * key of the Identity are unique within that scope. 88 * The scope of the identity. 92 IdentityScope scope; field in class:Identity 109 * Constructs an identity with the specified name and scope. 112 * @param scope the scope of the identity. 115 * with the same name in the scope. 117 public Identity(String name, IdentityScope scope) throws 120 if (scope != null) [all...] |
/external/clang/test/CXX/expr/expr.prim/expr.prim.general/ |
p8-0x.cpp | 32 void scope() { function in namespace:PR10127
|
/external/curl/lib/ |
if2ip.c | 63 /* Return the scope of the given address. */ 140 char scope[12] = ""; local 149 scope matches the remote address we want to 159 /* Include the scope of this interface as part of the address */ 163 /* If given, scope id should match. */ 172 snprintf(scope, sizeof(scope), "%%%u", scopeid); 180 snprintf(buf, buf_size, "%s%s", ip, scope);
|
/external/jacoco/org.jacoco.core.test/src/org/jacoco/core/test/ |
InstrumentingLoader.java | 30 private final String scope; field in class:InstrumentingLoader 36 public InstrumentingLoader(IRuntime runtime, String scope, 39 this.scope = scope; 54 if (name.startsWith(scope)) {
|
/external/javaparser/javaparser-symbol-solver-core/src/main/java/com/github/javaparser/symbolsolver/javaparsermodel/contexts/ |
FieldAccessContext.java | 77 Expression scope = wrappedNode.getScope(); local 79 ResolvedType typeOfScope = JavaParserFacade.get(typeSolver).getType(scope);
|