HomeSort by relevance Sort by last modified time
    Searched refs:instance (Results 76 - 100 of 2592) sorted by null

1 2 34 5 6 7 8 91011>>

  /packages/apps/Gallery2/src/android/util/
Pools.java 28 * MyPooledClass instance = sPool.acquire();
29 * return (instance != null) ? instance : new MyPooledClass();
53 * @return An instance from the pool if such, null otherwise.
58 * Release an instance to the pool.
60 * @param instance The instance to release.
61 * @return Whether the instance was put in the pool.
63 * @throws IllegalStateException If the instance is already in the pool.
65 public boolean release(T instance);
101 T instance = (T) mPool[lastPooledIndex]; local
    [all...]
  /prebuilts/clang/host/darwin-x86/clang-3957855/prebuilt_include/llvm/include/llvm/MC/
MCLabel.h 25 // \brief The instance number of this Directional Local Label.
26 unsigned Instance;
31 MCLabel(unsigned instance) : Instance(instance) {}
37 /// \brief Get the current instance of this Directional Local Label.
38 unsigned getInstance() const { return Instance; }
40 /// \brief Increment the current instance of this Directional Local Label.
41 unsigned incInstance() { return ++Instance; }
  /prebuilts/clang/host/darwin-x86/clang-3960126/prebuilt_include/llvm/include/llvm/MC/
MCLabel.h 25 // \brief The instance number of this Directional Local Label.
26 unsigned Instance;
31 MCLabel(unsigned instance) : Instance(instance) {}
37 /// \brief Get the current instance of this Directional Local Label.
38 unsigned getInstance() const { return Instance; }
40 /// \brief Increment the current instance of this Directional Local Label.
41 unsigned incInstance() { return ++Instance; }
  /prebuilts/clang/host/darwin-x86/clang-3977809/prebuilt_include/llvm/include/llvm/MC/
MCLabel.h 25 // \brief The instance number of this Directional Local Label.
26 unsigned Instance;
31 MCLabel(unsigned instance) : Instance(instance) {}
37 /// \brief Get the current instance of this Directional Local Label.
38 unsigned getInstance() const { return Instance; }
40 /// \brief Increment the current instance of this Directional Local Label.
41 unsigned incInstance() { return ++Instance; }
  /prebuilts/clang/host/darwin-x86/clang-4053586/prebuilt_include/llvm/include/llvm/MC/
MCLabel.h 25 // \brief The instance number of this Directional Local Label.
26 unsigned Instance;
31 MCLabel(unsigned instance) : Instance(instance) {}
37 /// \brief Get the current instance of this Directional Local Label.
38 unsigned getInstance() const { return Instance; }
40 /// \brief Increment the current instance of this Directional Local Label.
41 unsigned incInstance() { return ++Instance; }
  /prebuilts/clang/host/linux-x86/clang-3957855/prebuilt_include/llvm/include/llvm/MC/
MCLabel.h 25 // \brief The instance number of this Directional Local Label.
26 unsigned Instance;
31 MCLabel(unsigned instance) : Instance(instance) {}
37 /// \brief Get the current instance of this Directional Local Label.
38 unsigned getInstance() const { return Instance; }
40 /// \brief Increment the current instance of this Directional Local Label.
41 unsigned incInstance() { return ++Instance; }
  /prebuilts/clang/host/linux-x86/clang-3960126/prebuilt_include/llvm/include/llvm/MC/
MCLabel.h 25 // \brief The instance number of this Directional Local Label.
26 unsigned Instance;
31 MCLabel(unsigned instance) : Instance(instance) {}
37 /// \brief Get the current instance of this Directional Local Label.
38 unsigned getInstance() const { return Instance; }
40 /// \brief Increment the current instance of this Directional Local Label.
41 unsigned incInstance() { return ++Instance; }
  /prebuilts/clang/host/linux-x86/clang-3977809/prebuilt_include/llvm/include/llvm/MC/
MCLabel.h 25 // \brief The instance number of this Directional Local Label.
26 unsigned Instance;
31 MCLabel(unsigned instance) : Instance(instance) {}
37 /// \brief Get the current instance of this Directional Local Label.
38 unsigned getInstance() const { return Instance; }
40 /// \brief Increment the current instance of this Directional Local Label.
41 unsigned incInstance() { return ++Instance; }
  /prebuilts/clang/host/linux-x86/clang-4053586/prebuilt_include/llvm/include/llvm/MC/
MCLabel.h 25 // \brief The instance number of this Directional Local Label.
26 unsigned Instance;
31 MCLabel(unsigned instance) : Instance(instance) {}
37 /// \brief Get the current instance of this Directional Local Label.
38 unsigned getInstance() const { return Instance; }
40 /// \brief Increment the current instance of this Directional Local Label.
41 unsigned incInstance() { return ++Instance; }
  /external/dagger2/core/src/test/java/dagger/internal/
InstanceFactoryTest.java 31 Object instance = new Object(); local
32 Factory<Object> factory = InstanceFactory.create(instance);
33 assert_().that(factory.get()).isEqualTo(instance);
34 assert_().that(factory.get()).isEqualTo(instance);
35 assert_().that(factory.get()).isEqualTo(instance);
  /external/guava/guava-gwt/src/com/google/common/collect/
SingletonImmutableTable_CustomFieldSerializer.java 28 SerializationStreamReader reader, SingletonImmutableTable<?, ?, ?> instance) {
40 SerializationStreamWriter writer, SingletonImmutableTable<?, ?, ?> instance)
42 writer.writeObject(instance.singleRowKey);
43 writer.writeObject(instance.singleColumnKey);
44 writer.writeObject(instance.singleValue);
  /external/parameter-framework/upstream/test/introspection-subsystem/
IntrospectionSubsystemObject.h 67 static void registerInstance(const SubsystemObject &instance)
69 ALWAYS_ASSERT(mSingletonInstance == nullptr, "An instance is already registered");
70 mSingletonInstance = &instance;
73 static void unregisterInstance(const SubsystemObject &instance)
75 // instance parameter is only used by assertion, so unused in release mode
76 (void)instance;
78 ALWAYS_ASSERT(mSingletonInstance == &instance, "This instance was not registered.");
  /external/r8/src/test/examples/bridge/
BridgeMethod.java 30 Super<Integer> instance = new BridgeMethod(); local
31 instance.method(1, 2);
32 instance.method(2, 1);
33 instance.rangeMethod(1, 2, 3, 4, 5, 6);
34 instance.rangeMethod(2, 1, 3, 4, 5, 6);
  /external/r8/src/test/examples/memberrebinding2/
Memberrebinding.java 12 PublicClass instance = new PublicClass(); local
19 instance.field = 4;
24 instance.staticField = 8;
29 x += instance.field;
34 x += instance.staticField;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-4.8/sysroot/usr/include/alsa/
alisp.h 40 int alsa_lisp(struct alisp_cfg *cfg, struct alisp_instance **instance);
41 void alsa_lisp_free(struct alisp_instance *instance);
42 int alsa_lisp_function(struct alisp_instance *instance, struct alisp_seq_iterator **result,
48 void alsa_lisp_result_free(struct alisp_instance *instance,
50 int alsa_lisp_seq_first(struct alisp_instance *instance, const char *id,
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.15-4.8/sysroot/usr/include/alsa/
alisp.h 40 int alsa_lisp(struct alisp_cfg *cfg, struct alisp_instance **instance);
41 void alsa_lisp_free(struct alisp_instance *instance);
42 int alsa_lisp_function(struct alisp_instance *instance, struct alisp_seq_iterator **result,
48 void alsa_lisp_result_free(struct alisp_instance *instance,
50 int alsa_lisp_seq_first(struct alisp_instance *instance, const char *id,
  /system/core/libutils/include/utils/
Singleton.h 48 TYPE* instance = sInstance; local
49 if (instance == 0) {
50 instance = new TYPE();
51 sInstance = instance;
53 return *instance;
78 * (eg: <TYPE>.cpp) to create the static instance of Singleton<>'s attributes,
  /external/deqp/external/vulkancts/modules/vulkan/shaderrender/
vktShaderRenderStructTests.cpp 150 struct SetUniforms_##NAME { static void setUniforms (ShaderRenderCaseInstance& instance, const tcu::Vec4&) SET_UNIFORMS_BODY }; /* NOLINT(SET_UNIFORMS_BODY) */ \
175 instance.useUniform(0u, UI_ONE);
205 instance.useUniform(0u, UI_ZERO);
206 instance.useUniform(1u, UI_ONE);
235 instance.useUniform(0u, UI_ONE);
266 instance.useUniform(0u, UI_ZERO);
267 instance.useUniform(1u, UI_ONE);
268 instance.useUniform(2u, UI_TWO);
297 instance.useUniform(0u, UI_ZERO);
298 instance.useUniform(1u, UI_ONE)
    [all...]
  /external/guice/core/src/com/google/inject/internal/
Initializer.java 57 * Registers an instance for member injection when that step is performed.
59 * @param instance an instance that optionally has members to be injected (each annotated with
64 <T> Initializable<T> requestInjection(InjectorImpl injector, T instance, Binding<T> binding,
72 if (instance == null || (injectionPoints.isEmpty()
75 return Initializables.of(instance);
79 injector, instance, binding == null ? null : binding.getKey(), provisionCallback, source);
80 pendingInjection.put(instance, initializable);
91 pendingMembersInjectors.put(reference.instance, reference.validate(errors));
123 private final T instance; field in class:Initializer.InjectableReference
    [all...]
InstanceBindingImpl.java 35 final T instance; field in class:InstanceBindingImpl
41 T instance) {
44 this.instance = instance;
45 this.provider = Providers.of(instance);
49 Set<InjectionPoint> injectionPoints, T instance) {
52 this.instance = instance;
53 this.provider = Providers.of(instance);
65 return instance;
    [all...]
  /external/guice/core/src/com/google/inject/spi/
InjectionRequest.java 28 * A request to inject the instance fields and methods of an instance. Requests are created
41 private final T instance; field in class:InjectionRequest
43 public InjectionRequest(Object source, TypeLiteral<T> type, T instance) {
46 this.instance = checkNotNull(instance, "instance");
54 return instance;
62 * Returns the instance methods and fields of {@code instance} that will be injected to fulfil
    [all...]
  /external/testng/src/main/java/org/testng/
InstanceOrderingMethodInterceptor.java 30 for (Object instance : methodInstances) {
31 if (!instanceList.contains(instance)) {
32 instanceList.add(instance);
34 List<IMethodInstance> l = map.get(instance);
37 map.put(instance, l);
44 for (Object instance : instanceList) {
45 result.addAll(map.get(instance));
  /external/mockito/src/main/java/org/mockito/internal/util/reflection/
InstanceField.java 15 * Represents an accessible instance field.
17 * Contains the instance reference on which the field can be read adn write.
21 private final Object instance; field in class:InstanceField
28 * the field belong to this instance class.
29 * @param instance The instance from which the field shall be accessed.
31 public InstanceField(Field field, Object instance) {
33 this.instance = Checks.checkNotNull(instance, "instance");
    [all...]
  /libcore/ojluni/src/main/java/java/security/cert/
CertPathBuilder.java 38 import sun.security.jca.GetInstance.Instance;
101 * access a single {@code CertPathBuilder} instance concurrently should
103 * threads each manipulating a different {@code CertPathBuilder} instance
173 Instance instance = GetInstance.getInstance("CertPathBuilder", local
175 return new CertPathBuilder((CertPathBuilderSpi)instance.impl,
176 instance.provider, algorithm);
216 Instance instance = GetInstance.getInstance("CertPathBuilder", local
218 return new CertPathBuilder((CertPathBuilderSpi)instance.impl
253 Instance instance = GetInstance.getInstance("CertPathBuilder", local
    [all...]
CertPathValidator.java 38 import sun.security.jca.GetInstance.Instance;
101 * access a single {@code CertPathValidator} instance concurrently should
104 * instance need not synchronize.
172 Instance instance = GetInstance.getInstance("CertPathValidator", local
174 return new CertPathValidator((CertPathValidatorSpi)instance.impl,
175 instance.provider, algorithm);
216 Instance instance = GetInstance.getInstance("CertPathValidator", local
218 return new CertPathValidator((CertPathValidatorSpi)instance.impl
253 Instance instance = GetInstance.getInstance("CertPathValidator", local
    [all...]

Completed in 722 milliseconds

1 2 34 5 6 7 8 91011>>