Home
last modified time | relevance | path

Searched refs:namedtuple (Results 1 – 25 of 496) sorted by relevance

12345678910>>...20

/external/icu/icu4c/source/python/icutools/databuilder/
D__init__.py4 from collections import namedtuple
6 LocalFile = namedtuple("LocalFile", ["dirname", "filename"])
7 SrcFile = namedtuple("SrcFile", ["filename"])
8 InFile = namedtuple("InFile", ["filename"])
9 TmpFile = namedtuple("TmpFile", ["filename"])
10 OutFile = namedtuple("OutFile", ["filename"])
11 PkgFile = namedtuple("PkgFile", ["filename"])
13 IcuTool = namedtuple("IcuTool", ["name"])
14 SystemTool = namedtuple("SystemTool", ["name"])
16 DepTarget = namedtuple("DepTarget", ["name"])
/external/icu/icu4c/source/python/icutools/databuilder/renderers/
D__init__.py4 from collections import namedtuple
6 MakeRule = namedtuple("MakeRule", ["name", "dep_literals", "dep_files", "output_file", "cmds"])
8 MakeFilesVar = namedtuple("MakeFilesVar", ["name", "files"])
10 MakeStringVar = namedtuple("MakeStringVar", ["name", "content"])
/external/toolchain-utils/cros_utils/
Dtiny_render.py60 Bold = collections.namedtuple('Bold', ['inner'])
61 LineBreak = collections.namedtuple('LineBreak', [])
62 Link = collections.namedtuple('Link', ['href', 'inner'])
63 UnorderedList = collections.namedtuple('UnorderedList', ['items'])
65 Switch = collections.namedtuple('Switch', ['text', 'html'])
/external/autotest/server/cros/network/
Dwpa_mon.py5 from collections import namedtuple
33 Roam = namedtuple('Roam',
36 Disconnect = namedtuple('Disconnect', ['bssid', 'reason',
38 ScanResults = namedtuple('ScanResults', [])
39 Bss = namedtuple('Bss', ['id', 'bssid'])
41 MatchFields = namedtuple('MatchFields', ['match_str', 'obj'])
/external/python/cpython3/Lib/idlelib/idle_test/
Dtest_pyparse.py5 from collections import namedtuple
150 TestInfo = namedtuple('TestInfo', ['string', 'goodlines',
200 TestInfo = namedtuple('TestInfo', ['string', 'continuation'])
220 TestInfo = namedtuple('TestInfo', ['string', 'start', 'end', 'lastch',
281 TestInfo = namedtuple('TestInfo', ['string', 'lines'])
309 TestInfo = namedtuple('TestInfo', ['string', 'spaces'])
352 TestInfo = namedtuple('TestInfo', ('string', 'spaces'))
380 TestInfo = namedtuple('TestInfo', ['string', 'indent'])
402 TestInfo = namedtuple('TestInfo', ['string', 'assert_'])
430 TestInfo = namedtuple('TestInfo', ['string', 'assert_'])
[all …]
/external/python/jinja/tests/
Dtest_asyncfilters.py1 from collections import namedtuple
71 Date = namedtuple("Date", "day,month,year")
72 Article = namedtuple("Article", "title,date")
111 User = namedtuple("User", "username")
146 User = namedtuple("User", "name,is_active")
Dtest_filters.py2 from collections import namedtuple
229 User = namedtuple("User", "username")
547 Date = namedtuple("Date", "day,month,year")
548 Article = namedtuple("Article", "title,date")
624 User = namedtuple("User", "name")
640 Fullname = namedtuple("Fullname", "firstname,lastname")
641 Firstname = namedtuple("Firstname", "firstname")
675 User = namedtuple("User", "name,is_active")
688 User = namedtuple("User", "name,is_active")
701 User = namedtuple("User", "id,name")
[all …]
/external/python/cpython3/Doc/library/
Dsndhdr.rst21 :func:`~collections.namedtuple`, containing five attributes: (``filetype``,
36 :func:`whathdr`. If it succeeds, returns a namedtuple as described above, otherwise
40 Result changed from a tuple to a namedtuple.
46 The name of the file is given by *filename*. This function returns a namedtuple as
50 Result changed from a tuple to a namedtuple.
/external/autotest/client/site_tests/video_AVAnalysis/
Dvideo_AVAnalysis.py16 from collections import namedtuple
29 dut_info = namedtuple('dut_info', 'ip, board, build')
30 srv_info = namedtuple('srv_info', 'ip, port, path')
31 rec_info = namedtuple('rec_info', ('vid_name, duration, project_id, '
33 tst_info = namedtuple('tst_info', ('check_smoothness, check_psnr, '
/external/python/cpython2/Lib/test/
Dtest_collections.py15 from collections import namedtuple, Counter, OrderedDict
25 TestNT = namedtuple('TestNT', 'x y z') # type used for pickle tests
67 Point = namedtuple('Point', 'x y')
74 self.assertRaises(ValueError, namedtuple, 'abc%', 'efg ghi') # type has non-alpha char
75 self.assertRaises(ValueError, namedtuple, 'class', 'efg ghi') # type has keyword
76 self.assertRaises(ValueError, namedtuple, '9abc', 'efg ghi') # type starts with digit
78 … self.assertRaises(ValueError, namedtuple, 'abc', 'efg g%hi') # field with non-alpha char
79 self.assertRaises(ValueError, namedtuple, 'abc', 'abc class') # field has keyword
80 self.assertRaises(ValueError, namedtuple, 'abc', '8efg 9ghi') # field starts with digit
81 … self.assertRaises(ValueError, namedtuple, 'abc', '_efg ghi') # field with leading underscore
[all …]
/external/tensorflow/tensorflow/python/kernel_tests/
Dcudnn_deterministic_base.py55 LayerShapeNHWC = collections.namedtuple('LayerShapeNHWC',
57 FilterShape2D = collections.namedtuple(
60 LayerShapeNCDHW = collections.namedtuple(
62 FilterShape3D = collections.namedtuple(
/external/autotest/client/cros/image_comparison/
Dcomparison_result.py5 from collections import namedtuple
9 ComparisonResult = namedtuple('ComparisonResult',
/external/autotest/client/common_lib/cros/network/
Dwifi_rack_constants.py5 from collections import namedtuple
12 NetworkServices = namedtuple('NetworkServices',
/external/python/cpython3/Lib/test/
Dtest_collections.py16 from collections import namedtuple, Counter, OrderedDict, _count_elements
302 TestNT = namedtuple('TestNT', 'x y z') # type used for pickle tests
307 Point = namedtuple('Point', 'x y')
314 self.assertRaises(ValueError, namedtuple, 'abc%', 'efg ghi') # type has non-alpha char
315 self.assertRaises(ValueError, namedtuple, 'class', 'efg ghi') # type has keyword
316 self.assertRaises(ValueError, namedtuple, '9abc', 'efg ghi') # type starts with digit
318 … self.assertRaises(ValueError, namedtuple, 'abc', 'efg g%hi') # field with non-alpha char
319 self.assertRaises(ValueError, namedtuple, 'abc', 'abc class') # field has keyword
320 self.assertRaises(ValueError, namedtuple, 'abc', '8efg 9ghi') # field starts with digit
321 … self.assertRaises(ValueError, namedtuple, 'abc', '_efg ghi') # field with leading underscore
[all …]
/external/grpc-grpc/src/python/grpcio/grpc/framework/interfaces/base/
Dutilities.py22 collections.namedtuple('_Completion', (
31 collections.namedtuple('_Subscription', (
/external/autotest/client/site_tests/security_SysVIPC/
Dsecurity_SysVIPC.py9 from collections import namedtuple
14 ShmRecord = namedtuple('ShmRecord', ['owner', 'perms', 'attached'])
15 SemaphoreRecord = namedtuple('SemaphoreRecord', ['owner', 'perms'])
/external/python/cpython3/Tools/c-analyzer/c_analyzer/parser/
Dpreprocessor.py1 from collections import namedtuple
141 namedtuple('Constant', 'kind name value')):
168 namedtuple('Macro', 'kind name args body')):
214 namedtuple('IfDirective', 'kind condition')):
287 namedtuple('Include', 'kind file')):
313 namedtuple('OtherDirective', 'kind text')):
/external/tensorflow/tensorflow/python/ops/
Dparsing_config.py48 class VarLenFeature(collections.namedtuple("VarLenFeature", ["dtype"])):
59 collections.namedtuple(
181 RowSplits = collections.namedtuple("RowSplits", ["key"])
182 RowLengths = collections.namedtuple("RowLengths", ["key"])
183 RowStarts = collections.namedtuple("RowStarts", ["key"])
184 RowLimits = collections.namedtuple("RowLimits", ["key"])
185 ValueRowIds = collections.namedtuple("ValueRowIds", ["key"])
186 UniformRowLength = collections.namedtuple("UniformRowLength", ["length"])
225 collections.namedtuple(
299 class FixedLenFeature(collections.namedtuple(
[all …]
/external/rust/crates/grpcio-sys/grpc/tools/codegen/core/
Dgen_settings_ids.py23 Setting = collections.namedtuple('Setting', 'id default min max on_error')
24 OnError = collections.namedtuple('OnError', 'behavior code')
28 DecoratedSetting = collections.namedtuple('DecoratedSetting',
/external/grpc-grpc/tools/codegen/core/
Dgen_settings_ids.py23 Setting = collections.namedtuple('Setting', 'id default min max on_error')
24 OnError = collections.namedtuple('OnError', 'behavior code')
27 DecoratedSetting = collections.namedtuple('DecoratedSetting',
/external/python/cpython3/Tools/c-analyzer/c_analyzer/symbols/
Dinfo.py1 from collections import namedtuple
7 class Symbol(_NTBase, namedtuple('Symbol', 'id kind external')):
/external/tensorflow/tensorflow/python/training/
Dsession_run_hook.py191 collections.namedtuple("SessionRunArgs",
268 collections.namedtuple("SessionRunValues",
/external/chromium-trace/catapult/devil/devil/utils/
Dgeometry.py9 class Point(collections.namedtuple('Point', ['x', 'y'])):
40 collections.namedtuple('Rectangle', ['top_left', 'bottom_right'])):
/external/autotest/client/site_tests/graphics_WebGLAquarium/
Dsystem_sampler.py23 Sample = collections.namedtuple(
29 VMStat = collections.namedtuple('VMStat', ['pswpin', 'pswpout'])
76 mem_info = collections.namedtuple('MemInfo', mem_info_in_kb._fields)(
/external/tensorflow/tensorflow/python/util/
Dnest_test.py74 PointXY = collections.namedtuple("Point", ["x", "y"]) # pylint: disable=invalid-name
210 Abc = collections.namedtuple("A", ("b", "c")) # pylint: disable=invalid-name
329 Named0ab = collections.namedtuple("named_0", ("a", "b"))
330 Named1ab = collections.namedtuple("named_1", ("a", "b"))
331 SameNameab = collections.namedtuple("same_name", ("a", "b"))
332 SameNameab2 = collections.namedtuple("same_name", ("a", "b"))
333 SameNamexy = collections.namedtuple("same_name", ("x", "y"))
334 SameName1xy = collections.namedtuple("same_name_1", ("x", "y"))
335 SameName1xy2 = collections.namedtuple("same_name_1", ("x", "y"))
336 NotSameName = collections.namedtuple("not_same_name", ("a", "b"))
[all …]

12345678910>>...20