/external/tensorflow/tensorflow/python/util/ |
D | function_utils.py | 32 return tf_inspect.ismethod(fn) and (fn.__self__ is not None) 36 return hasattr(obj, '__call__') and tf_inspect.ismethod(obj.__call__) 92 elif tf_inspect.ismethod(func): 105 if tf_inspect.isfunction(func) or tf_inspect.ismethod(func):
|
D | tf_inspect.py | 273 if ismethod(func) and this: 373 def ismethod(object): # pylint: disable=redefined-builtin function 375 return _inspect.ismethod(tf_decorator.unwrap(object)[1])
|
D | tf_decorator.py | 169 if inspect.ismethod(innermost_decorator):
|
D | tf_inspect_test.py | 564 self.assertTrue(tf_inspect.ismethod(TestDecoratedClass().two)) 565 self.assertFalse(tf_inspect.ismethod(test_decorated_function))
|
/external/python/cpython2/Lib/ |
D | inspect.py | 67 def ismethod(object): function 94 and not ismethod(object) # mutual exclusion 160 return bool((isfunction(object) or ismethod(object)) and 239 or ismethod(object) 319 if (ismethod(obj_via_getattr) or 408 if ismethod(object): 565 if ismethod(object): 822 if ismethod(func): 939 if ismethod(func) and func.im_self is not None:
|
D | DocXMLRPCServer.py | 77 if inspect.ismethod(object):
|
D | pydoc.py | 132 return inspect.ismethod(obj) or inspect.ismethoddescriptor(obj) 910 if inspect.ismethod(object): 1300 if inspect.ismethod(object): 1507 if inspect.ismethod(thing):
|
D | doctest.py | 990 inspect.ismethod(val) or inspect.ismodule(val) or 1079 if inspect.ismethod(obj): obj = obj.im_func
|
/external/tensorflow/tensorflow/python/debug/wrappers/ |
D | framework_test.py | 421 tf_inspect.getmembers(session.Session, predicate=tf_inspect.ismethod) 426 framework.BaseDebugWrapperSession, predicate=tf_inspect.ismethod) 437 predicate=tf_inspect.ismethod) 442 framework.BaseDebugWrapperSession, predicate=tf_inspect.ismethod)
|
/external/python/cpython2/Lib/test/ |
D | test_pyclbr.py | 69 def ismethod(oclass, obj, name): function 118 if ismethod(py_item, getattr(py_item, m), m):
|
D | test_inspect.py | 51 inspect.isframe, inspect.isfunction, inspect.ismethod, 85 self.istest(inspect.ismethod, 'mod.StupidGit.abuse') 86 self.istest(inspect.ismethod, 'git.argue') 667 self.assertIn(('f', B.f), inspect.getmembers(B, inspect.ismethod)) 670 self.assertIn(('f', b.f), inspect.getmembers(b, inspect.ismethod)) 678 self.assertIn(('f', B.f), inspect.getmembers(B, inspect.ismethod)) 681 self.assertIn(('f', b.f), inspect.getmembers(b, inspect.ismethod))
|
/external/libcxx/utils/libcxx/test/ |
D | tracing.py | 38 if inspect.ismethod(member):
|
/external/python/cpython3/Lib/ |
D | inspect.py | 80 def ismethod(object): function 104 if isclass(object) or ismethod(object) or isfunction(object): 118 if isclass(object) or ismethod(object) or isfunction(object): 176 return bool((isfunction(object) or ismethod(object)) and 184 return bool((isfunction(object) or ismethod(object)) and 193 return bool((isfunction(object) or ismethod(object)) and 289 or ismethod(object) 547 if ismethod(obj): 654 if ismethod(object): 814 if ismethod(object): [all …]
|
D | pydoc.py | 142 inspect.ismethod(obj) or 151 if inspect.ismethod(fn): 1599 if inspect.ismethod(thing):
|
/external/python/cpython3/Lib/test/ |
D | test_pyclbr.py | 69 def ismethod(oclass, obj, name): function 112 if ismethod(py_item, getattr(py_item, m), m):
|
/external/tensorflow/tensorflow/python/autograph/impl/ |
D | conversion.py | 114 if tf_inspect.ismethod(o): 192 elif tf_inspect.ismethod(o): 233 method_filter = lambda m: tf_inspect.isfunction(m) or tf_inspect.ismethod(m)
|
D | api.py | 192 if tf_inspect.ismethod(f): 283 if tf_inspect.isfunction(f) or tf_inspect.ismethod(f):
|
/external/lua/src/ |
D | lparser.c | 782 static void body (LexState *ls, expdesc *e, int ismethod, int line) { in body() argument 790 if (ismethod) { in body() 1464 int ismethod = 0; in funcname() local 1469 ismethod = 1; in funcname() 1472 return ismethod; in funcname() 1478 int ismethod; in funcstat() local 1481 ismethod = funcname(ls, &v); in funcstat() 1482 body(ls, &b, ismethod, line); in funcstat()
|
/external/tensorflow/tensorflow/tools/docs/ |
D | parser.py | 139 if (tf_inspect.isclass(py_object) or tf_inspect.ismethod(py_object) or 1251 elif (tf_inspect.ismethod(child) or tf_inspect.isfunction(child) or 1527 if (tf_inspect.ismethod(py_object) or tf_inspect.isfunction(py_object) or
|
/external/chromium-trace/catapult/devil/devil/android/ |
D | forwarder.py | 31 if inspect.ismethod(p.create_time):
|
/external/python/cpython2/Doc/library/ |
D | inspect.rst | 274 .. function:: ismethod(object) 335 :func:`ismethod`, :func:`isclass`, :func:`isfunction` or :func:`isbuiltin` 348 :attr:`im_func` attribute (etc) when an object passes :func:`ismethod`.
|
/external/tensorflow/tensorflow/python/eager/ |
D | function.py | 959 is_method = tf_inspect.ismethod(python_function_to_inspect) 2050 if tf_inspect.ismethod(wrapped_fn): 2083 if tf_inspect.ismethod(wrapped_fn):
|
/external/libchrome/third_party/ply/ |
D | yacc.py | 2872 ismethod = 0 2874 ismethod = 1 2884 if (func_code(self.error_func).co_argcount != 1+ismethod):
|
/external/ply/ply/ply/ |
D | yacc.py | 3041 ismethod = 0 3043 ismethod = 1 3054 argcount = self.error_func.__code__.co_argcount - ismethod
|
/external/selinux/python/sepolgen/src/sepolgen/ |
D | yacc.py | 3041 ismethod = 0 3043 ismethod = 1 3054 argcount = self.error_func.__code__.co_argcount - ismethod
|