Home
last modified time | relevance | path

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

12

/external/python/cpython3/Lib/turtledemo/
Dminimal_hanoi.py44 def hanoi(n, from_, with_, to_): argument
46 hanoi(n-1, from_, to_, with_)
47 to_.push(from_.pop())
48 hanoi(n-1, with_, from_, to_)
/external/python/cpython2/Demo/turtle/
Dtdemo_minimal_hanoi.py44 def hanoi(n, from_, with_, to_): argument
46 hanoi(n-1, from_, to_, with_)
47 to_.push(from_.pop())
48 hanoi(n-1, with_, from_, to_)
/external/autotest/frontend/db/backends/afe_sqlite/
Dcompiler.py6 from_, params = super(SQLCompiler, self).get_from_clause()
10 from_.append('%s %s AS %s ON (%s)'
17 return from_, params
/external/autotest/frontend/db/backends/afe/
Dcompiler.py6 from_, params = super(SQLCompiler, self).get_from_clause()
10 from_.append('%s %s AS %s ON (%s)'
17 return from_, params
/external/python/cpython2/Lib/lib-tk/test/test_ttk/
Dtest_extensions.py76 x = ttk.LabeledScale(self.root, from_=pair[0])
79 x = ttk.LabeledScale(self.root, from_='2.5')
82 x = ttk.LabeledScale(self.root, from_=None)
91 x = ttk.LabeledScale(self.root, variable=myvar, from_=0.5)
119 lscale = ttk.LabeledScale(self.root, from_=0, to=10)
130 lscale.scale.configure(from_=-5, to=5)
141 lscale.scale.configure(from_=0, to=10)
/external/python/cpython3/Lib/tkinter/test/test_ttk/
Dtest_extensions.py75 x = ttk.LabeledScale(self.root, from_=pair[0])
78 x = ttk.LabeledScale(self.root, from_=None)
87 x = ttk.LabeledScale(self.root, variable=myvar, from_=0.5)
115 lscale = ttk.LabeledScale(self.root, from_=0, to=10)
125 lscale.scale.configure(from_=-5, to=5)
136 lscale.scale.configure(from_=0, to=10)
/external/python/cpython2/Lib/lib-tk/
Dttk.py1480 def __init__(self, master=None, variable=None, from_=0, to=10, **kw): argument
1495 self._variable.set(from_)
1496 self._last_valid = from_
1499 self.scale = Scale(self, variable=self._variable, from_=from_, to=to)
1542 from_ = _to_number(self.scale['from'])
1544 if to < from_:
1545 from_, to = to, from_
1547 if not from_ <= newval <= to:
DTix.py1447 def delete(self, from_, to=None): argument
1448 self.tk.call(self._w, 'delete', from_, to)
1813 def delete_row(self, from_, to=None): argument
1817 self.tk.call(self, 'delete', 'row', from_)
1819 self.tk.call(self, 'delete', 'row', from_, to)
1821 def delete_column(self, from_, to=None): argument
1825 self.tk.call(self, 'delete', 'column', from_)
1827 self.tk.call(self, 'delete', 'column', from_, to)
1859 def move_column(self, from_, to, offset): argument
1863 self.tk.call(self, 'move', 'column', from_, to, offset)
[all …]
/external/python/cpython3/Lib/tkinter/
Dttk.py1515 def __init__(self, master=None, variable=None, from_=0, to=10, **kw): argument
1530 self._variable.set(from_)
1531 self._last_valid = from_
1534 self.scale = Scale(self, variable=self._variable, from_=from_, to=to)
1576 from_ = _to_number(self.scale['from'])
1578 if to < from_:
1579 from_, to = to, from_
1581 if not from_ <= newval <= to:
Dtix.py1444 def delete(self, from_, to=None): argument
1445 self.tk.call(self._w, 'delete', from_, to)
1809 def delete_row(self, from_, to=None): argument
1813 self.tk.call(self, 'delete', 'row', from_)
1815 self.tk.call(self, 'delete', 'row', from_, to)
1817 def delete_column(self, from_, to=None): argument
1821 self.tk.call(self, 'delete', 'column', from_)
1823 self.tk.call(self, 'delete', 'column', from_, to)
1855 def move_column(self, from_, to, offset): argument
1859 self.tk.call(self, 'move', 'column', from_, to, offset)
[all …]
/external/python/cpython2/Demo/tkinter/matt/
Dslider-demo-1.py14 self.slider = Scale(self, from_=0, to=100,
Danimation-w-velocity-ctrl.py20 self.speed = Scale(self, orient=HORIZONTAL, from_=-100, to=100)
Dpong-demo-1.py17 from_=-100, to=100)
/external/libchrome/base/i18n/
Dbuild_utf8_validator_tables.cc82 explicit Range(uint8_t value) : from_(value), to_(value) {} in Range()
95 uint8_t from() const { return from_; } in from()
107 uint8_t from_; member in __anonacaf82de0111::Range
/external/python/cpython3/Lib/
Dmailbox.py787 def get_string(self, key, from_=False): argument
790 self.get_bytes(key, from_)).as_string(unixfrom=from_)
792 def get_bytes(self, key, from_=False): argument
796 if not from_:
801 def get_file(self, key, from_=False): argument
805 if not from_:
1653 def set_from(self, from_, time_=None): argument
1658 from_ += ' ' + time.asctime(time_)
1659 self._from = from_
/external/tensorflow/tensorflow/core/grappler/utils/
Dgraph_view.h397 from_ = from_node->node_index_; in TopologicalDependency()
404 int from_ = internal::kMissingIndex; variable
Dgraph_view.cc1442 extra_dependency.from_ == extra_dependency.to_ || in SortTopologically()
1443 extra_dependency.from_ < 0 || extra_dependency.from_ >= num_nodes || in SortTopologically()
1448 extra_dependencies_by_parent[extra_dependency.from_].push_back( in SortTopologically()
/external/python/cpython2/Lib/
Dmailbox.py779 def get_string(self, key, from_=False): argument
783 if not from_:
788 def get_file(self, key, from_=False): argument
792 if not from_:
1604 def set_from(self, from_, time_=None): argument
1609 from_ += ' ' + time.asctime(time_)
1610 self._from = from_
/external/llvm-project/compiler-rt/lib/sanitizer_common/
Dsanitizer_syscalls_netbsd.inc423 (long long s_, void *buf_, long long len_, long long flags_, void *from_,
426 PRE_WRITE(from_, struct_sockaddr_sz);
431 void *from_, void *fromlenaddr_) {
434 POST_WRITE(from_, struct_sockaddr_sz);
871 PRE_SYSCALL(dup2)(long long from_, long long to_) { /* Nothing to do */ }
872 POST_SYSCALL(dup2)(long long res, long long from_, long long to_) {
1109 (long long s_, void *buf_, long long len_, long long flags_, void *from_,
1115 void *from_, void *fromlenaddr_) {
1126 PRE_SYSCALL(rename)(void *from_, void *to_) {
1127 const char *from = (const char *)from_;
[all …]
/external/python/cpython3/Lib/test/
Dtest_unicode.py2904 for idx, from_ in enumerate(strings):
2909 unicode_copycharacters, to, 0, from_, 0, 5
2914 unicode_copycharacters(from_, 0, from_, from_start, 5),
2915 (from_[from_start:from_start+5].ljust(5, '\0'),
2920 unicode_copycharacters(from_, to_start, from_, to_start, 5),
2921 (from_[to_start:to_start+5].rjust(5, '\0'),
Dtest_mailbox.py994 self.assertEqual(self._box.get_bytes(key0, from_=False),
996 self.assertEqual(self._box.get_bytes(key1, from_=False),
998 self.assertEqual(self._box.get_bytes(key0, from_=True),
1000 self.assertEqual(self._box.get_bytes(key1, from_=True),
1008 self.assertEqual(self._box.get_string(key0, from_=False),
1010 self.assertEqual(self._box.get_string(key1, from_=False).split('\n'),
1012 self.assertEqual(self._box.get_string(key0, from_=True),
1014 self.assertEqual(self._box.get_string(key1, from_=True).split('\n'),
/external/autotest/frontend/tko/
Dmodels.py97 from_ = sql[sql.find(' FROM'):]
99 from_),
/external/webrtc/rtc_base/
Dvirtual_socket_server.cc68 : size_(size), consumed_(0), from_(from) { in Packet()
78 const SocketAddress& from() const { return from_; } in from()
89 SocketAddress from_; member in rtc::Packet
/external/autotest/frontend/afe/
Dmodel_logic.py297 from_ = sql[sql.find(' FROM'):]
304 sql_query = ('SELECT ' + distinct + ','.join(selects) + from_)
/external/rust/crates/nix/test/sys/
Dtest_socket.rs190 let (len, from_) = recvfrom(rsock, &mut buf[l..]).unwrap(); in sendrecv()
191 f_recv(len, from_); in sendrecv()
192 from = from_; in sendrecv()

12