Home
last modified time | relevance | path

Searched refs:master (Results 1 - 25 of 127) sorted by relevance

123456

/third_party/python/Lib/tkinter/
H A Dcommondialog.py20 def __init__(self, master=None, **options):
21 if master is None:
22 master = options.get('parent')
23 self.master = master
40 master = self.master
41 if master is None:
42 master = _get_temp_root()
44 self._test_callback(master) # Th
[all...]
H A Dtix.py289 def __init__ (self, master=None, widgetName=None,
313 self._setup(master, cnf)
395 def image_create(self, imgtype, cnf={}, master=None, **kw):
396 if master is None:
397 master = self
405 return master.tk.call(('image', 'create', imgtype,) + options)
423 def __init__(self, master, name,
426 path = master._subwidget_name(name)
428 path = path[len(master._w)+1:]
435 TixWidget.__init__(self, master, Non
[all...]
H A Dttk.py327 def setup_master(master=None):
328 """If master is not None, itself is returned. If master is None,
329 the default master is returned if there is one, otherwise a new
330 master is created and returned.
332 If it is not allowed to use the default root and master is None,
334 if master is None:
335 master = tkinter._get_default_root()
336 return master
344 def __init__(self, master
[all...]
H A D__init__.py315 raise RuntimeError("No master specified and tkinter is "
328 raise RuntimeError("No master specified and tkinter is "
342 def _destroy_temp_root(master):
343 if getattr(master, '_temporary', False):
345 master.destroy()
376 def __init__(self, master=None, value=None, name=None):
379 MASTER can be given as master widget.
392 if master is None:
393 master = _get_default_root('create variable')
394 self._root = master
[all...]
H A Dsimpledialog.py33 def __init__(self, master,
37 self.root = Toplevel(master, class_=class_)
39 self.root = Toplevel(master)
62 self.root.transient(master)
63 _place_window(self.root, master)
105 master = parent
106 if master is None:
107 master = _get_temp_root()
109 Toplevel.__init__(self, master)
151 _destroy_temp_root(self.master)
[all...]
H A Dfiledialog.py39 d = FileDialog(master)
58 def __init__(self, master, title=None):
60 self.master = master
63 self.top = Toplevel(master)
138 self.master.mainloop() # Exited by self.quit(how)
149 self.master.quit() # Exit mainloop()
178 self.master.bell()
242 self.master.bell()
257 self.master
[all...]
/third_party/skia/third_party/externals/libjpeg-turbo/
H A Djcmaster.c12 * This file contains master control logic for the JPEG compressor.
70 /* Do computations that are needed before master selection phase */ in jpeg_calc_jpeg_dimensions()
83 /* Do computations that are needed before master selection phase */ in initial_setup()
324 my_master_ptr master = (my_master_ptr)cinfo->master; in select_scan_parameters() local
325 const jpeg_scan_info *scanptr = cinfo->scan_info + master->scan_number; in select_scan_parameters()
451 my_master_ptr master = (my_master_ptr)cinfo->master; in prepare_for_pass() local
453 switch (master->pass_type) { in prepare_for_pass()
468 (master in prepare_for_pass()
553 my_master_ptr master = (my_master_ptr)cinfo->master; finish_pass_master() local
593 my_master_ptr master; jinit_c_master_control() local
[all...]
H A Djdmaster.c14 * This file contains master control logic for the JPEG decompressor.
92 /* Do computations that are needed before master selection phase. in jpeg_core_output_dimensions()
255 * Also note that it may be called before the master module is initialized!
260 /* Do computations that are needed before master selection phase */ in jpeg_calc_output_dimensions()
450 my_master_ptr master = (my_master_ptr)cinfo->master; in master_selection() local
467 master->pass_number = 0; in master_selection()
468 master->using_merged_upsample = use_merged_upsample(cinfo); in master_selection()
471 master->quantizer_1pass = NULL; in master_selection()
472 master in master_selection()
612 my_master_ptr master = (my_master_ptr)cinfo->master; prepare_for_output_pass() local
672 my_master_ptr master = (my_master_ptr)cinfo->master; finish_output_pass() local
689 my_master_ptr master = (my_master_ptr)cinfo->master; jpeg_new_colormap() local
717 my_master_ptr master = (my_master_ptr)cinfo->master; jinit_master_decompress() local
[all...]
H A Djdapistd.c48 /* First call: initialize master control, select active modules */
106 (*cinfo->master->prepare_for_output_pass) (cinfo); in LOCAL()
111 while (cinfo->master->is_dummy_pass) { in LOCAL()
130 (*cinfo->master->finish_output_pass) (cinfo); in LOCAL()
131 (*cinfo->master->prepare_for_output_pass) (cinfo); in LOCAL()
215 cinfo->master->first_iMCU_col = (JDIMENSION)(long)(*xoffset) / (long)align; in jpeg_crop_scanline()
216 cinfo->master->last_iMCU_col = in jpeg_crop_scanline()
237 cinfo->master->first_MCU_col[ci] = in jpeg_crop_scanline()
239 cinfo->master->last_MCU_col[ci] = in jpeg_crop_scanline()
245 cinfo->master in jpeg_crop_scanline()
321 my_master_ptr master = (my_master_ptr)cinfo->master; read_and_discard_scanlines() local
371 my_master_ptr master = (my_master_ptr)cinfo->master; increment_simple_rowgroup_ctr() local
406 my_master_ptr master = (my_master_ptr)cinfo->master; GLOBAL() local
[all...]
H A Djcapistd.c50 /* Perform master selection of active modules */ in jpeg_start_compress()
53 (*cinfo->master->prepare_for_pass) (cinfo); in jpeg_start_compress()
95 /* Give master control module another chance if this is first call to in GLOBAL()
100 if (cinfo->master->call_pass_startup) in GLOBAL()
101 (*cinfo->master->pass_startup) (cinfo); in GLOBAL()
140 /* Give master control module another chance if this is first call to in GLOBAL()
145 if (cinfo->master->call_pass_startup) in GLOBAL()
146 (*cinfo->master->pass_startup) (cinfo); in GLOBAL()
H A Djdcoefct.c106 cinfo->master->last_good_iMCU_row = cinfo->input_iMCU_row; in decompress_onepass()
117 if (MCU_col_num >= cinfo->master->first_iMCU_col && in decompress_onepass()
118 MCU_col_num <= cinfo->master->last_iMCU_col) { in decompress_onepass()
137 start_col = (MCU_col_num - cinfo->master->first_iMCU_col) * in decompress_onepass()
233 cinfo->master->last_good_iMCU_row = cinfo->input_iMCU_row; in consume_data()
309 buffer_ptr = buffer[block_row] + cinfo->master->first_MCU_col[ci]; in decompress_data()
311 for (block_num = cinfo->master->first_MCU_col[ci]; in decompress_data()
312 block_num <= cinfo->master->last_MCU_col[ci]; block_num++) { in decompress_data()
513 if (cinfo->output_iMCU_row > cinfo->master->last_good_iMCU_row) in decompress_smooth_data()
542 buffer_ptr = buffer[block_row] + cinfo->master in decompress_smooth_data()
[all...]
/third_party/rust/crates/nix/test/
H A Dtest_pty.rs34 // Open a new PTTY master in test_ptsname_equivalence()
51 // Open a new PTTY master in test_ptsname_copy()
68 // Open a new PTTY master in test_ptsname_r_copy()
85 // Open a new PTTY master in test_ptsname_unique()
89 // Open a second PTTY master in test_ptsname_unique()
103 // Open a new PTTY master in open_ptty_pair()
104 let master = posix_openpt(OFlag::O_RDWR).expect("posix_openpt failed"); in open_ptty_pair()
107 grantpt(&master).expect("grantpt failed"); in open_ptty_pair()
108 unlockpt(&master).expect("unlockpt failed"); in open_ptty_pair()
111 let slave_name = unsafe { ptsname(&master) } in open_ptty_pair()
176 let mut master = &master; test_read_ptty_pair() variables
193 let mut master = &master; test_write_ptty_pair() variables
[all...]
/third_party/rust/crates/nix/test/sys/
H A Dtest_termios.rs26 close(pty.master).expect("closing the master failed"); in test_tcgetattr_pty()
55 assert!(pty.master > 0); in test_output_flags()
58 close(pty.master).unwrap(); in test_output_flags()
76 assert!(pty.master > 0); in test_output_flags()
79 // Write into the master in test_output_flags()
81 write_all(pty.master, string.as_bytes()); in test_output_flags()
87 close(pty.master).unwrap(); in test_output_flags()
101 assert!(pty.master > 0); in test_local_flags()
104 close(pty.master) in test_local_flags()
[all...]
/third_party/python/Tools/demo/
H A Dredemo.py10 def __init__(self, master):
11 self.master = master
13 self.promptdisplay = Label(self.master, anchor=W,
17 self.regexdisplay = Entry(self.master)
23 self.statusdisplay = Label(self.master, text="", anchor=W)
26 self.labeldisplay = Label(self.master, anchor=W,
31 self.showframe = Frame(master)
34 self.showvar = StringVar(master)
51 self.stringdisplay = Text(self.master, widt
[all...]
H A Dsortvisu.py34 def __init__(self, master, data=None):
35 self.master = master
36 self.frame = Frame(self.master)
79 self.master.quit()
83 self.master.quit()
93 self.master.update()
94 id = self.master.after(msecs, self.master.quit)
96 self.master
[all...]
/third_party/rust/crates/nix/src/
H A Dpty.rs1 //! Create master and slave virtual pseudo-terminals (PTYs)
17 /// Representation of a master/slave pty pair
23 /// The master port in a virtual pty pair
24 pub master: RawFd,
31 /// Representation of a master with a forked pty
37 /// The master port in a virtual pty pair
38 pub master: RawFd,
44 /// Representation of the Master device in a master/slave pty pair
116 /// master pseudoterminal referred to by `fd`. This is a necessary step towards opening the slave.
129 /// `posix_openpt()` returns a file descriptor to an existing unused pseudoterminal master devic
259 let mut master = mem::MaybeUninit::<libc::c_int>::uninit(); openpty() variables
344 let mut master = mem::MaybeUninit::<libc::c_int>::uninit(); forkpty() variables
[all...]
/third_party/python/Lib/tkinter/test/test_tkinter/
H A Dtest_images.py72 image = tkinter.BitmapImage('::img::test', master=self.root,
87 image = tkinter.BitmapImage('::img::test', master=self.root,
104 image = tkinter.BitmapImage('::img::test', master=self.root)
120 image = tkinter.BitmapImage('::img::test', master=self.root)
134 image = tkinter.BitmapImage('::img::test', master=self.root)
140 image = tkinter.BitmapImage('::img::test', master=self.root)
156 return tkinter.PhotoImage('::img::test', master=self.root,
167 image = tkinter.PhotoImage('::img::test', master=self.root,
184 image = tkinter.PhotoImage('::img::test', master=self.root,
225 image = tkinter.PhotoImage('::img::test', master
[all...]
H A Dtest_messagebox.py14 def test_callback(dialog, master):
16 master.update()
17 ismapped = master.winfo_ismapped()
/third_party/pulseaudio/src/modules/
H A Dmodule-virtual-source.c50 "master=<name of source to filter> "
88 "master",
173 /* Get the latency of the master source */ in source_process_msg_cb()
215 /* Just hand this one over to the master source */ in source_update_requested_latency_cb()
435 * to the master. */ in source_output_kill_cb()
490 pa_source *master=NULL; in pa__init() local
507 if (!(master = pa_namereg_get(m->core, pa_modargs_get_value(ma, "master", NULL), PA_NAMEREG_SOURCE))) { in pa__init()
512 pa_assert(master); in pa__init()
514 ss = master in pa__init()
[all...]
H A Dmodule-remap-sink.c41 "master=<name of sink to remap> "
62 "master",
90 /* Get the latency of the master sink */ in sink_process_msg()
128 * of the master sink to make sure we are heard immediately */ in sink_set_state_in_io_thread_cb()
162 /* Just hand this one over to the master sink */ in sink_update_requested_latency()
290 * to the master. */ in sink_input_kill_cb()
336 pa_sink *master; in pa__init() local
348 if (!(master = pa_namereg_get(m->core, pa_modargs_get_value(ma, "master", NULL), PA_NAMEREG_SINK))) { in pa__init()
353 ss = master in pa__init()
[all...]
H A Dmodule-remap-source.c48 "master=<name of source to filter> "
69 "master",
99 /* Get the latency of the master source */ in source_process_msg_cb()
141 /* Just hand this one over to the master source */ in source_update_requested_latency_cb()
231 * to the master. */ in source_output_kill_cb()
296 pa_source *master; in pa__init() local
308 if (!(master = pa_namereg_get(m->core, pa_modargs_get_value(ma, "master", NULL), PA_NAMEREG_SOURCE))) { in pa__init()
313 ss = master->sample_spec; in pa__init()
314 source_map = master in pa__init()
[all...]
H A Dmodule-virtual-sink.c46 "master=<name of sink to filter> "
74 "master",
102 /* Get the latency of the master sink */ in sink_process_msg_cb()
140 * of the master sink to make sure we are heard immediately */ in sink_set_state_in_io_thread_cb()
160 /* Just hand this one over to the master sink */ in sink_request_rewind_cb()
177 /* Just hand this one over to the master sink */ in sink_update_requested_latency_cb()
278 /* Get the latency of the master sink */ in sink_input_pop_cb()
416 * to the master. */ in sink_input_kill_cb()
482 pa_sink *master=NULL; in pa__init() local
496 if (!(master in pa__init()
[all...]
/third_party/mesa3d/bin/
H A Dinstall_megadrivers.py45 master = os.path.join(to, os.path.basename(args.megadriver))
58 os.link(master, abs_driver)
73 # Remove meson-created master .so and symlinks
74 os.unlink(master)
75 name, ext = os.path.splitext(master)
/third_party/python/Lib/test/
H A Dtest_openpty.py11 master, slave = os.openpty()
12 self.addCleanup(os.close, master)
18 self.assertEqual(os.read(master, 1024), b'Ping!')
H A Dtest_readline.py310 [master, slave] = pty.openpty()
323 cleanup.callback(os.close, master)
330 sel.register(master, selectors.EVENT_READ | selectors.EVENT_WRITE)
331 os.set_blocking(master, False)
336 chunk = os.read(master, 0x10000)
347 input = input[os.write(master, input):]
354 sel.modify(master, selectors.EVENT_READ)

Completed in 15 milliseconds

123456