Home
last modified time | relevance | path

Searched refs:getattr (Results 76 - 100 of 780) sorted by relevance

12345678910>>...32

/third_party/python/Lib/test/test_email/
H A Dtest_message.py602 getattr(m, method)()
629 getattr(m, make_method)()
647 getattr(m, 'make_' + method)()
653 getattr(m, 'make_' + method)(boundary="abc")
661 getattr(m, method)()
676 getattr(m, add_method)('test', content_manager=cm)
707 getattr(m, method)('')
/third_party/skia/third_party/externals/spirv-tools/test/tools/
H A Dspirv_test_framework.py64 return [v for v in dir(instance) if not callable(getattr(instance, v))]
69 return [m for m in dir(instance) if callable(getattr(instance, m))]
289 expectation = getattr(self.test, expectation_name)
326 getattr(self.test, test_method)(test_status)
/third_party/skia/third_party/externals/swiftshader/third_party/SPIRV-Tools/test/tools/
H A Dspirv_test_framework.py64 return [v for v in dir(instance) if not callable(getattr(instance, v))]
69 return [m for m in dir(instance) if callable(getattr(instance, m))]
289 expectation = getattr(self.test, expectation_name)
326 getattr(self.test, test_method)(test_status)
/third_party/python/Lib/test/
H A Dtest_pyclbr.py89 py_item = getattr(module, name)
101 pyclbr_bases = [ getattr(base, 'name', base)
112 if ismethod(py_item, getattr(py_item, m), m):
140 item = getattr(module, name)
H A Dtest_abc.py33 self.assertFalse(getattr(D.foo, "__isabstractmethod__", False))
41 self.assertFalse(getattr(bar, "__isabstractmethod__", False))
59 self.assertFalse(getattr(bar, "__isabstractmethod__", False))
100 self.assertFalse(getattr(bar, "__isabstractmethod__", False))
119 self.assertFalse(getattr(bar, "__isabstractmethod__", False))
139 self.assertFalse(getattr(bar, "__isabstractmethod__", False))
241 return (getattr(self._fget, '__isabstractmethod__', False)
242 or getattr(self._fset, '__isabstractmethod__', False))
H A Dtest_binascii.py38 self.assertTrue(hasattr(getattr(binascii, name), '__call__'))
39 self.assertRaises(TypeError, getattr(binascii, name))
46 a2b = getattr(binascii, fa)
47 b2a = getattr(binascii, fb)
384 f = getattr(binascii, func)
394 self.assertRaises(TypeError, getattr(binascii, func), "test")
405 a2b = getattr(binascii, fa)
406 b2a = getattr(binascii, fb)
/third_party/python/Lib/
H A Dtypes.py172 self.__isabstractmethod__ = bool(getattr(fget, '__isabstractmethod__', False))
215 self.__name__ = getattr(gen, '__name__', None)
216 self.__qualname__ = getattr(gen, '__qualname__', None)
254 getattr(func, '__code__', None).__class__ is CodeType):
H A Denum.py73 qualname = getattr(obj, '__qualname__', '')
74 s_pattern = cls_name + '.' + getattr(obj, '__name__', '')
491 enum_dict['_generate_next_value_'] = getattr(
551 or getattr(first_enum, '_boundary_', None)
596 enum_method = getattr(first_enum, name)
597 found_method = getattr(enum_class, name)
598 object_method = getattr(object, name)
599 data_type_method = getattr(member_type, name)
611 enum_method = getattr(Flag, name)
1026 target = getattr(possibl
[all...]
H A Dpkgutil.py102 path = getattr(sys.modules[info.name], '__path__', None) or []
451 path = getattr(pkg, '__path__', None)
474 loader = getattr(module, '__loader__', None)
477 if getattr(module, '__spec__', None) is None:
715 result = getattr(result, p)
H A Drlcompleter.py179 if isinstance(getattr(type(thisobject), word, None),
185 # Also, getattr(thisobject, word) will evaluate the
189 if (value := getattr(thisobject, word, None)) is not None:
/third_party/python/Lib/unittest/
H A Drunner.py22 return getattr(self.stream,attr)
145 unexpectedSuccesses = getattr(self, 'unexpectedSuccesses', ())
213 startTestRun = getattr(result, 'startTestRun', None)
219 stopTestRun = getattr(result, 'stopTestRun', None)
H A Dmock.py57 obj = getattr(obj, '__func__')
62 if getattr(func, '__code__', None):
145 setattr(funcopy, attribute, getattr(func, attribute))
155 if getattr(obj, '__call__', None) is not None:
171 return getattr(obj, '__call__', None) is not None
267 return getattr(mock.mock, attr)(*args, **kwargs)
335 return getattr(self, _the_name)
336 return getattr(sig, name)
515 if iscoroutinefunction(getattr(spec, attr, None)):
644 obj = getattr(ob
[all...]
/third_party/spirv-tools/test/tools/
H A Dspirv_test_framework.py64 return [v for v in dir(instance) if not callable(getattr(instance, v))]
69 return [m for m in dir(instance) if callable(getattr(instance, m))]
289 expectation = getattr(self.test, expectation_name)
326 getattr(self.test, test_method)(test_status)
/third_party/python/Lib/idlelib/
H A Drunscript.py97 msg = getattr(value, 'msg', '') or value or "<no detail available>"
98 lineno = getattr(value, 'lineno', '') or 1
99 offset = getattr(value, 'offset', '') or 0
/third_party/python/Lib/distutils/command/
H A Dupload.py24 "md5_digest": getattr(hashlib, "md5", None),
25 "sha256_digest": getattr(hashlib, "sha256", None),
26 "blake2_256_digest": getattr(hashlib, "blake2b", None),
/third_party/python/Lib/importlib/
H A Dutil.py156 if getattr(module, '__package__', None) is None:
176 if getattr(module, '__loader__', None) is None:
258 return getattr(self, attr)
/third_party/protobuf/python/google/protobuf/internal/
H A D_parameterized.py268 assert not getattr(class_object, '_id_suffix', None), (
384 if getattr(func, '__x_use_name__', False):
391 id_suffix[new_name] = getattr(func, '__x_extra_id__', '')
/third_party/skia/third_party/externals/brotli/python/
H A Dbro.py26 stdio = getattr(sys, stream)
45 orig_stdio = getattr(sys, '__%s__' % stream)
/third_party/python/Lib/test/test_importlib/builtin/
H A Dtest_loader.py23 self.assertEqual(getattr(module, attr), value)
99 method = getattr(self.machinery.BuiltinImporter, meth_name)
/third_party/node/deps/v8/third_party/jinja2/
H A Druntime.py120 return getattr(x, "__func__", x)
283 if getattr(__obj, "contextfunction", False) is True:
285 elif getattr(__obj, "evalcontextfunction", False) is True:
287 elif getattr(__obj, "environmentfunction", False) is True:
312 return getattr(self.get_all(), meth)()
314 proxy.__doc__ = getattr(dict, meth).__doc__
/third_party/node/tools/inspector_protocol/jinja2/
H A Druntime.py98 return getattr(x, '__func__', x)
255 if getattr(__obj, 'contextfunction', 0):
257 elif getattr(__obj, 'evalcontextfunction', 0):
259 elif getattr(__obj, 'environmentfunction', 0):
280 proxy = lambda self: getattr(self.get_all(), meth)()
281 proxy.__doc__ = getattr(dict, meth).__doc__
/third_party/skia/third_party/externals/jinja2/
H A Druntime.py120 return getattr(x, "__func__", x)
283 if getattr(__obj, "contextfunction", False) is True:
285 elif getattr(__obj, "evalcontextfunction", False) is True:
287 elif getattr(__obj, "environmentfunction", False) is True:
312 return getattr(self.get_all(), meth)()
314 proxy.__doc__ = getattr(dict, meth).__doc__
/kernel/linux/linux-5.10/fs/orangefs/
H A Dsymlink.c15 .getattr = orangefs_getattr,
/kernel/linux/linux-6.6/fs/orangefs/
H A Dsymlink.c15 .getattr = orangefs_getattr,
/third_party/PyYAML/lib/_yaml/
H A D__init__.py10 if not getattr(yaml, '__with_libyaml__', False):

Completed in 17 milliseconds

12345678910>>...32