Home
last modified time | relevance | path

Searched refs:isfunction (Results 1 – 25 of 40) sorted by relevance

12

/external/python/cpython3/Lib/idlelib/
Dbrowser.py197 self.isfunction = isinstance(obj, pyclbr.Function)
202 if self.isfunction:
209 if self.isfunction:
/external/tensorflow/tensorflow/python/util/
Dfunction_utils.py93 if tf_inspect.isfunction(func):
108 if tf_inspect.isfunction(func) or tf_inspect.ismethod(func):
Dtf_inspect.py384 def isfunction(object): # pylint: disable=redefined-builtin function
386 return _inspect.isfunction(tf_decorator.unwrap(object)[1])
Dmodule_wrapper.py71 if tf_inspect.isfunction(symbol):
Dtf_inspect_test.py578 self.assertTrue(tf_inspect.isfunction(test_decorated_function))
579 self.assertFalse(tf_inspect.isfunction(TestDecoratedClass))
Dtf_decorator_test.py312 self.assertTrue(tf_inspect.isfunction(target))
/external/python/cpython2/Lib/idlelib/
DClassBrowser.py146 self.isfunction = isinstance(self.cl, pyclbr.Function)
149 if self.isfunction:
155 if self.isfunction:
/external/python/pyfakefs/pyfakefs/
Dfake_filesystem_unittest.py122 if inspect.isfunction(additional_skip_names):
440 inspect.isfunction(fake_module.dir)):
483 return ((inspect.isfunction(fct) or
497 if inspect.isfunction(item):
506 predicate=inspect.isfunction):
/external/python/cpython2/Lib/
Dinspect.py95 and not isfunction(object)
142 def isfunction(object): function
160 return bool((isfunction(object) or ismethod(object)) and
238 or isfunction(object)
410 if isfunction(object):
567 if isfunction(object):
824 if not isfunction(func):
Ddoctest.py943 elif inspect.isfunction(object):
977 if ((inspect.isfunction(val) or inspect.isclass(val)) and
989 if not (inspect.isfunction(val) or inspect.isclass(val) or
1010 if ((inspect.isfunction(val) or inspect.isclass(val) or
1080 if inspect.isfunction(obj): obj = obj.func_code
DDocXMLRPCServer.py88 elif inspect.isfunction(object):
/external/tensorflow/tensorflow/python/feature_column/
Dserialization.py282 elif tf_inspect.isfunction(identifier):
317 tf_inspect.isfunction(_get_registered_object(item, custom_objects))):
/external/autotest/frontend/afe/
Drpc_handler.py71 if not inspect.isfunction(attribute):
280 if not inspect.isfunction(attribute):
/external/tensorflow/tensorflow/python/autograph/pyct/
Dinspect_utils.py61 if not tf_inspect.isfunction(f):
352 if not (tf_inspect.isfunction(entity) or tf_inspect.ismethod(entity)):
Dtranspiler.py285 if inspect.isfunction(obj) or inspect.ismethod(obj):
/external/tensorflow/tensorflow/python/keras/utils/
Dtf_inspect.py370 def isfunction(object): # pylint: disable=redefined-builtin function
372 return _inspect.isfunction(tf_decorator.unwrap(object)[1])
Dgeneric_utils.py565 tf_inspect.isfunction(get_registered_object(item, custom_objects))):
667 elif tf_inspect.isfunction(identifier):
/external/python/cpython3/Lib/asyncio/
Dformat_helpers.py12 if inspect.isfunction(func):
/external/tensorflow/tensorflow/python/autograph/impl/
Dapi.py411 if inspect.ismethod(f) or inspect.isfunction(f):
618 if inspect.isfunction(func) or inspect.ismethod(func):
666 if inspect.isfunction(func) or inspect.ismethod(func):
718 if inspect.isfunction(f) or inspect.ismethod(f):
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_browser.py183 self.assertFalse(self.cbt_C1.isfunction)
185 self.assertTrue(self.cbt_f1.isfunction)
/external/python/cpython3/Lib/
Dinspect.py105 if isclass(object) or ismethod(object) or isfunction(object):
119 if isclass(object) or ismethod(object) or isfunction(object):
159 def isfunction(object): function
179 if not isfunction(f):
298 or isfunction(object)
566 elif isfunction(obj):
669 if isfunction(object):
855 if isfunction(object):
1440 if not isfunction(func):
2154 if not isfunction(func):
[all …]
/external/llvm-project/debuginfo-tests/dexter/dex/debugger/visualstudio/windows/
DComInterface.py91 assert (inspect.isfunction(fn) or inspect.ismethod(fn)
/external/tensorflow/tensorflow/compiler/mlir/tfr/python/
Dop_reg_gen.py138 for name, func in tf_inspect.getmembers(source, tf_inspect.isfunction)
/external/python/cpython2/Lib/test/
Dtest_inspect.py51 inspect.isframe, inspect.isfunction, inspect.ismethod,
61 other == inspect.isfunction:
84 self.istest(inspect.isfunction, 'mod.spam')
255 functions = inspect.getmembers(mod, inspect.isfunction)
/external/tensorflow/tensorflow/python/ops/
Dscript_ops.py312 if tf_inspect.isfunction(original_func):

12