HomeSort by relevance Sort by last modified time
    Searched refs:instance (Results 301 - 325 of 2823) sorted by null

<<11121314151617181920>>

  /external/chromium_org/ppapi/thunk/
ppb_platform_verification_private_thunk.cc 21 PP_Resource Create(PP_Instance instance) {
23 EnterResourceCreation enter(instance);
26 return enter.functions()->CreatePlatformVerificationPrivate(instance);
35 int32_t ChallengePlatform(PP_Resource instance,
43 EnterResource<PPB_PlatformVerification_API> enter(instance, callback, true);
ppb_char_set_thunk.cc 15 char* UTF16ToCharSetDeprecated(PP_Instance instance,
20 // We validate the instance just to make sure we can make changes in the
22 EnterInstance enter(instance);
37 // (GetDefaultCharSet) that must be called on the instance object and
42 // functions, and then have the instance impl and proxy call through to the
51 uint16_t* CharSetToUTF16Deprecated(PP_Instance instance,
56 // We validate the instance just to make sure we can make changes in the
58 EnterInstance enter(instance);
77 PP_Var GetDefaultCharSet(PP_Instance instance) {
78 EnterInstance enter(instance);
    [all...]
  /libcore/luni/src/main/java/libcore/io/
DeleteOnExit.java 32 * Our singleton instance.
34 private static DeleteOnExit instance; field in class:DeleteOnExit
37 * Returns our singleton instance, creating it if necessary.
40 if (instance == null) {
41 instance = new DeleteOnExit();
42 Runtime.getRuntime().addShutdownHook(instance);
45 return instance;
  /prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-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.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,
  /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/ppapi/proxy/
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));
91 void PPP_InputEvent_Proxy::OnMsgHandleInputEvent(PP_Instance instance,
94 OBJECT_IS_PROXY, instance, data));
96 instance,
101 PP_Instance instance,
105 OBJECT_IS_PROXY, instance, data));
107 instance,
    [all...]
ppp_content_decryptor_private_proxy.cc 79 bool InitializePppDecryptorBuffer(PP_Instance instance,
96 host_resource.SetHostResource(instance, resource);
114 void Initialize(PP_Instance instance,
116 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance);
125 instance,
129 void SetServerCertificate(PP_Instance instance,
132 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance);
158 instance,
163 void CreateSession(PP_Instance instance,
168 HostDispatcher* dispatcher = HostDispatcher::GetForInstance(instance);
    [all...]
ppp_messaging_proxy.cc 28 PP_Instance instance) {
35 InstanceData* instance_data = plugin_dispatcher->GetInstanceData(instance);
42 void ResetMessageHandler(Dispatcher* dispatcher, PP_Instance instance) {
49 InstanceData* instance_data = plugin_dispatcher->GetInstanceData(instance);
87 PP_Instance instance, SerializedVarReceiveInput message_data) {
88 PP_Var received_var(message_data.GetForInstance(dispatcher(), instance));
89 MessageHandler* message_handler = GetMessageHandler(dispatcher(), instance);
100 ResetMessageHandler(dispatcher(), instance); local
104 // we send to the default PPP_Messaging one for the instance.
110 instance,
128 ResetMessageHandler(dispatcher(), instance); local
    [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/components/pdf/renderer/
ppb_pdf_impl.cc 41 PrivateFontFile(PP_Instance instance, int fd)
42 : Resource(ppapi::OBJECT_IS_IMPL, instance), fd_(fd) {}
65 content::PepperPluginInstance* instance = local
67 if (!instance)
79 // Validate the instance before using it below.
124 void SearchString(PP_Instance instance,
181 content::PepperPluginInstance* instance = local
183 if (!instance)
185 instance->GetRenderView()->DidStartLoading();
189 content::PepperPluginInstance* instance local
197 content::PepperPluginInstance* instance = local
217 content::PepperPluginInstance* instance = local
234 content::PepperPluginInstance* instance = local
269 content::PepperPluginInstance* instance = local
288 content::PepperPluginInstance* instance = local
316 content::PepperPluginInstance* instance = local
    [all...]
pepper_pdf_host.cc 40 PP_Instance instance,
42 : ppapi::host::ResourceHost(host->GetPpapiHost(), instance, resource),
84 content::PepperPluginInstance* instance = local
86 if (!instance)
88 instance->GetRenderView()->DidStartLoading();
94 content::PepperPluginInstance* instance = local
96 if (!instance)
98 instance->GetRenderView()->DidStopLoading();
105 content::PepperPluginInstance* instance = local
107 if (!instance)
125 content::PepperPluginInstance* instance = local
146 content::PepperPluginInstance* instance = local
215 content::PepperPluginInstance* instance = local
226 content::PepperPluginInstance* instance = local
    [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/content/renderer/pepper/
renderer_ppapi_host_impl.h 56 // or NULL if the instance is invalid.
67 // plugin instance. This object will reference the host impl, so the
69 // creation object is associated with the instance, this will generally
72 CreateInProcessResourceCreationAPI(PepperPluginInstanceImpl* instance);
74 PepperPluginInstanceImpl* GetPluginInstanceImpl(PP_Instance instance) const;
80 virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE;
81 virtual PepperPluginInstance* GetPluginInstance(PP_Instance instance) const
83 virtual RenderFrame* GetRenderFrameForInstance(PP_Instance instance) const
85 virtual RenderView* GetRenderViewForInstance(PP_Instance instance) const
88 PP_Instance instance) const OVERRIDE
    [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...]
flash_file.h 28 static PP_FileHandle OpenFile(const InstanceHandle& instance,
31 static bool RenameFile(const InstanceHandle& instance,
34 static bool DeleteFileOrDir(const InstanceHandle& instance,
37 static bool CreateDir(const InstanceHandle& instance,
39 static bool QueryFile(const InstanceHandle& instance,
47 static bool GetDirContents(const InstanceHandle& instance,
52 static PP_FileHandle CreateTemporaryFile(const InstanceHandle& instance);
  /external/chromium_org/content/child/npapi/
plugin_stream_url.cc 23 PluginInstance *instance,
26 : PluginStream(instance, url.spec().c_str(), notify_needed, notify_data),
39 instance()->webplugin()->URLRedirectResponse(allow, id_);
58 // Protect the stream against it being destroyed or the whole plugin instance
63 instance()->RemoveStream(this);
76 if (instance()->webplugin()) {
77 instance()->webplugin()->CancelResource(id_);
82 if (instance()->webplugin()) {
84 instance()->webplugin()->CancelResource(range_requests_[i]);
96 instance()->handles_url_redirects())
    [all...]
  /external/chromium_org/ppapi/api/private/
ppb_nacl_private.idl 180 void LaunchSelLdr([in] PP_Instance instance,
197 PP_Bool StartPpapiProxy(PP_Instance instance);
232 PP_FileHandle CreateTemporaryFile([in] PP_Instance instance);
240 /* Report to the browser that translation of the pexe for |instance|
243 * must first have called GetNexeFd for the same instance. (The browser is
249 void ReportTranslationFinished([in] PP_Instance instance,
255 /* Dispatch a progress event on the DOM element where the given instance is
258 void DispatchEvent([in] PP_Instance instance,
266 void ReportLoadSuccess([in] PP_Instance instance,
271 void ReportLoadError([in] PP_Instance instance,
    [all...]
ppb_flash.idl 55 * Specifies if the given instance is in private/incognito/off-the-record mode
57 * PP_Var on invalid instance.
74 * Returns an undefined PP_Var on invalid instance.
104 * Specifies the document URL which contains the flash instance.
120 * Sets or clears the rendering hint that the given plugin instance is always
125 [in] PP_Instance instance,
137 [in] PP_Instance instance,
154 [in] PP_Instance instance,
171 [in] PP_Instance instance);
178 [in] PP_Instance instance);
    [all...]
  /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_org/ppapi/cpp/
audio_config.cc 30 AudioConfig::AudioConfig(const InstanceHandle& instance,
38 instance.pp_instance(), sample_rate, sample_frame_count));
42 instance.pp_instance(), sample_rate, sample_frame_count));
48 const InstanceHandle& instance) {
51 RecommendSampleRate(instance.pp_instance());
58 const InstanceHandle& instance,
63 RecommendSampleFrameCount(instance.pp_instance(),
  /external/chromium_org/ppapi/shared_impl/
ppapi_globals.h 72 PP_Instance instance) = 0;
76 virtual void LogWithSource(PP_Instance instance,
85 // associated instance.
94 // Returns the given API object associated with the given instance, or NULL
95 // if the instance is invalid.
96 virtual thunk::PPB_Instance_API* GetInstanceAPI(PP_Instance instance) = 0;
98 PP_Instance instance) = 0;
102 virtual PP_Module GetModuleForInstance(PP_Instance instance) = 0;
127 // TODO(brettw) remove this by passing the instance into the API so we don't
140 // Caches an input event's |latency_info| for the plugin |instance|
    [all...]
  /external/chromium_org/chrome/browser/extensions/api/cloud_print_private/
cloud_print_private_api.cc 20 CloudPrintTestsDelegate* CloudPrintTestsDelegate::instance() { function in class:extensions::CloudPrintTestsDelegate
44 if (CloudPrintTestsDelegate::instance()) {
45 CloudPrintTestsDelegate::instance()->SetupConnector(
77 CloudPrintTestsDelegate::instance() ?
78 CloudPrintTestsDelegate::instance()->GetHostName() :
99 if (CloudPrintTestsDelegate::instance()) {
100 SendResults(CloudPrintTestsDelegate::instance()->GetPrinters());
124 CloudPrintTestsDelegate::instance() ?
125 CloudPrintTestsDelegate::instance()->GetClientId() :
  /external/chromium_org/chrome/renderer/pepper/
chrome_renderer_pepper_host_factory.cc 33 PP_Instance instance,
37 // Make sure the plugin is giving us a valid instance for this resource.
38 if (!host_->IsValidInstance(instance))
46 new PepperFlashRendererHost(host_, instance, params.pp_resource()));
50 host_, instance, params.pp_resource()));
57 host_, instance, params.pp_resource(), serialized_menu));
78 host_, instance, params.pp_resource(), description, charset));
84 host_, instance, params.pp_resource()));
93 new pdf::PepperPDFHost(host_, instance, params.pp_resource()));
99 // time of the corresponding instance's method calls. Currently thes
    [all...]

Completed in 764 milliseconds

<<11121314151617181920>>