Searched refs:instance_ (Results 1 - 25 of 316) sorted by relevance

1234567891011>>

/external/chromium_org/third_party/webrtc/sound/
H A Dplatformsoundsystemfactory.cc25 if (!instance_.get()) {
26 instance_.reset(CreatePlatformSoundSystem());
28 if (!instance_->Init()) {
36 instance_->Terminate();
H A Dnullsoundsystemfactory.cc24 instance_.reset(new NullSoundSystem());
29 instance_.reset();
/external/chromium_org/ui/ozone/public/
H A Dozone_platform.cc24 DCHECK(!instance_) << "There should only be a single OzonePlatform.";
25 instance_ = this;
31 DCHECK_EQ(instance_, this);
32 instance_ = NULL;
41 instance_->InitializeUI();
53 instance_->InitializeGPU();
58 DCHECK(instance_) << "OzonePlatform is not initialized";
59 return instance_;
64 if (!instance_) {
74 DCHECK_EQ(instance_, p
79 OzonePlatform* OzonePlatform::instance_; member in class:ui::OzonePlatform
[all...]
/external/chromium_org/gin/test/
H A Dv8_test.cc25 instance_.reset(new gin::IsolateHolder);
26 instance_->isolate()->Enter();
27 HandleScope handle_scope(instance_->isolate());
28 context_.Reset(instance_->isolate(), Context::New(instance_->isolate()));
29 Local<Context>::New(instance_->isolate(), context_)->Enter();
34 HandleScope handle_scope(instance_->isolate());
35 Local<Context>::New(instance_->isolate(), context_)->Exit();
38 instance_->isolate()->Exit();
39 instance_
[all...]
/external/chromium_org/base/test/
H A Dmock_time_provider.cc12 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/media/ozone/
H A Dmedia_ozone_platform.cc52 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/content/browser/geolocation/
H A Dwifi_data_provider_manager.cc12 WifiDataProviderManager* WifiDataProviderManager::instance_ = NULL; member in class:content::WifiDataProviderManager
33 if (!instance_) {
34 instance_ = new WifiDataProviderManager();
37 DCHECK(instance_);
38 instance_->AddCallback(callback);
42 instance_->StartDataProvider();
43 return instance_;
48 DCHECK(instance_);
49 DCHECK(instance_->has_callbacks());
50 if (!instance_
[all...]
/external/chromium_org/ppapi/shared_impl/
H A Dhost_resource.h58 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
H A Dhost_resource.cc9 HostResource::HostResource() : instance_(0), host_resource_(0) {}
19 instance_ = instance;
/external/chromium_org/third_party/webrtc/base/
H A Dreferencecountedsingletonfactory.h48 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_
149 Interface* instance_; member in class:rtc::rcsf_ptr
[all...]
/external/chromium_org/ui/base/test/
H A Dui_controls_aura.cc11 UIControlsAura* instance_ = NULL; member in namespace:ui_controls::__anon16666
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/gin/
H A Dconverter_unittest.cc34 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_
[all...]
/external/chromium_org/content/renderer/pepper/
H A Dpepper_webplugin_impl.cc85 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;
134 instance_object_ = instance_->GetInstanceObject(isolate);
136 // from the DOM, in which case instance_ woul
[all...]
H A Dv8object_var.cc19 : instance_(content::HostGlobals::Get()->GetInstance(instance)) {
20 v8_object_.Reset(instance_->GetIsolate(), v8_object);
25 if (instance_)
39 if (instance_)
40 return v8::Local<v8::Object>::New(instance_->GetIsolate(), v8_object_);
47 DCHECK(instance_);
48 instance_ = NULL;
/external/chromium_org/ppapi/cpp/
H A Dfullscreen.cc24 : instance_(instance) {
33 instance_.pp_instance());
40 instance_.pp_instance(), PP_FromBool(fullscreen)));
47 instance_.pp_instance(), &size->pp_size()));
H A Dtext_input_controller.cc23 : 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/third_party/libphonenumber/src/phonenumbers/base/memory/
H A Dsingleton_posix.h34 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/views/window/
H A Dwindow_button_order_provider.cc10 WindowButtonOrderProvider* WindowButtonOrderProvider::instance_ = NULL; member in class:views::WindowButtonOrderProvider
17 if (!instance_)
18 instance_ = new WindowButtonOrderProvider;
19 return instance_;
/external/chromium_org/ppapi/tests/
H A Dtest_mouse_cursor.cc31 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_
[all...]
H A Dtest_host_resolver_private_disallowed.cc23 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());
H A Dtest_video_decoder.cc22 graphics_3d_ = pp::Graphics3D(instance_, attribs);
33 pp::VideoDecoder video_decoder(instance_);
36 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
47 pp::VideoDecoder video_decoder(instance_);
48 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
60 pp::VideoDecoder video_decoder(instance_);
61 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
/external/chromium_org/ppapi/cpp/dev/
H A Dtext_input_dev.cc45 : 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_
[all...]
/external/chromium_org/ppapi/cpp/private/
H A Dflash_fullscreen.cc28 : 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()));
H A Disolated_file_system_private.cc20 : instance_(0), type_(PP_ISOLATEDFILESYSTEMTYPE_PRIVATE_INVALID) {
26 : instance_(instance.pp_instance()), type_(type) {
37 Open(instance_, type_, cc.output(), cc.pp_completion_callback());
/external/chromium_org/native_client_sdk/src/examples/api/socket/
H A Decho_server.cc37 instance_->PostMessage("TCPSocket not available");
41 listening_socket_ = pp::TCPSocket(instance_);
43 instance_->PostMessage("Error creating TCPSocket.");
49 instance_->PostMessage(status.str());
54 pp::NetAddress addr(instance_, ipv4_addr);
59 instance_->PostMessage("Error binding listening socket.");
68 instance_->PostMessage(status.str());
77 instance_->PostMessage("server: Error listening on server socket.");
86 instance_->PostMessage(status.str());
92 instance_
[all...]

Completed in 529 milliseconds

1234567891011>>