/external/chromium_org/ui/gfx/ |
scoped_cg_context_save_gstate_mac.h | 14 explicit ScopedCGContextSaveGState(CGContextRef context) : context_(context) { 15 CGContextSaveGState(context_); 19 CGContextRestoreGState(context_); 23 CGContextRef context_; member in class:gfx::ScopedCGContextSaveGState
|
scoped_ui_graphics_push_context_ios.mm | 14 : context_(context) { 15 UIGraphicsPushContext(context_); 19 DCHECK_EQ(context_, UIGraphicsGetCurrentContext());
|
scoped_ns_graphics_context_save_gstate_mac.mm | 14 : context_([NSGraphicsContext currentContext]) { 20 DCHECK_EQ(context_, [NSGraphicsContext currentContext]);
|
/external/chromium_org/net/url_request/ |
url_request_context_storage.cc | 29 : context_(context) { 36 context_->set_net_log(net_log); 42 context_->set_host_resolver(host_resolver.get()); 47 context_->set_cert_verifier(cert_verifier); 53 context_->set_channel_id_service(channel_id_service); 59 context_->set_fraudulent_certificate_reporter( 66 context_->set_http_auth_handler_factory(http_auth_handler_factory); 71 context_->set_proxy_service(proxy_service); 77 context_->set_ssl_config_service(ssl_config_service); 83 context_->set_network_delegate(network_delegate) [all...] |
/external/chromium_org/content/common/gpu/client/ |
gpu_context_tests.h | 43 if (!context_) 46 TestSignalSyncPoint(context_->insertSyncPoint()); 50 if (!context_) 59 if (!context_) 62 unsigned query = context_->createQueryEXT(); 63 context_->beginQueryEXT(GL_COMMANDS_ISSUED_CHROMIUM, query); 64 context_->finish(); 65 context_->endQueryEXT(GL_COMMANDS_ISSUED_CHROMIUM); 67 context_->deleteQueryEXT(query); 71 if (!context_) [all...] |
gpu_in_process_context_tests.cc | 25 context_ = WGC3DIPCBI::CreateOffscreenContext( 27 context_->InitializeOnCurrentThread(); 28 context_support_ = context_->GetContextSupport(); 32 context_.reset(NULL); 36 scoped_ptr<WebGraphicsContext3DInProcessCommandBufferImpl> context_; member in class:__anon12206::ContextTestBase
|
gl_helper_benchmark.cc | 62 context_ = webkit::gpu::WebGraphicsContext3DInProcessCommandBufferImpl:: 64 context_->InitializeOnCurrentThread(); 67 new content::GLHelper(context_->GetGLInterface(), 68 context_->GetContextSupport())); 70 context_->GetGLInterface(), 77 context_.reset(NULL); 111 context_; member in class:content::GLHelperTest 136 WebGLId src_texture = context_->createTexture(); 137 WebGLId dst_texture = context_->createTexture(); 138 WebGLId framebuffer = context_->createFramebuffer() [all...] |
/external/chromium_org/content/browser/fileapi/ |
blob_storage_host.cc | 19 : context_(context->AsWeakPtr()) { 23 if (!context_.get()) 27 context_->RevokePublicBlobURL(*iter); 32 context_->DecrementBlobRefCount(iter->first); 37 if (!context_.get() || uuid.empty() || context_->IsInUse(uuid)) 39 context_->StartBuildingBlob(uuid); 46 if (!context_.get() || !IsBeingBuiltInHost(uuid)) 48 context_->AppendBlobDataItem(uuid, data_item); 53 if (!context_.get() || !IsBeingBuiltInHost(uuid) [all...] |
/external/chromium_org/content/browser/dom_storage/ |
dom_storage_context_wrapper.cc | 69 context_ = new DOMStorageContextImpl( 88 DCHECK(context_.get()); 89 context_->task_runner() 94 context_, 100 DCHECK(context_.get()); 101 context_->task_runner() 106 context_, 111 DCHECK(context_.get()); 112 context_->task_runner()->PostShutdownBlockingTask( 115 base::Bind(&DOMStorageContextImpl::DeleteLocalStorage, context_, origin)) [all...] |
dom_storage_context_impl_unittest.cc | 48 context_ = new DOMStorageContextImpl(temp_dir_.path(), 74 scoped_refptr<DOMStorageContextImpl> context_; member in class:content::DOMStorageContextImplTest 82 EXPECT_EQ(temp_dir_.path(), context_->localstorage_directory()); 83 EXPECT_EQ(base::FilePath(), context_->sessionstorage_directory()); 84 EXPECT_EQ(storage_policy_.get(), context_->special_storage_policy_.get()); 85 context_->DeleteLocalStorage(GURL("http://chromium.org/")); 87 EXPECT_TRUE(context_->GetStorageNamespace(kLocalStorageNamespaceId)); 88 EXPECT_FALSE(context_->GetStorageNamespace(kFirstSessionStorageNamespaceId)); 89 EXPECT_EQ(kFirstSessionStorageNamespaceId, context_->AllocateSessionId()); 91 context_->GetLocalStorageUsage(&infos, kDontIncludeFileInfo) [all...] |
dom_storage_session.cc | 38 : context_(context), 45 context_, namespace_id_, persistent_namespace_id_)); 50 : context_(context), 57 context_, namespace_id_, persistent_namespace_id_)); 62 : context_(master_dom_storage_session->context_), 63 namespace_id_(master_dom_storage_session->context_->AllocateSessionId()), 67 context_->task_runner()->PostTask( 70 context_, 85 return context_.get() == context [all...] |
/external/chromium_org/content/renderer/ |
scoped_clipboard_writer_glue.cc | 12 context_(client->CreateWriteContext()) { 13 DCHECK(context_); 17 if (!objects_.empty() && context_) { 18 context_->Flush(objects_); 28 if (context_) { 29 context_->WriteBitmapFromPixels(&objects_, pixels, size);
|
/external/chromium_org/mojo/services/test_service/ |
test_request_tracker_impl.cc | 15 : context_(context), weak_factory_(this) { 24 assert(context_->ids_to_names.find(client_id) != 25 context_->ids_to_names.end()); 26 context_->records[client_id].push_back(*stats); 30 uint64_t id = context_->next_id++; 39 DCHECK(context_->ids_to_names.find(id) == context_->ids_to_names.end()); 40 context_->ids_to_names[id] = name; 45 : context_(context) { 54 for (AllRecordsMap::const_iterator it1 = context_->records.begin() [all...] |
/external/chromium_org/mojo/cc/ |
context_provider_mojo.cc | 20 context_ = MojoGLES2CreateContext(command_buffer_handle_.release().value(), 24 return !!context_; 28 if (!context_) 31 MojoGLES2GetGLES2Interface(context_)); 35 if (!context_) 38 MojoGLES2GetContextSupport(context_)); 50 bool ContextProviderMojo::DestroyedOnMainThread() { return !context_; } 53 if (context_) 54 MojoGLES2DestroyContext(context_);
|
/external/chromium_org/base/ |
async_socket_io_handler_win.cc | 11 context_(NULL), 19 if (context_) { 22 context_->handler = NULL; 24 delete context_; 35 DCHECK_EQ(context_, context); 49 &context_->overlapped); 60 DCHECK(!context_); 70 context_ = new base::MessageLoopForIO::IOContext(); 71 context_->handler = this; 72 memset(&context_->overlapped, 0, sizeof(context_->overlapped)) [all...] |
/external/chromium_org/components/policy/core/common/cloud/ |
system_policy_request_context.cc | 29 if (!context_.get()) { 31 context_.reset(new net::URLRequestContext()); 40 context_->set_net_log(system_context->net_log()); 41 context_->set_host_resolver(system_context->host_resolver()); 42 context_->set_proxy_service(system_context->proxy_service()); 43 context_->set_ssl_config_service( 49 context_->set_job_factory(system_context->job_factory()); 52 context_->set_http_user_agent_settings(&http_user_agent_settings_); 57 context_->set_http_transaction_factory(http_transaction_factory_.get()); 61 context_->set_cookie_store(new net::CookieMonster(NULL, NULL)) [all...] |
user_policy_request_context.cc | 31 if (!context_.get()) { 33 context_.reset(new net::URLRequestContext()); 39 context_->CopyFrom(user_context); 48 // context_->set_host_resolver(system_context->host_resolver()); 49 // context_->set_proxy_service(system_context->proxy_service()); 52 context_->set_http_user_agent_settings(&http_user_agent_settings_); 54 return context_.get();
|
/external/chromium_org/net/base/ |
file_stream.cc | 13 : context_(new Context(task_runner)) { 18 : context_(new Context(file.Pass(), task_runner)) { 22 context_.release()->Orphan(); 33 context_->Open(path, open_flags, callback); 38 context_->Close(callback); 43 return context_->file().IsValid(); 52 context_->Seek(whence, offset, callback); 65 return context_->Read(buf, buf_len, callback); 75 return context_->Write(buf, buf_len, callback); 82 context_->Flush(callback) [all...] |
/external/chromium_org/ui/gl/ |
gl_context_osmesa.cc | 18 context_(NULL) { 23 DCHECK(!context_); 30 context_ = OSMesaCreateContextExt(format, 35 if (!context_) { 44 if (context_) { 45 OSMesaDestroyContext(static_cast<OSMesaContext>(context_)); 46 context_ = NULL; 51 DCHECK(context_); 56 if (!OSMesaMakeCurrent(context_, 96 DCHECK(context_); [all...] |
gl_context_glx.cc | 23 context_(NULL), 47 context_ = glXCreateContextAttribsARB( 53 if (!context_) { 60 context_ = glXCreateNewContext( 66 if (!context_) { 71 DCHECK(context_); 80 static_cast<GLXContext>(context_)) 88 if (context_) { 90 static_cast<GLXContext>(context_)); 91 context_ = NULL [all...] |
/external/chromium_org/sync/test/sessions/ |
test_scoped_session_event_listener.h | 20 : context_(context), listener_(listener) { 24 context_->listeners_.RemoveObserver(listener_); 27 SyncSessionContext* context_; member in class:syncer::sessions::TestScopedSessionEventListener
|
/external/chromium_org/mojo/services/network/ |
network_service_impl.cc | 16 : context_(context), 25 BindToRequest(new URLLoaderImpl(context_), &loader); 29 BindToRequest(new CookieStoreImpl(context_, origin_), &store); 33 BindToRequest(new WebSocketImpl(context_), &socket);
|
/external/chromium_org/mojo/services/view_manager/ |
view_manager_init_service_impl.cc | 18 : context_(context) { 19 context_->AddConnection(this); 23 context_->RemoveConnection(this); 30 context_->Embed(url, service_provider.Pass(), callback);
|
/external/chromium_org/storage/browser/fileapi/quota/ |
open_file_handle.cc | 19 int64 growth = context_->UpdateMaxWrittenOffset(offset); 29 context_->AddAppendModeWriteAmount(amount); 35 return context_->GetEstimatedFileSize(); 40 return context_->GetMaxWrittenOffset(); 45 return context_->platform_path(); 51 context_(context) {
|
/external/chromium_org/third_party/webrtc/libjingle/xmllite/ |
xmlparser.cc | 64 context_.Reset(); 79 if (context_.RaisedError() != XML_ERROR_NONE) 82 context_.StartElement(); 86 context_.StartNamespace("", *(att + 1)); 91 context_.RaiseError(XML_ERROR_SYNTAX); 94 context_.StartNamespace((*att) + 6, *(att + 1)); 98 context_.SetPosition(XML_GetCurrentLineNumber(expat_), 101 pxph_->StartElement(&context_, name, atts); 106 if (context_.RaisedError() != XML_ERROR_NONE) 108 context_.EndElement() [all...] |