Home
last modified time | relevance | path

Searched refs:_asdict (Results 1 – 25 of 33) sorted by relevance

12

/external/autotest/utils/
Dlabellib.py161 **cros_version._asdict())
163 return '{group}/{milestone}-{version}'.format(**cros_version._asdict())
/external/llvm-project/clang/utils/analyzer/
DProjectMap.py102 return ProjectInfo(**{**self._asdict(), **kwargs})
200 whole_dict = project._asdict()
/external/toolchain-utils/llvm_tools/
Dpatch_manager_unittest.py509 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)
Dllvm_patch_management.py236 package_info[cur_package] = patches_info._asdict()
Dupdate_chromeos_llvm_hash_unittest.py720 package_info_dict = {'path/to': package_patch_info._asdict()}
/external/tensorflow/tensorflow/python/profiler/
Dprofiler_client.py132 opts = dict(options._asdict()) if options is not None else {}
Dprofiler_v2.py121 opts = dict(options._asdict()) if options is not None else {}
/external/python/cpython3/Lib/test/
Dtest_c_locale_coercion.py130 return dict(cls(fs_encoding, *stream_info, *env_info)._asdict())
152 child_encoding_details = dict(cls(*stdout_lines)._asdict())
Dtest_collections.py476 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/
Dcheck_package_boundaries.py37 return ERROR_MESSAGE.format(**self._asdict())
/external/python/cpython2/Lib/test/
Dtest_collections.py129 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/
Dnested_structure_coder_test.py116 self.assertEqual(named_tuple._asdict(), decoded._asdict())
Dnested_structure_coder.py237 pair.value.CopyFrom(encode_fn(named_tuple_value._asdict()[key]))
Dload_test.py551 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__.py460 def _asdict(self): function
474 _asdict,
490 '_asdict': _asdict,
/external/python/cpython2/Doc/library/
Dcollections.rst630 def _asdict(self):
645 __dict__ = _property(_asdict)
698 .. method:: somenamedtuple._asdict()
704 >>> p._asdict()
/external/python/cpython3/Doc/library/
Dcollections.rst918 .. method:: somenamedtuple._asdict()
926 >>> p._asdict()
937 ``OrderedDict(nt._asdict())``.
/external/yapf/
Dpylintrc382 exclude-protected=_asdict,_fields,_replace,_source,_make
/external/tensorflow/tensorflow/python/framework/
Dtest_util.py2633 a = a._asdict()
2635 b = b._asdict()
/external/avb/
Dpylintrc464 exclude-protected=_asdict,_fields,_replace,_source,_make
/external/pigweed/
D.pylintrc457 exclude-protected=_asdict,
/external/oss-fuzz/
D.pylintrc532 exclude-protected=_asdict,
/external/tensorflow/tensorflow/python/autograph/impl/
Dapi_test.py749 x = api.converted_call(obj._asdict, (), None, options=DEFAULT_RECURSIVE)
/external/python/cpython3/Doc/whatsnew/
D3.1.rst70 order. The *_asdict()* method for :func:`collections.namedtuple` now
/external/python/cpython2/Doc/
Dglossary.rst716 :meth:`~collections.somenamedtuple._asdict`. Examples of struct sequences

12