/external/chromium_org/ppapi/cpp/ |
graphics_3d_client.h | 16 class Instance; 20 // instance. 26 /// @param[in] instance The instance that will own the new 28 explicit Graphics3DClient(Instance* instance);
|
module.cc | 34 #include "ppapi/cpp/instance.h" 49 Instance* instance = module_singleton->InstanceForPPInstance(pp_instance); 50 if (!instance) 53 return PP_FromBool(instance->HandleInputEvent(InputEvent(resource))); 70 Instance* instance = module_singleton->CreateInstance(pp_instance); 71 if (!instance) 73 module_singleton->current_instances_[pp_instance] = instance; 74 return PP_FromBool(instance->Init(argc, argn, argv)) [all...] |
/external/chromium_org/ppapi/cpp/private/ |
flash_clipboard.h | 27 static uint32_t RegisterCustomFormat(const InstanceHandle& instance, 31 static bool IsFormatAvailable(const InstanceHandle& instance, 37 static bool ReadData(const InstanceHandle& instance, 44 static bool WriteData(const InstanceHandle& instance,
|
network_monitor_private.h | 14 class Instance; 18 NetworkMonitorPrivate(const InstanceHandle& instance,
|
/external/chromium_org/ppapi/native_client/tests/ppapi_browser/ppp_instance/ |
ppapi_ppp_instance.cc | 23 PP_Bool DidCreate(PP_Instance instance, 28 PP_Bool status = DidCreateDefault(instance, argc, argn, argv); 36 void DidDestroy(PP_Instance instance) { 38 CHECK(instance == pp_instance()); 42 void DidChangeView(PP_Instance instance, PP_Resource view) { 44 EXPECT(instance == pp_instance()); 59 void DidChangeFocus(PP_Instance instance, 65 EXPECT(instance == pp_instance()); 72 PP_Bool HandleDocumentLoad(PP_Instance instance,
|
/external/chromium_org/ppapi/proxy/ |
ppb_testing_proxy.h | 39 void OnMsgRunMessageLoop(PP_Instance instance); 40 void OnMsgQuitMessageLoop(PP_Instance instance); 41 void OnMsgGetLiveObjectsForInstance(PP_Instance instance, uint32_t* result); 42 void OnMsgSimulateInputEvent(PP_Instance instance,
|
ppp_content_decryptor_private_proxy.h | 33 void OnMsgGenerateKeyRequest(PP_Instance instance, 37 void OnMsgAddKey(PP_Instance instance, 41 void OnMsgCancelKeyRequest(PP_Instance instance, 43 void OnMsgDecrypt(PP_Instance instance, 47 PP_Instance instance, 51 PP_Instance instance, 54 void OnMsgDeinitializeDecoder(PP_Instance instance, 57 void OnMsgResetDecoder(PP_Instance instance, 61 PP_Instance instance,
|
/external/chromium_org/ppapi/thunk/ |
ppb_audio_config_thunk.cc | 16 PP_Resource CreateStereo16bit(PP_Instance instance, 20 EnterResourceCreation enter(instance); 23 return enter.functions()->CreateAudioConfig(instance, sample_rate, 34 uint32_t RecommendSampleFrameCount_1_1(PP_Instance instance, 38 EnterInstance enter(instance); 41 return PPB_AudioConfig_Shared::RecommendSampleFrameCount_1_1(instance, 68 PP_AudioSampleRate RecommendSampleRate(PP_Instance instance) { 70 EnterInstance enter(instance); 73 return PPB_AudioConfig_Shared::RecommendSampleRate(instance);
|
ppb_browser_font_singleton_api.h | 19 virtual PP_Var GetFontFamilies(PP_Instance instance) = 0;
|
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,
|
ppb_flash_thunk.cc | 23 void SetInstanceAlwaysOnTop(PP_Instance instance, PP_Bool on_top) { 24 EnterInstanceAPI<PPB_Flash_Functions_API> enter(instance); 27 enter.functions()->SetInstanceAlwaysOnTop(instance, on_top); 30 PP_Bool DrawGlyphs(PP_Instance instance, 41 EnterInstanceAPI<PPB_Flash_Functions_API> enter(instance); 45 instance, pp_image_data, font_desc, color, position, clip, transformation, 49 PP_Var GetProxyForURL(PP_Instance instance, const char* url) { 50 EnterInstanceAPI<PPB_Flash_Functions_API> enter(instance); 53 return enter.functions()->GetProxyForURL(instance, url); 59 // TODO(brettw): this function should take an instance 61 PP_Instance instance; local [all...] |
/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...] |
Fields.java | 26 * Instance fields declared in the class and superclasses of the given instance. 28 * @param instance Instance from which declared fields will be retrieved. 29 * @return InstanceFields of this object instance. 31 public static InstanceFields allDeclaredFieldsOf(Object instance) { 33 for (Class<?> clazz = instance.getClass(); clazz != Object.class; clazz = clazz.getSuperclass()) { 34 instanceFields.addAll(instanceFieldsIn(instance, clazz.getDeclaredFields())); 36 return new InstanceFields(instance, instanceFields); 40 * Instance fields declared in the class of the given instance [all...] |
/frameworks/wilhelm/src/ |
sync.c | 64 IObject *instance = (IObject *) thiz->mEngine.mInstances[i]; local 66 if (NULL == instance) { 70 object_lock_exclusive(instance); 71 unsigned attributesMask = instance->mAttributesMask; 72 instance->mAttributesMask = 0; 74 switch (IObjectToObjectID(instance)) { 77 object_unlock_exclusive(instance); 80 CAudioPlayer *audioPlayer = (CAudioPlayer *) instance; 87 object_unlock_exclusive(instance);
|
/external/chromium_org/ppapi/c/extensions/dev/ |
ppb_ext_socket_dev.h | 146 * @param[in] instance A <code>PP_Instance</code>. 157 int32_t (*Create)(PP_Instance instance, 165 * @param[in] instance A <code>PP_Instance</code>. 168 void (*Destroy)(PP_Instance instance, struct PP_Var socket_id); 175 * @param[in] instance A <code>PP_Instance</code>. 187 int32_t (*Connect)(PP_Instance instance, 197 * @param[in] instance A <code>PP_Instance</code>. 209 int32_t (*Bind)(PP_Instance instance, 219 * @param[in] instance A <code>PP_Instance</code>. 222 void (*Disconnect)(PP_Instance instance, struct PP_Var socket_id) [all...] |
/external/chromium_org/chrome_frame/turndown_prompt/ |
turndown_prompt_window.cc | 62 base::WeakPtr<TurndownPromptWindow> instance( 66 DCHECK(!instance->IsWindow()); 68 if (instance->Create(frame->GetFrameWindow()) == NULL) { 75 CWindow rte = instance->GetDlgItem(IDC_TD_PROMPT_LINK); 76 instance->link_.reset(new CHyperLink()); 77 instance->link_->SubclassWindow(rte); 78 instance->link_->SetHyperLinkExtendedStyle(HLINK_NOTIFYBUTTON, 81 SetupBitmapButton(instance.get()); 84 CWindow text = instance->GetDlgItem(IDC_TD_PROMPT_MESSAGE); 89 return instance; [all...] |
/external/chromium_org/content/child/npapi/ |
webplugin_ime_win.cc | 23 // WebPluginIMEWin instance through our patch function. 134 bool WebPluginIMEWin::SendEvents(PluginInstance* instance) { 135 // We allow the patch functions to access this WebPluginIMEWin instance only 142 if (!instance->NPP_HandleEvent(&(*it))) 199 WebPluginIMEWin* instance = GetInstance(context); local 200 if (!instance) 204 instance->input_type_ = input_type; 205 instance->status_updated_ = true; 214 WebPluginIMEWin* instance = GetInstance(context); local 215 if (!instance) 279 WebPluginIMEWin* instance = instance_; local 295 WebPluginIMEWin* instance = GetInstance(context); local 310 WebPluginIMEWin* instance = GetInstance(context); local [all...] |
/external/chromium_org/content/renderer/pepper/ |
host_dispatcher_wrapper.cc | 72 void HostDispatcherWrapper::AddInstance(PP_Instance instance) { 73 ppapi::proxy::HostDispatcher::SetForInstance(instance, dispatcher_.get()); 76 RendererPpapiHostImpl::GetForPPInstance(instance); 79 // always give us an instance we can find in the map otherwise, but that 82 RenderView* render_view = host->GetRenderViewForInstance(instance); 83 PepperPluginInstance* plugin_instance = host->GetPluginInstance(instance); 86 instance, 96 void HostDispatcherWrapper::RemoveInstance(PP_Instance instance) { 97 ppapi::proxy::HostDispatcher::RemoveForInstance(instance); 100 RendererPpapiHostImpl::GetForPPInstance(instance); [all...] |
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; 78 virtual bool IsValidInstance(PP_Instance instance) const OVERRIDE; 80 PP_Instance instance) const OVERRIDE; 82 PP_Instance instance) const OVERRIDE; 84 PP_Instance instance) const OVERRIDE; 86 virtual bool HasUserGesture(PP_Instance instance) const OVERRIDE [all...] |
/external/chromium_org/native_client_sdk/src/examples/getting_started/hello_world/ |
hello_world.c | 59 static void SendMessage(PP_Instance instance, const char* str) { 62 ppb_messaging_interface->PostMessage(instance, var); 70 static void LogMessage(PP_Instance instance, const char* str) { 73 ppb_console_interface->Log(instance, PP_LOGLEVEL_ERROR, var); 80 * of the new instance will be passed in as the first argument (this value is 87 * @param[in] instance The identifier of the new instance representing this 100 static PP_Bool Instance_DidCreate(PP_Instance instance, 108 SendMessage(instance, post_msg); 109 LogMessage(instance, console_msg) [all...] |
/external/chromium_org/ppapi/cpp/dev/ |
video_capture_client_dev.cc | 8 #include "ppapi/cpp/instance.h" 18 void OnDeviceInfo(PP_Instance instance, 24 Instance::GetPerInstanceObject(instance, kPPPVideoCaptureInterface)); 36 void OnStatus(PP_Instance instance, PP_Resource resource, uint32_t status) { 38 Instance::GetPerInstanceObject(instance, kPPPVideoCaptureInterface)); 43 void OnError(PP_Instance instance, PP_Resource resource, uint32_t error_code) { 45 Instance::GetPerInstanceObject(instance, kPPPVideoCaptureInterface)) [all...] |
/external/chromium_org/ppapi/shared_impl/ |
ppp_instance_combined.cc | 47 PP_Bool PPP_Instance_Combined::DidCreate(PP_Instance instance, 51 return CallWhileUnlocked(instance_1_1_.DidCreate, instance, argc, argn, argv); 54 void PPP_Instance_Combined::DidDestroy(PP_Instance instance) { 55 return CallWhileUnlocked(instance_1_1_.DidDestroy, instance); 58 void PPP_Instance_Combined::DidChangeView(PP_Instance instance, 64 instance, 67 CallWhileUnlocked(did_change_view_1_0_, instance, position, clip); 71 void PPP_Instance_Combined::DidChangeFocus(PP_Instance instance, 73 CallWhileUnlocked(instance_1_1_.DidChangeFocus, instance, has_focus); 76 PP_Bool PPP_Instance_Combined::HandleDocumentLoad(PP_Instance instance, [all...] |
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
LocalBroadcastManagerTest.java | 21 LocalBroadcastManager instance = LocalBroadcastManager.getInstance(Robolectric.application); local 22 assertNotNull(instance); 23 assertSame(instance, LocalBroadcastManager.getInstance(Robolectric.application)); 28 LocalBroadcastManager instance = LocalBroadcastManager.getInstance(Robolectric.application); local 37 instance.registerReceiver(receiver, new IntentFilter("com.foo")); 39 instance.sendBroadcast(new Intent("com.bar")); 41 instance.sendBroadcast(new Intent("com.foo")); 48 LocalBroadcastManager instance = LocalBroadcastManager.getInstance(Robolectric.application); local 57 instance.registerReceiver(receiver, new IntentFilter("com.foo")); 58 instance.unregisterReceiver(receiver) [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/gatt/ |
ServiceDeclaration.java | 37 int instance = 0; field in class:ServiceDeclaration.Entry 43 Entry(UUID uuid, int serviceType, int instance) { 46 this.instance = instance; 50 Entry(UUID uuid, int properties, int permissions, int instance) { 53 this.instance = instance; 72 void addService(UUID uuid, int serviceType, int instance, int minHandles) { 73 mEntries.add(new Entry(uuid, serviceType, instance)); 81 void addIncludedService(UUID uuid, int serviceType, int instance) { [all...] |
/external/chromium_org/third_party/WebKit/Source/core/platform/graphics/chromium/ |
ImageDecodingStoreTest.cpp | 100 const ScaledImageFragment* image = ImageDecodingStore::instance()->insertAndLockCache( 108 if (ImageDecodingStore::instance()->lockCache(m_generator.get(), size, index, &cachedImage)) 115 ImageDecodingStore::instance()->unlockCache(m_generator.get(), cachedImage); 120 size_t memoryUsageInBytes = ImageDecodingStore::instance()->memoryUsageInBytes(); 122 ImageDecodingStore::instance()->setCacheLimitInBytes(memoryUsageInBytes - 1); 124 ImageDecodingStore::instance()->setCacheLimitInBytes(0); 132 ImageDecodingStore::instance()->unlockCache(m_generator.get(), cachedImage); 146 EXPECT_EQ(3u, ImageDecodingStore::instance()->cacheEntries()); 149 EXPECT_EQ(2u, ImageDecodingStore::instance()->cacheEntries()); 152 EXPECT_EQ(1u, ImageDecodingStore::instance()->cacheEntries()) [all...] |