HomeSort by relevance Sort by last modified time
    Searched full:unscoped (Results 1 - 25 of 112) sorted by null

1 2 3 4 5

  /external/dagger2/compiler/src/main/java/dagger/internal/codegen/
Scope.java 39 * An internal representation for an unscoped binding.
41 private static final Scope UNSCOPED = new Scope();
58 * Returns representation for an unscoped binding.
60 static Scope unscoped() { method in class:Scope
61 return UNSCOPED;
66 * of that scope, otherwise returns a representation for an unscoped binding.
70 return scopeAnnotation.isPresent() ? new Scope(scopeAnnotation.get()) : UNSCOPED;
74 * Returns true if the scope is present, i.e. it's not unscoped binding.
143 return annotationMirror == null ? "UNSCOPED" : annotationMirror.toString();
  /external/guice/core/src/com/google/inject/
Scope.java 37 * unscoped provider to retrieve one.
44 * @param unscoped locates an instance when one doesn't already exist in this
46 * @return a new provider which only delegates to the given unscoped provider
50 public <T> Provider<T> scope(Key<T> key, Provider<T> unscoped);
  /external/clang/test/OpenMP/
target_data_device_messages.cpp 18 #pragma omp target data device (argc > 0 ? argv[1] : argv[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}}
24 #pragma omp target device (3.14) // expected-error {{expression must have integral or unscoped enumeration type, not 'double'}}
target_device_messages.cpp 18 #pragma omp target device (argc > 0 ? argv[1] : argv[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}}
24 #pragma omp target device (3.14) // expected-error {{expression must have integral or unscoped enumeration type, not 'double'}}
teams_num_teams_messages.cpp 37 #pragma omp teams num_teams(argc > 0 ? a[1] : a[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}}
55 #pragma omp teams num_teams(3.14) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'double'}}
83 #pragma omp teams num_teams (argc > 0 ? argv[1] : argv[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}}
107 #pragma omp teams num_teams (3.14) // expected-error {{expression must have integral or unscoped enumeration type, not 'double'}}
teams_thread_limit_messages.cpp 37 #pragma omp teams thread_limit(argc > 0 ? a[1] : a[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}}
55 #pragma omp teams thread_limit(3.14) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'double'}}
83 #pragma omp teams thread_limit (argc > 0 ? argv[1] : argv[2]) // expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}}
107 #pragma omp teams thread_limit (3.14) // expected-error {{expression must have integral or unscoped enumeration type, not 'double'}}
parallel_num_threads_messages.cpp 21 #pragma omp parallel num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
24 #pragma omp parallel num_threads (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
42 #pragma omp parallel num_threads (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}}
parallel_sections_num_threads_messages.cpp 24 #pragma omp parallel sections num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
30 #pragma omp parallel sections num_threads (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
57 #pragma omp parallel sections num_threads (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}}
parallel_for_num_threads_messages.cpp 25 #pragma omp parallel for num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
31 #pragma omp parallel for num_threads (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
59 #pragma omp parallel for num_threads (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}}
parallel_for_simd_num_threads_messages.cpp 25 #pragma omp parallel for simd num_threads ((argc > 0) ? argv[1] : argv[2]) // expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
31 #pragma omp parallel for simd num_threads (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error 2 {{expression must have integral or unscoped enumeration type, not 'char *'}}
59 #pragma omp parallel for simd num_threads (argv[1]=2) // expected-error {{expected ')'}} expected-note {{to match this '('}} expected-error {{expression must have integral or unscoped enumeration type, not 'char *'}}
  /external/clang/test/SemaCXX/
enum-bitfield.cpp 17 enum E : Z(); // expected-error{{integral constant expression must have integral or unscoped enumeration type, not 'Z'}}
switch-implicit-fallthrough-per-method.cpp 41 void unscoped(int n) { function
  /external/dagger2/compiler/src/it/functional-tests/src/main/java/test/subcomponent/
ChildModule.java 28 return "unscoped in child";
GrandchildModule.java 28 return "unscoped in grandchild";
ParentModule.java 29 return "unscoped in parent";
  /external/guice/core/src/com/google/inject/spi/
BindingScopingVisitor.java 51 * Visit an unspecified or unscoped strategy. On a module, this strategy indicates that the
53 * no scope is applied to the binding. An unscoped binding will behave like a scoped one when it
ProviderInstanceBinding.java 43 * Returns the user-supplied, unscoped provider.
  /external/clang/test/CXX/expr/expr.unary/expr.unary.op/
p6.cpp 11 // -- unscoped enumeration
  /external/dagger2/core/src/main/java/dagger/internal/
Factory.java 23 * An {@linkplain Scope unscoped} {@link Provider}. While a {@link Provider} <i>may<i> apply
InstanceFactory.java 22 * <p>Note that while this is a {@link Factory} implementation, and thus unscoped, each call to
  /external/dagger2/examples/android-activity-graphs/src/main/java/com/example/dagger/activitygraphs/
ApplicationComponent.java 26 @Singleton // Constraints this component to one-per-application or unscoped bindings.
  /external/guice/core/src/com/google/inject/internal/
Scoping.java 44 public static final Scoping UNSCOPED = new Scoping() {
170 return this != UNSCOPED;
249 * map. If the scope annotation has no corresponding instance, an error will be added and unscoped
264 return UNSCOPED;
  /external/guice/extensions/mini/src/com/google/inject/mini/
MiniGuice.java 151 final Provider<Object> unscoped = new Provider<Object>() { local
165 putBinding(key, unscoped, singleton);
238 final Provider<Object> unscoped = new Provider<Object>() { local
259 putBinding(new Key(type, null), unscoped, singleton);
265 final Provider<Object> unscoped = provider; local
270 onlyInstance = unscoped.get();
  /external/clang/test/Parser/
cxx0x-lambda-expressions.cpp 43 int a4[1] = {[&b] = 1 }; // expected-error{{integral constant expression must have integral or unscoped enumeration type, not 'const int *'}}
45 int a6[1] = {[this] = 1 }; // expected-error{{integral constant expression must have integral or unscoped enumeration type, not 'C *'}}
  /external/clang/test/CXX/class/class.mem/
p13.cpp 48 // - every enumerator of every member of class T that is an unscoped enumerated type; and

Completed in 379 milliseconds

1 2 3 4 5