Home
last modified time | relevance | path

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

1234567

/third_party/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"])
/third_party/skia/third_party/externals/icu/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"])
/third_party/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"])
/third_party/skia/third_party/externals/icu/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"])
/third_party/python/Lib/idlelib/idle_test/
Dtest_pyparse.py5 from collections import namedtuple
152 TestInfo = namedtuple('TestInfo', ['string', 'goodlines',
202 TestInfo = namedtuple('TestInfo', ['string', 'continuation'])
222 TestInfo = namedtuple('TestInfo', ['string', 'start', 'end', 'lastch',
283 TestInfo = namedtuple('TestInfo', ['string', 'lines'])
311 TestInfo = namedtuple('TestInfo', ['string', 'spaces'])
354 TestInfo = namedtuple('TestInfo', ('string', 'spaces'))
382 TestInfo = namedtuple('TestInfo', ['string', 'indent'])
404 TestInfo = namedtuple('TestInfo', ['string', 'assert_'])
432 TestInfo = namedtuple('TestInfo', ['string', 'assert_'])
[all …]
Dtest_editor.py5 from collections import namedtuple
130 TestInfo = namedtuple('Tests', ['label', 'text', 'expected', 'mark'])
/third_party/skia/third_party/externals/dawn/generator/
Dopengl_loader_generator.py17 from collections import namedtuple
45 ProcParam = namedtuple('ProcParam', ['name', 'type'])
102 EnumDefine = namedtuple('EnumDefine', ['name', 'value'])
103 Version = namedtuple('Version', ['major', 'minor'])
104 VersionBlock = namedtuple('VersionBlock', ['version', 'procs', 'enums'])
105 HeaderBlock = namedtuple('HeaderBlock', ['description', 'procs', 'enums'])
106 ExtensionBlock = namedtuple('ExtensionBlock',
Dgenerator_lib.py39 from collections import namedtuple
54 FileRender = namedtuple('FileRender', ['template', 'output', 'params_dicts'])
154 _FileOutput = namedtuple('FileOutput', ['name', 'content'])
/third_party/flutter/skia/third_party/externals/dawn/generator/
Dopengl_loader_generator.py17 from collections import namedtuple
43 ProcParam = namedtuple('ProcParam', ['name', 'type'])
95 EnumDefine = namedtuple('EnumDefine', ['name', 'value'])
96 Version = namedtuple('Version', ['major', 'minor'])
97 VersionBlock = namedtuple('VersionBlock', ['version', 'procs', 'enums'])
98 HeaderBlock = namedtuple('HeaderBlock', ['description', 'procs', 'enums'])
Dgenerator_lib.py40 from collections import namedtuple
55 FileRender = namedtuple('FileRender', ['template', 'output', 'params_dicts'])
139 _FileOutput = namedtuple('FileOutput', ['name', 'content'])
/third_party/python/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.
/third_party/python/Lib/test/
Dtest_collections.py17 from collections import namedtuple, Counter, OrderedDict, _count_elements
307 TestNT = namedtuple('TestNT', 'x y z') # type used for pickle tests
312 Point = namedtuple('Point', 'x y')
319 self.assertRaises(ValueError, namedtuple, 'abc%', 'efg ghi') # type has non-alpha char
320 self.assertRaises(ValueError, namedtuple, 'class', 'efg ghi') # type has keyword
321 self.assertRaises(ValueError, namedtuple, '9abc', 'efg ghi') # type starts with digit
323 … self.assertRaises(ValueError, namedtuple, 'abc', 'efg g%hi') # field with non-alpha char
324 self.assertRaises(ValueError, namedtuple, 'abc', 'abc class') # field has keyword
325 self.assertRaises(ValueError, namedtuple, 'abc', '8efg 9ghi') # field starts with digit
326 … self.assertRaises(ValueError, namedtuple, 'abc', '_efg ghi') # field with leading underscore
[all …]
/third_party/flutter/skia/third_party/externals/angle2/src/common/
Dgen_packed_gl_enums.py10 from collections import namedtuple
13 Enum = namedtuple('Enum', ['name', 'values', 'max_value'])
14 EnumValue = namedtuple('EnumValue', ['name', 'gl_name', 'value'])
/third_party/skia/third_party/externals/angle2/src/common/
Dgen_packed_gl_enums.py11 from collections import namedtuple
14 Enum = namedtuple('Enum', ['name', 'values', 'max_value'])
15 EnumValue = namedtuple('EnumValue', ['name', 'gl_name', 'value'])
/third_party/python/Doc/includes/
Ddbpickle.py6 from collections import namedtuple
9 MemoRecord = namedtuple("MemoRecord", "key, task")
/third_party/rust/crates/minimal-lexical/etc/correctness/test-parse-random/
Druntests.py96 from collections import namedtuple
111 INF = namedtuple('INF', '')()
112 NEG_INF = namedtuple('NEG_INF', '')()
113 ZERO = namedtuple('ZERO', '')()
/third_party/skia/third_party/externals/angle2/scripts/
Droll_chromium_deps.py123 DepsEntry = collections.namedtuple('DepsEntry', 'path url revision')
124 ChangedDep = collections.namedtuple('ChangedDep', 'path url current_rev new_rev')
125 ClangChange = collections.namedtuple('ClangChange', 'mirror_change clang_change')
126 CipdDepsEntry = collections.namedtuple('CipdDepsEntry', 'path packages')
127 ChangedCipdPackage = collections.namedtuple('ChangedCipdPackage',
130 ChromiumRevisionUpdate = collections.namedtuple('ChromiumRevisionUpdate', ('current_chromium_rev '
/third_party/mesa3d/src/vulkan/runtime/
Dvk_physical_device_features.py27 from collections import OrderedDict, namedtuple
143 Feature = namedtuple('Feature', 'name vk_type vk_flags')
/third_party/python/Lib/
Dsched.py28 from collections import namedtuple
35 Event = namedtuple('Event', 'time, priority, sequence, action, argument, kwargs')
Dsndhdr.py35 from collections import namedtuple
37 SndHeaders = namedtuple('SndHeaders',
/third_party/icu/tools/commit-checker/
Dcheck.py13 from collections import namedtuple
18 ICUCommit = namedtuple("ICUCommit", ["issue_id", "commit"])
26 ICUIssue = namedtuple("ICUIssue", ["issue_id", "is_closed", "commit_wanted", "issue"])
/third_party/python/Tools/tz/
Dzdump.py5 from collections import namedtuple
8 ttinfo = namedtuple('ttinfo', ['tt_gmtoff', 'tt_isdst', 'tt_abbrind'])
/third_party/vk-gl-cts/modules/gles2/scripts/
Dgen-qualification_order.py25 from collections import namedtuple
172 CaseFormat = namedtuple('CaseFormat', 'name vars')
/third_party/vk-gl-cts/modules/gles3/scripts/
Dgen-qualification_order.py25 from collections import namedtuple
187 CaseFormat = namedtuple('CaseFormat', 'name vars')
/third_party/vulkan-loader/scripts/
Dhelper_file_generator.py27 from collections import namedtuple
105 self.StructType = namedtuple('StructType', ['name', 'value'])
106 …self.CommandParam = namedtuple('CommandParam', ['type', 'name', 'ispointer', 'isstaticarray', 'isc…
107 self.StructMemberData = namedtuple('StructMemberData', ['name', 'members', 'ifdef_protect'])

1234567