/external/chromium_org/ppapi/thunk/ |
ppb_flash_file_fileref_thunk.cc | 26 // TODO(brettw): this function should take an instance. 28 PP_Instance instance = GetInstanceFromFileRef(file_ref_id); local 29 EnterInstanceAPI<PPB_Flash_File_API> enter(instance); 32 return enter.functions()->OpenFileRef(instance, file_ref_id, mode, file); 36 // TODO(brettw): this function should take an instance. 38 PP_Instance instance = GetInstanceFromFileRef(file_ref_id); local 39 EnterInstanceAPI<PPB_Flash_File_API> enter(instance); 42 return enter.functions()->QueryFileRef(instance, file_ref_id, info);
|
ppb_flash_clipboard_api.h | 19 virtual uint32_t RegisterCustomFormat(PP_Instance instance, 21 virtual PP_Bool IsFormatAvailable(PP_Instance instance, 24 virtual PP_Var ReadData(PP_Instance instance, 27 virtual int32_t WriteData(PP_Instance instance, 33 PP_Instance instance,
|
/external/chromium_org/chrome/browser/dom_distiller/ |
lazy_dom_distiller_service.cc | 31 DomDistillerServiceInterface* LazyDomDistillerService::instance() const { function in class:dom_distiller::LazyDomDistillerService 45 return instance()->GetSyncableService(); 49 return instance()->HasEntry(entry_id); 54 return instance()->GetUrlForEntry(entry_id); 61 return instance()->AddToList(url, distiller_page.Pass(), article_cb); 65 return instance()->GetEntries(); 70 return instance()->RemoveEntry(entry_id); 77 return instance()->ViewEntry(delegate, distiller_page.Pass(), entry_id); 84 return instance()->ViewUrl(delegate, distiller_page.Pass(), url); 90 return instance()->CreateDefaultDistillerPage(render_view_size) [all...] |
/external/chromium_org/native_client_sdk/src/examples/api/core/ |
core.cc | 7 #include "ppapi/cpp/instance.h" 18 /// The Instance class. One of these exists for each instance of your NaCl 20 /// a new Instance for each occurrence of the <embed> tag that has these 24 class CoreInstance : public pp::Instance { 26 /// The constructor creates the plugin-side instance. 27 /// @param[in] instance the handle to the browser-side plugin instance. 28 explicit CoreInstance(PP_Instance instance) 29 : pp::Instance(instance), callback_factory_(this) { [all...] |
/hardware/qcom/media/mm-core/src/8960/ |
qc_registry_table_android.c | 45 NULL, // Create instance function 46 // Unique instance handle 61 NULL, // Create instance function 62 // Unique instance handle 77 NULL, // Create instance function 78 // Unique instance handle 93 NULL, // Create instance function 94 // Unique instance handle 109 NULL, // Create instance function 110 // Unique instance handl [all...] |
/hardware/qcom/media/mm-core/src/plutonium/ |
registry_table.c | 44 NULL, // Create instance function 45 // Unique instance handle 60 NULL, // Create instance function 61 // Unique instance handle 76 NULL, // Create instance function 77 // Unique instance handle 92 NULL, // Create instance function 93 // Unique instance handle 108 NULL, // Create instance function 109 // Unique instance handl [all...] |
/external/chromium_org/chrome/browser/net/ |
ssl_config_service_manager.h | 18 // Create an instance of the SSLConfigServiceManager. The lifetime of the 28 // Get an SSLConfigService instance. It may be a new instance or the manager 29 // may return the same instance multiple times. 30 // The caller should hold a reference as long as it needs the instance (eg,
|
/external/chromium_org/device/core/ |
device_client.h | 20 // Construction sets the single instance. 23 // Destruction clears the single instance. 26 // Returns the single instance of |this|. 29 // Returns the UsbService instance for this embedder. 32 // Returns the HidService instance for this embedder.
|
/external/chromium_org/ppapi/cpp/dev/ |
cursor_control_dev.h | 24 bool SetCursor(const InstanceHandle& instance, 28 bool LockCursor(const InstanceHandle& instance); 29 bool UnlockCursor(const InstanceHandle& instance); 30 bool HasCursorLock(const InstanceHandle& instance); 31 bool CanLockCursor(const InstanceHandle& instance);
|
/external/chromium_org/ppapi/cpp/ |
instance_handle.h | 12 /// This file defines an instance handle used to identify an instance in a 16 class Instance; 18 /// An instance handle identifies an instance in a constructor for a resource. 21 /// 1. A pp::Instance object's lifetime is managed by the system on the main 24 /// safe to refer to a <code>pp::Instance</code> object on a background thread. 26 /// so that they may safely be used on background threads. If the instance 37 /// implicit conversion from <code>pp::Instance*</code> for prettier code on 39 /// instance objects) [all...] |
message_handler.h | 13 /// postMessageAndAwaitResponse(). See pp::Instance::RegisterMessageHandler() 22 /// @param[in] instance An <code>InstanceHandle</code> identifying one 23 /// instance of a module. 26 virtual void HandleMessage(pp::InstanceHandle instance, 37 /// @param[in] instance An <code>InstanceHandle</code> identifying one 38 /// instance of a module. 44 virtual pp::Var HandleBlockingMessage(pp::InstanceHandle instance, 50 /// @param[in] instance An <code>InstanceHandle</code> identifying one 51 /// instance of a module. 52 virtual void WasUnregistered(pp::InstanceHandle instance) = 0 [all...] |
/external/chromium_org/ppapi/proxy/ |
flash_fullscreen_resource.cc | 14 PP_Instance instance) 15 : PluginResource(connection, instance), 27 PP_Bool FlashFullscreenResource::IsFullscreen(PP_Instance instance) { 31 PP_Bool FlashFullscreenResource::SetFullscreen(PP_Instance instance, 40 void FlashFullscreenResource::SetLocalIsFullscreen(PP_Instance instance,
|
/external/chromium_org/ppapi/shared_impl/ |
resource_tracker_unittest.cc | 23 MyMockResource(PP_Instance instance) : Resource(OBJECT_IS_IMPL, instance) { 57 PP_Instance instance = 0x1234567; local 59 resource_tracker().DidCreateInstance(instance); 61 scoped_refptr<MyMockResource> resource(new MyMockResource(instance)); 71 resource_tracker().DidDeleteInstance(instance); 76 // Tests when the plugin is holding a ref to a resource when the instance is 79 // Make a resource with one ref held by the plugin, and delete the instance. 80 PP_Instance instance = 0x2345678; local 82 resource_tracker().DidCreateInstance(instance); 99 PP_Instance instance = 0x3456789; local [all...] |
/external/chromium_org/remoting/client/plugin/ |
pepper_module.cc | 7 #include "ppapi/cpp/instance.h" 15 virtual pp::Instance* CreateInstance(PP_Instance instance) OVERRIDE { 16 pp::Instance* result = new ChromotingInstance(instance);
|
/external/chromium_org/third_party/cython/src/Cython/Includes/cpython/ |
instance.pxd | 4 # 7.5.2 Instance Objects 12 # Return true if obj is an instance. 16 # Create a new instance of a specific class. The parameters arg 22 # Create a new instance of a specific class without calling its 25 # dictionary will be created for the instance.
|
/external/mockito/src/org/mockito/internal/util/reflection/ |
InstanceField.java | 13 * Represents an accessible instance field. 15 * Contains the instance reference on which the field can be read adn write. 19 private final Object instance; field in class:InstanceField 26 * the field belong to this instance class. 27 * @param instance The instance from which the field shall be accessed. 29 public InstanceField(Field field, Object instance) { 31 this.instance = Checks.checkNotNull(instance, "instance"); [all...] |
/external/chromium_org/components/user_manager/ |
user_manager.cc | 11 UserManager* UserManager::instance = NULL; member in class:user_manager::UserManager 45 DCHECK(!UserManager::instance); 51 return UserManager::instance; 55 DCHECK(UserManager::instance == this); 61 CHECK(UserManager::instance); 62 return UserManager::instance; 70 UserManager::instance = user_manager; member in class:user_manager::UserManager 75 return UserManager::instance; 80 UserManager* previous_instance = UserManager::instance; 81 UserManager::instance = user_manager member in class:user_manager::UserManager [all...] |
/external/chromium_org/ppapi/examples/scripting/ |
post_message.cc | 7 #include "ppapi/cpp/instance.h" 21 class MyInstance : public pp::Instance { 23 explicit MyInstance(PP_Instance instance) : pp::Instance(instance) {} 29 // associated with this plugin instance. 49 // Override CreateInstance to create your customized Instance object. 50 virtual pp::Instance* CreateInstance(PP_Instance instance) { 51 return new MyInstance(instance); [all...] |
/hardware/qcom/media/mm-core/src/8084/ |
qc_registry_table.c | 44 NULL, // Create instance function 45 // Unique instance handle 60 NULL, // Create instance function 61 // Unique instance handle 76 NULL, // Create instance function 77 // Unique instance handle 92 NULL, // Create instance function 93 // Unique instance handle 108 NULL, // Create instance function 109 // Unique instance handl [all...] |
/external/chromium_org/ppapi/c/private/ |
ppb_flash.h | 75 * Specifies if the given instance is in private/incognito/off-the-record mode 77 * PP_Var on invalid instance. 92 * Returns an undefined PP_Var on invalid instance. 119 * Specifies the document URL which contains the flash instance. 142 * Sets or clears the rendering hint that the given plugin instance is always 146 void (*SetInstanceAlwaysOnTop)(PP_Instance instance, PP_Bool on_top); 156 PP_Instance instance, 171 struct PP_Var (*GetProxyForURL)(PP_Instance instance, const char* url); 182 double (*GetLocalTimeZoneOffset)(PP_Instance instance, PP_Time t); 202 PP_Bool (*IsRectTopmost)(PP_Instance instance, const struct PP_Rect* rect) [all...] |
/external/chromium_org/third_party/npapi/npspy/common/ |
epmanager.cpp | 47 instance(_instance) 127 void NPPEntryPointManager::removeEntryPointsForPlugin(NPP instance, XP_HLIB * lib) 129 NPPluginFuncs * eptoremove = findEntryPointsForInstance(instance); 162 NPPluginFuncs * NPPEntryPointManager::findEntryPointsForInstance(NPP instance) 168 if(instances->instance == instance) 189 void NPPEntryPointManager::callNP_Shutdown(NPP instance) 195 if(instances->instance == instance) 208 NPError NPPEntryPointManager::callNPP_New(NPMIMEType pluginType, NPP instance, uint16 mode, int16 argc, char* argn[], char* argv[], NPSavedData* saved [all...] |
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...] |
/developers/build/prebuilts/gradle/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/ |
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...] |
/developers/samples/android/input/multitouch/BasicMultitouch/Application/src/main/java/com/example/android/basicmultitouch/ |
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...] |
/development/samples/browseable/BasicMultitouch/src/com.example.android.basicmultitouch/ |
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...] |