HomeSort by relevance Sort by last modified time
    Searched refs:instance (Results 51 - 75 of 966) sorted by null

1 23 4 5 6 7 8 91011>>

  /dalvik/tests/034-call-null/src/
Main.java 11 Main instance = null; local
13 instance.doStuff();
  /developers/samples/android/common/src/com/example/android/common/
Pools.java 53 * MyPooledClass instance = sPool.acquire();
54 * return (instance != null) ? instance : new MyPooledClass();
79 * @return An instance from the pool if available, null otherwise.
84 * Releases an instance to the pool. This marks the object as reusable
88 * @param instance The instance to release.
89 * @return True if the instance was put in the pool.
90 * @throws IllegalStateException If the instance is already in the pool.
92 public boolean release(T instance);
135 T instance = (T) mPool[lastPooledIndex]; local
    [all...]
  /developers/samples/android/input/multitouch/BasicMultitouch/BasicMultitouch/src/main/java/com/example/android/common/
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...]
  /external/smack/src/org/jivesoftware/smack/util/
Base64Encoder.java 24 private static Base64Encoder instance = new Base64Encoder(); field in class:Base64Encoder
31 return instance;
  /external/webkit/Examples/NetscapeCocoaPlugin/
MenuHandler.h 40 NPP instance; variable
43 - (id)initWithBrowserFuncs:(NPNetscapeFuncs *)theBrowserFuncs instance:(NPP)theInstance;
main.m 45 // Structure for per-instance storage
59 NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc, char* argn[], char* argv[], NPSavedData* saved);
60 NPError NPP_Destroy(NPP instance, NPSavedData** save);
61 NPError NPP_SetWindow(NPP instance, NPWindow* window);
62 NPError NPP_NewStream(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16_t* stype);
63 NPError NPP_DestroyStream(NPP instance, NPStream* stream, NPReason reason);
64 int32_t NPP_WriteReady(NPP instance, NPStream* stream);
65 int32_t NPP_Write(NPP instance, NPStream* stream, int32_t offset, int32_t len, void* buffer);
66 void NPP_StreamAsFile(NPP instance, NPStream* stream, const char* fname);
67 void NPP_Print(NPP instance, NPPrint* platformPrint)
    [all...]
  /external/webkit/Tools/DumpRenderTree/TestNetscapePlugIn/Tests/win/
WindowGeometryInitializedBeforeSetWindow.cpp 43 virtual NPError NPP_SetWindow(NPP instance, NPWindow* window)
50 pluginLog(instance, "window->type should be NPWindowTypeWindow but was %d", window->type);
57 pluginLog(instance, "::GetClientRect failed");
62 pluginLog(instance, "Plugin's HWND has not been sized when NPP_SetWindow is called");
68 pluginLog(instance, "::GetParent failed");
74 pluginLog(instance, "::MapWindowPoints failed");
79 pluginLog(instance, "HWND's rect and NPWindow's rect are not equal");
83 pluginLog(instance, "Plugin's HWND has been sized and positioned before NPP_SetWindow was called");
WindowRegionIsSetToClipRect.cpp 52 NPError WindowRegionIsSetToClipRect::NPP_SetWindow(NPP instance, NPWindow* window)
59 pluginLog(instance, "window->type should be NPWindowTypeWindow but was %d", window->type);
67 pluginLog(instance, "::GetWindowRgnBox failed with error %u", ::GetLastError());
74 pluginLog(instance, "Expected region rect {left=%u, top=%u, right=%u, bottom=%u}, but got {left=%d, top=%d, right=%d, bottom=%d}", expectedRect.left, expectedRect.top, expectedRect.right, expectedRect.bottom, regionRect.left, regionRect.top, regionRect.right, regionRect.bottom);
78 pluginLog(instance, "PASS: Plugin's window's window region has been set as expected");
87 pluginLog(instance, "::GetClassName failed with error %u", ::GetLastError());
98 pluginLog(instance, "::GetModuleHandleW failed with error %u", ::GetLastError());
104 pluginLog(instance, "::GetClassInfoW failed with error %u", ::GetLastError());
109 pluginLog(instance, "FAIL: Plugin's window's class has the CS_PARENTDC style, which will defeat clipping");
111 pluginLog(instance, "PASS: Plugin's window's class does not have the CS_PARENTDC style")
    [all...]
  /frameworks/base/core/java/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...]
  /frameworks/base/tools/layoutlib/create/tests/com/android/tools/layoutlib/create/dataclass/
ClassWithNative_Delegate.java 27 public static int native_instance(ClassWithNative instance, int a, double d, Object[] o) {
29 o[0] = instance;
OuterClass_Delegate.java 26 public static int get(OuterClass instance, int a, long b) {
30 public static String privateMethod(OuterClass instance) {
  /ndk/tests/device/test-stlport_shared-exception/jni/
singleton.cpp 7 // singleton::instance() is considered constructed although the ctor
12 static singleton& instance() { function in class:singleton
35 return singleton::instance().check()-2;
  /ndk/tests/device/test-stlport_static-exception/jni/
singleton.cpp 7 // singleton::instance() is considered constructed although the ctor
12 static singleton& instance() { function in class:singleton
35 return singleton::instance().check()-2;
  /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...]
  /frameworks/native/include/utils/
Singleton.h 34 TYPE* instance = sInstance; local
35 if (instance == 0) {
36 instance = new TYPE();
37 sInstance = instance;
39 return *instance;
60 * (eg: <TYPE>.cpp) to create the static instance of Singleton<>'s attributes,
  /libcore/luni/src/main/java/org/apache/harmony/luni/util/
DeleteOnExit.java 32 * Our singleton instance.
34 private static DeleteOnExit instance; field in class:DeleteOnExit
42 * Returns our singleton instance, creating it if necessary.
45 if (instance == null) {
46 instance = new DeleteOnExit();
47 Runtime.getRuntime().addShutdownHook(instance);
50 return instance;
  /prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/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/i686-linux-glibc2.7-4.6/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.7-4.6/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,
  /dalvik/hit/src/com/android/hit/
RootObj.java 21 public class RootObj extends Instance {
54 Instance instance = state.findReference(mId); local
56 theClass = state.findClass(instance.mClassId);
68 Instance instance = null; local
71 instance = mHeap.mState.findClass(mId);
73 instance = mHeap.mState.findReference(mId);
76 if (instance == null) {
80 return instance.getSize()
    [all...]
  /external/chromium/base/
lazy_instance.h 5 // The LazyInstance<Type, Traits> class manages a single instance of Type,
10 // and Pointer() will always return the same, completely initialized instance.
11 // When the instance is constructed it is registered with AtExitManager. The
21 // will manage a unique instance. It also preallocates the space for Type, as
22 // to avoid allocating the Type instance on the heap. This may help with the
23 // performance of creating the instance, and reducing heap fragmentation. This
53 static Type* New(void* instance) {
54 // Use placement new to initialize our instance in our preallocated space.
56 return new (instance) Type();
58 static void Delete(void* instance) {
    [all...]
  /external/clang/test/CodeGenCXX/
static-init-3.cpp 9 static T & instance; member in struct:X1
14 use(instance);
21 template<class T> T & X1<T>::instance = X1<T>::get(); member in class:X1
  /external/guava/guava-gwt/src/com/google/common/collect/
ExplicitOrdering_CustomFieldSerializer.java 31 ExplicitOrdering<?> instance) {
42 ExplicitOrdering<?> instance) throws SerializationException {
43 writer.writeObject(instance.rankMap);
HashMultiset_CustomFieldSerializer.java 31 HashMultiset<?> instance) {
41 HashMultiset<?> instance) throws SerializationException {
42 Multiset_CustomFieldSerializerBase.serialize(writer, instance);
ImmutableListMultimap_CustomFieldSerializer.java 31 ImmutableListMultimap<?, ?> instance) {
42 ImmutableListMultimap<?, ?> instance) throws SerializationException {
43 Multimap_CustomFieldSerializerBase.serialize(writer, instance);

Completed in 1319 milliseconds

1 23 4 5 6 7 8 91011>>