/external/chromium_org/third_party/libjingle/source/talk/sound/ |
platformsoundsystemfactory.cc | 42 if (!instance_.get()) { 43 instance_.reset(CreatePlatformSoundSystem()); 45 if (!instance_->Init()) { 53 instance_->Terminate();
|
nullsoundsystemfactory.cc | 41 instance_.reset(new NullSoundSystem()); 46 instance_.reset();
|
/external/chromium_org/ppapi/shared_impl/ |
host_resource.h | 62 PP_Instance instance() const { return instance_; } 66 if (instance_ != other.instance_) 67 return instance_ < other.instance_; 72 PP_Instance instance_; member in class:ppapi::HostResource
|
host_resource.cc | 9 HostResource::HostResource() : instance_(0), host_resource_(0) { 20 instance_ = instance;
|
/external/chromium_org/gin/test/ |
v8_test.cc | 22 instance_.reset(new gin::IsolateHolder); 23 instance_->isolate()->Enter(); 24 HandleScope handle_scope(instance_->isolate()); 25 context_.Reset(instance_->isolate(), Context::New(instance_->isolate())); 26 Local<Context>::New(instance_->isolate(), context_)->Enter(); 31 HandleScope handle_scope(instance_->isolate()); 32 Local<Context>::New(instance_->isolate(), context_)->Exit(); 35 instance_->isolate()->Exit(); 36 instance_.reset() [all...] |
/external/chromium_org/base/test/ |
mock_time_provider.cc | 12 MockTimeProvider* MockTimeProvider::instance_ = NULL; member in class:base::MockTimeProvider 15 DCHECK(!instance_) << "Only one instance of MockTimeProvider can exist"; 17 instance_ = this; 22 instance_ = NULL; 28 return instance_->Now();
|
/external/chromium_org/third_party/libjingle/source/talk/base/ |
referencecountedsingletonfactory.h | 65 scoped_ptr<Interface> instance_; member in class:talk_base::ReferenceCountedSingletonFactory 75 ASSERT(instance_.get() != NULL); 80 return instance_.get(); 86 ASSERT(instance_.get() != NULL); 106 : instance_(NULL), 116 return *instance_; 121 return instance_; 128 return instance_; 134 if (instance_) { 135 instance_ = NULL 166 Interface* instance_; member in class:talk_base::rcsf_ptr [all...] |
/external/chromium_org/third_party/libphonenumber/src/phonenumbers/base/memory/ |
singleton_posix.h | 34 return instance_; 39 instance_ = new T(); 42 static T* instance_; // Leaky singleton. member in class:i18n::phonenumbers::Singleton 46 template <class T> T* Singleton<T>::instance_; member in class:i18n::phonenumbers::Singleton
|
/external/chromium_org/ui/base/test/ |
ui_controls_aura.cc | 11 UIControlsAura* instance_ = NULL; member in namespace:ui_controls::__anon17513 27 return instance_->SendKeyPress( 40 return instance_->SendKeyPressNotifyWhenDone( 47 return instance_->SendMouseMove(x, y); 55 return instance_->SendMouseMoveNotifyWhenDone(x, y, task); 61 return instance_->SendMouseEvents(type, state); 69 return instance_->SendMouseEventsNotifyWhenDone(type, state, task); 75 return instance_->SendMouseClick(type); 80 instance_->RunClosureAfterAllPendingUIEvents(closure); 91 delete instance_; [all...] |
/external/chromium_org/content/renderer/pepper/ |
pepper_webplugin_impl.cc | 90 instance_ = init_data_->module->CreateInstance( 92 if (!instance_.get()) 98 bool success = instance_->Initialize(init_data_->arg_names, 102 instance_->Delete(); 103 instance_ = NULL; 125 if (instance_.get()) { 128 instance_->Delete(); 129 instance_ = NULL; 139 instance_object_ = instance_->GetInstanceObject(); 141 // from the DOM, in which case instance_ would be NULL now [all...] |
/external/chromium_org/gin/ |
converter_unittest.cc | 34 HandleScope handle_scope(instance_->isolate()); 36 EXPECT_TRUE(Converter<bool>::ToV8(instance_->isolate(), true)->StrictEquals( 37 Boolean::New(instance_->isolate(), true))); 38 EXPECT_TRUE(Converter<bool>::ToV8(instance_->isolate(), false)->StrictEquals( 39 Boolean::New(instance_->isolate(), false))); 45 { Boolean::New(instance_->isolate(), false).As<Value>(), false }, 46 { Boolean::New(instance_->isolate(), true).As<Value>(), true }, 47 { Number::New(instance_->isolate(), 0).As<Value>(), false }, 48 { Number::New(instance_->isolate(), 1).As<Value>(), true }, 49 { Number::New(instance_->isolate(), -1).As<Value>(), true } [all...] |
/external/chromium/chrome/browser/automation/ |
automation_provider_list.cc | 12 AutomationProviderList* AutomationProviderList::instance_ = NULL; member in class:AutomationProviderList 23 instance_ = NULL; 46 if (!instance_) { 47 instance_ = new AutomationProviderList; 49 DCHECK(NULL != instance_); 50 return instance_;
|
/external/chromium_org/ppapi/cpp/ |
fullscreen.cc | 24 : instance_(instance) { 33 instance_.pp_instance()); 40 instance_.pp_instance(), PP_FromBool(fullscreen))); 47 instance_.pp_instance(), &size->pp_size()));
|
text_input_controller.cc | 23 : instance_(instance) { 32 instance_.pp_instance(), type); 39 instance_.pp_instance(), &caret.pp_rect()); 46 instance_.pp_instance()); 55 instance_.pp_instance(),
|
/external/chromium_org/chrome/browser/ui/views/ |
user_manager_view.cc | 57 UserManagerView* UserManagerView::instance_ = NULL; 74 if (instance_) { 76 instance_->GetWidget()->Activate(); 94 if (instance_) 95 instance_->GetWidget()->Close(); 100 return instance_ ? instance_->GetWidget()->IsActive() : false; 110 instance_ = new UserManagerView(guest_profile); 111 DialogDelegate::CreateDialogWidget(instance_, NULL, NULL); 118 views::HWNDForWidget(instance_->GetWidget())) [all...] |
/external/chromium_org/ppapi/tests/ |
test_mouse_cursor.cc | 31 instance_->pp_instance(), PP_MOUSECURSOR_TYPE_POINTER, 0, NULL))); 33 instance_->pp_instance(), static_cast<PP_MouseCursor_Type>(-2), 40 pp::ImageData valid_image(instance_, 45 instance_->pp_instance(), PP_MOUSECURSOR_TYPE_CUSTOM, 50 instance_->pp_instance(), PP_MOUSECURSOR_TYPE_CUSTOM, 0, NULL))); 54 instance_->pp_instance(), PP_MOUSECURSOR_TYPE_POINTER, 58 pp::ImageData big_image(instance_, pp::ImageData::GetNativeImageDataFormat(), 61 instance_->pp_instance(), PP_MOUSECURSOR_TYPE_CUSTOM, 68 pp::ImageData valid_image(instance_, 73 instance_->pp_instance(), PP_MOUSECURSOR_TYPE_CUSTOM [all...] |
test_host_resolver_private_disallowed.cc | 23 instance_->AppendError("PPB_HostResolver_Private interface not available"); 26 GetLocalHostPort(instance_->pp_instance(), &host_, &port_); 28 instance_->AppendError("Can't init host and port"); 40 pp::HostResolverPrivate host_resolver(instance_); 44 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
|
/external/chromium_org/content/browser/geolocation/ |
wifi_data_provider.cc | 10 WifiDataProvider* WifiDataProvider::instance_ = NULL; member in class:content::WifiDataProvider 29 if (!instance_) { 30 instance_ = new WifiDataProvider(); 33 DCHECK(instance_); 34 instance_->AddCallback(callback); 38 instance_->StartDataProvider(); 39 return instance_; 44 DCHECK(instance_); 45 DCHECK(instance_->has_callbacks()); 46 if (!instance_->RemoveCallback(callback)) [all...] |
/external/chromium/chrome/browser/extensions/ |
extension_error_reporter.cc | 19 ExtensionErrorReporter* ExtensionErrorReporter::instance_ = NULL; member in class:ExtensionErrorReporter 23 if (!instance_) { 24 instance_ = new ExtensionErrorReporter(enable_noisy_errors); 30 CHECK(instance_) << "Init() was never called"; 31 return instance_;
|
/external/chromium_org/chrome/browser/devtools/ |
refcounted_adb_thread.cc | 13 RefCountedAdbThread* RefCountedAdbThread::instance_ = NULL; member in class:RefCountedAdbThread 18 if (!instance_) 20 return instance_; 24 instance_ = this; 45 instance_ = NULL;
|
/external/chromium_org/chrome/browser/extensions/ |
extension_error_reporter.cc | 16 ExtensionErrorReporter* ExtensionErrorReporter::instance_ = NULL; member in class:ExtensionErrorReporter 20 if (!instance_) { 21 instance_ = new ExtensionErrorReporter(enable_noisy_errors); 27 CHECK(instance_) << "Init() was never called"; 28 return instance_;
|
/external/chromium_org/ui/ozone/ |
ozone_platform.cc | 49 if (instance_) 52 instance_ = CreatePlatform(GetRequestedPlatform()); 55 gfx::SurfaceFactoryOzone::SetInstance(instance_->GetSurfaceFactoryOzone()); 56 ui::EventFactoryOzone::SetInstance(instance_->GetEventFactoryOzone()); 60 OzonePlatform* OzonePlatform::instance_; member in class:ui::OzonePlatform
|
/external/chromium_org/ppapi/cpp/dev/ |
text_input_dev.cc | 45 : instance_(instance) { 52 Instance::RemovePerInstanceObject(instance_, kPPPTextInputInterface, this); 63 instance_.pp_instance(), type); 66 instance_.pp_instance(), type); 74 instance_.pp_instance(), &caret.pp_rect(), &bounding_box.pp_rect()); 77 instance_.pp_instance(), &caret.pp_rect(), &bounding_box.pp_rect()); 84 instance_.pp_instance()); 87 instance_.pp_instance()); 94 instance_.pp_instance()); 103 instance_.pp_instance(), text.c_str(), caret, anchor) [all...] |
/external/chromium_org/ppapi/cpp/private/ |
flash_fullscreen.cc | 28 : instance_(instance) { 37 instance_.pp_instance())); 41 instance_.pp_instance())); 49 instance_.pp_instance(), PP_FromBool(fullscreen))); 53 instance_.pp_instance(), PP_FromBool(fullscreen))); 61 instance_.pp_instance(), &size->pp_size())); 65 instance_.pp_instance(), &size->pp_size()));
|
isolated_file_system_private.cc | 20 : instance_(0), type_(PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_INVALID) { 26 : instance_(instance.pp_instance()), type_(type) { 37 Open(instance_, type_, cc.output(), cc.pp_completion_callback());
|