Home
last modified time | relevance | path

Searched refs:redir (Results 1 – 25 of 37) sorted by relevance

12

/external/python/cpython2/Lib/idlelib/idle_test/
Dtest_widgetredir.py28 redir = WidgetRedirector(self.text)
29 self.assertEqual(redir.widget, self.text)
30 self.assertEqual(redir.tk, self.text.tk)
32 redir.close() # restore self.tk, self.text
35 redir = WidgetRedirector(self.text)
36 redir.register('insert', Func)
37 redir.close()
38 self.assertEqual(redir._operations, {})
58 self.redir = WidgetRedirector(self.text)
60 self.orig_insert = self.redir.register('insert', self.func)
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_redirector.py26 redir = WidgetRedirector(self.text)
27 self.assertEqual(redir.widget, self.text)
28 self.assertEqual(redir.tk, self.text.tk)
30 redir.close() # restore self.tk, self.text
33 redir = WidgetRedirector(self.text)
34 redir.register('insert', Func)
35 redir.close()
36 self.assertEqual(redir._operations, {})
57 self.redir = WidgetRedirector(self.text)
59 self.orig_insert = self.redir.register('insert', self.func)
[all …]
/external/python/cpython3/Lib/idlelib/
Dredirector.py131 def __init__(self, redir, operation): argument
137 self.redir = redir
139 self.tk = redir.tk # redundant with self.redir
140 self.orig = redir.orig # redundant with self.redir
142 self.tk_call = redir.tk.call
143 self.orig_and_operation = (redir.orig, operation)
147 self.redir, self.operation)
163 redir = WidgetRedirector(text)
167 original_insert = redir.register("insert", my_insert)
Dpercolator.py10 self.redir = WidgetRedirector(text)
12 self.bottom.insert = self.redir.register("insert", self.insert)
13 self.bottom.delete = self.redir.register("delete", self.delete)
22 self.redir.close()
23 self.redir = None
/external/python/cpython2/Lib/idlelib/
DWidgetRedirector.py131 def __init__(self, redir, operation): argument
137 self.redir = redir
139 self.tk = redir.tk # redundant with self.redir
140 self.orig = redir.orig # redundant with self.redir
142 self.tk_call = redir.tk.call
143 self.orig_and_operation = (redir.orig, operation)
146 return "OriginalCommand(%r, %r)" % (self.redir, self.operation)
163 redir = WidgetRedirector(text)
167 original_insert = redir.register("insert", my_insert)
DPercolator.py9 self.redir = WidgetRedirector(text)
11 self.bottom.insert = self.redir.register("insert", self.insert)
12 self.bottom.delete = self.redir.register("delete", self.delete)
20 self.redir.close(); self.redir = None
/external/curl/tests/data/
Dtest112385 <url_homepage>http://freshmeat.net/redir/curl/1612/url_homepage/</url_homepage>
86 <url_tgz>http://freshmeat.net/redir/curl/1612/url_tgz/</url_tgz>
87 <url_bz2>http://freshmeat.net/redir/curl/1612/url_bz2/</url_bz2>
88 <url_zip>http://freshmeat.net/redir/curl/1612/url_zip/</url_zip>
89 <url_changelog>http://freshmeat.net/redir/curl/1612/url_changelog/</url_changelog>
90 <url_rpm>http://freshmeat.net/redir/curl/1612/url_rpm/</url_rpm>
91 <url_deb>http://freshmeat.net/redir/curl/1612/url_deb/</url_deb>
92 <url_osx>http://freshmeat.net/redir/curl/1612/url_osx/</url_osx>
93 <url_bsdport>http://freshmeat.net/redir/curl/1612/url_bsdport/</url_bsdport>
95 <url_cvs>http://freshmeat.net/redir/curl/1612/url_cvs/</url_cvs>
[all …]
Dtest23284 <url_homepage>http://freshmeat.net/redir/curl/1612/url_homepage/</url_homepage>
85 <url_tgz>http://freshmeat.net/redir/curl/1612/url_tgz/</url_tgz>
86 <url_bz2>http://freshmeat.net/redir/curl/1612/url_bz2/</url_bz2>
87 <url_zip>http://freshmeat.net/redir/curl/1612/url_zip/</url_zip>
88 <url_changelog>http://freshmeat.net/redir/curl/1612/url_changelog/</url_changelog>
89 <url_rpm>http://freshmeat.net/redir/curl/1612/url_rpm/</url_rpm>
90 <url_deb>http://freshmeat.net/redir/curl/1612/url_deb/</url_deb>
91 <url_osx>http://freshmeat.net/redir/curl/1612/url_osx/</url_osx>
92 <url_bsdport>http://freshmeat.net/redir/curl/1612/url_bsdport/</url_bsdport>
94 <url_cvs>http://freshmeat.net/redir/curl/1612/url_cvs/</url_cvs>
[all …]
Dtest23085 <url_homepage>http://freshmeat.net/redir/curl/1612/url_homepage/</url_homepage>
86 <url_tgz>http://freshmeat.net/redir/curl/1612/url_tgz/</url_tgz>
87 <url_bz2>http://freshmeat.net/redir/curl/1612/url_bz2/</url_bz2>
88 <url_zip>http://freshmeat.net/redir/curl/1612/url_zip/</url_zip>
89 <url_changelog>http://freshmeat.net/redir/curl/1612/url_changelog/</url_changelog>
90 <url_rpm>http://freshmeat.net/redir/curl/1612/url_rpm/</url_rpm>
91 <url_deb>http://freshmeat.net/redir/curl/1612/url_deb/</url_deb>
92 <url_osx>http://freshmeat.net/redir/curl/1612/url_osx/</url_osx>
93 <url_bsdport>http://freshmeat.net/redir/curl/1612/url_bsdport/</url_bsdport>
95 <url_cvs>http://freshmeat.net/redir/curl/1612/url_cvs/</url_cvs>
[all …]
Dtest22284 <url_homepage>http://freshmeat.net/redir/curl/1612/url_homepage/</url_homepage>
85 <url_tgz>http://freshmeat.net/redir/curl/1612/url_tgz/</url_tgz>
86 <url_bz2>http://freshmeat.net/redir/curl/1612/url_bz2/</url_bz2>
87 <url_zip>http://freshmeat.net/redir/curl/1612/url_zip/</url_zip>
88 <url_changelog>http://freshmeat.net/redir/curl/1612/url_changelog/</url_changelog>
89 <url_rpm>http://freshmeat.net/redir/curl/1612/url_rpm/</url_rpm>
90 <url_deb>http://freshmeat.net/redir/curl/1612/url_deb/</url_deb>
91 <url_osx>http://freshmeat.net/redir/curl/1612/url_osx/</url_osx>
92 <url_bsdport>http://freshmeat.net/redir/curl/1612/url_bsdport/</url_bsdport>
94 <url_cvs>http://freshmeat.net/redir/curl/1612/url_cvs/</url_cvs>
[all …]
Dtest31480 <url_homepage>http://freshmeat.net/redir/curl/1612/url_homepage/</url_homepage>
81 <url_tgz>http://freshmeat.net/redir/curl/1612/url_tgz/</url_tgz>
82 <url_bz2>http://freshmeat.net/redir/curl/1612/url_bz2/</url_bz2>
83 <url_zip>http://freshmeat.net/redir/curl/1612/url_zip/</url_zip>
84 <url_changelog>http://freshmeat.net/redir/curl/1612/url_changelog/</url_changelog>
85 <url_rpm>http://freshmeat.net/redir/curl/1612/url_rpm/</url_rpm>
86 <url_deb>http://freshmeat.net/redir/curl/1612/url_deb/</url_deb>
87 <url_osx>http://freshmeat.net/redir/curl/1612/url_osx/</url_osx>
88 <url_bsdport>http://freshmeat.net/redir/curl/1612/url_bsdport/</url_bsdport>
90 <url_cvs>http://freshmeat.net/redir/curl/1612/url_cvs/</url_cvs>
[all …]
Dtest12458 --proto-redir
35 --proto deny must override --proto-redir allow
38 --location --proto +all,-ftp --proto-redir -all,+ftp http://%HOSTIP:%HTTPPORT/1245
Dtest3256 --proto-redir
45 -k https://%HOSTIP:%HTTPSPORT/325 --proto-redir -http --location
Dtest126130 'redirect_url' with --location and --max-redir
33 http://%HOSTIP:%HTTPPORT/we/want/our/1261 -w '%{redirect_url}\n' --location --max-redir 0
Dtest128622 HTTP/1.1 302 Thanks for this, but we want to redir you!
44 HTTP/1.1 302 Thanks for this, but we want to redir you!
Dtest110032 HTTP/1.1 302 Thanks for this, but we want to redir you!
48 HTTP/1.1 302 Thanks for this, but we want to redir you!
/external/iproute2/tc/
Dm_mirred.c71 int ok = 0, iok = 0, mirror = 0, redir = 0, ingress = 0, egress = 0; in parse_direction() local
118 if (redir) { in parse_direction()
126 } else if (!redir && matches(*argv, "redirect") == 0) { in parse_direction()
127 redir = 1; in parse_direction()
136 } else if ((redir || mirror) && matches(*argv, "dev") == 0) { in parse_direction()
/external/u-boot/common/
Dcli_hush.c1209 struct redir_struct *redir; local
1211 for (redir=prog->redirects; redir; redir=redir->next) {
1212 if (redir->dup == -1 && redir->word.gl_pathv == NULL) {
1216 if (redir->dup == -1) {
1217 mode=redir_table[redir->type].mode;
1218 openfd = open(redir->word.gl_pathv[0], mode, 0666);
1222 perror_msg("error opening %s", redir->word.gl_pathv[0]);
1226 openfd = redir->dup;
1229 if (openfd != redir->fd) {
1230 if (squirrel && redir->fd < 3) {
[all …]
/external/libxml2/include/libxml/
Dnanohttp.h43 char **redir,
52 char **redir);
/external/curl/docs/cmdline-opts/
Dproto-redir.d1 Long: proto-redir
12 curl --proto-redir -all,http,https http://example.com
Dproto.d4 See-also: proto-redir proto-default
/external/u-boot/test/image/
Dtest-imagetools.sh81 local redir="$1"
86 ${cmd} >${redir}
/external/mksh/src/
Dsyn.c856 char redir[8]; in syntaxerr() local
883 s = snptreef(redir, sizeof(redir), Tft_R, yylval.iop); in syntaxerr()
894 redir[0] = c; in syntaxerr()
895 redir[1] = '\0'; in syntaxerr()
897 shf_snprintf(redir, sizeof(redir), in syntaxerr()
899 s = redir; in syntaxerr()
/external/libxml2/
Dnanohttp.c1255 xmlNanoHTTPOpenRedir(const char *URL, char **contentType, char **redir) { in xmlNanoHTTPOpenRedir() argument
1257 if (redir != NULL) *redir = NULL; in xmlNanoHTTPOpenRedir()
1258 return(xmlNanoHTTPMethodRedir(URL, NULL, NULL, contentType, redir, NULL,0)); in xmlNanoHTTPOpenRedir()
1357 char **contentType, char **redir, in xmlNanoHTTPMethodRedir() argument
1571 if ((redir != NULL) && (redirURL != NULL)) { in xmlNanoHTTPMethodRedir()
1572 *redir = redirURL; in xmlNanoHTTPMethodRedir()
1576 if (redir != NULL) in xmlNanoHTTPMethodRedir()
1577 *redir = NULL; in xmlNanoHTTPMethodRedir()
/external/libxml2/os400/libxmlrpg/
Dnanohttp.rpgle49 d redir * value char * *
62 d redir * value char * *

12