/third_party/python/Lib/idlelib/idle_test/ |
H A D | test_redirector.py | 26 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 [all...] |
H A D | test_undo.py | 24 cls.percolator.redir.close()
|
/third_party/python/Lib/idlelib/ |
H A D | redirector.py | 123 redir = WidgetRedirector(text) 127 original_insert = redir.register("insert", my_insert) 130 def __init__(self, redir, operation): 133 .redir and .operation store the input args for __repr__. 134 .tk and .orig copy attributes of .redir (probably not needed). 136 self.redir = redir 138 self.tk = redir.tk # redundant with self.redir 139 self.orig = redir [all...] |
H A D | percolator.py | 10 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
|
/kernel/linux/linux-5.10/arch/ia64/kernel/ |
H A D | irq.c | 57 void set_irq_affinity_info (unsigned int irq, int hwid, int redir) in set_irq_affinity_info() argument 62 irq_redir[irq] = (char) (redir & 0xff); in set_irq_affinity_info()
|
H A D | iosapic.c | 220 char redir; in set_rte() local 235 redir = (dmode == IOSAPIC_LOWEST_PRIORITY) ? 1 : 0; in set_rte() 238 set_irq_affinity_info(irq, (int)(dest & 0xffff), redir); in set_rte() 332 int redir = (irq & IA64_IRQ_REDIRECTED) ? 1 : 0; in iosapic_set_affinity() local 350 set_irq_affinity_info(irq, dest, redir); in iosapic_set_affinity() 356 if (redir) in iosapic_set_affinity()
|
/kernel/linux/linux-6.6/arch/ia64/kernel/ |
H A D | irq.c | 57 void set_irq_affinity_info (unsigned int irq, int hwid, int redir) in set_irq_affinity_info() argument 62 irq_redir[irq] = (char) (redir & 0xff); in set_irq_affinity_info()
|
H A D | iosapic.c | 220 char redir; in set_rte() local 235 redir = (dmode == IOSAPIC_LOWEST_PRIORITY) ? 1 : 0; in set_rte() 238 set_irq_affinity_info(irq, (int)(dest & 0xffff), redir); in set_rte() 332 int redir = (irq & IA64_IRQ_REDIRECTED) ? 1 : 0; in iosapic_set_affinity() local 350 set_irq_affinity_info(irq, dest, redir); in iosapic_set_affinity() 356 if (redir) in iosapic_set_affinity()
|
/kernel/linux/linux-5.10/drivers/w1/slaves/ |
H A D | w1_ds250x.c | 91 u8 redir; in w1_ds2505_read_page() local 108 w1_read_block(sl->master, buf + 3, 3); /* redir, crc16 */ in w1_ds2505_read_page() 109 redir = buf[3]; in w1_ds2505_read_page() 116 if (redir != 0xff) { in w1_ds2505_read_page() 121 pgoff = (redir ^ 0xff) * W1_PAGE_SIZE; in w1_ds2505_read_page()
|
/kernel/linux/linux-6.6/drivers/w1/slaves/ |
H A D | w1_ds250x.c | 91 u8 redir; in w1_ds2505_read_page() local 108 w1_read_block(sl->master, buf + 3, 3); /* redir, crc16 */ in w1_ds2505_read_page() 109 redir = buf[3]; in w1_ds2505_read_page() 116 if (redir != 0xff) { in w1_ds2505_read_page() 121 pgoff = (redir ^ 0xff) * W1_PAGE_SIZE; in w1_ds2505_read_page()
|
/third_party/toybox/toys/pending/ |
H A D | wget.c | 257 char *redir = wget_find_header(header, WGET_LOCATION); in wget_redirect() local 258 if (!redir) error_exit("could not parse redirect URL"); in wget_redirect() 259 return xstrndup(redir, stridx(redir, '\r')); in wget_redirect()
|
H A D | sh.c | 1035 int run, loop, *redir; in run_function() member 1079 else if (blk->run) toys.exitval = run_pipeline(&pl, blk->redir); in run_function() 1103 // TODO perform block end redirects to blk->redir in run_function() 1169 // TODO unwind redirects (cleanup blk->redir) in run_function()
|
/third_party/musl/porting/liteos_a/user/src/misc/ |
H A D | wordexp.c | 33 char *redir = (flags & WRDE_SHOWERR) ? "" : "2>/dev/null"; in do_wordexp() local 114 "sh", s, redir, (char *)0); in do_wordexp()
|
/third_party/musl/src/misc/ |
H A D | wordexp.c | 33 char *redir = (flags & WRDE_SHOWERR) ? "" : "2>/dev/null"; in do_wordexp() local 114 "sh", s, redir, (char *)0); in do_wordexp()
|
/kernel/linux/linux-5.10/arch/ia64/include/asm/ |
H A D | irq.h | 30 extern void set_irq_affinity_info (unsigned int irq, int dest, int redir);
|
/kernel/linux/linux-6.6/arch/ia64/include/asm/ |
H A D | irq.h | 32 extern void set_irq_affinity_info (unsigned int irq, int dest, int redir);
|
/third_party/mksh/ |
H A D | syn.c | 847 char redir[8]; in syntaxerr() local 874 s = snptreef(redir, sizeof(redir), Tft_R, yylval.iop); in syntaxerr() 885 redir[0] = c; in syntaxerr() 886 redir[1] = '\0'; in syntaxerr() 888 shf_snprintf(redir, sizeof(redir), in syntaxerr() 890 s = redir; in syntaxerr()
|
/kernel/linux/linux-6.6/samples/bpf/ |
H A D | xdp_sample_user.c | 66 #define REDIR(redir) redir, "redir/s" 115 __u64 redir; member 220 " redir/s Number of packets successfully redirected per second\n" in sample_print_help() 850 out->totals.redir += pps; in stats_get_redirect_cnt() 1112 print_always(FMT_COLUMNl, REDIR(out->totals.redir)); in stats_print() 1336 if (sample_out.totals.redir) { in sample_summary_print() 1337 double pkts = sample_out.totals.redir; in sample_summary_print() 1340 sample_out.totals.redir); in sample_summary_print() [all...] |
/kernel/linux/linux-6.6/tools/testing/selftests/netfilter/ |
H A D | conntrack_tcp_unreplied.sh | 94 counter redir { } 98 ct state new ct status dnat tcp dport 8080 counter name "redir" accept 156 check_counter "$ns2" "redir" "$expect"
|
/third_party/musl/porting/liteos_a/user/ldso/ |
H A D | dynlink.c | 2332 char redir[36]; in __dlsym_redir_time64() local 2336 size_t l = strnlen(s, sizeof redir); in __dlsym_redir_time64() 2337 if (l<4 || l==sizeof redir) goto no_redir; in __dlsym_redir_time64() 2348 snprintf(redir, sizeof redir, "__%.*s%s%s", (int)l, s, suffix, suffix2); in __dlsym_redir_time64() 2349 if (find_sym(&ldso, redir, 1).sym) s = redir; in __dlsym_redir_time64()
|
/third_party/musl/porting/liteos_a/user_debug/ldso/ |
H A D | dynlink.c | 2331 char redir[36]; in __dlsym_redir_time64() local 2335 size_t l = strnlen(s, sizeof redir); in __dlsym_redir_time64() 2336 if (l<4 || l==sizeof redir) goto no_redir; in __dlsym_redir_time64() 2347 snprintf(redir, sizeof redir, "__%.*s%s%s", (int)l, s, suffix, suffix2); in __dlsym_redir_time64() 2348 if (find_sym(&ldso, redir, 1).sym) s = redir; in __dlsym_redir_time64()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | tunnel_conf.c | 524 struct netevent_redirect *redir; in nfp_tun_neigh_event_handler() local 535 redir = (struct netevent_redirect *)ptr; in nfp_tun_neigh_event_handler() 536 n = redir->neigh; in nfp_tun_neigh_event_handler()
|
/kernel/linux/linux-6.6/drivers/net/ethernet/netronome/nfp/flower/ |
H A D | tunnel_conf.c | 717 struct netevent_redirect *redir; in nfp_tun_neigh_event_handler() local 723 redir = (struct netevent_redirect *)ptr; in nfp_tun_neigh_event_handler() 724 n = redir->neigh; in nfp_tun_neigh_event_handler()
|
/third_party/musl/ldso/ |
H A D | dynlink.c | 2441 char redir[36]; local 2445 size_t l = strnlen(s, sizeof redir); 2446 if (l<4 || l==sizeof redir) goto no_redir; 2457 snprintf(redir, sizeof redir, "__%.*s%s%s", (int)l, s, suffix, suffix2); 2458 if (find_sym(&ldso, redir, 1).sym) s = redir;
|
/kernel/linux/linux-5.10/net/core/ |
H A D | skmsg.c | 717 static int sk_psock_map_verd(int verdict, bool redir) in sk_psock_map_verd() argument 721 return redir ? __SK_REDIRECT : __SK_PASS; in sk_psock_map_verd()
|