/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/ui/ozone/ |
ozone_platform.cc | 23 CHECK(!instance_) << "There should only be a single OzonePlatform."; 24 instance_ = this; 30 CHECK_EQ(instance_, this); 31 instance_ = NULL; 40 instance_->InitializeUI(); 49 instance_->InitializeGPU(); 54 CHECK(instance_) << "OzonePlatform is not initialized"; 55 return instance_; 60 if (!instance_) { 69 CHECK_EQ(instance_, platform.release()) 74 OzonePlatform* OzonePlatform::instance_; member in class:ui::OzonePlatform [all...] |
/external/chromium_org/ppapi/shared_impl/ |
host_resource.h | 58 PP_Instance instance() const { return instance_; } 62 if (instance_ != other.instance_) 63 return instance_ < other.instance_; 68 PP_Instance instance_; member in class:ppapi::HostResource
|
host_resource.cc | 9 HostResource::HostResource() : instance_(0), host_resource_(0) {} 19 instance_ = instance;
|
/external/chromium_org/gin/test/ |
v8_test.cc | 22 instance_.reset(new gin::IsolateHolder(gin::IsolateHolder::kStrictMode)); 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/webrtc/base/ |
referencecountedsingletonfactory.h | 48 scoped_ptr<Interface> instance_; member in class:rtc::ReferenceCountedSingletonFactory 58 ASSERT(instance_.get() != NULL); 63 return instance_.get(); 69 ASSERT(instance_.get() != NULL); 89 : instance_(NULL), 99 return *instance_; 104 return instance_; 111 return instance_; 117 if (instance_) { 118 instance_ = NULL 149 Interface* instance_; member in class:rtc::rcsf_ptr [all...] |
/external/chromium_org/media/ozone/ |
media_ozone_platform.cc | 52 CHECK(!instance_) << "There should only be a single MediaOzonePlatform."; 53 instance_ = this; 57 CHECK_EQ(instance_, this); 58 instance_ = NULL; 63 if (!instance_) 65 return instance_; 76 if (instance_) 87 CHECK_EQ(instance_, platform.release()); 91 MediaOzonePlatform* MediaOzonePlatform::instance_; member in class:media::MediaOzonePlatform
|
/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::__anon20546 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 | 85 instance_ = init_data_->module->CreateInstance( 87 if (!instance_.get()) 93 bool success = instance_->Initialize( 96 instance_->Delete(); 97 instance_ = NULL; 119 if (instance_.get()) { 122 instance_->Delete(); 123 instance_ = NULL; 133 instance_object_ = instance_->GetInstanceObject(); 135 // 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_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/ui/views/window/ |
window_button_order_provider.cc | 10 WindowButtonOrderProvider* WindowButtonOrderProvider::instance_ = NULL; member in class:views::WindowButtonOrderProvider 17 if (!instance_) 18 instance_ = new WindowButtonOrderProvider; 19 return instance_;
|
/external/chromium_org/chrome/browser/ui/views/profiles/ |
user_manager_view.cc | 57 UserManagerView* UserManagerView::instance_ = NULL; 71 if (instance_) { 73 instance_->GetWidget()->Activate(); 88 if (instance_) 89 instance_->GetWidget()->Close(); 94 return instance_ ? instance_->GetWidget()->IsActive() : false; 102 instance_ = instance.release(); // |instance_| takes over ownership. 103 instance_->Init(guest_profile, GURL(url)) [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());
|
test_video_decoder.cc | 24 graphics_3d_ = pp::Graphics3D(instance_, attribs); 35 pp::VideoDecoder video_decoder(instance_); 38 TestCompletionCallback callback(instance_->pp_instance(), callback_type()); 48 pp::VideoDecoder video_decoder(instance_); 49 TestCompletionCallback callback(instance_->pp_instance(), callback_type()); 60 pp::VideoDecoder video_decoder(instance_); 61 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_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());
|