/external/chromium_org/base/test/ |
H A D | mock_time_provider.h | 63 static MockTimeProvider* instance_; member in class:base::MockTimeProvider
|
/external/chromium_org/gin/ |
H A D | per_context_data_unittest.cc | 19 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 D | pepper_audio_player.cc | 18 : 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 D | singleton.h | 237 // 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 D | ext_crx_file_system_private.cc | 24 const InstanceHandle& instance) : instance_(instance.pp_instance()) { 35 Open(instance_, cc.output(), cc.pp_completion_callback());
|
H A D | uma_private.cc | 27 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 D | test_video_decoder_dev.cc | 25 testing_interface_->QuitMessageLoop(instance_->pp_instance()); 30 instance_->pp_instance(), 0, static_cast<PP_VideoDecoder_Profile>(-1));
|
H A D | test_video_destination.cc | 35 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 D | test_flash.cc | 35 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 D | test_file_system.cc | 29 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 D | test_talk_private.cc | 27 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 D | test_tcp_server_socket_private_disallowed.cc | 27 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 D | test_input_event.cc | 72 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 D | test_tcp_socket_private_disallowed.cc | 29 instance_->AppendError("TCPSocketPrivate interface not available"); 39 tcp_socket_private_interface_->Create(instance_->pp_instance()); 41 TestCompletionCallback callback(instance_->pp_instance());
|
H A D | test_udp_socket_private_disallowed.cc | 23 instance_->AppendError("UDPSocketPrivate interface not available"); 33 udp_socket_private_interface_->Create(instance_->pp_instance()); 38 TestCompletionCallback callback(instance_->pp_instance());
|
H A D | test_flash_file.cc | 121 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 D | test_network_proxy.cc | 23 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 D | webplugin_ime_win.h | 75 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 D | ppapi_unittest.cc | 90 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 D | ppapi_unittest.h | 31 PepperPluginInstanceImpl* instance() const { return instance_.get(); } 46 scoped_refptr<PepperPluginInstanceImpl> instance_; member in class:content::PpapiUnittest
|
/external/chromium_org/ui/events/ |
H A D | device_data_manager.cc | 17 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 D | user_manager_view.cc | 39 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 D | url_loader_handler.h | 37 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 D | testable_callback.cc | 16 instance_(instance) { 26 PPBTestingPrivate()->RunMessageLoop(instance_); 51 PPBTestingPrivate()->QuitMessageLoop(callback->instance_);
|
/external/chromium_org/ui/events/platform/ |
H A D | platform_event_source.cc | 17 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_; }
|