HomeSort by relevance Sort by last modified time
    Searched refs:instance (Results 251 - 275 of 2393) sorted by null

<<11121314151617181920>>

  /packages/apps/Camera2/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...]
  /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...]
  /packages/apps/Launcher3/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...]
  /external/chromium_org/ppapi/api/private/finish_writing_these/
ppb_flash_file.idl 29 [in] PP_Instance instance,
38 [in] PP_Instance instance,
48 [in] PP_Instance instance,
56 [in] PP_Instance instance,
63 [in] PP_Instance instance,
73 [in] PP_Instance instance,
79 [in] PP_Instance instance,
  /external/chromium_org/ppapi/api/private/
ppb_content_decryptor_private.idl 50 [in] PP_Instance instance,
75 [in] PP_Instance instance,
106 [in] PP_Instance instance,
127 [in] PP_Instance instance,
151 [in] PP_Instance instance,
174 [in] PP_Instance instance,
191 [in] PP_Instance instance,
207 [in] PP_Instance instance,
229 [in] PP_Instance instance,
265 [in] PP_Instance instance,
    [all...]
  /external/chromium_org/ppapi/c/extensions/dev/
ppb_ext_alarms_dev.h 105 * @param[in] instance A <code>PP_Instance</code>.
118 void (*Create)(PP_Instance instance,
124 * @param[in] instance A <code>PP_Instance</code>.
134 int32_t (*Get)(PP_Instance instance,
141 * @param[in] instance A <code>PP_Instance</code>.
149 int32_t (*GetAll)(PP_Instance instance,
155 * @param[in] instance A <code>PP_Instance</code>.
159 void (*Clear)(PP_Instance instance, struct PP_Var name);
163 * @param[in] instance A <code>PP_Instance</code>.
165 void (*ClearAll)(PP_Instance instance);
    [all...]
  /external/chromium_org/ppapi/cpp/dev/
zoom_dev.cc 8 #include "ppapi/cpp/instance.h"
19 void Zoom(PP_Instance instance,
22 void* object = Instance::GetPerInstanceObject(instance, kPPPZoomInterface);
38 Zoom_Dev::Zoom_Dev(Instance* instance) : associated_instance_(instance) {
40 instance->AddPerInstanceObject(kPPPZoomInterface, this);
44 Instance::RemovePerInstanceObject(associated_instance_,
  /external/chromium_org/ppapi/cpp/
mouse_lock.cc 10 #include "ppapi/cpp/instance.h"
21 void MouseLockLost(PP_Instance instance) {
23 Instance::GetPerInstanceObject(instance, kPPPMouseLockInterface);
39 MouseLock::MouseLock(Instance* instance)
40 : associated_instance_(instance) {
42 instance->AddPerInstanceObject(kPPPMouseLockInterface, this);
46 Instance::RemovePerInstanceObject(associated_instance_,
  /external/chromium_org/ppapi/proxy/
flash_clipboard_resource.h 20 FlashClipboardResource(Connection connection, PP_Instance instance);
27 virtual uint32_t RegisterCustomFormat(PP_Instance instance,
29 virtual PP_Bool IsFormatAvailable(PP_Instance instance,
32 virtual PP_Var ReadData(PP_Instance instance,
35 virtual int32_t WriteData(PP_Instance instance,
ppb_x509_certificate_private_proxy.cc 19 X509CertificatePrivate(PP_Instance instance);
31 X509CertificatePrivate::X509CertificatePrivate(PP_Instance instance)
32 : PPB_X509Certificate_Private_Shared(OBJECT_IS_PROXY, instance) {
64 PP_Instance instance) {
65 return (new X509CertificatePrivate(instance))->GetReference();
ppp_graphics_3d_proxy.cc 19 void ContextLost(PP_Instance instance) {
20 HostDispatcher::GetForInstance(instance)->Send(
21 new PpapiMsg_PPPGraphics3D_ContextLost(API_ID_PPP_GRAPHICS_3D, instance));
75 void PPP_Graphics3D_Proxy::OnMsgContextLost(PP_Instance instance) {
77 CallWhileUnlocked(ppp_graphics_3d_impl_->Graphics3DContextLost, instance);
ppp_instance_proxy.h 44 void OnPluginMsgDidCreate(PP_Instance instance,
48 void OnPluginMsgDidDestroy(PP_Instance instance);
49 void OnPluginMsgDidChangeView(PP_Instance instance,
52 void OnPluginMsgDidChangeFocus(PP_Instance instance, PP_Bool has_focus);
53 void OnPluginMsgHandleDocumentLoad(PP_Instance instance,
ppp_text_input_proxy.cc 18 void RequestSurroundingText(PP_Instance instance,
21 proxy::HostDispatcher::GetForInstance(instance);
29 API_ID_PPP_TEXT_INPUT, instance, desired_number_of_characters));
73 PP_Instance instance, uint32_t desired_number_of_characters) {
76 instance, desired_number_of_characters);
ppp_input_event_proxy.cc 24 PP_Bool HandleInputEvent(PP_Instance instance, PP_Resource input_event) {
31 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance);
41 API_ID_PPP_INPUT_EVENT, instance, data, &result));
44 API_ID_PPP_INPUT_EVENT, instance, data));
102 void PPP_InputEvent_Proxy::OnMsgHandleInputEvent(PP_Instance instance,
105 OBJECT_IS_PROXY, instance, data));
107 instance,
112 PP_Instance instance,
116 OBJECT_IS_PROXY, instance, data));
118 instance,
    [all...]
  /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,
  /system/core/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,
  /external/chromium_org/content/renderer/pepper/
host_globals.h 38 PP_Instance instance) OVERRIDE;
40 PP_Instance instance) OVERRIDE;
42 PP_Instance instance) OVERRIDE;
43 virtual PP_Module GetModuleForInstance(PP_Instance instance) OVERRIDE;
47 virtual void LogWithSource(PP_Instance instance,
56 virtual base::TaskRunner* GetFileTaskRunner(PP_Instance instance) OVERRIDE;
78 // Adds a new plugin instance to the list of tracked instances, and returns a
79 // new instance handle to identify it.
80 PP_Instance AddInstance(PepperPluginInstanceImpl* instance);
82 // Called when a plugin instance was deleted and should no longer be tracked
    [all...]
  /external/chromium_org/ppapi/thunk/
ppb_ext_alarms_thunk.cc 18 void Create(PP_Instance instance,
21 EnterInstanceAPI<ExtensionsCommon_API> enter(instance);
31 int32_t Get(PP_Instance instance,
35 EnterInstanceAPI<ExtensionsCommon_API> enter(instance, callback);
47 int32_t GetAll(PP_Instance instance,
50 EnterInstanceAPI<ExtensionsCommon_API> enter(instance, callback);
61 void Clear(PP_Instance instance, PP_Var name) {
62 EnterInstanceAPI<ExtensionsCommon_API> enter(instance);
71 void ClearAll(PP_Instance instance) {
72 EnterInstanceAPI<ExtensionsCommon_API> enter(instance);
    [all...]
  /external/chromium_org/third_party/tcmalloc/chromium/src/tests/
malloc_extension_test.cc 48 ASSERT_TRUE(MallocExtension::instance()->GetNumericProperty(
55 ASSERT_TRUE(MallocExtension::instance()->VerifyAllMemory());
59 MallocExtension::instance()->GetOwnership(a));
63 MallocExtension::instance()->GetOwnership(&cxx_bytes_used));
65 MallocExtension::instance()->GetOwnership(NULL));
66 ASSERT_GE(MallocExtension::instance()->GetAllocatedSize(a), 1000);
68 ASSERT_LE(MallocExtension::instance()->GetAllocatedSize(a), 5000);
69 ASSERT_GE(MallocExtension::instance()->GetEstimatedAllocatedSize(1000), 1000);
73 ASSERT_GE(MallocExtension::instance()->GetAllocatedSize(p),
74 MallocExtension::instance()->GetEstimatedAllocatedSize(i))
    [all...]
  /external/chromium_org/third_party/tcmalloc/vendor/src/tests/
malloc_extension_test.cc 48 ASSERT_TRUE(MallocExtension::instance()->GetNumericProperty(
55 ASSERT_TRUE(MallocExtension::instance()->VerifyAllMemory());
59 MallocExtension::instance()->GetOwnership(a));
63 MallocExtension::instance()->GetOwnership(&cxx_bytes_used));
65 MallocExtension::instance()->GetOwnership(NULL));
66 ASSERT_GE(MallocExtension::instance()->GetAllocatedSize(a), 1000);
68 ASSERT_LE(MallocExtension::instance()->GetAllocatedSize(a), 5000);
69 ASSERT_GE(MallocExtension::instance()->GetEstimatedAllocatedSize(1000), 1000);
73 ASSERT_GE(MallocExtension::instance()->GetAllocatedSize(p),
74 MallocExtension::instance()->GetEstimatedAllocatedSize(i))
    [all...]
  /external/chromium_org/third_party/npapi/npspy/common/
npp_gate.cpp 62 NPP instance,
72 if(instance == NULL)
76 logger->logCall(action_npp_new, (DWORD)pluginType, (DWORD)instance, (DWORD)mode, (DWORD)argc, (DWORD)argn, (DWORD)argv, (DWORD)saved);
172 NPError rv = epManager->callNPP_New(pluginType, instance, mode, argc, argn, argv, saved);
180 NPError NPP_Destroy (NPP instance, NPSavedData** save)
185 if(instance == NULL)
191 logger->logCall(action_npp_destroy, (DWORD)instance, (DWORD)save);
193 NPError rv = epManager->callNPP_Destroy(instance, save, &last);
201 epManager->callNP_Shutdown(instance);
205 epManager->removeEntryPointsForPlugin(instance, &hLib)
    [all...]
  /external/chromium_org/ppapi/cpp/private/
flash.cc 88 void Flash::SetInstanceAlwaysOnTop(const InstanceHandle& instance,
93 instance.pp_instance(), PP_FromBool(on_top));
96 instance.pp_instance(), PP_FromBool(on_top));
101 bool Flash::DrawGlyphs(const InstanceHandle& instance,
115 instance.pp_instance(),
129 instance.pp_instance(),
145 Var Flash::GetProxyForURL(const InstanceHandle& instance,
150 instance.pp_instance(), url.c_str()));
154 instance.pp_instance(), url.c_str()));
180 double Flash::GetLocalTimeZoneOffset(const InstanceHandle& instance,
    [all...]

Completed in 393 milliseconds

<<11121314151617181920>>