Home
last modified time | relevance | path

Searched refs:__getattribute__ (Results 1 – 25 of 75) sorted by relevance

123

/external/python/cpython2/Lib/
D_threading_local.py160 dict = object.__getattribute__(self, '__dict__')
166 key = object.__getattribute__(self, '_local__key')
177 args, kw = object.__getattribute__(self, '_local__args')
184 def __getattribute__(self, name): member in local
185 lock = object.__getattribute__(self, '_local__lock')
189 return object.__getattribute__(self, name)
198 lock = object.__getattribute__(self, '_local__lock')
211 lock = object.__getattribute__(self, '_local__lock')
222 key = object.__getattribute__(self, '_local__key')
/external/tensorflow/tensorflow/python/util/
Dtf_should_use.py106 object.__getattribute__(self, '_tf_should_use_wrapped_value'),
112 object.__getattribute__(self, '_tf_should_use_helper').sate()
114 return object.__getattribute__(self, key)
116 object.__getattribute__(self, '_tf_should_use_wrapped_value'), key)
120 object.__getattribute__(self, '_tf_should_use_helper').sate()
122 mu = object.__getattribute__(
123 object.__getattribute__(self, '_tf_should_use_wrapped_value'),
167 copy_tx.__getattribute__ = _new__getattribute__
Dmodule_wrapper.py168 func__fastdict_insert = object.__getattribute__(self, '_fastdict_insert')
179 attr = object.__getattribute__(self, name)
/external/tensorflow/tensorflow/python/platform/
Dflags.py75 def __getattribute__(self, name): member in _FlagValuesWrapper
77 return super(_FlagValuesWrapper, self).__getattribute__(name)
78 return self.__dict__['__wrapped'].__getattribute__(name)
/external/python/cpython3/Lib/
D_threading_local.py192 impl = object.__getattribute__(self, '_local__impl')
221 def __getattribute__(self, name): member in local
223 return object.__getattribute__(self, name)
/external/tensorflow/tensorflow/python/training/tracking/
Dpython_state_test.py70 def __getattribute__(self, name): member in _NumpyState
73 arrays = super(_NumpyState, self).__getattribute__("_arrays")
76 return super(_NumpyState, self).__getattribute__(name)
86 return super(_NumpyState, self).__getattribute__(name)
90 return super(_NumpyState, self).__getattribute__(name)
Ddata_structures.py790 def __getattribute__(self, name): member in _DictWrapper
797 return object.__getattribute__(self, name)
799 return super(_DictWrapper, self).__getattribute__(name)
1055 def __getattribute__(self, name): member in _TupleWrapper
1062 return object.__getattribute__(self, name)
1064 return super(_TupleWrapper, self).__getattribute__(name)
/external/tensorflow/tensorflow/python/autograph/operators/
Dvariables.py93 def __getattribute__(self, name): member in Undefined
96 return object.__getattribute__(self, name)
/external/autotest/client/cros/mock_policies/
Dcreate_blob.py76 entries = group_message.__getattribute__(field.name)
89 entries = group_message.__getattribute__(field.name).entries
119 settings.__getattribute__(group.name).CopyFrom(group_message)
151 settings.__getattribute__(group.name).CopyFrom(group_message)
/external/python/cpython2/Doc/howto/
Ddescriptor.rst95 For objects, the machinery is in :meth:`object.__getattribute__` which
103 For classes, the machinery is in :meth:`type.__getattribute__` which transforms
107 def __getattribute__(self, key):
109 v = object.__getattribute__(self, key)
116 * descriptors are invoked by the :meth:`__getattribute__` method
117 * overriding :meth:`__getattribute__` prevents automatic descriptor calls
118 * :meth:`__getattribute__` is only available with new style classes and objects
119 * :meth:`object.__getattribute__` and :meth:`type.__getattribute__` make
124 The object returned by ``super()`` also has a custom :meth:`__getattribute__`
129 search using :meth:`object.__getattribute__`.
[all …]
/external/autotest/frontend/afe/
Ddirect_afe.py17 func = rpc_interface.__getattribute__(call)
/external/autotest/client/common_lib/
Dmetrics_mock_class.py54 def __getattribute__(self, name): member in mock_class_base
/external/python/cpython3/Lib/importlib/
Dutil.py223 def __getattribute__(self, attr): member in _LazyModule
262 self.__getattribute__(attr)
/external/python/cpython3/Doc/howto/
Ddescriptor.rst578 The logic for a dotted lookup is in :meth:`object.__getattribute__`. Here is
606 # normal object.__getattribute__(). The former will be accessed by
698 Interestingly, attribute lookup doesn't call :meth:`object.__getattribute__`
707 return obj.__getattribute__(name)
713 So if :meth:`__getattr__` exists, it is called whenever :meth:`__getattribute__`
716 Also, if a user calls :meth:`object.__getattribute__` directly, the
724 :meth:`type.__getattribute__`. The steps are similar to those for
725 :meth:`object.__getattribute__` but the instance dictionary lookup is replaced
737 The logic for super's dotted lookup is in the :meth:`__getattribute__` method for
754 The mechanism for descriptors is embedded in the :meth:`__getattribute__()`
[all …]
/external/python/jinja/src/jinja2/
Dutils.py645 def __getattribute__(self, name): member in Namespace
648 return object.__getattribute__(self, name)
/external/libchrome/third_party/jinja2/
Dutils.py623 def __getattribute__(self, name): member in Namespace
625 return object.__getattribute__(self, name)
/external/python/cpython2/Lib/test/
Dtest_descr.py667 def __getattribute__(self, name): member in ClassPropertiesAndMethods.test_module_subclasses.MM
669 return MT.__getattribute__(self, name)
1870 def __getattribute__(self, attr, test=self): member in ClassPropertiesAndMethods.test_special_method_lookup.Checker
1873 return object.__getattribute__(self, attr)
3644 def __getattribute__(self, name): function
3647 return object.__getattribute__(self, name)
3648 A.__getattribute__ = __getattribute__
3659 del A.__getattribute__
4097 def __getattribute__(self, attr): member in ClassPropertiesAndMethods.test_mutable_bases.C2
4101 return super(C2, self).__getattribute__(attr)
[all …]
Dtest_copy.py69 def __getattribute__(self, name): member in TestCopy.test_copy_cant.C
72 return object.__getattribute__(self, name)
288 def __getattribute__(self, name): member in TestCopy.test_deepcopy_cant.C
291 return object.__getattribute__(self, name)
/external/python/cpython2/Lib/multiprocessing/
Dmanagers.py1021 return object.__getattribute__(self, key)
1022 callmethod = object.__getattribute__(self, '_callmethod')
1027 callmethod = object.__getattribute__(self, '_callmethod')
1032 callmethod = object.__getattribute__(self, '_callmethod')
/external/tensorflow/tensorflow/python/keras/mixed_precision/
Dloss_scale_optimizer.py882 def __getattribute__(self, name): member in LossScaleOptimizer
884 return object.__getattribute__(self, name)
914 object.__getattribute__(self, name)
/external/python/cpython3/Lib/test/
Dtest_descr.py821 def __getattribute__(self, name): member in ClassPropertiesAndMethods.test_module_subclasses.MM
823 return MT.__getattribute__(self, name)
2051 def __getattribute__(self, attr, test=self): member in ClassPropertiesAndMethods.test_special_method_lookup.Checker
2054 return object.__getattribute__(self, attr)
3474 def __getattribute__(self, name): function
3477 return object.__getattribute__(self, name)
3478 A.__getattribute__ = __getattribute__
3489 del A.__getattribute__
3910 def __getattribute__(self, attr): member in ClassPropertiesAndMethods.test_mutable_bases.C2
3914 return super(C2, self).__getattribute__(attr)
[all …]
Dtest_copy.py80 def __getattribute__(self, name): member in TestCopy.test_copy_cant.C
83 return object.__getattribute__(self, name)
342 def __getattribute__(self, name): member in TestCopy.test_deepcopy_cant.C
345 return object.__getattribute__(self, name)
/external/python/cpython3/Lib/multiprocessing/
Dmanagers.py1110 return object.__getattribute__(self, key)
1111 callmethod = object.__getattribute__(self, '_callmethod')
1116 callmethod = object.__getattribute__(self, '_callmethod')
1121 callmethod = object.__getattribute__(self, '_callmethod')
/external/tensorflow/tensorflow/lite/tools/
Dvisualize.py402 attribute = fb.__getattribute__(attribute_name)
/external/tensorflow/tensorflow/python/module/
Dmodule_test.py187 def __getattribute__(self, name): member in TestModuleNaming.test_get_attribute_doesnt_enter_name_scope.GetAttributeModule
189 return super(GetAttributeModule, self).__getattribute__(name)

123