Home
last modified time | relevance | path

Searched refs:context_ (Results 1 – 25 of 68) sorted by relevance

123

/external/chromium/third_party/libjingle/source/talk/xmllite/
Dxmlparser.cc68 context_(this), pxph_(pxph), sentError_(false) { in XmlParser()
86 context_.Reset(); in Reset()
101 if (context_.RaisedError() != XML_ERROR_NONE) in ExpatStartElement()
104 context_.StartElement(); in ExpatStartElement()
108 context_.StartNamespace("", *(att + 1)); in ExpatStartElement()
113 context_.RaiseError(XML_ERROR_SYNTAX); in ExpatStartElement()
116 context_.StartNamespace((*att) + 6, *(att + 1)); in ExpatStartElement()
120 context_.SetPosition(XML_GetCurrentLineNumber(expat_), in ExpatStartElement()
123 pxph_->StartElement(&context_, name, atts); in ExpatStartElement()
128 if (context_.RaisedError() != XML_ERROR_NONE) in ExpatEndElement()
[all …]
/external/chromium/net/url_request/
Durl_request_context_storage.cc24 : context_(context) { in URLRequestContextStorage()
31 context_->set_net_log(net_log); in set_net_log()
36 context_->set_host_resolver(host_resolver); in set_host_resolver()
41 context_->set_cert_verifier(cert_verifier); in set_cert_verifier()
47 context_->set_dnsrr_resolver(dnsrr_resolver); in set_dnsrr_resolver()
53 context_->set_dns_cert_checker(dns_cert_checker); in set_dns_cert_checker()
59 context_->set_http_auth_handler_factory(http_auth_handler_factory); in set_http_auth_handler_factory()
64 context_->set_proxy_service(proxy_service); in set_proxy_service()
70 context_->set_ssl_config_service(ssl_config_service); in set_ssl_config_service()
76 context_->set_network_delegate(network_delegate); in set_network_delegate()
[all …]
Durl_request.cc136 if (context_ && context_->network_delegate()) in ~URLRequest()
137 context_->network_delegate()->NotifyURLRequestDestroyed(this); in ~URLRequest()
365 if (context_ && context_->network_delegate()) { in Start()
366 if (context_->network_delegate()->NotifyBeforeURLRequest( in Start()
523 if (context_ && context_->network_delegate()) in ResponseStarted()
524 context_->network_delegate()->NotifyResponseStarted(this); in ResponseStarted()
642 return context_.get(); in context()
646 scoped_refptr<URLRequestContext> prev_context = context_; in set_context()
648 context_ = context; in set_context()
/external/chromium/chrome/browser/renderer_host/
Dgtk_im_context_wrapper.cc61 context_(gtk_im_multicontext_new()), in GtkIMContextWrapper()
72 DCHECK(context_); in GtkIMContextWrapper()
80 g_signal_connect(context_, "preedit_start", in GtkIMContextWrapper()
82 g_signal_connect(context_, "preedit_end", in GtkIMContextWrapper()
84 g_signal_connect(context_, "preedit_changed", in GtkIMContextWrapper()
86 g_signal_connect(context_, "commit", in GtkIMContextWrapper()
111 if (context_) in ~GtkIMContextWrapper()
112 g_object_unref(context_); in ~GtkIMContextWrapper()
160 filtered = gtk_im_context_filter_keypress(context_, event); in ProcessKeyEvent()
234 if (!context_ || !is_focused_) in UpdateInputMethodState()
[all …]
/external/v8/test/cctest/
Dcctest.h169 : context_(v8::Context::New(extensions, global_template, global_object)) { in context_() function
170 context_->Enter(); in context_()
174 context_->Exit(); in ~LocalContext()
175 context_.Dispose(); in ~LocalContext()
178 v8::Context* operator->() { return *context_; }
179 v8::Context* operator*() { return *context_; }
180 bool IsReady() { return !context_.IsEmpty(); } in IsReady()
183 return v8::Local<v8::Context>::New(context_); in local()
187 v8::Persistent<v8::Context> context_;
Dtest-decls.cc54 context_->Exit(); in ~DeclarationContext()
55 context_.Dispose(); in ~DeclarationContext()
93 Persistent<Context> context_; member in DeclarationContext
120 context_ = Context::New(0, function->InstanceTemplate(), Local<Value>()); in InitializeIfNeeded()
121 context_->Enter(); in InitializeIfNeeded()
/external/chromium/chrome/browser/sync/sessions/
Dsync_session_unittest.cc33 return new SyncSession(context_.get(), this, SyncSourceInfo(), routes_, in MakeSession()
38 context_.reset(new SyncSessionContext(NULL, NULL, this, in SetUp()
47 context_.reset(); in TearDown()
97 scoped_ptr<SyncSessionContext> context_; member in browser_sync::sessions::__anona528252c0111::SyncSessionTest
103 EXPECT_FALSE(context_->resolver()); in TEST_F()
105 ScopedSessionContextConflictResolver s_resolver(context_.get(), &resolver); in TEST_F()
106 EXPECT_EQ(&resolver, context_->resolver()); in TEST_F()
108 EXPECT_FALSE(context_->resolver()); in TEST_F()
115 context_.reset(new SyncSessionContext(NULL, db.manager(), this, in TEST_F()
118 context_->set_account_name(db.name()); in TEST_F()
[all …]
Dsync_session.cc16 : context_(context), in SyncSession()
28 if (context_ != session.context() || delegate_ != session.delegate_) { in Coalesce()
59 syncable::ScopedDirLookup dir(context_->directory_manager(), in TakeSnapshot()
60 context_->account_name()); in TakeSnapshot()
Dsync_session_context.h152 : context_(context), resolver_(resolver) { in ScopedSessionContextConflictResolver()
157 context_->resolver_ = NULL; in ~ScopedSessionContextConflictResolver()
160 SyncSessionContext* context_;
/external/chromium/webkit/glue/
Dwebsocketstreamhandle_impl.cc142 : ALLOW_THIS_IN_INITIALIZER_LIST(context_(new Context(this))) { in WebSocketStreamHandleImpl()
149 context_->Detach(); in ~WebSocketStreamHandleImpl()
155 DCHECK(!context_->client()); in connect()
156 context_->set_client(client); in connect()
158 context_->Connect(url); in connect()
162 return context_->Send(data); in send()
166 context_->Close(); in close()
/external/chromium/chrome/browser/tab_contents/
Dweb_drag_dest_gtk.cc46 context_(NULL), in WebDragDestGtk()
76 if (context_) { in UpdateDragStatus()
78 gdk_drag_status(context_, gtk_util::WebDragOpToGdkDragAction(operation), in UpdateDragStatus()
95 if (context_ != context) { in OnDragMotion()
96 context_ = context; in OnDragMotion()
145 if (context != context_) in OnDragDataReceived()
251 context_ = NULL; in OnDragLeave()
/external/chromium/chrome/browser/sync/util/
Dcrypto_helpers.cc22 MD5Init(&context_); in MD5Calculator()
29 MD5Update(&context_, data, length); in AddData()
35 MD5Final(&digest, &context_); in CalcDigest()
/external/chromium/chrome/browser/sync/engine/
Dsyncer_thread2_whitebox_unittest.cc28 context_ = new SyncSessionContext(connection_.get(), syncdb_.manager(), in SetUp()
30 context_->set_notifications_enabled(true); in SetUp()
31 context_->set_account_name("Test"); in SetUp()
32 syncer_thread_.reset(new SyncerThread(context_, syncer)); in SetUp()
92 SyncSessionContext* context_; member in browser_sync::SyncerThread2WhiteboxTest
/external/chromium/chrome/browser/policy/
Ddevice_management_service.cc85 scoped_refptr<net::URLRequestContext> context_; member in policy::__anon94fe47960111::DeviceManagementRequestContextGetter
93 if (!context_) { in GetURLRequestContext()
94 context_ = new DeviceManagementRequestContext( in GetURLRequestContext()
98 return context_.get(); in GetURLRequestContext()
/external/v8/samples/
Dprocess.cc123 Persistent<Context> context_; member in JsHttpRequestProcessor
160 context_ = Context::New(NULL, global); in Initialize()
164 Context::Scope context_scope(context_); in Initialize()
177 Handle<Value> process_val = context_->Global()->Get(process_name); in Initialize()
232 context_->Global()->Set(String::New("options"), opts_obj); in InstallMaps()
235 context_->Global()->Set(String::New("output"), output_obj); in InstallMaps()
247 Context::Scope context_scope(context_); in Process()
259 Handle<Value> result = process_->Call(context_->Global(), argc, argv); in Process()
274 context_.Dispose(); in ~JsHttpRequestProcessor()
/external/chromium/android/autofill/
Dandroid_url_request_context_getter.h37 : context_(context) in AndroidURLRequestContextGetter()
49 scoped_refptr<net::URLRequestContext> context_;
/external/chromium/net/disk_cache/
Dfile_win.cc20 return &context_.overlapped; in overlapped()
23 MessageLoopForIO::IOContext context_; member
28 COMPILE_ASSERT(!offsetof(MyOverlapped, context_), starts_with_overlapped);
58 context_.handler = g_completion_handler.Pointer(); in MyOverlapped()
59 context_.overlapped.Offset = static_cast<DWORD>(offset); in MyOverlapped()
/external/v8/src/
Disolate.h229 Context* context_; variable
534 Context* context() { return thread_local_top_.context_; } in context()
536 thread_local_top_.context_ = context; in set_context()
538 Context** context_address() { return &thread_local_top_.context_; } in context_address()
650 return Handle<JSBuiltinsObject>(thread_local_top_.context_->builtins()); in js_builtins_object()
1257 context_ = Handle<Context>(isolate->context()); in SaveContext()
1270 if (context_.is_null()) { in ~SaveContext()
1275 Isolate* isolate = context_->GetIsolate(); in ~SaveContext()
1276 isolate->set_context(*context_); in ~SaveContext()
1281 Handle<Context> context() { return context_; } in context()
[all …]
/external/chromium/net/base/
Dfile_stream_win.cc56 : owner_(owner), context_(), callback_(NULL), is_closing_(false) { in AsyncContext()
57 context_.handler = this; in AsyncContext()
63 OVERLAPPED* overlapped() { return &context_.overlapped; } in overlapped()
71 MessageLoopForIO::IOContext context_; member in net::FileStream::AsyncContext
99 DCHECK(&context_ == context); in OnIOCompleted()
/external/chromium/chrome/browser/ui/cocoa/
Dstyled_text_field_cell.mm75 : context_([NSGraphicsContext currentContext]) {
76 [context_ saveGraphicsState];
79 : context_(context) {
80 [context_ saveGraphicsState];
83 [context_ restoreGraphicsState];
87 NSGraphicsContext* context_;
/external/chromium/net/websockets/
Dwebsocket_job_unittest.cc179 context_ = new MockURLRequestContext( in SetUp()
185 context_ = NULL; in TearDown()
194 websocket_->set_context(context_.get()); in InitWebSocketJob()
226 scoped_refptr<MockURLRequestContext> context_; member in net::WebSocketJobTest
512 url, &delegate, *context_.get()); in TEST_F()
518 url, &delegate, *context_.get()); in TEST_F()
Dwebsocket.h83 context_(context), in Request()
93 net::URLRequestContext* context() const { return context_; } in context()
116 scoped_refptr<net::URLRequestContext> context_; variable
/external/chromium/chrome/common/net/
Durl_fetcher_unittest.cc54 if (!context_) in GetURLRequestContext()
55 context_ = new TestURLRequestContext(); in GetURLRequestContext()
56 return context_; in GetURLRequestContext()
68 scoped_refptr<net::URLRequestContext> context_; member in __anon449829280111::TestURLRequestContextGetter
258 if (!context_) { in GetURLRequestContext()
259 context_ = new CancelTestURLRequestContext(); in GetURLRequestContext()
262 return context_; in GetURLRequestContext()
276 scoped_refptr<net::URLRequestContext> context_; member in __anon449829280211::CancelTestURLRequestContextGetter
/external/chromium/net/socket_stream/
Dsocket_stream.cc99 scoped_refptr<URLRequestContext> prev_context = context_; in set_context()
101 context_ = context; in set_context()
121 if (context_) { in set_context()
122 host_resolver_ = context_->host_resolver(); in set_context()
123 cert_verifier_ = context_->cert_verifier(); in set_context()
124 http_auth_handler_factory_ = context_->http_auth_handler_factory(); in set_context()
133 if (context_) in Connect()
379 if (!context_) in DoLoop()
1031 return context_->ssl_config_service(); in ssl_config_service()
1035 return context_->proxy_service(); in proxy_service()
/external/chromium/net/proxy/
Dproxy_resolver_v8.cc695 if (!context_.get()) in GetProxyForURL()
712 context_->SetCurrentRequestContext(&request_context); in GetProxyForURL()
713 int rv = context_->ResolveProxy(query_url, results); in GetProxyForURL()
714 context_->SetCurrentRequestContext(NULL); in GetProxyForURL()
729 context_->PurgeMemory(); in PurgeMemory()
740 context_.reset(); in SetPacScript()
748 context_.reset(context.release()); in SetPacScript()

123