Searched refs:instance_ (Results 26 - 50 of 316) sorted by relevance

1234567891011>>

/external/chromium_org/base/test/
H A Dmock_time_provider.h63 static MockTimeProvider* instance_; member in class:base::MockTimeProvider
/external/chromium_org/gin/
H A Dper_context_data_unittest.cc19 v8::Isolate::Scope isolate_scope(instance_->isolate());
20 v8::HandleScope handle_scope(instance_->isolate());
22 instance_->isolate(), NULL, v8::Handle<v8::ObjectTemplate>());
24 ContextHolder context_holder(instance_->isolate());
/external/chromium_org/remoting/client/plugin/
H A Dpepper_audio_player.cc18 : instance_(instance),
46 instance_, pp_sampling_rate,
51 instance_, pp_sampling_rate, samples_per_frame_);
54 audio_ = pp::Audio(instance_, audio_config, AudioPlayerCallback, this);
/external/chromium_org/base/memory/
H A Dsingleton.h237 // instance_ pointer must acquire visibility over the singleton data.
238 base::subtle::AtomicWord value = base::subtle::Acquire_Load(&instance_);
241 ANNOTATE_HAPPENS_AFTER(&instance_);
247 &instance_, 0, base::internal::kBeingCreatedMarker) == 0) {
248 // instance_ was NULL and is now kBeingCreatedMarker. Only one thread
256 ANNOTATE_HAPPENS_BEFORE(&instance_);
257 // Releases the visibility over instance_ to the readers.
259 &instance_, reinterpret_cast<base::subtle::AtomicWord>(newval));
268 value = base::internal::WaitForInstance(&instance_);
271 ANNOTATE_HAPPENS_AFTER(&instance_);
285 static base::subtle::AtomicWord instance_; member in class:Singleton
290 instance_ = 0; member in class:Singleton
[all...]
/external/chromium_org/ppapi/cpp/private/
H A Dext_crx_file_system_private.cc24 const InstanceHandle& instance) : instance_(instance.pp_instance()) {
35 Open(instance_, cc.output(), cc.pp_completion_callback());
H A Duma_private.cc27 const InstanceHandle& instance) : instance_(instance.pp_instance()) {
45 HistogramCustomTimes(instance_, pp::Var(name).pp_var(),
57 HistogramCustomCounts(instance_, pp::Var(name).pp_var(),
67 HistogramEnumeration(instance_, pp::Var(name).pp_var(),
76 IsCrashReportingEnabled(instance_, cc.pp_completion_callback());
/external/chromium_org/ppapi/tests/
H A Dtest_video_decoder_dev.cc25 testing_interface_->QuitMessageLoop(instance_->pp_instance());
30 instance_->pp_instance(), 0, static_cast<PP_VideoDecoder_Profile>(-1));
H A Dtest_video_destination.cc35 event_(instance_->pp_instance()) {
44 instance_->AppendError(
50 instance_->AppendError("PPB_Core interface not available");
86 instance_->pp_instance());
107 instance_->EvalScript(js_code);
110 pp::VideoDestination_Private video_destination(instance_);
111 TestCompletionCallback cc1(instance_->pp_instance(), false);
115 pp::ImageData image_data(instance_,
H A Dtest_flash.cc35 Flash::SetInstanceAlwaysOnTop(instance_, PP_TRUE);
36 Flash::SetInstanceAlwaysOnTop(instance_, PP_FALSE);
41 Var result = Flash::GetProxyForURL(instance_, "http://127.0.0.1/foobar/");
46 result = Flash::GetProxyForURL(instance_, "http://www.google.com");
50 result = Flash::GetProxyForURL(instance_, "file:///tmp");
55 result = Flash::GetProxyForURL(instance_, "this_isnt_an_url");
63 double result = Flash::GetLocalTimeZoneOffset(instance_, 1321491298.0);
80 Var is_3denabled = Flash::GetSetting(instance_, PP_FLASHSETTING_3DENABLED);
83 Var is_incognito = Flash::GetSetting(instance_, PP_FLASHSETTING_INCOGNITO);
86 Var is_stage3denabled = Flash::GetSetting(instance_,
[all...]
H A Dtest_file_system.cc29 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
32 pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY);
40 pp::FileSystem fs(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY);
52 TestCompletionCallback callback_1(instance_->pp_instance(), callback_type());
53 pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY);
56 TestCompletionCallback callback_2(instance_->pp_instance(), callback_type());
66 TestCompletionCallback callback_3(instance_->pp_instance(), callback_type());
76 pp::FileSystem file_system(instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY);
85 pp::FileIO non_file_system(instance_);
H A Dtest_talk_private.cc27 instance_->AppendError("Testing interface not available");
36 instance_->AppendError("TalkPrivate interface is supported by NaCl");
39 instance_->AppendError("TalkPrivate interface not available");
62 instance_->pp_instance());
64 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
H A Dtest_tcp_server_socket_private_disallowed.cc27 instance_->AppendError("PPB_Core interface not available");
34 instance_->AppendError(
40 instance_->AppendError("PPB_NetAddress_Private interface not available");
54 tcp_server_socket_private_interface_->Create(instance_->pp_instance());
62 TestCompletionCallback callback(instance_->pp_instance());
H A Dtest_input_event.cc72 instance_->EvalScript(js_code);
120 instance_->EvalScript(js_code);
129 instance_,
141 instance_,
153 instance_,
164 instance_,
178 pp::TouchInputEvent touch_event(instance_, type, 100, 0);
188 instance_->PostMessage(pp::Var(FINISHED_WAITING_MESSAGE));
189 testing_interface_->RunMessageLoop(instance_->pp_instance());
199 testing_interface_->SimulateInputEvent(instance_
[all...]
H A Dtest_tcp_socket_private_disallowed.cc29 instance_->AppendError("TCPSocketPrivate interface not available");
39 tcp_socket_private_interface_->Create(instance_->pp_instance());
41 TestCompletionCallback callback(instance_->pp_instance());
H A Dtest_udp_socket_private_disallowed.cc23 instance_->AppendError("UDPSocketPrivate interface not available");
33 udp_socket_private_interface_->Create(instance_->pp_instance());
38 TestCompletionCallback callback(instance_->pp_instance());
H A Dtest_flash_file.cc121 FileModuleLocal::DeleteFileOrDir(instance_, std::string(), true);
123 FileModuleLocal::CreateDir(instance_, std::string());
129 PP_FileHandle file_handle = FileModuleLocal::OpenFile(instance_,
141 file_handle = FileModuleLocal::OpenFile(instance_,
161 PP_FileHandle file_handle = FileModuleLocal::OpenFile(instance_,
169 ASSERT_TRUE(FileModuleLocal::RenameFile(instance_, filename, new_filename));
171 file_handle = FileModuleLocal::OpenFile(instance_,
181 ASSERT_FALSE(FileModuleLocal::QueryFile(instance_, filename, &unused));
193 PP_FileHandle file_handle = FileModuleLocal::OpenFile(instance_,
200 ASSERT_TRUE(FileModuleLocal::DeleteFileOrDir(instance_, filenam
[all...]
H A Dtest_network_proxy.cc23 TestCompletionCallbackWithOutput<pp::Var> callback(instance_->pp_instance(),
26 pp::NetworkProxy::GetProxyForURL(instance_,
37 pp::NetworkProxy::GetProxyForURL(instance_,
47 pp::NetworkProxy::GetProxyForURL(instance_,
58 pp::NetworkProxy::GetProxyForURL(instance_,
66 pp::NetworkProxy::GetProxyForURL(instance_,
/external/chromium_org/content/child/npapi/
H A Dwebplugin_ime_win.h75 explicit ScopedLock(WebPluginIMEWin* instance) : instance_(instance) {
76 if (instance_)
77 instance_->Lock();
80 if (instance_)
81 instance_->Unlock();
85 WebPluginIMEWin* instance_; member in class:content::WebPluginIMEWin::ScopedLock
116 // member variable |instance_| to access a WebPluginIMEWIn instance. We lock
178 static WebPluginIMEWin* instance_; member in class:content::WebPluginIMEWin
/external/chromium_org/content/test/
H A Dppapi_unittest.cc90 instance_ = PepperPluginInstanceImpl::Create(NULL, module(), NULL, GURL());
94 instance_ = NULL;
107 DCHECK(instance_->HasOneRef());
108 instance_ = NULL;
114 instance_->view_data_.rect = PP_FromGfxRect(gfx::Rect(0, 0, width, height));
115 instance_->view_data_.clip_rect = instance_->view_data_.rect;
H A Dppapi_unittest.h31 PepperPluginInstanceImpl* instance() const { return instance_.get(); }
46 scoped_refptr<PepperPluginInstanceImpl> instance_; member in class:content::PpapiUnittest
/external/chromium_org/ui/events/
H A Ddevice_data_manager.cc17 DeviceDataManager* DeviceDataManager::instance_ = NULL; member in class:ui::DeviceDataManager
20 CHECK(!instance_) << "Can not create multiple instances of DeviceDataManager";
21 instance_ = this;
33 CHECK_EQ(this, instance_);
34 instance_ = NULL;
38 DeviceDataManager* DeviceDataManager::instance() { return instance_; }
50 CHECK(instance_) << "DeviceDataManager was not created.";
51 return instance_;
56 return instance_ != NULL;
/external/chromium_org/chrome/browser/ui/views/profiles/
H A Duser_manager_view.cc39 UserManagerView* instance_ = NULL; member in namespace:__anon5328
50 if (instance_) {
56 instance_->GetWidget()->Activate();
72 if (instance_)
73 instance_->GetWidget()->Close();
77 return instance_ ? instance_->GetWidget()->IsActive() : false;
100 DCHECK(!instance_);
101 instance_ = instance.release(); // |instance_| take
[all...]
/external/chromium_org/native_client_sdk/src/examples/api/url_loader/
H A Durl_loader_handler.h37 static URLLoaderHandler* Create(pp::Instance* instance_,
43 URLLoaderHandler(pp::Instance* instance_, const std::string& url);
76 pp::Instance* instance_; // Weak pointer. member in class:URLLoaderHandler
/external/chromium_org/ppapi/native_client/tests/ppapi_test_lib/
H A Dtestable_callback.cc16 instance_(instance) {
26 PPBTestingPrivate()->RunMessageLoop(instance_);
51 PPBTestingPrivate()->QuitMessageLoop(callback->instance_);
/external/chromium_org/ui/events/platform/
H A Dplatform_event_source.cc17 PlatformEventSource* PlatformEventSource::instance_ = NULL; member in class:ui::PlatformEventSource
22 CHECK(!instance_) << "Only one platform event source can be created.";
23 instance_ = this;
27 CHECK_EQ(this, instance_);
28 instance_ = NULL;
31 PlatformEventSource* PlatformEventSource::GetInstance() { return instance_; }

Completed in 426 milliseconds

1234567891011>>