Searched refs:_asdict (Results 1 – 25 of 33) sorted by relevance
12
/external/autotest/utils/ |
D | labellib.py | 161 **cros_version._asdict()) 163 return '{group}/{milestone}-{version}'.format(**cros_version._asdict())
|
/external/llvm-project/clang/utils/analyzer/ |
D | ProjectMap.py | 102 return ProjectInfo(**{**self._asdict(), **kwargs}) 200 whole_dict = project._asdict()
|
/external/toolchain-utils/llvm_tools/ |
D | patch_manager_unittest.py | 509 self.assertDictEqual(patch_info._asdict(), expected_patch_info_dict) 624 self.assertDictEqual(patch_info._asdict(), expected_patch_info_dict) 759 self.assertDictEqual(patch_info._asdict(), expected_patch_info_dict) 890 self.assertDictEqual(patch_info._asdict(), expected_patch_info_dict)
|
D | llvm_patch_management.py | 236 package_info[cur_package] = patches_info._asdict()
|
D | update_chromeos_llvm_hash_unittest.py | 720 package_info_dict = {'path/to': package_patch_info._asdict()}
|
/external/tensorflow/tensorflow/python/profiler/ |
D | profiler_client.py | 132 opts = dict(options._asdict()) if options is not None else {}
|
D | profiler_v2.py | 121 opts = dict(options._asdict()) if options is not None else {}
|
/external/python/cpython3/Lib/test/ |
D | test_c_locale_coercion.py | 130 return dict(cls(fs_encoding, *stream_info, *env_info)._asdict()) 152 child_encoding_details = dict(cls(*stdout_lines)._asdict())
|
D | test_collections.py | 476 self.assertEqual(p._asdict(), dict(x=11, y=22)) # test _asdict method 523 self.assertEqual(Zero()._asdict(), {}) 531 self.assertEqual(Dot(1)._asdict(), {'d':1}) 546 d = b._asdict() 627 self.assertEqual(t._asdict(), dict(zip(T._fields, values))) 661 self.assertEqual(a._asdict(), OrderedDict([('x', 3), ('y', 4)]))
|
/external/webrtc/tools_webrtc/presubmit_checks_lib/ |
D | check_package_boundaries.py | 37 return ERROR_MESSAGE.format(**self._asdict())
|
/external/python/cpython2/Lib/test/ |
D | test_collections.py | 129 self.assertEqual(p._asdict(), dict(x=11, y=22)) # test _asdict method 130 … self.assertEqual(vars(p), p._asdict()) # verify that vars() works 173 self.assertEqual(Zero()._asdict(), {}) 181 self.assertEqual(Dot(1)._asdict(), {'d':1}) 196 d = b._asdict() 250 self.assertEqual(t._asdict(), dict(zip(T._fields, values)))
|
/external/tensorflow/tensorflow/python/saved_model/ |
D | nested_structure_coder_test.py | 116 self.assertEqual(named_tuple._asdict(), decoded._asdict())
|
D | nested_structure_coder.py | 237 pair.value.CopyFrom(encode_fn(named_tuple_value._asdict()[key]))
|
D | load_test.py | 551 self.assertEqual(["b", "a"], list(result[0]._asdict().keys())) 560 self.assertEqual(["b", "a"], list(result[0]._asdict().keys()))
|
/external/python/cpython3/Lib/collections/ |
D | __init__.py | 460 def _asdict(self): function 474 _asdict, 490 '_asdict': _asdict,
|
/external/python/cpython2/Doc/library/ |
D | collections.rst | 630 def _asdict(self): 645 __dict__ = _property(_asdict) 698 .. method:: somenamedtuple._asdict() 704 >>> p._asdict()
|
/external/python/cpython3/Doc/library/ |
D | collections.rst | 918 .. method:: somenamedtuple._asdict() 926 >>> p._asdict() 937 ``OrderedDict(nt._asdict())``.
|
/external/yapf/ |
D | pylintrc | 382 exclude-protected=_asdict,_fields,_replace,_source,_make
|
/external/tensorflow/tensorflow/python/framework/ |
D | test_util.py | 2633 a = a._asdict() 2635 b = b._asdict()
|
/external/avb/ |
D | pylintrc | 464 exclude-protected=_asdict,_fields,_replace,_source,_make
|
/external/pigweed/ |
D | .pylintrc | 457 exclude-protected=_asdict,
|
/external/oss-fuzz/ |
D | .pylintrc | 532 exclude-protected=_asdict,
|
/external/tensorflow/tensorflow/python/autograph/impl/ |
D | api_test.py | 749 x = api.converted_call(obj._asdict, (), None, options=DEFAULT_RECURSIVE)
|
/external/python/cpython3/Doc/whatsnew/ |
D | 3.1.rst | 70 order. The *_asdict()* method for :func:`collections.namedtuple` now
|
/external/python/cpython2/Doc/ |
D | glossary.rst | 716 :meth:`~collections.somenamedtuple._asdict`. Examples of struct sequences
|
12