Home
last modified time | relevance | path

Searched refs:Dict (Results 1 - 25 of 91) sorted by relevance

1234

/third_party/python/Tools/peg_generator/pegen/
H A Dparser_generator.py9 Dict,
46 def __init__(self, rules: Dict[str, Rule], callmakervisitor: GrammarVisitor) -> None:
60 def __init__(self, gen: "ParserGenerator", keywords: Dict[str, int], soft_keywords: Set[str]):
75 def __init__(self, rules: Dict[str, Rule], tokens: Set[str]):
96 self.keywords: Dict[str, int] = {}
110 self.all_rules: Dict[str, Rule] = self.rules.copy() # Rules + temporal rules
222 def __init__(self, rules: Dict[str, Rule]) -> None:
287 def compute_nullables(rules: Dict[str, Rule]) -> Set[Any]:
299 def __init__(self, rules: Dict[str, Rule]) -> None:
338 rules: Dict[st
[all...]
H A Dsccutils.py7 vertices: AbstractSet[str], edges: Dict[str, AbstractSet[str]]
25 index: Dict[str, int] = {}
53 data: Dict[AbstractSet[str], Set[AbstractSet[str]]]
101 graph: Dict[str, AbstractSet[str]], scc: AbstractSet[str], start: str
H A Dfirst_sets.py6 from typing import Dict, Set namespace
36 def __init__(self, rules: Dict[str, Rule]) -> None:
39 self.first_sets: Dict[str, Set[str]] = dict()
42 def calculate(self) -> Dict[str, Set[str]]:
H A Dc_generator.py6 from typing import IO, Any, Dict, List, Optional, Set, Text, Tuple namespace
122 exact_tokens: Dict[str, int],
128 self.cache: Dict[Any, FunctionCall] = {}
358 tokens: Dict[int, str],
359 exact_tokens: Dict[str, int],
473 def _group_keywords_by_length(self) -> Dict[int, List[Tuple[str, int]]]:
474 groups: Dict[int, List[Tuple[str, int]]] = {}
857 def collect_vars(self, node: Alt) -> Dict[Optional[str], Optional[str]]:
/third_party/mbedtls/scripts/mbedtls_dev/
H A Dasymmetric_key_data.py12 from typing import Dict namespace
19 def construct_asymmetric_key_data(src) -> Dict[str, Dict[int, bytes]]:
25 dst = {} #type: Dict[str, Dict[int, bytes]]
H A Dc_parsing_helper.py16 from typing import Dict, Iterable, Iterator, List, Optional, Tuple namespace
113 def read_function_declarations(functions: Dict[str, FunctionInfo],
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/packaging/
H A Dmarkers.py9 from typing import Any, Callable, Dict, List, Optional, Tuple, Union namespace
98 _operators: Dict[str, Operator] = {
137 def _evaluate_markers(markers: MarkerList, environment: Dict[str, str]) -> bool:
175 def default_environment() -> Dict[str, str]:
234 def evaluate(self, environment: Optional[Dict[str, str]] = None) -> bool:
H A Dmetadata.py11 Dict,
128 project_urls: Dict[str, str]
193 def _parse_project_urls(data: List[str]) -> Dict[str, str]:
295 def parse_email(data: Union[bytes, str]) -> Tuple[RawMetadata, Dict[str, List[str]]]:
311 raw: Dict[str, Union[str, List[str], Dict[str, str]]] = {}
312 unparsed: Dict[str, List[str]] = {}
808 project_urls: _Validator[Optional[Dict[str, str]]] = _Validator(added="1.2")
/third_party/python/Tools/peg_generator/scripts/
H A Ddownload_pypi_packages.py7 from typing import Dict, Any namespace
22 def load_json(filename: str) -> Dict[Any, Any]:
38 def download_package_code(name: str, package_json: Dict[Any, Any]) -> None:
H A Djoinstats.py16 from typing import Dict namespace
26 self.table: Dict[int, str] = {}
/third_party/python/Lib/test/test_zoneinfo/data/
H A Dupdate_test_data.py52 def get_zoneinfo_metadata() -> typing.Dict[str, str]:
96 def load_compressed_keys() -> typing.Dict[str, typing.List[str]]:
106 json_kwargs: typing.Dict[str, typing.Any] = dict(
/third_party/python/Tools/scripts/
H A Dfixcid.py245 if found in Dict:
246 subst = Dict[found]
276 Dict = {} variable
310 if key in Dict:
312 err('%s:%r: warning: previous: %r\n' % (substfile, lineno, Dict[key]))
313 Dict[key] = value
/third_party/typescript/tests/baselines/reference/
H A DkeyofAndIndexedAccess2.js57 type Dict = Record<string, number>;
59 function f11<K extends keyof Dict>(obj: Dict, k1: keyof Dict, k2: K) {
65 function f12<T extends Readonly<Dict>, K extends keyof T>(obj: T, k1: keyof Dict, k2: keyof T, k3: K) {
/third_party/python/Lib/importlib/metadata/
H A D_meta.py1 from typing import Any, Dict, Iterator, List, Protocol, TypeVar, Union namespace
26 def json(self) -> Dict[str, Union[str, List[str]]]:
/third_party/python/Lib/test/test_importlib/
H A Dfixtures.py13 from typing import Dict, Union namespace
87 # FilesDef = Dict[str, Union['FilesDef', str]]
88 FilesDef = Dict[str, Union[Dict[str, Union[Dict[str, str], str]], str]]
/third_party/jinja2/
H A Ddebug.py150 def get_template_locals(real_locals: t.Mapping[str, t.Any]) -> t.Dict[str, t.Any]:
158 data: t.Dict[str, t.Any] = ctx.get_all().copy()
166 local_overrides: t.Dict[str, t.Tuple[int, t.Any]] = {}
H A Druntime.py94 blocks: t.Dict[str, t.Callable[["Context"], t.Iterator[str]]],
95 vars: t.Optional[t.Dict[str, t.Any]] = None,
166 parent: t.Dict[str, t.Any],
168 blocks: t.Dict[str, t.Callable[["Context"], t.Iterator[str]]],
172 self.vars: t.Dict[str, t.Any] = {}
245 def get_exported(self) -> t.Dict[str, t.Any]:
249 def get_all(self) -> t.Dict[str, t.Any]:
305 def derived(self, locals: t.Optional[t.Dict[str, t.Any]] = None) -> "Context":
H A Didtracking.py42 self.refs: t.Dict[str, str] = {}
43 self.loads: t.Dict[str, t.Any] = {}
121 stores: t.Dict[str, int] = {}
147 def dump_stores(self) -> t.Dict[str, str]:
148 rv: t.Dict[str, str] = {}
/third_party/ninja/misc/
H A Dninja_syntax.py27 from typing import Dict, List, Match, Optional, Tuple, Union namespace
103 Dict[str, Optional[Union[str, List[str]]]],
220 def expand(string: str, vars: Dict[str, str], local_vars: Dict[str, str] = {}) -> str:
/third_party/skia/third_party/externals/angle2/tools/android/modularization/convenience/
H A Dlookup_dep.py28 from typing import Dict, List, Set namespace
142 def _index_root(self) -> Dict[str, List[str]]:
174 build_config: Dict = json.load(build_config_contents)
204 def _compute_full_class_names_for_build_config(self, deps_info: Dict) -> Set[str]:
/third_party/mbedtls/scripts/
H A Dgenerate_driver_wrappers.py15 from typing import NewType, Dict, Any namespace
100 def load_driver(schemas: Dict[str, Any], driver_file: str) -> Any:
111 def load_schemas(project_root: str) -> Dict[str, Any]:
H A Dcode_size_compare.py364 def _gen_raw_code_size(self, git_worktree_path: str) -> typing.Dict[str, str]:
408 def cal_libraries_code_size(self) -> typing.Dict[str, str]:
413 - typing.Dict[mod: str]
442 code_size_text: typing.Dict[str, str],
450 - typing.Dict[mod: str]
504 self.code_size = {} #type: typing.Dict[str, typing.Dict]
555 code_size_text: typing.Dict[str, str],
655 typing.Dict[str,
656 typing.Dict[st
[all...]
/third_party/python/Lib/test/
H A Dtest_genericalias.py224 from typing import List, Dict, Callable namespace
254 L4a = list[Dict[K, V]]
255 self.assertEqual(L4a.__args__, (Dict[K, V],))
257 L4b = list[Dict[T, int]]
258 self.assertEqual(L4b.__args__, (Dict[T, int],))
286 from typing import List, Dict, Union, Callable namespace
300 self.assertEqual(list[Dict[K, V]][str, int], list[Dict[str, int]])
/third_party/mesa3d/src/imagination/csbgen/
H A Dgen_pack_header.py131 _enums: t.Dict[str, Enum]
132 _structs: t.Dict[str, Struct]
210 _values: t.Dict[str, Value]
268 _children: t.Dict[str, t.Union[Condition, Field]]
416 _defines: t.Dict[str, Define]
538 _children: t.Dict[str, t.Union[Condition, Field]]
702 def collect_dwords(self, dwords: t.Dict[int, Group.DWord], start: int) -> None:
729 def collect_dwords_and_length(self) -> t.Tuple[t.Dict[int, Group.DWord], int]:
746 def emit_pack_function(self, root: Csbgen, dwords: t.Dict[int, Group.DWord], length: int) -> None:
863 def emit_unpack_function(self, root: Csbgen, dwords: t.Dict[in
[all...]
/third_party/python/Lib/test/test_peg_generator/
H A Dtest_first_sets.py4 from typing import Dict, Set namespace
15 def calculate_first_sets(self, grammar_source: str) -> Dict[str, Set[str]]:

Completed in 25 milliseconds

1234