/external/chromium_org/native_client_sdk/doc_generated/pepper_stable/cpp/ |
classpp_1_1_instance-members.html | 13 This is the complete list of members for <a class="el" href="classpp_1_1_instance.html">pp::Instance</a>, including all inherited members.<table> 14 <tr class="memlist"><td><a class="el" href="classpp_1_1_instance.html#a9773263ee281405030548fc224eeec08">AddPerInstanceObject</a>(const std::string &interface_name, void *object)</td><td><a class="el" href="classpp_1_1_instance.html">pp::Instance</a></td><td></td></tr> 15 <tr class="memlist"><td><a class="el" href="classpp_1_1_instance.html#a147a1c1817a7a1fb2b76f5c87ab08899">BindGraphics</a>(const Graphics2D &graphics)</td><td><a class="el" href="classpp_1_1_instance.html">pp::Instance</a></td><td></td></tr> 16 <tr class="memlist"><td><a class="el" href="classpp_1_1_instance.html#abcfd0eb0995e6273271b4ff4c3df16ae">BindGraphics</a>(const Graphics3D &graphics)</td><td><a class="el" href="classpp_1_1_instance.html">pp::Instance</a></td><td></td></tr> 17 <tr class="memlist"><td><a class="el" href="classpp_1_1_instance.html#a286bc22174e2f7b6e917c56aa5c7de86">ClearInputEventRequest</a>(uint32_t event_classes)</td><td><a class="el" href="classpp_1_1_instance.html">pp::Instance</a></td><td></td></tr> 18 <tr class="memlist"><td><a class="el" href="classpp_1_1_instance.html#a42c67b21f11bef29c5b341c78926bad3">DidChangeFocus</a>(bool has_focus)</td><td><a class="el" href="classpp_1_1_instance.html">pp::Instance</a></td><td><code> [virtual]</code></td></tr> 19 <tr class="memlist"><td><a class="el" href="classpp_1_1_instance.html#ad952f05e42f0e036157beb216f12f3f3">DidChangeView</a>(const View &view)</td><td><a class="el" href="classpp_1_1_instance.html">pp::Instance</a></td><td><code> [virtual]</code></td></tr> 20 <tr class="memlist"><td><a class="el" href="classpp_1_1_instance.html#a72ac4ec0b62c4cd8dedae3cf0fc577c2">DidChangeView</a>(const Rect &position, const Rect &clip)</td><td><a class="el" href="classpp_1_1_instance.html">pp::Instance</a></td><td><code> [virtual]</code></td></tr> 21 <tr class="memlist"><td><a class="el" href="classpp_1_1_instance.html#a6dec498f1d49571be9fd40e23745327f">GetPerInstanceObject</a>(PP_Instance instance, const std::string &interface_name)</td><td><a class="el" href="classpp_1_1_instance.html">pp::Instance</a></td><td><code> [static]</code></td></tr [all...] |
classpp_1_1_instance_handle.html | 18 <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_instance_handle.html#aa9e22c3dc382054c2f3dd816396348dc">InstanceHandle</a> (<a class="el" href="classpp_1_1_instance.html">Instance</a> *instance)</td></tr> 23 <div class="textblock"><p>An instance handle identifies an instance in a constructor for a resource. </p> 25 <p>1. A <a class="el" href="classpp_1_1_instance.html">pp::Instance</a> object's lifetime is managed by the system on the main pepper thread of the module. This means that it may get destroyed at any time based on something that happens on the web page. Therefore, it's not safe to refer to a <code><a class="el" href="classpp_1_1_instance.html">pp::Instance</a></code> object on a background thread. Instead, we need to pass some kind of identifier to resource constructors so that they may safely be used on background threads. If the instance becomes invalid, the resource creation will fail on the background thread, but it won't crash.</p> 26 <p>2. <code>PP_Instance</code> would be a good identifier to use for this case. However, using <code>PP_Instance</code> in the constructor to resources is problematic because it is just a typedef for an integer, as is a <code>PP_Resource</code>. Many resources have alternate constructors that just take an existing <code>PP_Resource</code>, so the constructors would be ambiguous. Having this wrapper around a <code>PP_Instance</code> prevents this ambiguity, and also provides a nice place to consolidate an implicit conversion from <code><a class="el" href="classpp_1_1_instance.html">pp::Instance</a>*</code> for prettier code on the main thread (you can just pass "this" to resource constructors in your instance objects).</p> 27 <p>You should always pass an <code><a class="el" href="classpp_1_1_instance_handle.html" title="An instance handle identifies an instance in a constructor for a resource.">InstanceHandle</a></code> to backg (…) [all...] |
/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/third_party/npapi/bindings/ |
npfunctions.h | 51 typedef NPError (* NP_LOADDS NPP_NewProcPtr)(NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc, char* argn[], char* argv[], NPSavedData* saved); 52 typedef NPError (* NP_LOADDS NPP_DestroyProcPtr)(NPP instance, NPSavedData** save); 53 typedef NPError (* NP_LOADDS NPP_SetWindowProcPtr)(NPP instance, NPWindow* window); 54 typedef NPError (* NP_LOADDS NPP_NewStreamProcPtr)(NPP instance, NPMIMEType type, NPStream* stream, NPBool seekable, uint16_t* stype); 55 typedef NPError (* NP_LOADDS NPP_DestroyStreamProcPtr)(NPP instance, NPStream* stream, NPReason reason); 56 typedef int32_t (* NP_LOADDS NPP_WriteReadyProcPtr)(NPP instance, NPStream* stream); 57 typedef int32_t (* NP_LOADDS NPP_WriteProcPtr)(NPP instance, NPStream* stream, int32_t offset, int32_t len, void* buffer); 58 typedef void (* NP_LOADDS NPP_StreamAsFileProcPtr)(NPP instance, NPStream* stream, const char* fname); 59 typedef void (* NP_LOADDS NPP_PrintProcPtr)(NPP instance, NPPrint* platformPrint); 60 typedef int16_t (* NP_LOADDS NPP_HandleEventProcPtr)(NPP instance, void* event) [all...] |
/external/chromium_org/ppapi/cpp/dev/ |
url_util_dev.cc | 78 const InstanceHandle& instance, 84 instance.pp_instance(), 91 instance.pp_instance(), 115 bool URLUtil_Dev::DocumentCanRequest(const InstanceHandle& instance, 120 instance.pp_instance(), 126 instance.pp_instance(), 150 Var URLUtil_Dev::GetDocumentURL(const InstanceHandle& instance, 155 instance.pp_instance(), 161 instance.pp_instance(), 167 Var URLUtil_Dev::GetPluginInstanceURL(const InstanceHandle& instance, [all...] |
/external/chromium_org/ppapi/proxy/ |
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/webrtc/modules/audio_coding/codecs/cng/include/ |
webrtc_cng.h | 40 * These functions create an instance to the specified structure 43 * - XXX_inst : Pointer to created instance that should be created 54 * This function initializes a instance 57 * - cng_inst : Instance that should be initialized 64 * - cng_inst : Initialized instance 77 * These functions frees the dynamic memory of a specified instance 80 * - cng_inst : Pointer to created instance that should be freed 94 * - cng_inst : Pointer to created instance 115 * - cng_inst : Pointer to created instance that should be freed 131 * - cng_inst : Pointer to created instance that should be free [all...] |
/external/chromium_org/content/shell/tools/plugin/ |
main.cpp | 149 NPError NPP_New(NPMIMEType pluginType, NPP instance, uint16_t mode, int16_t argc, char *argn[], char *argv[], NPSavedData *saved) 156 if (browser->getvalue(instance, NPNVsupportsCoreGraphicsBool, &supportsCoreGraphics) != NPERR_NO_ERROR) 165 if (browser->getvalue(instance, NPNVsupportsCoreAnimationBool, &supportsCoreAnimation) != NPERR_NO_ERROR) 175 if (browser->getvalue(instance, NPNVsupportsCarbonBool, &supportsCarbon) != NPERR_NO_ERROR) 179 if (browser->getvalue(instance, NPNVsupportsCocoaBool, &supportsCocoa) != NPERR_NO_ERROR) 192 browser->setvalue(instance, NPPVpluginEventModel, (void *)eventModel); 195 PluginObject* obj = (PluginObject*)browser->createobject(instance, pluginObjectClass); 196 instance->pdata = obj; 242 testNPRuntime(instance); 246 pluginLog(instance, "src: %s", argv[i]) [all...] |
/dalvik/dexgen/src/com/android/dexgen/rop/cst/ |
CstType.java | 31 /** {@code non-null;} instance corresponding to the class {@code Object} */ 34 /** {@code non-null;} instance corresponding to the class {@code Boolean} */ 37 /** {@code non-null;} instance corresponding to the class {@code Byte} */ 40 /** {@code non-null;} instance corresponding to the class {@code Character} */ 43 /** {@code non-null;} instance corresponding to the class {@code Double} */ 46 /** {@code non-null;} instance corresponding to the class {@code Float} */ 49 /** {@code non-null;} instance corresponding to the class {@code Long} */ 52 /** {@code non-null;} instance corresponding to the class {@code Integer} */ 55 /** {@code non-null;} instance corresponding to the class {@code Short} */ 58 /** {@code non-null;} instance corresponding to the class {@code Void} * [all...] |
CstBoolean.java | 26 /** {@code non-null;} instance representing {@code false} */ 29 /** {@code non-null;} instance representing {@code true} */ 33 * Makes an instance for the given value. This will return an 34 * already-allocated instance. 37 * @return {@code non-null;} the appropriate instance 44 * Makes an instance for the given {@code int} value. This 45 * will return an already-allocated instance. 48 * @return {@code non-null;} the appropriate instance 61 * Constructs an instance. This constructor is private; use {@link #make}.
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_HttpServerSocket.java | 30 private ServerSocket instance = null; field in class:Support_HttpServerSocket 45 if (instance == null) { 48 instance.setSoTimeout(timeout); 49 Socket s = instance.accept(); 69 instance = new ServerSocket(port); 76 if (instance != null) { 77 instance.close();
|
/external/chromium_org/base/win/ |
scoped_process_information.h | 25 // Returns true iff this instance is holding a thread and/or process handle. 31 // Populates this instance with the provided |process_info|. 34 // Populates this instance with duplicate handles and the thread/process IDs 35 // from |other|. Returns false in case of failure, in which case this instance 40 // instance. 44 // instance. Note that the related process_id will also be cleared. 48 // instance. Note that the related thread_id will also be cleared.
|
/external/chromium_org/chrome/browser/chromeos/accessibility/ |
magnification_manager.h | 25 // Creates an instance of MagnificationManager. This should be called once, 26 // Returns the existing instance. If there is no instance, creates one. 27 // because only one instance should exist at the same time. 30 // Deletes the existing instance of MagnificationManager. 33 // Returns the existing instance. If there is no instance, returns NULL.
|
/external/chromium_org/components/pdf/renderer/ |
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/ppapi/shared_impl/ |
ppp_instance_combined.h | 26 PP_Bool DidCreate(PP_Instance instance, 30 void DidDestroy(PP_Instance instance); 36 void DidChangeView(PP_Instance instance, 41 void DidChangeFocus(PP_Instance instance, PP_Bool has_focus); 42 PP_Bool HandleDocumentLoad(PP_Instance instance, PP_Resource url_loader); 52 // Non-NULL when Instance 1.0 is used. 53 void (*did_change_view_1_0_)(PP_Instance instance,
|
/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;
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
PathTest.java | 35 // new the Path instance 38 // another the Path instance with different params 44 // new the Path instance 54 // new the Path instance 62 // new the Path instance 68 // new the Path instance 84 // new the Path instance 98 // new the Path instance 106 // new the Path instance 120 // new the Path instance [all...] |
/external/chromium_org/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 63 static Type* New(void* instance) { 64 DCHECK_EQ(reinterpret_cast<uintptr_t>(instance) & (ALIGNOF(Type) - 1), 0u) 68 // Use placement new to initialize our instance in our preallocated space. 70 return new (instance) Type() 191 Type* instance() { function in class:base::LazyInstance [all...] |
/external/chromium_org/native_client_sdk/doc_generated/pepper_beta/cpp/ |
classpp_1_1_instance_handle.html | 18 <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_instance_handle.html#aa9e22c3dc382054c2f3dd816396348dc">InstanceHandle</a> (<a class="el" href="classpp_1_1_instance.html">Instance</a> *instance)</td></tr> 23 <div class="textblock"><p>An instance handle identifies an instance in a constructor for a resource. </p> 25 <p>1. A <a class="el" href="classpp_1_1_instance.html">pp::Instance</a> object's lifetime is managed by the system on the main pepper thread of the module. This means that it may get destroyed at any time based on something that happens on the web page. Therefore, it's not safe to refer to a <code><a class="el" href="classpp_1_1_instance.html">pp::Instance</a></code> object on a background thread. Instead, we need to pass some kind of identifier to resource constructors so that they may safely be used on background threads. If the instance becomes invalid, the resource creation will fail on the background thread, but it won't crash.</p> 26 <p>2. <code>PP_Instance</code> would be a good identifier to use for this case. However, using <code>PP_Instance</code> in the constructor to resources is problematic because it is just a typedef for an integer, as is a <code>PP_Resource</code>. Many resources have alternate constructors that just take an existing <code>PP_Resource</code>, so the constructors would be ambiguous. Having this wrapper around a <code>PP_Instance</code> prevents this ambiguity, and also provides a nice place to consolidate an implicit conversion from <code><a class="el" href="classpp_1_1_instance.html">pp::Instance</a>*</code> for prettier code on the main thread (you can just pass "this" to resource constructors in your instance objects).</p> 27 <p>You should always pass an <code><a class="el" href="classpp_1_1_instance_handle.html" title="An instance handle identifies an instance in a constructor for a resource.">InstanceHandle</a></code> to backg (…) [all...] |
/external/chromium_org/native_client_sdk/doc_generated/pepper_dev/cpp/ |
classpp_1_1_instance_handle.html | 18 <tr><td class="memItemLeft" align="right" valign="top"> </td><td class="memItemRight" valign="bottom"><a class="el" href="classpp_1_1_instance_handle.html#aa9e22c3dc382054c2f3dd816396348dc">InstanceHandle</a> (<a class="el" href="classpp_1_1_instance.html">Instance</a> *instance)</td></tr> 23 <div class="textblock"><p>An instance handle identifies an instance in a constructor for a resource. </p> 25 <p>1. A <a class="el" href="classpp_1_1_instance.html">pp::Instance</a> object's lifetime is managed by the system on the main pepper thread of the module. This means that it may get destroyed at any time based on something that happens on the web page. Therefore, it's not safe to refer to a <code><a class="el" href="classpp_1_1_instance.html">pp::Instance</a></code> object on a background thread. Instead, we need to pass some kind of identifier to resource constructors so that they may safely be used on background threads. If the instance becomes invalid, the resource creation will fail on the background thread, but it won't crash.</p> 26 <p>2. <code>PP_Instance</code> would be a good identifier to use for this case. However, using <code>PP_Instance</code> in the constructor to resources is problematic because it is just a typedef for an integer, as is a <code>PP_Resource</code>. Many resources have alternate constructors that just take an existing <code>PP_Resource</code>, so the constructors would be ambiguous. Having this wrapper around a <code>PP_Instance</code> prevents this ambiguity, and also provides a nice place to consolidate an implicit conversion from <code><a class="el" href="classpp_1_1_instance.html">pp::Instance</a>*</code> for prettier code on the main thread (you can just pass "this" to resource constructors in your instance objects).</p> 27 <p>You should always pass an <code><a class="el" href="classpp_1_1_instance_handle.html" title="An instance handle identifies an instance in a constructor for a resource.">InstanceHandle</a></code> to backg (…) [all...] |
/external/chromium_org/chrome/browser/resources/chromeos/chromevox/liblouis_nacl/ |
liblouis_test.extjs | 25 // Avoid loading a second liblouis instance and get the one that chromevox 27 this.instance = cvox.ChromeVox.braille.getLibLouisForTest(); 46 this.instance.getTranslator(table.fileNames, function(translator) { 60 this.instance.getTranslator('en-us-comp8.ctb', function(translator) { 72 this.instance.getTranslator('en-us-comp8.ctb', function(translator) { 83 this.instance.getTranslator('de-de-g2.ctb', function(translator) { 95 this.instance.getTranslator('de-de-comp8.ctb', function(translator) { 105 this.instance.getTranslator('de-de-comp8.ctb', function(translator) { 116 this.instance.detach(); 117 assertFalse(this.instance.isAttached()) [all...] |
/external/chromium_org/content/renderer/pepper/ |
host_dispatcher_wrapper.cc | 76 void HostDispatcherWrapper::AddInstance(PP_Instance instance) { 77 ppapi::proxy::HostDispatcher::SetForInstance(instance, dispatcher_.get()); 80 RendererPpapiHostImpl::GetForPPInstance(instance); 83 // always give us an instance we can find in the map otherwise, but that 86 RenderFrame* render_frame = host->GetRenderFrameForInstance(instance); 87 PepperPluginInstance* plugin_instance = host->GetPluginInstance(instance); 90 instance, 94 host->GetDocumentURL(instance), 100 void HostDispatcherWrapper::RemoveInstance(PP_Instance instance) { 101 ppapi::proxy::HostDispatcher::RemoveForInstance(instance); [all...] |
host_var_tracker.h | 36 // Tracks all live V8ObjectVar. This is so we can map between instance + 42 PP_Var V8ObjectVarForV8Object(PP_Instance instance, 44 // Returns the number of V8ObjectVars associated with the given instance. 45 // Returns 0 if the instance isn't known. 46 CONTENT_EXPORT int GetLiveV8ObjectVarsForTest(PP_Instance instance); 50 PP_Instance instance, 57 virtual int TrackSharedMemoryHandle(PP_Instance instance, 61 PP_Instance instance, 78 // and the instance it is associated with. 86 PP_Instance instance; member in struct:content::HostVarTracker::V8ObjectVarKey 102 PP_Instance instance; member in struct:content::HostVarTracker::SharedMemoryMapEntry [all...] |
/cts/suite/audio_quality/lib/include/ |
Log.h | 36 static Log* Instance(const char* dirName = NULL); 55 #define LOGE(x...) do { Log::Instance()->printf(Log::ELogE, x); \ 56 Log::Instance()->printf(Log::ELogE, " file %s line %d", __FILE__, __LINE__); } while(0) 57 #define LOGW(x...) do { Log::Instance()->printf(Log::ELogW, x); } while(0) 58 #define LOGI(x...) do { Log::Instance()->printf(Log::ELogI, x); } while(0) 59 #define LOGD(x...) do { Log::Instance()->printf(Log::ELogD, x); } while(0) 60 #define LOGV(x...) do { Log::Instance()->printf(Log::ELogV, x); } while(0) 62 #define MSG(x...) do { Log::Instance()->printf(Log::ELogE, x); } while(0) 64 #define ASSERT(cond) if(!(cond)) { Log::Instance()->printf(Log::ELogE, \
|
/dalvik/dx/src/com/android/dx/rop/cst/ |
CstBoolean.java | 26 /** {@code non-null;} instance representing {@code false} */ 29 /** {@code non-null;} instance representing {@code true} */ 33 * Makes an instance for the given value. This will return an 34 * already-allocated instance. 37 * @return {@code non-null;} the appropriate instance 44 * Makes an instance for the given {@code int} value. This 45 * will return an already-allocated instance. 48 * @return {@code non-null;} the appropriate instance 61 * Constructs an instance. This constructor is private; use {@link #make}.
|