Home
last modified time | relevance | path

Searched refs:meth (Results 1 – 25 of 867) sorted by relevance

12345678910>>...35

/external/python/cpython3/Doc/library/
Dasyncio-llapi-index.rst47 * - :meth:`loop.run_until_complete`
50 * - :meth:`loop.run_forever`
53 * - :meth:`loop.stop`
56 * - :meth:`loop.close`
59 * - :meth:`loop.is_running()`
62 * - :meth:`loop.is_closed()`
65 * - ``await`` :meth:`loop.shutdown_asyncgens`
74 * - :meth:`loop.set_debug`
77 * - :meth:`loop.get_debug`
86 * - :meth:`loop.call_soon`
[all …]
Dcollections.abc.rst102 ABC for classes that provide the :meth:`__contains__` method.
106 ABC for classes that provide the :meth:`__hash__` method.
110 ABC for classes that provide the :meth:`__len__` method.
114 ABC for classes that provide the :meth:`__call__` method.
118 ABC for classes that provide the :meth:`__iter__` method.
121 as :class:`Iterable` or that have an :meth:`__iter__` method, but it does
122 not detect classes that iterate with the :meth:`__getitem__` method.
134 ABC for classes that provide the :meth:`~iterator.__iter__` and
135 :meth:`~iterator.__next__` methods. See also the definition of
140 ABC for iterable classes that also provide the :meth:`__reversed__`
[all …]
Dasyncio-platforms.rst19 * :meth:`loop.add_reader` and :meth:`loop.add_writer`
38 * :meth:`loop.create_unix_connection` and
39 :meth:`loop.create_unix_server` are not supported.
42 * :meth:`loop.add_signal_handler` and
43 :meth:`loop.remove_signal_handler` are not supported.
50 * :meth:`loop.add_reader` and :meth:`loop.add_writer` only accept
53 * Pipes are not supported, so the :meth:`loop.connect_read_pipe`
54 and :meth:`loop.connect_write_pipe` methods are not implemented.
57 :meth:`loop.subprocess_exec` and :meth:`loop.subprocess_shell`
62 * The :meth:`loop.add_reader` and :meth:`loop.add_writer`
[all …]
Ddataclasses.rst15 adding generated :term:`special method`\s such as :meth:`__init__` and
16 :meth:`__repr__` to user-defined classes. It was originally described
34 Will add, among other things, a :meth:`__init__` that looks like::
88 - ``init``: If true (the default), a :meth:`__init__` method will be
91 If the class already defines :meth:`__init__`, this parameter is
94 - ``repr``: If true (the default), a :meth:`__repr__` method will be
101 If the class already defines :meth:`__repr__`, this parameter is
104 - ``eq``: If true (the default), an :meth:`__eq__` method will be
109 If the class already defines :meth:`__eq__`, this parameter is
112 - ``order``: If true (the default is ``False``), :meth:`__lt__`,
[all …]
Dgraphlib.rst35 to the graph using the :meth:`~TopologicalSorter.add` method.
43 * Call :meth:`~TopologicalSorter.prepare` on the graph.
44 * While :meth:`~TopologicalSorter.is_active` is ``True``, iterate over
45 the nodes returned by :meth:`~TopologicalSorter.get_ready` and
46 process them. Call :meth:`~TopologicalSorter.done` on each node as it
51 :meth:`TopologicalSorter.static_order` can be used directly:
98 Raises :exc:`ValueError` if called after :meth:`~TopologicalSorter.prepare`.
104 :meth:`~TopologicalSorter.get_ready` can still be used to obtain as many
107 added using :meth:`~TopologicalSorter.add`.
114 :meth:`TopologicalSorter.get_ready` or the number of nodes marked
[all …]
Dthreading.rst121 :meth:`~Thread.run` method is called.
130 :meth:`~Thread.run` method is called.
158 (:meth:`Lock.acquire`, :meth:`RLock.acquire`, :meth:`Condition.wait`, etc.).
207 callable object to the constructor, or by overriding the :meth:`~Thread.run`
210 :meth:`~Thread.__init__` and :meth:`~Thread.run` methods of this class.
213 thread's :meth:`~Thread.start` method. This invokes the :meth:`~Thread.run`
217 stops being alive when its :meth:`~Thread.run` method terminates -- either
218 normally, or by raising an unhandled exception. The :meth:`~Thread.is_alive`
221 Other threads can call a thread's :meth:`~Thread.join` method. This blocks
222 the calling thread until the thread whose :meth:`~Thread.join` method is
[all …]
Dcmd.rst69 has a method :meth:`do_foo`. As a special case, a line beginning with the
70 character ``'?'`` is dispatched to the method :meth:`do_help`. As another
72 method :meth:`do_shell` (if such a method is defined).
74 This method will return when the :meth:`postcmd` method returns a true value.
75 The *stop* argument to :meth:`postcmd` is the return value from the command's
76 corresponding :meth:`do_\*` method.
79 completing of commands args is done by calling :meth:`complete_foo` with
86 All subclasses of :class:`Cmd` inherit a predefined :meth:`do_help`. This
88 :meth:`help_bar`, and if that is not present, prints the docstring of
89 :meth:`do_bar`, if available. With no argument, :meth:`do_help` lists all
[all …]
/external/python/cpython2/Doc/library/
Dfl.rst170 All the :meth:`add_\*` methods return a Python object representing the FORMS
252 Add a clock object to the form. --- Method: :meth:`get_clock`.
257 Add a button object to the form. --- Methods: :meth:`get_button`,
258 :meth:`set_button`.
263 Add a lightbutton object to the form. --- Methods: :meth:`get_button`,
264 :meth:`set_button`.
269 Add a roundbutton object to the form. --- Methods: :meth:`get_button`,
270 :meth:`set_button`.
275 Add a slider object to the form. --- Methods: :meth:`set_slider_value`,
276 :meth:`get_slider_value`, :meth:`set_slider_bounds`, :meth:`get_slider_bounds`,
[all …]
Demail.rst118 :meth:`Generator.__call__`, :meth:`Message.get_type`,
119 :meth:`Message.get_main_type`, :meth:`Message.get_subtype`.
142 :meth:`Message.add_payload` method, the :func:`Utils.dump_address_pair`
146 :meth:`Generator.__call__`, :meth:`Message.get_type`,
147 :meth:`Message.get_main_type`, :meth:`Message.get_subtype`, and the *strict*
172 :meth:`~email.message.Message.is_multipart` returned false,
173 :meth:`~email.message.Message.get_payload` was not a list object, but a
179 :meth:`~email.message.Message.is_multipart`, and
180 :meth:`~email.message.Message.get_payload` returns a list containing a single
185 :meth:`~email.message.Message.get_payload`, you should be fine. You just need
[all …]
Dcmd.rst67 has a method :meth:`do_foo`. As a special case, a line beginning with the
68 character ``'?'`` is dispatched to the method :meth:`do_help`. As another
70 method :meth:`do_shell` (if such a method is defined).
72 This method will return when the :meth:`postcmd` method returns a true value.
73 The *stop* argument to :meth:`postcmd` is the return value from the command's
74 corresponding :meth:`do_\*` method.
77 completing of commands args is done by calling :meth:`complete_foo` with
84 All subclasses of :class:`Cmd` inherit a predefined :meth:`do_help`. This
86 :meth:`help_bar`, and if that is not present, prints the docstring of
87 :meth:`do_bar`, if available. With no argument, :meth:`do_help` lists all
[all …]
Dthreading.rst89 that can be set to true with the :meth:`~Event.set` method and reset to false
90 with the :meth:`clear` method. The :meth:`wait` method blocks until the flag
136 counter representing the number of :meth:`release` calls minus the number of
137 :meth:`acquire` calls, plus an initial value. The :meth:`acquire` method blocks
176 :meth:`~Thread.run` method is called.
187 :meth:`~Thread.run` method is called.
239 constructor, or by overriding the :meth:`run` method in a subclass. No other
241 other words, *only* override the :meth:`__init__` and :meth:`run` methods of
245 thread's :meth:`start` method. This invokes the :meth:`run` method in a
249 stops being alive when its :meth:`run` method terminates -- either normally, or
[all …]
/external/python/cpython2/Lib/compiler/
Dvisitor.py45 meth = self._cache.get(klass, None)
46 if meth is None:
48 meth = getattr(self.visitor, 'visit' + className, self.default)
49 self._cache[klass] = meth
57 return meth(node, *args)
76 meth = self._cache.get(node.__class__, None)
78 if meth is None:
79 meth = getattr(self.visitor, 'visit' + className, 0)
80 self._cache[node.__class__] = meth
82 print "dispatch", className, (meth and meth.__name__ or '')
[all …]
/external/clang/test/Index/
Dcursor-dynamic-call.mm3 virtual void meth(); field
8 this->meth();
9 SB::meth();
14 -(void)meth; method
25 [self meth];
26 [super meth];
34 ss->meth();
35 [is meth];
64 // CHECK: 8:11 MemberRefExpr=meth:3:16 {{.*}} Dynamic-call
66 // CHECK: 25:3 ObjCMessageExpr=meth:14:8 {{.*}} Dynamic-call Receiver-type=ObjCObjectPointer
[all …]
Doverrides.m43 -(void)meth; method in cat
50 -(void)meth { } method
61 -(void)meth; method
72 -(void)meth; method in readwrite
88 -(void)meth; method
92 -(void)meth; method in cat
96 -(void)meth{} method
107 // CHECK: overrides.m:50:8: ObjCInstanceMethodDecl=meth:50:8 (Definition) [Overrides @43:8]
114 // CHECK: overrides.m:72:8: ObjCInstanceMethodDecl=meth:72:8 [Overrides @61:8] Extent=[72:1 - 72:13]
117 // CHECK: overrides.m:92:8: ObjCInstanceMethodDecl=meth:92:8 Extent=[92:1 - 92:13]
[all …]
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_calltip.py182 for meth in (TC.t1, TC.t2, TC.t3, TC.t4, TC.t5, TC.t6, TC.__call__):
183 with self.subTest(meth=meth):
184 self.assertEqual(get_spec(meth), meth.tip + doc)
191 for meth, mtip in ((tc.t1, "()"), (tc.t4, "(*args)"),
194 with self.subTest(meth=meth, mtip=mtip):
195 self.assertEqual(get_spec(meth), mtip + doc)
202 for meth, mtip in ((C.m1, '(*args)'), (c.m1, "(*args)"),):
203 with self.subTest(meth=meth, mtip=mtip):
204 self.assertEqual(get_spec(meth), mtip)
223 for meth, mtip in ((TC.nd, "(self)"), (tc.nd, "()")):
[all …]
/external/clang/test/SemaObjC/
Dmethod-undefined-warn-1.m4 - (void) meth; method
5 - (void) meth : (int) arg1;
14 - (void) meth {} method
15 - (void) meth : (int) arg2{}
20 - (void) meth; method
21 - (void) meth : (int) arg1;
30 - (void) meth {} method
31 - (void) meth : (int) arg2{}
36 - (void) meth; method
37 - (void) meth : (int) arg1;
[all …]
Dwarn-category-method-deprecated.m5 - (void)meth; method
12 - (void)meth __attribute__((deprecated)); // expected-note {{'meth' has been explicitly marked depr…
16 [i meth]; // expected-warning {{'meth' is deprecated}}
Dcheck-dup-decl-methods-1.m4 - (int) meth; method
11 - (int) meth; // expected-note {{previous declaration is here}} method
12 - (int*) meth; // expected-error {{duplicate declaration of method 'meth'}} method
35 - (int) meth; // expected-note {{previous declaration is here}} method
36 - (int*) meth; // expected-error {{duplicate declaration of method 'meth'}} method
/external/llvm-project/clang/test/SemaObjC/
Dmethod-undefined-warn-1.m4 - (void) meth; method
5 - (void) meth : (int) arg1;
14 - (void) meth {} method
15 - (void) meth : (int) arg2{}
20 - (void) meth; method
21 - (void) meth : (int) arg1;
30 - (void) meth {} method
31 - (void) meth : (int) arg2{}
36 - (void) meth; method
37 - (void) meth : (int) arg1;
[all …]
Dwarn-category-method-deprecated.m5 - (void)meth; method
12 - (void)meth __attribute__((deprecated)); // expected-note {{'meth' has been explicitly marked depr…
16 [i meth]; // expected-warning {{'meth' is deprecated}}
/external/llvm-project/clang/test/Index/
Dcursor-dynamic-call.mm3 virtual void meth(); field
8 this->meth();
9 SB::meth();
14 -(void)meth; method
25 [self meth];
26 [super meth];
34 ss->meth();
35 [is meth];
73 // CHECK: 8:11 MemberRefExpr=meth:3:16 {{.*}} Dynamic-call
75 // CHECK: 25:3 ObjCMessageExpr=meth:14:8 {{.*}} Dynamic-call Receiver-type=ObjCObjectPointer
[all …]
Doverrides.m43 -(void)meth; method in cat
50 -(void)meth { } method
61 -(void)meth; method
72 -(void)meth; method in readwrite
88 -(void)meth; method
92 -(void)meth; method in cat
96 -(void)meth{} method
107 // CHECK: overrides.m:50:8: ObjCInstanceMethodDecl=meth:50:8 (Definition) [Overrides @43:8]
114 // CHECK: overrides.m:72:8: ObjCInstanceMethodDecl=meth:72:8 [Overrides @61:8] Extent=[72:1 - 72:13]
117 // CHECK: overrides.m:92:8: ObjCInstanceMethodDecl=meth:92:8 Extent=[92:1 - 92:13]
[all …]
/external/openssh/openbsd-compat/
Dlibressl-api-compat.c531 RSA_meth_free(RSA_METHOD *meth) in RSA_meth_free() argument
533 if (meth != NULL) { in RSA_meth_free()
534 free((char *)meth->name); in RSA_meth_free()
535 free(meth); in RSA_meth_free()
542 RSA_meth_dup(const RSA_METHOD *meth) in RSA_meth_dup() argument
548 memcpy(copy, meth, sizeof(*copy)); in RSA_meth_dup()
549 if ((copy->name = strdup(meth->name)) == NULL) { in RSA_meth_dup()
560 RSA_meth_set1_name(RSA_METHOD *meth, const char *name) in RSA_meth_set1_name() argument
566 free((char *)meth->name); in RSA_meth_set1_name()
567 meth->name = copy; in RSA_meth_set1_name()
[all …]
/external/python/cpython3/Include/
Dclassobject.h31 #define PyMethod_GET_FUNCTION(meth) \ argument
32 (((PyMethodObject *)meth) -> im_func)
33 #define PyMethod_GET_SELF(meth) \ argument
34 (((PyMethodObject *)meth) -> im_self)
50 #define PyInstanceMethod_GET_FUNCTION(meth) \ argument
51 (((PyInstanceMethodObject *)meth) -> func)
/external/python/cpython2/Doc/c-api/
Dmethod.rst36 .. c:function:: PyObject* PyMethod_Class(PyObject *meth)
38 Return the class object from which the method *meth* was created; if this was
42 .. c:function:: PyObject* PyMethod_GET_CLASS(PyObject *meth)
47 .. c:function:: PyObject* PyMethod_Function(PyObject *meth)
49 Return the function object associated with the method *meth*.
52 .. c:function:: PyObject* PyMethod_GET_FUNCTION(PyObject *meth)
57 .. c:function:: PyObject* PyMethod_Self(PyObject *meth)
59 Return the instance associated with the method *meth* if it is bound, otherwise
63 .. c:function:: PyObject* PyMethod_GET_SELF(PyObject *meth)

12345678910>>...35