Home
last modified time | relevance | path

Searched refs:opener (Results 1 – 25 of 104) sorted by relevance

12345

/third_party/node/deps/npm/node_modules/opener/
DREADME.md6 npm install opener -g
8 opener http://google.com
9 opener ./my-file.txt
10 opener firefox
11 opener npm run lint
17 var opener = require("opener");
19 opener("http://google.com");
20 opener("./my-file.txt");
21 opener("firefox");
22 opener("npm run lint");
[all …]
/third_party/python/Lib/test/
Dtest_urllib2.py429 def add_ordered_mock_handlers(opener, meth_spec): argument
456 h.add_parent(opener)
459 opener.add_handler(h)
464 opener = OpenerDirector()
466 opener.add_handler(h)
467 return opener
1328 opener = urllib.request.build_opener(handler)
1342 response = opener.open('http://example.com/')
1466 opener = OpenerDirector()
1471 opener.add_handler(auth_handler)
[all …]
Dtest_urllib2_localnet.py352 self.opener = urllib.request.build_opener(
364 self.opener.open,
370 self.opener.open,
377 with self.opener.open(self.URL) as result:
386 result = self.opener.open(self.URL)
Dtest_urllib2net.py215 opener = urllib.request.build_opener()
218 opener.open(request)
222 opener.open(request)
/third_party/node/deps/npm/node_modules/npm-profile/
Dindex.js38 function login (opener, prompter, opts) { argument
41 return loginWeb(opener, opts).catch(er => {
52 function adduser (opener, prompter, opts) { argument
55 return adduserWeb(opener, opts).catch(er => {
66 function adduserWeb (opener, opts) { argument
70 return webAuth(opener, opts, body)
73 function loginWeb (opener, opts) { argument
76 return webAuth(opener, opts, {})
79 function webAuth (opener, opts, body) { argument
97 return opener(loginUrl).then(
DCHANGELOG.md26 - profile.login() and profile.adduser() take 2 functions: opener() and
27 prompter(). opener is used when we get the url couplet from the
37 - New loginWeb and adduserWeb commands added, which take an opener
DREADME.md36 ### <a name="adduser"></a> `> profile.adduser(opener, prompter, [opts]) → Promise`
41 * `opener` Function (url) → Promise, returns a promise that resolves after a browser has been opene…
67 ### <a name="login"></a> `> profile.login(opener, prompter, [opts]) → Promise`
72 * `opener` Function (url) → Promise, returns a promise that resolves after a browser has been opene…
101 ### <a name="adduser-web"></a> `> profile.adduserWeb(opener, [opts]) → Promise`
106 * `opener` Function (url) → Promise, returns a promise that resolves after a browser has been opene…
132 ### <a name="login-web"></a> `> profile.loginWeb(opener, [opts]) → Promise`
137 * `opener` Function (url) → Promise, returns a promise that resolves after a browser has been opene…
/third_party/cef/libcef/browser/chrome/
Dchrome_browser_delegate.cc93 auto opener = ChromeBrowserHostImpl::GetBrowserForContents(source_contents); in WebContentsCreated() local
94 if (!opener) { in WebContentsCreated()
105 auto request_context_impl = opener->request_context(); in WebContentsCreated()
111 browser_info, opener, request_context_impl); in WebContentsCreated()
232 CefRefPtr<ChromeBrowserHostImpl> opener, in CreateBrowser() argument
241 DCHECK(!opener.get() || browser_info->is_popup()); in CreateBrowser()
267 browser_host->Attach(web_contents, opener); in CreateBrowser()
270 if (!opener) { in CreateBrowser()
Dchrome_browser_host_impl.cc484 CefRefPtr<ChromeBrowserHostImpl> opener) { in Attach() argument
487 if (opener) { in Attach()
490 opener->platform_delegate_->PopupWebContentsCreated( in Attach()
521 if (opener && opener->platform_delegate_) { in Attach()
524 opener->platform_delegate_->PopupBrowserCreated( in Attach()
Dchrome_content_browser_client_cef.cc157 content::RenderFrameHost* opener, in CanCreateWindow() argument
172 opener, opener_url, opener_top_level_frame_url, source_origin, in CanCreateWindow()
179 opener, target_url, referrer, frame_name, disposition, features, in CanCreateWindow()
/third_party/python/Lib/idlelib/
Dcodecontext.py41 opener = firstword in BLOCKOPENERS and firstword
42 return indent, codeline, opener
166 indent, text, opener = get_line_info(codeline)
169 if opener in ("else", "elif"):
172 if opener and linenum < new_topvisible and indent >= stopindent:
173 lines.append((linenum, indent, text, opener))
/third_party/node/test/fixtures/wpt/resources/
Dtestharnessreport.js48 if (window.opener && "testharness_properties" in window.opener) {
53 setup(JSON.parse(JSON.stringify(window.opener.testharness_properties)));
/third_party/cef/libcef/browser/alloy/
Dalloy_browser_host_impl.cc203 CefRefPtr<AlloyBrowserHostImpl> opener, in CreateInternal() argument
215 DCHECK(!opener.get() || browser_info->is_popup()); in CreateInternal()
217 if (opener) { in CreateInternal()
218 if (!opener->platform_delegate_) { in CreateInternal()
227 opener->platform_delegate_->PopupWebContentsCreated( in CreateInternal()
236 settings, client, web_contents, browser_info, opener, request_context, in CreateInternal()
258 if (opener && opener->platform_delegate_) { in CreateInternal()
261 opener->platform_delegate_->PopupBrowserCreated(browser.get(), in CreateInternal()
783 content::RenderFrameHost* opener, in MaybeAllowNavigation() argument
1311 CefRefPtr<AlloyBrowserHostImpl> opener = in WebContentsCreated() local
[all …]
Dalloy_browser_host_impl.h162 bool MaybeAllowNavigation(content::RenderFrameHost* opener,
316 CefRefPtr<AlloyBrowserHostImpl> opener,
327 CefRefPtr<AlloyBrowserHostImpl> opener,
/third_party/cef/libcef/browser/
Dbrowser_info_manager.cc107 content::RenderFrameHost* opener, in CanCreateWindow() argument
124 if (!MaybeAllowNavigation(opener, params, browser) || !browser) { in CanCreateWindow()
140 pending_popup->opener_global_id = opener->GetGlobalId(); in CanCreateWindow()
151 CefRefPtr<CefFrame> opener_frame = browser->GetFrameForHost(opener); in CanCreateWindow()
201 opener->GetProcess()->FilterURL(false, &pending_popup->target_url); in CanCreateWindow()
361 content::RenderFrameHost* opener, in MaybeAllowNavigation() argument
367 auto browser = extensions::GetOwnerBrowserForHost(opener, &is_guest_view); in MaybeAllowNavigation()
374 if (!browser->MaybeAllowNavigation(opener, is_guest_view, params)) { in MaybeAllowNavigation()
Dbrowser_info_manager.h74 bool CanCreateWindow(content::RenderFrameHost* opener,
137 bool MaybeAllowNavigation(content::RenderFrameHost* opener,
/third_party/python/Modules/_io/clinic/
D_iomodule.c.h135 const char *newline, int closefd, PyObject *opener);
152 PyObject *opener = Py_None; in _io_open() local
267 opener = args[7]; in _io_open()
269 …n_value = _io_open_impl(module, file, mode, buffering, encoding, errors, newline, closefd, opener); in _io_open()
Dwinconsoleio.c.h45 PyObject *opener);
60 PyObject *opener = Py_None; in _io__WindowsConsoleIO___init__() local
97 opener = fastargs[3]; in _io__WindowsConsoleIO___init__()
99 …_value = _io__WindowsConsoleIO___init___impl((winconsoleio *)self, nameobj, mode, closefd, opener); in _io__WindowsConsoleIO___init__()
Dfileio.c.h46 int closefd, PyObject *opener);
61 PyObject *opener = Py_None; in _io_FileIO___init__() local
98 opener = fastargs[3]; in _io_FileIO___init__()
100 return_value = _io_FileIO___init___impl((fileio *)self, nameobj, mode, closefd, opener); in _io_FileIO___init__()
/third_party/node/deps/npm/node_modules/opener/bin/
Dopener-bin.js4 var opener = require(".."); variable
6 opener(process.argv.slice(2), function (error) {
/third_party/python/Doc/howto/
Durllib2.rst406 because ``urlopen`` (or the opener object used) may have followed a
422 When you fetch a URL you use an opener (an instance of the perhaps
424 the default opener - via ``urlopen`` - but you can create custom
431 installed, for example to get an opener that handles cookies, or to get an
432 opener that does not handle redirections.
434 To create an opener, instantiate an ``OpenerDirector``, and then call
438 creating opener objects with a single function call. ``build_opener`` adds
445 ``install_opener`` can be used to make an ``opener`` object the (global) default
446 opener. This means that calls to ``urlopen`` will use the opener you have
478 ``HTTPBasicAuthHandler`` and an opener to use this handler.
[all …]
/third_party/python/Tools/scripts/
Dhighlight.py93 opener, closer = colors.get(kind, ('', ''))
94 result += [opener, text, closer]
99 def html_highlight(classified_text,opener='<pre class="python">\n', closer='</pre>\n'): argument
101 result = [opener]
/third_party/googletest/googletest/scripts/
Dupload.py163 self.opener = self._GetOpener()
216 response = self.opener.open(req)
245 response = self.opener.open(req)
341 f = self.opener.open(req)
375 opener = urllib2.OpenerDirector()
376 opener.add_handler(urllib2.ProxyHandler())
377 opener.add_handler(urllib2.UnknownHandler())
378 opener.add_handler(urllib2.HTTPHandler())
379 opener.add_handler(urllib2.HTTPDefaultErrorHandler())
380 opener.add_handler(urllib2.HTTPSHandler())
[all …]
/third_party/node/deps/npm/lib/utils/
Dopen-url.js4 const opener = require('opener') constant
27 opener(url, { command: browser }, (er) => {
/third_party/openssl/apps/lib/
Dapps_ui.c20 int (*opener)(UI *ui) = UI_method_get_opener(ui_base_method); in ui_open() local
22 if (opener != NULL) in ui_open()
23 return opener(ui); in ui_open()

12345