/external/chromium_org/ppapi/tests/ |
H A D | test_tcp_socket_private.cc | 42 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 D | test_graphics_2d.cc | 77 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 D | test_url_loader.cc | 67 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 D | test_audio_config.cc | 30 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 D | test_udp_socket_private.cc | 33 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 D | test_host_resolver_private.cc | 25 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 D | test_file_ref.cc | 54 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 D | test_network_monitor.cc | 135 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 D | test_pdf.cc | 26 pp::Var string = pp::PDF::GetLocalizedString(instance_, 36 pp::PDF::GetResourceImage(instance_, PP_RESOURCEIMAGE_PDF_BUTTON_ZOOMIN);
|
H A D | test_platform_verification_private.cc | 26 pp::PlatformVerification platform_verification_api(instance_); 33 TestCompletionCallback callback(instance_->pp_instance(), callback_type());
|
H A D | test_tcp_socket.cc | 49 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 D | test_url_util.cc | 112 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 D | delayed_callback_runner_unittest.cc | 42 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 D | message_channel.cc | 104 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 D | pepper_try_catch.cc | 24 : 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 D | v8object_var.h | 48 content::PepperPluginInstanceImpl* instance() const { return instance_; } 57 content::PepperPluginInstanceImpl* instance_; member in class:ppapi::V8ObjectVar
|
/external/chromium_org/content/child/npapi/ |
H A D | webplugin_delegate_impl.cc | 55 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 D | paint_manager.cc | 15 : 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 D | metro_viewer_process_host.cc | 37 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 D | crash_dump_manager_android.cc | 28 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 D | module_registry_unittest.cc | 80 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 D | echo_server.h | 20 : 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 D | fake_pepper_interface.cc | 33 instance_ = CREATE_RESOURCE(&resource_manager_, 39 core_interface_.ReleaseResource(instance_);
|
H A D | fake_pepper_interface.h | 33 virtual PP_Instance GetInstance() { return instance_; } 39 PP_Instance instance_; member in class:FakePepperInterface
|
/external/chromium_org/third_party/tcmalloc/chromium/src/ |
H A D | profiler.cc | 95 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);
|