Searched refs:instance_ (Results 76 - 100 of 316) sorted by relevance

1234567891011>>

/external/chromium_org/ppapi/tests/
H A Dtest_tcp_socket_private.cc42 if (!GetLocalHostPort(instance_->pp_instance(), &host_, &port_))
46 ssl_port_ = instance_->ssl_server_port();
61 pp::TCPSocketPrivate socket(instance_);
62 TestCompletionCallback cb(instance_->pp_instance(), callback_type());
79 pp::TCPSocketPrivate socket(instance_);
80 TestCompletionCallback cb(instance_->pp_instance(), callback_type());
99 pp::TCPSocketPrivate socket(instance_);
100 TestCompletionCallback cb(instance_->pp_instance(), callback_type());
128 pp::TCPSocketPrivate socket(instance_);
129 TestCompletionCallback cb(instance_
[all...]
H A Dtest_graphics_2d.cc77 testing_interface_->QuitMessageLoop(instance_->pp_instance());
91 pp::ImageData readback(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL,
101 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
177 pp::ImageData readback(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL,
190 pp::ImageData image(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL, size, true);
206 pp::ImageData image(instance_, PP_IMAGEDATAFORMAT_BGRA_PREMUL,
242 TestCompletionCallback cb(instance_->pp_instance(), PP_OPTIONAL);
264 pp::Graphics2D a(instance_, pp::Size(16, 0), false);
265 ASSERT_FALSE(CanFlushContext(instance_, &a));
267 pp::Graphics2D b(instance_, p
[all...]
H A Dtest_url_loader.cc67 instance_->AppendError("Testing interface not available");
74 instance_->AppendError("FileIO interface not available");
79 instance_->AppendError("FileIO_Private interface not available");
86 instance_->AppendError("URLLoaderTrusted interface not available");
89 instance_->AppendError("URLLoaderTrusted interface is supported by NaCl");
156 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
176 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
195 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
197 pp::URLLoader loader(instance_);
224 TestCompletionCallback callback(instance_
[all...]
H A Dtest_audio_config.cc30 instance_->pp_instance());
63 instance_->pp_instance(), sample_rate, request_frame_count);
68 instance_->pp_instance(), sample_rate, frame_count);
84 instance_->pp_instance(),
92 instance_->pp_instance(),
97 instance_->pp_instance(),
H A Dtest_udp_socket_private.cc33 instance_->AppendError("PPB_TCPSocket_Private interface not available");
37 instance_->AppendError("PPB_UDPSocket_Private interface not available");
41 instance_->AppendError("PPB_NetAddress_Private interface not available");
43 bool init_host_port = GetLocalHostPort(instance_->pp_instance(),
46 instance_->AppendError("Can't init host and port");
65 pp::TCPSocketPrivate socket(instance_);
66 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
94 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
126 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
139 TestCompletionCallback callback(instance_
[all...]
H A Dtest_host_resolver_private.cc25 instance_->AppendError("PPB_HostResolver_Private interface not available");
29 instance_->AppendError("PPB_TCPSocket_Private interface not available");
32 GetLocalHostPort(instance_->pp_instance(), &host_, &port_);
34 instance_->AppendError("Can't init host and port");
52 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
63 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
75 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
88 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
120 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
128 pp::HostResolverPrivate host_resolver(instance_);
[all...]
H A Dtest_file_ref.cc54 pp::URLRequestInfo request(instance_);
58 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
60 pp::URLLoader loader(instance_);
78 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
80 instance_->pp_instance(), callback_type());
135 instance_, PP_FILESYSTEMTYPE_LOCALPERSISTENT);
137 instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY);
155 instance_, PP_FILESYSTEMTYPE_LOCALPERSISTENT);
157 instance_, PP_FILESYSTEMTYPE_LOCALTEMPORARY);
176 instance_, PP_FILESYSTEMTYPE_LOCALPERSISTEN
[all...]
H A Dtest_network_monitor.cc135 instance_->pp_instance());
136 pp::NetworkMonitor network_monitor(instance_);
148 instance_->pp_instance());
149 pp::NetworkMonitor network_monitor(instance_);
157 instance_->pp_instance());
158 pp::NetworkMonitor network_monitor_2(instance_);
170 new pp::NetworkMonitor(instance_);
173 instance_->pp_instance());
H A Dtest_pdf.cc26 pp::Var string = pp::PDF::GetLocalizedString(instance_,
36 pp::PDF::GetResourceImage(instance_, PP_RESOURCEIMAGE_PDF_BUTTON_ZOOMIN);
H A Dtest_platform_verification_private.cc26 pp::PlatformVerification platform_verification_api(instance_);
33 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
H A Dtest_tcp_socket.cc49 if (!GetLocalHostPort(instance_->pp_instance(), &host, &port))
52 if (!ResolveHost(instance_->pp_instance(), host, port, &addr_))
70 pp::TCPSocket socket(instance_);
71 TestCompletionCallback cb(instance_->pp_instance(), callback_type());
90 pp::TCPSocket socket(instance_);
91 TestCompletionCallback cb(instance_->pp_instance(), callback_type());
120 pp::TCPSocket socket(instance_);
121 TestCompletionCallback cb(instance_->pp_instance(), callback_type());
138 pp::TCPSocket socket(instance_);
139 TestCompletionCallback cb_1(instance_
[all...]
H A Dtest_url_util.cc112 ASSERT_FALSE(util_->DocumentCanRequest(instance_, "http://evil.com/"));
118 ASSERT_TRUE(util_->DocumentCanAccessDocument(instance_, instance_));
123 pp::Var url = util_->GetDocumentURL(instance_);
125 pp::VarPrivate window = instance_->GetWindowObject();
134 pp::Var url = util_->GetPluginInstanceURL(instance_);
142 pp::Var url = util_->GetPluginReferrerURL(instance_);
144 pp::VarPrivate window = instance_->GetWindowObject();
/external/chromium_org/chrome/browser/safe_browsing/incident_reporting/
H A Ddelayed_callback_runner_unittest.cc42 instance_->RegisterCallback(MakeCallback(name));
51 instance_.reset(new safe_browsing::DelayedCallbackRunner(
56 virtual void TearDown() OVERRIDE { instance_.reset(); }
92 scoped_ptr<safe_browsing::DelayedCallbackRunner> instance_; member in class:DelayedCallbackRunnerTest
108 instance_.reset();
117 instance_->Start();
137 instance_->Start();
150 instance_->Start();
156 instance_->Start();
/external/chromium_org/content/renderer/pepper/
H A Dmessage_channel.cc104 if (instance_)
105 instance_->MessageChannelDestroyed();
110 instance_ = NULL;
118 v8::Local<v8::Context> context = instance_->GetMainWorldContext();
125 if (!V8VarConverter(instance_->pp_instance())
127 PpapiGlobals::Get()->LogWithSource(instance_->pp_instance(),
155 ppapi::proxy::HostDispatcher::GetForInstance(instance_->pp_instance());
172 passthrough_object_.Reset(instance_->GetIsolate(), passthrough);
186 instance_(instance),
214 if (!instance_)
[all...]
H A Dpepper_try_catch.cc24 : instance_(instance),
35 V8VarConverter converter(instance_->pp_instance(), convert_objects_);
51 V8VarConverter converter(instance_->pp_instance(), convert_objects_);
68 DCHECK(isolate == instance_->GetIsolate());
86 return instance_->GetIsolate()->GetCurrentContext();
102 instance_->GetIsolate()->ThrowException(v8::Exception::Error(
103 gin::StringToV8(instance_->GetIsolate(), message)));
125 handle_scope_(instance_->GetIsolate()),
162 return instance_->GetMainWorldContext();
H A Dv8object_var.h48 content::PepperPluginInstanceImpl* instance() const { return instance_; }
57 content::PepperPluginInstanceImpl* instance_; member in class:ppapi::V8ObjectVar
/external/chromium_org/content/child/npapi/
H A Dwebplugin_delegate_impl.cc55 if (instance_->plugin_lib()->plugin_info().name.find(
60 instance_->set_web_plugin(plugin_);
81 creation_succeeded_ = instance_->Start(
88 windowless_ = instance_->windowless();
104 if (instance_.get() && (instance_->npp()->ndata != NULL)) {
109 instance_->CloseStreams();
114 instance_->NPP_SetWindow(&window_);
117 instance_->NPP_Destroy();
119 instance_
[all...]
/external/chromium_org/ppapi/utility/graphics/
H A Dpaint_manager.cc15 : instance_(NULL),
30 : instance_(instance),
51 PP_DCHECK(!instance_ && !client_); // Can't initialize twice.
52 instance_ = instance;
135 graphics_ = Graphics2D(instance_, pending_size_, is_always_opaque_);
177 instance_->BindGraphics(graphics_);
/external/chromium_org/win8/viewer/
H A Dmetro_viewer_process_host.cc37 MetroViewerProcessHost* MetroViewerProcessHost::instance_ = NULL; member in class:win8::MetroViewerProcessHost
51 DCHECK(!instance_);
52 instance_ = this;
62 instance_ = NULL;
83 instance_ = NULL;
163 if (instance_) {
164 instance_->Send(
171 if (instance_)
172 instance_->Send(new MetroViewerHostMsg_MetroExit());
182 if (instance_) {
[all...]
/external/chromium_org/components/crash/browser/
H A Dcrash_dump_manager_android.cc28 CrashDumpManager* CrashDumpManager::instance_ = NULL; member in class:breakpad::CrashDumpManager
32 return instance_;
38 DCHECK(!instance_);
40 instance_ = this;
53 instance_ = NULL;
101 if (instance_->crash_dump_dir_.empty()) {
109 base::FilePath dest_path = instance_->crash_dump_dir_.Append(filename);
118 instance_->crash_dump_dir_.Append(filename).value();
/external/chromium_org/gin/modules/
H A Dmodule_registry_unittest.cc80 v8::Isolate::Scope isolate_scope(instance_->isolate());
81 v8::HandleScope handle_scope(instance_->isolate());
83 instance_->isolate(), NULL, v8::Handle<v8::ObjectTemplate>());
85 ContextHolder context_holder(instance_->isolate());
96 TestHelper helper(instance_->isolate());
118 TestHelper helper(instance_->isolate());
126 base::Bind(OnModuleLoaded, &helper, instance_->isolate(), &counter);
129 ->LoadModule(instance_->isolate(), "one", callback);
/external/chromium_org/native_client_sdk/src/examples/api/socket/
H A Decho_server.h20 : instance_(instance),
38 pp::Instance* instance_; member in class:EchoServer
/external/chromium_org/native_client_sdk/src/tests/nacl_io_test/fake_ppapi/
H A Dfake_pepper_interface.cc33 instance_ = CREATE_RESOURCE(&resource_manager_,
39 core_interface_.ReleaseResource(instance_);
H A Dfake_pepper_interface.h33 virtual PP_Instance GetInstance() { return instance_; }
39 PP_Instance instance_; member in class:FakePepperInterface
/external/chromium_org/third_party/tcmalloc/chromium/src/
H A Dprofiler.cc95 static CpuProfiler instance_; member in class:CpuProfiler
134 CpuProfiler CpuProfiler::instance_; member in class:CpuProfiler
296 CpuProfiler::instance_.FlushTable();
300 return CpuProfiler::instance_.Enabled();
304 return CpuProfiler::instance_.Start(fname, NULL);
309 return CpuProfiler::instance_.Start(fname, options);
313 CpuProfiler::instance_.Stop();
318 CpuProfiler::instance_.GetCurrentState(state);

Completed in 1122 milliseconds

1234567891011>>